PDA

View Full Version : Forum Home Enhancements - [AJAX] SmnLikQuick v2.0 - Advanced Announcements Block


Pages : [1] 2

Bree
12 Mar 2008, 03:58
Description:
SmnLikQuick v2.0 adds an advanced announcement block (Title and Content) to your vBulletin powered pages that is easily managed via AdminCP. This new version (based on the AJAX Tabs Content Script (http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm) (v 2.0) written by Dynamic Drive), utilizes Ajax to display multiple announcements in one container when the title (tab) is clicked on. It also has the ability (and utilizes this ability upon install) to rotate between tabs (announcements) in a "slideshow" type manner until a user explicitly clicks on a tab (see screenshots provided).

See Post #02 (http://www.vbulletin.org/forum/showpost.php?p=1462723&postcount=2) for log.
See Post #98 (http://www.vbulletin.org/forum/showpost.php?p=1484739&postcount=98) for Upgrade Instructions.
See Post #99 (http://www.vbulletin.org/forum/showpost.php?p=1484751&postcount=99) for Multiple Styles Fix

DEMO: SmnLikDat.com Community (http://www.smnlikdat.com/community.php)

Co-Owner/Co-Authors: Bobster65 (http://www.vbulletin.org/forum/member.php?u=134768)
(who brought you the CMPS Module: "AJAX Tabbed Content") (http://www.vbulletin.org/forum/showthread.php?t=154653)
King Kovifor (http://www.vbulletin.org/forum/member.php?u=70023)
(who added BB Code Parsing! Thanks so much King!)
Please Note that there is a new setting that allows Admins to choose whether to parse BB Code or HTML (not both). It is reccomended that you parse BB for security reasons, however the choice is yours.

SmnLikQuick Addons:

SmnLikQuick CMPS Module - This turns your SmnLikQuick v2.0.x Announcements Block into a CMPS Module. You MUST have BOTH SmnLikQuick v2.0 AND vBAdvanced CMPS installed. Demo: SmnLikDat.com (http://www.smnlikdat.com/)

Future Features:

Usergroup permissions per Announcement.
Slideshow timing controlled via AdminCP (Control Speed or Disable this feature)
Display certain Announcements to certain users via their UserCP

INSTALL:

Upload the files within the UPLOAD folder (in this package) to the corrosponding forum directories on your server making sure to keep the filetree intact.
Import Product: SmnLikQuick.xml via AdminCP>Plugins & Products>Manage Products>Add/Import Product
Refresh AdminCP (ie: Ctrl-F5)
Complete Template Edits (2 Edits) - Instructions provided in .zip file.
(Optional) Edit includes/smnlikquick_css.css to match your style.
Add Announcements & Enable the SmnLikQuick Mod via AdminCP>SmnLikQuick

Don't forget to mark as installed! Support will be given in this thread. Comments appreciated and feature requests welcomed! Thank you and Enjoy! -Bree

Bree
12 Mar 2008, 04:07
v2.0.0 - 11 MAR 2008

Initial Release
CSS issues resolved (updated .zip)
Addon Released: SmnLikQuick CMPS Module

v2.0.1 - 14 MAR 2008

New Feature: Manage Announcement via ModCP

v2.0.2 - 06 APR 2008

Security Issue Resolved
New Option: Display Order (For Announcements)
New Options to Enable/Disable Announcement (In addition to Delete)

v2.0.3 - 09 APR 2008

Check Product Version (in AdminCP) now works correctly *blush*
New Setting: Choose whether to parse HTML or BB Code

v2.0.4 - 11 MAY 2008

Security Issues Resolved
Setting Descriptions Edited to include HTML Info

SEOvB
12 Mar 2008, 04:13
Demo!!!!!!!!!!!!!!!!!!!!!! pretty please :D

Bree
12 Mar 2008, 04:14
HaHa, I didn't even think about that *blush*... Please see the screenshot and I will go right now and install this on a public board and link ya =0) Sorry about that. -Bree

Bree
12 Mar 2008, 04:46
Demo Link Added =0)
Demo: SmnLikDat.com Community (http://www.smnlikdat.com/community.php)

anestetic
12 Mar 2008, 11:40
not html?

beduino
12 Mar 2008, 12:13
Hi,
I'm a big fan of bobster works ... and I will like this.

When you talk about issue using firefox ... I open your link/demo with ff , really the first tab is messed. Would be a css problem? :(

all the best
beduino

princeedward
12 Mar 2008, 14:57
nice....but is it not obvious that the title is a little bit wrong....

[AJAX] SmnLikQuick v2.0 - Advanced Annoucnements Block

:p

thanks anyway...

anarx
12 Mar 2008, 15:22
hey! nice hack - can I also add this in a vbadvanced module?

Bree
12 Mar 2008, 15:41
The issue in FF was found kinda last minute... I haven't had a chance to investigate that yet but once I get some sleep will get it fixed along with any other issues that are found... ?

Anarx, working on an addon to make that happen as I need it too =0)

Prince... think you're seeing things babe *wink*...
I have this feeling.................................................... it's gonna be ok =0)

Always -Bree

anarx
12 Mar 2008, 15:44
The issue in FF was found kinda last minute... I haven't had a chance to investigate that yet but once I get some sleep will get it fixed along with any other issues that are found... ?

Anarx, working on an addon to make that happen as I need it too =0)

Prince... think you're seeing things babe *wink*...
I have this feeling.................................................... it's gonna be ok =0)

Always -Bree


arr, nice to hear ;)

iogames
12 Mar 2008, 17:21
Very interesting... I will try...

Feckie (Roger)
12 Mar 2008, 17:48
tabs not showing only list in

1: ie
2: opera
3: firefox

Mythotical
12 Mar 2008, 20:33
:( My little girl is all grown up, makes me so proud.

Gratz on releasing your first mod Bree, you've earned it and with a mod that I'm proud to see released by you. Glad the teachings I gave paid off, now to get NMAPS released. LOL

Can't wait to install this and play with it. Tehehe ;)

Hasann
12 Mar 2008, 20:39
* Reserved* :cool:

How old are you? :)

TTG
12 Mar 2008, 21:01
tabs not showing only list in

1: ie
2: opera
3: firefox

Same problem on my test site !?

rolandogomez
12 Mar 2008, 21:08
Nice hack, going to play with it. On another note, I like your vBAdvanced block called, "Top 5 Stats" do you mind sharing that code? Also, what determines the height of the box? I'm impressed with your work. Thanks, rg sends!

Bree
12 Mar 2008, 22:32
tabs not showing only list in

1: ie
2: opera
3: firefox


It isn't working in those browsers? That's weird cause the AJAZ Tab Content Script by Dynamic Drive that this mod is based on, requires FF1+ IE5.5+ Opr8+ to work. Can you link me to the page its installed on?

Hasann, I'm 10 years your senior =0)

Nice hack, going to play with it. On another note, I like your vBAdvanced block called, "Top 5 Stats" do you mind sharing that code? Also, what determines the height of the box? I'm impressed with your work. Thanks, rg sends!

Thanks and the Top 5 Stats Mod is a free release here at vbulletin.org by Cybernetec... You can find HERE (http://www.vbulletin.org/forum/showthread.php?t=122986).

Ok, I'm awake... brewing coffee... and will be working on all this =0)

Always -Bree

Mythotical
12 Mar 2008, 23:19
Hasann: Not nice to ask a lady her age. :D

Hasann
12 Mar 2008, 23:25
Hasann: Not nice to ask a lady her age. :D

I saw her profile picture and she seems to be like 12 years old :eek::confused::D

Bree
12 Mar 2008, 23:31
I seem to be 12?

Hasann
12 Mar 2008, 23:34
I seem to be 12?

yeah sory :(
I meant next to you there is a girl :D:D:D

rolandogomez
13 Mar 2008, 00:05
Bree,

Thanks, and I think you're older than 12 (grin), but not too much older. Ok, I know that hack, does it work on 3.7 B6? Thanks, rg.

Bree
13 Mar 2008, 00:37
Little girl in the picture is my 7yo daughter... isn't she beautiful? (Proud parent, sorry)... Little one kinda got lost behind me... she's 3 =0) With children that old... would suck to be 12 myself LOL Eeeewwwwww... But wow... I'm always told I look young but 12? Wow... just wow =0)

rolandogomez, I got that installed on a vB 3.7 Beta 3 I think... I need to update my live site yet *blush*... One of my test sites is running Beta 6 tho so will install on there and check for ya... I will have to get to it later this evening tho.. working on this css issue with SmnLikQuick...

Mythotical
13 Mar 2008, 00:40
Nah nah nah, I know her real age and I ain't telling. Actually if I did tell lets just say I would be 6 feet under. lol

Bree
13 Mar 2008, 01:17
Zip has been updated... Display Issues with FireFox corrected... Upload the forums>clientscript>smnlikquick_css.css file allowing overwrite... I'll attach just that file here so you don't have to download the whole package again.

NeuroLancer
13 Mar 2008, 01:40
Thank you this is very cool, will install it soon.

Updated version appears good in FF 2

rolandogomez
13 Mar 2008, 02:24
Little girl in the picture is my 7yo daughter... isn't she beautiful? (Proud parent, sorry)... Little one kinda got lost behind me... she's 3 =0) With children that old... would suck to be 12 myself LOL Eeeewwwwww... But wow... I'm always told I look young but 12? Wow... just wow =0)

rolandogomez, I got that installed on a vB 3.7 Beta 3 I think... I need to update my live site yet *blush*... One of my test sites is running Beta 6 tho so will install on there and check for ya... I will have to get to it later this evening tho.. working on this css issue with SmnLikQuick...


Cool, let me know. Also, do you do custom work, these other "guys" are all ugly looking I'd rather have a beautiful programmer (grins)...on kids, know that one well, I have five (grins). Regardless, you're always going to be "12" plus whatever you want to add to it, I'm 24 plus 21. Hey, you programmers and coders, how many bytes is that? or is it bits? Don't know, I'm only a webmaster of sorts... Thanks, rg sends!

beduino
13 Mar 2008, 03:02
excelent
tks a lot
beduino
** a question [or suggestion ...] how we display in vbadanced?
tks again

Feckie (Roger)
13 Mar 2008, 07:49
It isn't working in those browsers? That's weird cause the AJAZ Tab Content Script by Dynamic Drive that this mod is based on, requires FF1+ IE5.5+ Opr8+ to work. Can you link me to the page its installed on?


I am using a test server on my pc..

I like to test stuff localy before i up it

tazzarkin
13 Mar 2008, 08:26
It seems to still work. However, when I select Manage Announcements, I get the following errors:

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) in /admincp/smnlikquick.php on line 36

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /admincp/smnlikquick.php on line 36

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /admincp/smnlikquick.php on line 37

Any ideas why I would get this?

anestetic
13 Mar 2008, 14:52
Doesn't work this hac my forum vb 3.7.0.4

bobster65
13 Mar 2008, 15:00
Doesn't work this hac my forum vb 3.7.0.4

The most common problem when it shows up as a "list" instead of Tabs is that the path to the .css for the Tabs is not correct.

tazzarkin
13 Mar 2008, 17:27
It seems to still work. However, when I select Manage Announcements, I get the following errors:

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) in /admincp/smnlikquick.php on line 36

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /admincp/smnlikquick.php on line 36

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /admincp/smnlikquick.php on line 37

Any ideas why I would get this?
----------------------------------------------------------

Anyone have an idea why this would work, but still get the errors listed above?

Mythotical
13 Mar 2008, 18:39
Tazzarkin: Seems there might be an error of how its gathering the info from the database. I'll have a look and let Bree know.

Revpolar
13 Mar 2008, 20:34
Nice hack.
How can I let my moderators use this in the mod cp?

Bree
14 Mar 2008, 01:40
Nice hack.
How can I let my moderators use this in the mod cp?

At this time there is no permissions for the ModCP... I've added that to the future features list and will be workin' on that...

Cool, let me know. Also, do you do custom work, these other "guys" are all ugly looking I'd rather have a beautiful programmer (grins)...on kids, know that one well, I have five (grins). Regardless, you're always going to be "12" plus whatever you want to add to it, I'm 24 plus 21. Hey, you programmers and coders, how many bytes is that? or is it bits? Don't know, I'm only a webmaster of sorts... Thanks, rg sends!

I sent you an email through vBulletin.org =0)

excelent
tks a lot
beduino
** a question [or suggestion ...] how we display in vbadanced?
tks again

Added to Future Features list -- Gonna be working on making this happen today cause I really need it too LOL

----------------------------------------------------------

Anyone have an idea why this would work, but still get the errors listed above?

I can not reproduce this error on any of my vBulletins (I am running several different versions) but am looking into it...

slmoney
14 Mar 2008, 03:31
<marks UNINSTALL> The tabs will not work...

I'm having the same issue as post #32

If you notice the bottom of his screen shot...Error on Page

It is looking for a Java Script called AJAXTABS, which I downloaded, and installed..BUT tab are still not working.

Bree
14 Mar 2008, 03:49
View the source on the page once the mod is installed... between the head tags you should find coding like below:

<!-- SmnLikQuick -->
<link rel="stylesheet" type="text/css" href="/clientscript/smnlikquick_css.css" />
<script type="text/javascript" src="/clientscript/smnlikquick_ajax.js">
/***********************************************
* Ajax Tabs Content script- Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<!-- / SmnLikQuick -->

which was completed in Template Edit One... Does this show up? If not, then the templates were not edited correctly (or the correct templates were not edited).. This is why links are useful... so that I can view and pinpoint the problem easier... Just saying "it doesn't work" doesn't help us much in determining the issue... And I see the error but have no way of reading it from the screenshot.... I've installed this hack, per instructions, 30+ times on several different versions of vB and have run into no problems... All my boards are ran with php4 however, so have someone testing on php5 tomorrow... I'm working hard to get this matter fixed for you... Please have patience.

Always, Bree

slmoney
14 Mar 2008, 04:39
yes template edits were done...Thank you for looking into this. I really want to use this modification on my forum.

Bree
14 Mar 2008, 07:08
Addon has been added.... SmnLikQuick CMPS Module... Enjoy and let me know if you have any problems... For those who have had problems with SmnLikQuick and want to use it as a Module... Try installing SmnLikQuick without the template edits, then completing the steps to install the Module...

Also... During the first edit on SmnLikQuick.... Try putting the full path to the smnlikquick_ajax.js and smnlikquick_css.css files.

Thank you this is very cool, will install it soon.

Updated version appears good in FF 2

I almost missed your post *blush* Thank you! I'm glad you like and very glad the FF thing is worked out now =0)

NeuroLancer
14 Mar 2008, 07:40
I almost missed your post *blush* Thank you! I'm glad you like and very glad the FF thing is worked out now =0)

Nevermind ;) Thanks to you for the mod, keep up the good work :)

beduino
14 Mar 2008, 11:30
Tks Bree!
Al the best
Beduino

Addon has been added.... SmnLikQuick CMPS Module... Enjoy and let me know if you have any problems... For those who have had problems with SmnLikQuick and want to use it as a Module... Try installing SmnLikQuick without the template edits, then completing the steps to install the Module...

Also... During the first edit on SmnLikQuick.... Try putting the full path to the smnlikquick_ajax.js and smnlikquick_css.css files.



I almost missed your post *blush* Thank you! I'm glad you like and very glad the FF thing is worked out now =0)

Bree
14 Mar 2008, 11:39
Beduino, YW and TY =0)

joeycano
14 Mar 2008, 16:54
Did not work for me. You can see my results at: www.thaibulletin.com/forum.

Feckie (Roger)
14 Mar 2008, 20:00
Ok I have just set up a live site, and it works, without changing any links....

Live Demo Here (http://kellysbestofoldies.000webhost.info/index.php).

Mind you it still doesn't work on my local pc test site..



Bree Congrats awesome addition...;)

One question where do I change the ajax refresh time...........:confused:

bobster65
14 Mar 2008, 20:01
Did not work for me. You can see my results at: www.thaibulletin.com/forum.

remove the / from the 2 lines below or use the FULL path to the URL.

<!-- SmnLikQuick -->
<link rel="stylesheet" type="text/css" href="/clientscript/smnlikquick_css.css" />
<script type="text/javascript" src="/clientscript/smnlikquick_ajax.js">
/***********************************************
* Ajax Tabs Content script- Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<!-- / SmnLikQuick -->

bobster65
14 Mar 2008, 20:06
Ok I have just set up a live site, and it works, without changing any links....

Live Demo Here (http://kellysbestofoldies.000webhost.info/index.php).

Mind you it still doesn't work on my local pc test site..



Bree Congrats awesome addition...;)

One question where do I change the ajax refresh time...........:confused:

Are you asking about the rotation time of the Tabs?

if so, that would be in the smnlikquick template.. the .init sets the time in micro seconds, just change it higher or lower to decrease or increase the intervals.

var mytabs=new ddajaxtabs("tabs", "divcontainer")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init(5000)

Feckie (Roger)
14 Mar 2008, 21:34
Are you asking about the rotation time of the Tabs?

if so, that would be in the smnlikquick template.. the .init sets the time in micro seconds, just change it higher or lower to decrease or increase the intervals.

var mytabs=new ddajaxtabs("tabs", "divcontainer")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init(5000)

yep thats it ....Thanks ;)

slmoney
14 Mar 2008, 23:30
i was wondering the same thing! thanks!

Revpolar
15 Mar 2008, 00:23
Bree, Thank you for adding modcp controls so quickly.

Bree
15 Mar 2008, 00:28
Bree, Thank you for adding modcp controls so quickly.

You are very welcomed Rev, it was an awesome addition I think so thank you for bringing it up... I always tend to forget about the ModCP... I will have to remember it in future mods *blush*...

Think 2.0.2 with be the usergroup permissions... probably won't be able to do it til tomorrow... I gotta give my site some attention today =0)

Hope everyone is having an awesome day!
-Bree

joeycano
15 Mar 2008, 01:51
Works great after taking out the 2: "/" indicated above.

One question, I do see loading when it is switching from one screen to the other but the loading symbol does not show up. I do recall seeing the file in the upload folder.

Thanks so much,

joeycano

Bree
15 Mar 2008, 02:20
Works great after taking out the 2: "/" indicated above.

One question, I do see loading when it is switching from one screen to the other but the loading symbol does not show up. I do recall seeing the file in the upload folder.

Thanks so much,

joeycano

The graphic included is in upload>forums>images>misc>loading.gif

You can check/change this graphic/path in the upload>forums>clientscript>smnlikquick_ajax.js file on line 6 (Along with the "Loading..." text)..
If taking out the / in the other file worked... doing the same in this file might help as well... or you could try putting the full url...

Line 6 of smnlikquick_ajax.js
ddajaxtabssettings.loadstatustext="<img src='/images/misc/loading.gif' /> Loading..."

Hope that fixes it, let me know...

joeycano
15 Mar 2008, 03:19
The loading symbol works after taking out the "/" as suggested above.

Thanks again for such a great mod.

:)

Edit: Installed perfectly on Version 3.7.0 Beta 6

Mythotical
15 Mar 2008, 08:12
Installed on a 3.7 Beta5 live site, installation went without flaw. Great job Bree.

Ammari
15 Mar 2008, 14:14
that;s fab,,

just a question, i have arabic forum, and the writing is from left to right,
so how can i make it from right to left?


thanks

joeycano
15 Mar 2008, 16:47
Bree,

How did you get an image into the announcement?

:)

blackberry
15 Mar 2008, 18:28
woow really nice mod

thanks and keep it up

OziloZ
15 Mar 2008, 19:45
Database error in vBulletin 3.7.0 Beta 5:

Invalid SQL:

CREATE TABLE smnlikquick (
`id` int(10) NOT NULL auto_increment,
`title` varchar(100) NOT NULL,
`message` longtext NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;;

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1 AUTO_INCREMENT=1' at line 6
Error Number : 1064

What`s the problem?

Mythotical
15 Mar 2008, 21:55
Too many semi-colon's.

Bree
16 Mar 2008, 01:13
that;s fab,,

just a question, i have arabic forum, and the writing is from left to right,
so how can i make it from right to left?


thanks

I am soo sorry but I am bit confused on this one... You want the tabs themselves to run from right to left... or the text.... I thought about this for quite a while and managed to only confuse myself... I was actually learning Arabic for quite a while but never mastered the writing... same words but I couldn't help but write them from left to right... hence why I didn't do so well LOL In the end, I could hold a convo outloud but on paper.. nothing LOL

Bree,

How did you get an image into the announcement?

:)

When adding a new announcement... HTML is allowed. So I simply linked to one of the graphics I already had on site (one of our smilies in that case)... I thought about adding a feature that would give the announcement their own graphic upload... like an icon where threads are concerned. I had originally decided against it because I wanted total control over the whole announcement (and where any graphics I added where)... But now I'm thinking it might be a good idea =0)

What`s the problem?

This is the first time we've run into an installation problem to do with the install code... Let me look into it and I will get back to you.

joeycano
16 Mar 2008, 05:46
I have an issue. When I select the "Manage Announcements" tab I only get the "Create New Announcement" box. I do not see the the top box in your screen shots where you see and edit posts.

Any suggestions???

Bree
16 Mar 2008, 05:50
I have an issue. When I select the "Manage Announcements" tab I only get the "Create New Announcement" box. I do not see the the top box in your screen shots where you see and edit posts.

Any suggestions???

The box only shows if you have active announcements. Had you already added announcements?

joeycano
16 Mar 2008, 05:53
Yes,

I added:

test;
test II; &
test III

Bree
16 Mar 2008, 05:54
Are the announcements showing up on the site (on the userend)?

Bree
16 Mar 2008, 05:56
OziloZ, I haven't forgotten about you btw... Installing a vB 3.7 Beta 5 now so I can try to reproduce the issue... I haven't had this happen on any of my other installs

joeycano
16 Mar 2008, 05:57
Yes, the announcement show up on the front end. See: www.thaibulletin.com

Bree
16 Mar 2008, 06:08
Yikes, that's not good =0( And so far I haven't been able to recreate this issue on any of my test sites.... Can you try something for me tho? I am attaching a .zip file... It's an altered AdminCP file... could you upload it (overwriting the old) and see if the announcements then appear? You are only overwriting the exsisting upload>forums>admicp>smnlikquick.php

I took out some if clauses (the code that hides that box unless there are active announcements) -- Just need to see if that part of the coding is the exact problem. I'm sorry about this and thank you for your patience!

Always, Bree

joeycano
16 Mar 2008, 06:14
Change worked perfectly. I see the box now.

:D

Bree
16 Mar 2008, 06:19
Hmmmm --- I don't know how that happened but I'm glad it's now working for you. If you don't mind leaving that file in place til later, I will still try to locate and fix the problem with the original coding. At this point tho, if you don't have any announcements active, it's gonna give you a silly table up there *blush*. Also, while I have you here... what version php are you using?

joeycano
16 Mar 2008, 06:39
5.2.3

Bree
16 Mar 2008, 06:49
I knew you were gonna say that LOL I'm running php4 and I'm wondering if all the errors that keep coming up, that I am not able to reproduce, are because it's a 5 thing... Apparently I need to upgrade LOL Gonna ask someone smarter than I about this =0) Thanks for the info and you have an awesome night!

Always, Bree
(Who just, since posting SmnLikQuick, discovered she likes FireFox much more than she likes IE and who has no idea why she's referring to herself in third person all of a sudden)

OziloZ
16 Mar 2008, 08:42
OziloZ, I haven't forgotten about you btw... Installing a vB 3.7 Beta 5 now so I can try to reproduce the issue... I haven't had this happen on any of my other installs

thanks a lot but i've solved my problem. :)

i have removed "DEFAULT CHARSET=latin1" part from xml file. I think thats not compatible with my server.

Feckie (Roger)
16 Mar 2008, 09:18
thanks a lot but i've solved my problem. :)

i have removed "DEFAULT CHARSET=latin1" part from xml file. I think thats not compatible with my server.

well would you care to share what you did do....

ramsayeg
16 Mar 2008, 11:36
Hello, I'm thinking of installing this mod in order to replace the "notice hack", but is it possible to show an announcement only to specific usergroups?

For example if I want to write "why won't you join us? register today" only for the guest usergroup, will it be possible?

anarx
17 Mar 2008, 10:43
ty for the cmps module :)

but it's buggy for me ...

cagbaazee
19 Mar 2008, 09:25
Are you asking about the rotation time of the Tabs?

if so, that would be in the smnlikquick template.. the .init sets the time in micro seconds, just change it higher or lower to decrease or increase the intervals.

var mytabs=new ddajaxtabs("tabs", "divcontainer")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init(5000)


Where is the file and please tell me in which folder it found. Thanks

Bree
19 Mar 2008, 10:17
Hello, I'm thinking of installing this mod in order to replace the "notice hack", but is it possible to show an announcement only to specific usergroups?

For example if I want to write "why won't you join us? register today" only for the guest usergroup, will it be possible?

At this time, no but I am working on usergroup permissions (that will work great for what you are wanting to do) I fell a little behind as I have been feeling under the weather. If you mark installed, I'll send out a message when the mod is updated with that feature.

ty for the cmps module :)

but it's buggy for me ...

There's not enough room for all the announcements... when it runs outta room, it starts a new line... I'll work on doing something about that... but if there's a no break and it runs out of room, will expand the table... this could create side scroll or other icky issues.

Where is the file and please tell me in which folder it found. Thanks

It's a template... AdminCP>Styles and Templates>*choose a style*>SmnLikQuick>smnlikquick

bam-met
19 Mar 2008, 20:54
I love this mod - GREAT WORK... :)

Khalid-B
19 Mar 2008, 21:48
nice hack , thanks for sharing with us.

Khalid-B
19 Mar 2008, 21:51
HI.

[IMG] bbcode not woking , is there any chances for this ?

Thank

Feckie (Roger)
20 Mar 2008, 08:01
Are you asking about the rotation time of the Tabs?

if so, that would be in the smnlikquick template.. the .init sets the time in micro seconds, just change it higher or lower to decrease or increase the intervals.

var mytabs=new ddajaxtabs("tabs", "divcontainer")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init(5000)

Where is the file and please tell me in which folder it found. Thanks

Check the green bit, tis in the templates

gwerzal
25 Mar 2008, 01:06
Sweet i tried installing it manualy but couldn't figure it out so thank you very much for this.

Breathex
25 Mar 2008, 02:44
Well, i liked and installed this hack on my 3.7.0 RC1 forum. I did all the things right, announcement window appeared on my forum home. I entered an announcement from my admin panel and when i turn back to my forum i saw that it's showing loading.gif and "Loading..." text but not showing the announcement text i entered.

My php version is 4.3.9 and it's Apache 2.0 Handler.

What can i do to solve this problem? I really want to use this brilliant hack.

dvbusuario
25 Mar 2008, 05:45
Very Good, Thank you

Install!!

co0kz
25 Mar 2008, 20:42
Stupid question but has anyone tried this on 3.6.8? Not wanting to update my board till the full release of 3.7 is out but wouldn't mind adding this.

Nice Work.

Mythotical
26 Mar 2008, 02:54
As far as I know this has not been tested on 3.6.8, I will probably test on my 3.6.8 test board tomorrow.

Breathex
26 Mar 2008, 05:43
Well, i liked and installed this hack on my 3.7.0 RC1 forum. I did all the things right, announcement window appeared on my forum home. I entered an announcement from my admin panel and when i turn back to my forum i saw that it's showing loading.gif and "Loading..." text but not showing the announcement text i entered.

My php version is 4.3.9 and it's Apache 2.0 Handler.

What can i do to solve this problem? I really want to use this brilliant hack.
Any guess or solutions for this? Nowadays i need a hack like this one immediately.

Mythotical
26 Mar 2008, 14:04
Did you upload ALL files? If so try to re-upload all files again making sure they upload either in binary or ASCII mode.

Veer
27 Mar 2008, 16:00
There should be an option to "Active" and "De Active" per announcement, Not just delete.

thanks.

Breathex
28 Mar 2008, 08:59
Did you upload ALL files? If so try to re-upload all files again making sure they upload either in binary or ASCII mode.
Thanks a lot for the reply Steve. It works like a charm now. :)

Mythotical
29 Mar 2008, 04:19
Breathex: Great to hear. Was it the re-uploading that got it to work?

Breathex
29 Mar 2008, 10:33
Breathex: Great to hear. Was it the re-uploading that got it to work?
Yes Steve, when i re-uploaded all the files, it worked.

Bree, thanks again for this brilliant hack and thanks again to Steve for the help. I hope to see putting announcements in order option for the future releases. Also in admin panel if we could write announcements with WYSIWYG editor, it would be very nice. Some of my admins don't know how to prepare HTML codes.

rmxs
29 Mar 2008, 13:37
works only if you remove the first / from the css files.


Byt when i install it make me high load...if i remove it everything its ok..

macc
29 Mar 2008, 15:12
hello!

i installed today and have 2 problems

have vbulletin 3.7.0 rc1 and cmps 3.0

on my forum it looks so www.belaplay.com/vb/libar (http://www.belaplay.com/vb/libar)

i want get board around like i have on all my boards (announcements expl not just blank template) and same in cmps module ... just tamplete but can not get module tittle ...)
could not see loading.gif ... just red x ...

some help

regards
macc

co0kz
29 Mar 2008, 16:54
There should be an option to "Active" and "De Active" per announcement, Not just delete.

thanks.

Can i add another suggestion simalar to the above post, that it may be worth adding a weight system to this so you can place new tabs/announements where you want them. At the moment when you add a new tab it is added to the end of the list. Maybe a simple up and down button would be cool so you move your tabs around after adding them. Just a suggestion.

ps.. works fine in 3.6.8

Thanks.

Bree
06 Apr 2008, 23:08
To Upgrade:

Reupload files allowing overwrite. (Excluding the smnlikquick_css.css file if you have altered it)
Import the Product XML
If you have the CMPS Module installed you will need to reupload those files also allowing overwrite.
You may then want to Order your Announcement via AdminCP


Sorry about the delay... There was some debate about the HTML being allowed. Thanks for your patience!

Always, Bree

Bree
06 Apr 2008, 23:23
As I'm not having much luck with figuring out how to manage the css with just one file (depending on style being used)... A fix for multiple styles would be.....

Copy the smnlikquick_css.css file once for every style you have, naming them whatever you wish IE smnlikquick_style1.css, smnlikquick_style2.css, etc
When doing the template edits, change the file name to match the .css file for that style. For example (Look for the Red):


In the 1st Edit performed:
<!-- SmnLikQuick -->
<link rel="stylesheet" type="text/css" href="/clientscript/smnlikquick_style1.css" />
<script type="text/javascript" src="/clientscript/smnlikquick_ajax.js">
/***********************************************
* Ajax Tabs Content script- Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<!-- / SmnLikQuick -->

Or:
<!-- SmnLikQuick -->
<link rel="stylesheet" type="text/css" href="/clientscript/smnlikquick_style2.css" />
<script type="text/javascript" src="/clientscript/smnlikquick_ajax.js">
/***********************************************
* Ajax Tabs Content script- Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<!-- / SmnLikQuick -->

ETC

Hope this helps some of yas....

macc
07 Apr 2008, 01:26
hello!

have installed before and nice hack...just one question ...if i upgrade now should i lose all my announcements on forum page (mean what i make with this hack)?

reg

macc

Bree
07 Apr 2008, 01:30
You shouldn't.... when I upgraded my main site via the instructions I posted, I didn't lose anything... I just had to go back and edit so that I could put them in order is all. And thank you!

Always, Bree

macc
07 Apr 2008, 01:33
Thanks !

regards

macc

TTG
07 Apr 2008, 02:31
Great addition but I've come across one problem in admincp when trying to edit an announcement of more than one line. The option to edit / disable / delete becomes centred and when attempting to select an option, it opens the forumhome page !?

Clicked install :up:

King Kovifor
07 Apr 2008, 02:36
The centered problem can be explained by the reasoning that HTML rendering ttys to put as much one one line as possible in the center column and create a very small width on the last column. And I cannot explain the forum home link.

Triky
07 Apr 2008, 14:04
Nice!

TTG
08 Apr 2008, 02:51
The centered problem can be explained by the reasoning that HTML rendering ttys to put as much one one line as possible in the center column and create a very small width on the last column. And I cannot explain the forum home link.

I now have an announcement which I cannot edit/delete .. guess I'll have to un-install and re-install to lose it !?

crkgb
08 Apr 2008, 04:44
Is there a way to get cyrillic characters supported?
I run my forum in UTF-8 (to no success updated charset in the xml file to UTF-8)
and this mod is the only one where cyrillic comes out as "???????" instead of what was plugged in.

Thank you

ishare
08 Apr 2008, 17:23
First of all i would like to thank you for this usefull and nice addon.
But i have a problem actually. I do use vBulletin 3.7.Release Candidate 2 and when i write something long, it comes out the border as shown on below image.
Do you have any idea about how i can correct this problem ?

https://www.vbulletin.org/forum/

bobster65
08 Apr 2008, 17:33
First of all i would like to thank you for this usefull and nice addon.
But i have a problem actually. I do use vBulletin 3.7.Release Candidate 2 and when i write something long, it comes out the border as shown on below image.
Do you have any idea about how i can correct this problem ?

https://www.vbulletin.org/forum/

That could be due to a DIV height attribute being hard coded to a static value instead of a % Let me check out the core code that Bree released to see if the main content DIV has a hard coded value..

SuperDave71
08 Apr 2008, 18:39
Can these messages be formatted using HTML or BB code?


Thanks


***Nevermind! *** DOH! I just had to read! Sorry bout that!! HTML markup it is!


Sorry about that one.. ha ha

King Kovifor
08 Apr 2008, 23:11
Can these messages be formatted using HTML or BB code?


Thanks


***Nevermind! *** DOH! I just had to read! Sorry bout that!! HTML markup it is!


Sorry about that one.. ha ha
I helped her code the bbcode part (Okay, I did) but she hasn't released it yet.

bobster65
08 Apr 2008, 23:24
First of all i would like to thank you for this usefull and nice addon.
But i have a problem actually. I do use vBulletin 3.7.Release Candidate 2 and when i write something long, it comes out the border as shown on below image.
Do you have any idea about how i can correct this problem ?

http://www.tv-sinema.com/images/dtodgjawkrqqir7qenb.jpg


To fix this, Edit the smnlikquick template (The Bold Red Below) Removing the height attribute will make it adjust to the size of the text..

<div id="divcontainer" style="border:0px; width:97%; height: 105px; padding: 6px; margin-bottom:1em"></div>

Bree
09 Apr 2008, 02:01
Yes, King added to SmnLikQuick so that it will parse BB Code (Thanks sooooo much King!) but I haven't had a chance to post the changes yet.... Got a bunch on my plate right this second but I'll try to get to it later tonight, if not will def get it done tomorrow... I'm sorry about the delay *blush*

Always, Bree

Bree
09 Apr 2008, 22:05
I now have an announcement which I cannot edit/delete .. guess I'll have to un-install and re-install to lose it !?

Very strange... Try upgrading to v2.0.3 and see if that fixes the problem.. otherwise you will probably need to start from scratch (Uninstall and Reinstall completely)... I've never seen this happen.

Is there a way to get cyrillic characters supported?
I run my forum in UTF-8 (to no success updated charset in the xml file to UTF-8)
and this mod is the only one where cyrillic comes out as "???????" instead of what was plugged in.

Thank you

I am very sorry but honestly.... I have NO clue what you are talking about *blush*... If someone more advanced than I am can help out with this, that would be awesome!

Upgrade is the same as before... reupload all files (with the exception of the .css file if you have altered it... then re-import the product. Evaluate you SmnLikQuick settings afterwards.

crkgb
09 Apr 2008, 22:25
How can we turn off time intervals for reloading?

Thank you

Bree
09 Apr 2008, 22:34
How can we turn off time intervals for reloading?

Thank you

In the template called smnlikquick

Find:
mytabs.init(5000)
Replace With
mytabs.init()

That turns it off completely.... or you can replace the 5000 with a higher number to slow it down a bit.

King Kovifor
09 Apr 2008, 23:51
In the template called smnlikquick

Find:
mytabs.init(5000)
Replace With
mytabs.init()

That turns it off completely.... or you can replace the 5000 with a higher number to slow it down a bit.

If that is in a template I can make that a setting.

Breathex
10 Apr 2008, 04:07
Excellent job Bree, i'll do the upgrade tonight. Thanks for this new release.

Edit: Uploaded and works very well in 3.7 RC3

Thanks again :)

Breathex
12 Apr 2008, 07:05
Future Features:

* Collapse button for forumhome menu.

I think it would be nice. :)

Ricsca
12 Apr 2008, 10:20
Dont work whay?

https://www.vbulletin.org/forum/

toddos
12 Apr 2008, 11:31
hi, i installed it, but where can i find the usergroup settings ? In menue SmnLikQuick there are only two entries: Manage Settings & Manage Announcements. And in usergroup settings isnt something from SmnLikDat !

bobster65
12 Apr 2008, 11:58
Dont work whay?

http://img522.imageshack.us/img522/7150/ddddju0.jpg

that happens when it can not find the .ccs file. Check your paths to the .css

toddos
12 Apr 2008, 13:28
that happens when it can not find the .ccs file. Check your paths to the .css

I Have exact the same problem !
But my css file is in clientscript/smnlikquick_css.css ..

What can we do ?

bobster65
12 Apr 2008, 13:49
I Have exact the same problem !
But my css file is in clientscript/smnlikquick_css.css ..

What can we do ?

Change the BOLD RED Paths to the full URL ie, and see if that works..
http://www.yourdomainname.com/forum/clientscript/smnlikquick_css.css
http://www.yourdomainname.com/forum/clientscript/smnlikquick_ajax.js

================================
Template: FORUMHOME
================================
FIND:
--------------------------------
<head>
--------------------------------
ADD BELOW:
--------------------------------
<!-- SmnLikQuick -->
<link rel="stylesheet" type="text/css" href="/clientscript/smnlikquick_css.css" />
<script type="text/javascript" src="/clientscript/smnlikquick_ajax.js">
/***********************************************
* Ajax Tabs Content script- Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<!-- / SmnLikQuick -->
--------------------------------

toddos
12 Apr 2008, 14:18
nothing changed after that ://

bobster65
12 Apr 2008, 14:25
nothing changed after that ://

PM me the link to your site so I can check it out..

bobster65
12 Apr 2008, 15:12
nothing changed after that ://

Figured it out and sent you a PM..

for those that are trying to use this on pages other than that forum home page, you are going to need to put the calls to the js and css on the respectable template or in the headinclude.

ie, put this in headinclude if wanting to use it on other pages that don't use the FORUMHOME template..

<!-- SmnLikQuick -->
<link rel="stylesheet" type="text/css" href="/clientscript/smnlikquick_css.css" />
<script type="text/javascript" src="/clientscript/smnlikquick_ajax.js">
/***********************************************
* Ajax Tabs Content script- Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<!-- / SmnLikQuick -->

puertoblack2003
12 Apr 2008, 16:18
i love this hack but its a resource hog..is there a way to only click on the link to the title of the message instead of it rotating to each title? so it won't require that many resource

bobster65
12 Apr 2008, 16:25
i love this hack but its a resource hog..is there a way to only click on the link to the title of the message instead of it rotating to each title? so it won't require that many resource

you can shut off the rotation by editing the smnlikquick template and setting the mytabs.init(5000) to mytabs.init()

<script type="text/javascript">

var mytabs=new ddajaxtabs("tabs", "divcontainer")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init(5000)

</script>

Martell
20 Apr 2008, 12:27
Block Google is not displayed :confused:

https://www.vbulletin.org/forum/external/2008/04/29.jpg

fahl
20 Apr 2008, 19:27
I have been trying to get this working for couple of days as acpms module,tried all ideas from posts,
I have no template showing on it except the background,& it loads occasonally on Homepage & Forum Page.

http://goldies.us.

Run out of ideas,Bdy things given me a headache:D:confused::D

King Kovifor
21 Apr 2008, 00:37
Block Google is not displayed :confused:

https://www.vbulletin.org/forum/external/2008/04/29.jpg

As of the latest version HTML isn't parsing. Try disabling the parsing of BBCode inside of the options.

Martell
21 Apr 2008, 09:27
As of the latest version HTML isn't parsing. Try disabling the parsing of BBCode inside of the options.

Has switched off. All the same does not work.

maidos
21 Apr 2008, 10:50
i want the rotate to have a slower update time?

also i would like to have this template edits on "header" instead but it doesnt seem to work, can u guys login to my forum and check it?

maidos
23 Apr 2008, 00:30
*bump*

bobster65
23 Apr 2008, 01:57
i want the rotate to have a slower update time?


you can adjust the rotation by editing the smnlikquick template and setting the mytabs.init(5000) to something higher. The time is in milliseconds, so 5000=5 seconds .. if you want to slow it down to 10 seconds, make it 10000. If you want to totally STOP the rotation just remove the numbers ie mytabs.init() That will make it so that they manually have to select a tab..

<script type="text/javascript">

var mytabs=new ddajaxtabs("tabs", "divcontainer")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init(5000)

</script>

maidos
23 Apr 2008, 17:46
thanks, and about having the mods located on header, how can that be done

toddos
25 Apr 2008, 06:07
how can i activate html in the announcement ? Is it possible ?

toddos
25 Apr 2008, 15:59
pls help ! i want to integrate an image into the announcement ;)

Bree
26 Apr 2008, 07:47
thanks, and about having the mods located on header, how can that be done

The second template edit in the installation notes (in zip file) is the placement... you can put it wherever you want (assuming the files from edit one) are pulled on same page... (so put both edits in the header template) I have to look... personally I added the first edit to the headerinclude template... then I can pretty much put the second edit anywhere and everywhere =0)


how can i activate html in the announcement ? Is it possible ?

Deactivating BB Code (in SmnLikQuick Settings) Activates HTML... At the moment you have to choose either or, sorry *blush*...



I am sorry that there has been no updates recently... I haven't abandoned the mod, I've just been having some health issues recently and the new medications making coding impossible more times than not.

Always, Bree

maidos
26 Apr 2008, 09:55
bree, but when i did made the template edits on "header" it only shows the mods on front page, but not when i view the thread. it seems css and js is disabled only when i view the threads

gscimbom
26 Apr 2008, 12:58
It is okey for all IE versions.

In firefox, it seems long text overflow. What can we do?

toddos
26 Apr 2008, 16:34
thx Bree, html is working now, thx a lot ! ;)

Bree
28 Apr 2008, 04:16
bree, but when i did made the template edits on "header" it only shows the mods on front page, but not when i view the thread. it seems css and js is disabled only when i view the threads

Is it showing any errors? Or just not working... Can you link me to your site (either here or PM)? The only thing I can think of is that the css and js edits weren't made on a template that was pulled on these other page... I wanna see so link me pretty please.

It is okey for all IE versions.

In firefox, it seems long text overflow. What can we do?

I am sorry about that, and when a new version of SmnLikDat is released, will automatically have that restriction taken out... When this was created it was for personal use on my own site so templates were created with my own wants/needs in mind and I forgot some things when coding to release. Funny, because that restriction didn't work out like I wanted it to on my own site so took out myself too LOL Anyways, I am babbling hehe... To fix for now.. in the template: smnlikquick

FIND
<div id="divcontainer" style="border:0px; width:97%; height: 105px; padding: 6px; margin-bottom:1em">

And Either Change or remove the code in red ( height: 105px; )

thx Bree, html is working now, thx a lot ! ;)

Note to self: Give better explanation in AdminCP concerning this settings =0) You are welcome Toddos and sorry about confusion there.

Always, Bree

gscimbom
29 Apr 2008, 01:41
Thanks a lot Bree, this is really a requirement for all vB users. For Web 2.0 use Ajax.. :)

joeycano
06 May 2008, 18:25
Bree,

I'm having the same issue in Post #63. Can you advise what language you removed from the XML file so I can get your great script working.

Thanks,

JoeyCano:)

massizero
07 May 2008, 00:02
Is there a way to decide the size of the block of the announcements?
thanks

bobster65
07 May 2008, 00:16
Is there a way to decide the size of the block of the announcements?
thanks

Do you want it set at a specific Height/Width? or do you want that dynamic based on the content?

in the template: smnlikquick

FIND

<div id="divcontainer" style="border:0px; width:97%; height: 105px; padding: 6px; margin-bottom:1em">

And Either Change or remove the code in red

massizero
07 May 2008, 19:42
Hi I have this problem...
Installed and working good with text.

I tried to insert html code to show a banner inside one tag and the banner doesn't show.

"Parse BBcode" option is disabled of course, and in fact I can see the banners properly showing in my ADMINcp/Manage Announcements section.

But in the forum, inside the boxes, the same banners are not showing..
thanks,
M

joeycano
08 May 2008, 10:40
Not sure if you skipped my message above. I'm wondering if you could advise what part of the code I need to remove to obtain the edit announcements screen.

Thanks,

Joeycano

crkgb
08 May 2008, 10:42
It would be nice if in Admin CP the messages were saved as categories and not as the entire message itself.

King Kovifor
08 May 2008, 11:29
Hi I have this problem...
Installed and working good with text.

I tried to insert html code to show a banner inside one tag and the banner doesn't show.

"Parse BBcode" option is disabled of course, and in fact I can see the banners properly showing in my ADMINcp/Manage Announcements section.

But in the forum, inside the boxes, the same banners are not showing..
thanks,
M

My code as we have been told doesn't allow for HTML. I am working on it for the next release.

Not sure if you skipped my message above. I'm wondering if you could advise what part of the code I need to remove to obtain the edit announcements screen.

Thanks,

Joeycano

What edit announcements screen?

Bree
08 May 2008, 12:03
Not sure if you skipped my message above. I'm wondering if you could advise what part of the code I need to remove to obtain the edit announcements screen.

Thanks,

Joeycano

I am assuming that you lost the edits I provided with the upgrade? And you are probably gonna beat me but I have totally forgotten what exactly we did *blush*... Give me tonight and I'll upload a new admin file for you (like last time)... And this time I'll take notes on what I did hehe...

Sorry... I'll hurry... promise =0)
Always, Bree

Bree
08 May 2008, 12:11
Nevermind, that wasn't hard to figure out... for some reason the code I used to count the announcements (and display them IF there were any) didn't work for you, so we had taken that out... Anyways... Here's the new admin file for SmnLikQuick v2.0.3 edited to fit your needs. Just upload this one overwriting the old one and it should work as it did before you upgraded.

Until I can figure this out... when I upgrade the mod, can you please notify me that you will need a new admin file... I'll keep a note on my computer to help remind me but just in case I forget, leave me a message here (or PM me) pretty please.

Thanks a bunch and sorry about that. Always -Bree

joeycano
08 May 2008, 14:18
Thanks Bree. Really appreciate your dedication to your work. Great script.

Note: I believe that last time we agreed that issue may be due to my using php 5.2.3

joeycano

Bree
08 May 2008, 14:58
I remember now... And if that is true... I will have no other choice but to get it fixed soon cause I wish to upgrade my site to PHP 5... I can't even remember why I haven't done that already ROFL Probably scared that everything will go wrong =0) We shall see hehe... Anyways you are very welcomed!

Always -Bree

lifeonmars
08 May 2008, 18:06
I'm having the same issue as #89 (http://www.vbulletin.org/forum/showpost.php?p=1474747&postcount=89)

I uploaded everything again & still no change.
Its always just "loading"

Bree
08 May 2008, 19:20
Hi Life... That's not good *pout*... My mind is completely drawing a blank.. that could be because it is now 9:17am my time and I've yet to go to bed YIKES... As soon as I get a bit of sleep I'll come back and try to figure this problem out and post to you sometime tomorrow...

Some things to try until then... verify that forum>smnlikquick.php uploaded to your server ok. Make sure that none of the SmnLikQuick Plugins somehow got disabled.. Possibly uninstall and reinstall the Mod?

Are the messages displaying fine in AdminCP?

Sorry but I am soooo very sleepy *blush*

Always, Bree

lifeonmars
08 May 2008, 20:05
Just finished my 3rd complete reinstall & each time I followed your instructions to the letter.
The js & css includes are in the headinclude template because i'm using the home page addon. As for your questions ..

All plugins are working.
AdminCp info shows up & can be changed.
I can also add & delete items fine.

The content of the items just continues to show the loading over & over.
To this point I have only seen the ajax function move between the items once.
That seemed to be during a forced page refresh. Even when that did happen the content area still only displays "Loading"

I'm not sure what this issue is. . I've looked for any path that may be off & cannot find any issue. One thing I have noticed though is when I change the options in the admincp (enable, modcp, bbcode) it doesn't seem to make any difference. The block still shows & nothing about it changes at all after I change those options. In fact when it installs, it is not enabled by default & still shows if the block is created.

enjoy your sleep, I'll look forward to any help you may have :)

lifeonmars
08 May 2008, 21:03
UPDATE:

I changed the paths to the full path in the templates & now it seems to be working.

so that may help if anyone else ends up having the issue.

Bree
09 May 2008, 08:57
I am so glad that you figured that out *blush*... I'm just getting set up to get some work done and have been trying to figure out your issue with no luck... Was coming to post a couple of "possibilities" but apparently they wouldn't have worked anyways. Thanks for letting us know (in case anyone else has same issue)... Have an awesome night.

Always, Bree

Binoy
09 May 2008, 21:55
really a good hack..

I just installed , but i can see only linke this
http://malluwood.net/images/759769Unbenannt.PNG

y it could be?

King Kovifor
09 May 2008, 23:43
really a good hack..

I just installed , but i can see only linke this
http://malluwood.net/images/759769Unbenannt.PNG

y it could be?

If I am not mistaken, check your CSS.

Bree
10 May 2008, 00:00
Just for the record.. on the page where you have the SmnLikQuick Announcements showing... you can right click and opt to view the page source (source code... worded differently depending on which browser you are using)... Look for the coding (that was added during the first edit.... Which is as follows:

<!-- SmnLikQuick -->
<link rel="stylesheet" type="text/css" href="/clientscript/smnlikquick_css.css" />
<script type="text/javascript" src="/clientscript/smnlikquick_ajax.js">
/***********************************************
* Ajax Tabs Content script- Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<!-- / SmnLikQuick -->

If it is not present then you will need to add that coding to the correct template. If it IS there but is still showing the links... try taking out the / (forward slash) in the address..

IE Change:
/clientscript/smnlikquick_css.css and /clientscript/smnlikquick_ajax.js
To:
clientscript/smnlikquick_css.css and clientscript/smnlikquick_ajax.js

If that doesn't work, let us know.

Always, Bree

MagnetiCat
10 May 2008, 19:18
Bree, please check your PM, important.

rapidphim
11 May 2008, 04:38
Bree... sorry for off topic question. Can you please let me know where did you get the Top 5 hack for 3.7.0? thanks.

Bree
11 May 2008, 15:46
No Problem =0) It's the Cyb - Advanced Forum Statistics by Cybernetec...
http://www.vbulletin.org/forum/showthread.php?t=177778

It's quick, easy, and painless to install... and my members seem to love it =0)

Always, Bree

Bree
11 May 2008, 16:13
Sorry, for the "boring" update but it was for security purposes. So it is very important that you re-upload all files (excluding the smnlikquick_css.css) to your server allowing overwrite. Then just re-import the product (xml)... You will not lose any announcements etc. Thank you MagnetiCat for the heads-up! Much appreciated!!

And Joeycano, I didn't forget about you =0) Will attach you a special admin file for you here.

Thanks all and I am sorry for the inconvenience!
Always, Bree

EDIT: Download the full SmnLikQuick v2.0.4.zip from the first post to upgrade.

rapidphim
11 May 2008, 16:51
Bree, your zip file only contained 1 file. Am I correct?

Bree
11 May 2008, 18:13
Bree, your zip file only contained 1 file. Am I correct?

Did you download the zip file from my last post? If so, yes that was just one file... But don't use that, re-download the full package from the first post... (SmnLikQuick v2.0.4) I should have clarified that, sorry.. Joey requires a special admin file for his setup and that's what was in the last post.

Always, Bree

rapidphim
11 May 2008, 18:24
never mind me.

ramsayeg
11 May 2008, 18:30
Thank you for the quick security fix. Updating took a minute and it's working just fine.

myown
11 May 2008, 20:12
hi
i have two questions: on my forums block is not following forums template CSS how to fix it.
Second how to make it RTL, i guss throug CSS direction TAG?

Thanks in advance.

Bree
11 May 2008, 22:53
Thank you for the quick security fix. Updating took a minute and it's working just fine.

Yeah, once you get it initially installed, which I don't think should take very long anyways.. updating really is quick an easy... Hopefully I can keep it this way =0)

hi
i have two questions: on my forums block is not following forums template CSS how to fix it.
Second how to make it RTL, i guss throug CSS direction TAG?

Thanks in advance.

Hi myown, unfortunately with the way this mod works, it doesn't automatically match up. You will manually need to edit the forums/clientscript/smnlikquick_css.css file. Just remember that later when you upgrade, do not overwrite that file when upgrading (or else you'll have to re-edit it)... If you have multiple styles, I left some notes in post 99 (http://www.vbulletin.org/forum/showpost.php?p=1484751&postcount=99)
for a way to work around that. And I didn't understand what you meant with second question *blush*, I am sorry. What do you mean RTL?


I think we're to the point I can take the "beta testing" off of this (I initially just wanted that on there until 3.7 went Gold).. But I'm looking to add a few new features in the near future. Once that's released, everyone has it installed and gives me the OK, thinking that would be the best time to take the "beta testing" sign down... I'll hopefully be working on this soon (not sure when, have two more projects on the table not to mention trying to keep up with my own non-coding related site hehe).. so if anyone has any ideas for features not named in the first post.. please do not hesitate to let me know your thoughts =0)

Always, Bree

rapidphim
11 May 2008, 23:47
Can msg box created in Rich Text format? Not too many users has knowledge on html tag.

ngkong
12 May 2008, 01:06
Rich Text format? maybe you mean wysiwyg?

here is Rich Text format example from wikipedia, i dont think many users have knowledge of the tags

{\rtf1\ansi{\fonttbl\f0\fswiss Helvetica;}\f0\pard
This is some {\b bold} text.\par
}

chriszep
12 May 2008, 16:36
hello
it seem to work
the box is showing but i got this message in


Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/www/58b931361030e91544124fcfc5e04f1d/web/forums/smnlikquick.php on line 16

Subah
13 May 2008, 00:41
Thank you

myown
13 May 2008, 05:55
Yeah, once you get it initially installed, which I don't think should take very long anyways.. updating really is quick an easy... Hopefully I can keep it this way =0)



Hi myown, unfortunately with the way this mod works, it doesn't automatically match up. You will manually need to edit the forums/clientscript/smnlikquick_css.css file. Just remember that later when you upgrade, do not overwrite that file when upgrading (or else you'll have to re-edit it)... If you have multiple styles, I left some notes in post 99 (http://www.vbulletin.org/forum/showpost.php?p=1484751&postcount=99)
for a way to work around that. And I didn't understand what you meant with second question *blush*, I am sorry. What do you mean RTL?


I think we're to the point I can take the "beta testing" off of this (I initially just wanted that on there until 3.7 went Gold).. But I'm looking to add a few new features in the near future. Once that's released, everyone has it installed and gives me the OK, thinking that would be the best time to take the "beta testing" sign down... I'll hopefully be working on this soon (not sure when, have two more projects on the table not to mention trying to keep up with my own non-coding related site hehe).. so if anyone has any ideas for features not named in the first post.. please do not hesitate to let me know your thoughts =0)

Always, Bree

RTL means Right To Left languages, like Urdu and Arabic/Persian.

اردو دائیں+سے بائیں لکھی جاتی ہے

To see live demo for RTL check my forums Pak.net (http://pak.net/)

SuperDave71
13 May 2008, 20:36
Hey there,


I have a quick question. For some reason, when the "loading" happens, the announcement box is made smaller. This in turn forces everthing below it to 'jump' upward until the next announcement is displayed then it jumps back down to the original position.


Do anyone have any suggestions in make the loading box the same as the "announcement" box so it doesn't like like it does?


This is a great mod by the way. I will most certainly use it . I just hope maybe someone could possibly help me out.

Thank you way in advance.


-Dave :)

digitalSite
18 May 2008, 22:04
Hi:

I just installed this hack but I just get a bulleted link. Where's the AJAX stuff? lol. I installed BOTH the CMPS and the 2.04 zip files. I am getting the error message in IE: ddajaxtabs is undefined. Any help is greatly appreciated! Thanks!

King Kovifor
21 May 2008, 01:45
Make sure the CSS file is uploaded to the correct path.

Bree
23 May 2008, 06:41
I don't have long so will make this quick... My laptop crashed (on husband's right now)... so will be unable to update this mod or offer support for it until I get up and running again (good news is that it was still under warranty and HP is going to replace the necessary parts hehe)... I apologize for this delay... Trust me, this hurts me a lot more than it hurts you (*sniff* I SOOO miss my baby (aka laptop))... Hope everyone is well!

Always, Bree

Eneswar
04 Jun 2008, 21:46
I get this warning...

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /----/----/--------/public_html/smnlikquick.php on line 16

What to do???

solidlink
05 Jun 2008, 00:24
hmm... i get a bulleted link that goes to a page without the vbulletin style. how do i go about editing the .css?

bobster65
05 Jun 2008, 01:08
hmm... i get a bulleted link that goes to a page without the vbulletin style. how do i go about editing the .css?

Thats because its not finding the .css file. Edit the path in RED below and try the full URL to the .css (or remove the / before clientscript) one of those should do the trick ;)


<!-- SmnLikQuick -->
<link rel="stylesheet" type="text/css" href="/clientscript/smnlikquick_css.css" />
<script type="text/javascript" src="/clientscript/smnlikquick_ajax.js">
/***********************************************
* Ajax Tabs Content script- Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<!-- / SmnLikQuick -->

Eneswar
05 Jun 2008, 02:01
I get this warning...

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /----/----/--------/public_html/smnlikquick.php on line 16

What to do???

Anyone know why this problem is there, please?

solidlink
05 Jun 2008, 02:13
Thats because its not finding the .css file. Edit the path in RED below and try the full URL to the .css (or remove the / before clientscript) one of those should do the trick ;)


<!-- SmnLikQuick -->
<link rel="stylesheet" type="text/css" href="/clientscript/smnlikquick_css.css" />
<script type="text/javascript" src="/clientscript/smnlikquick_ajax.js">
/***********************************************
* Ajax Tabs Content script- Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<!-- / SmnLikQuick -->

ok thanks a lot, but now it still leads to a blank page without any background, just the content.

bobster65
05 Jun 2008, 02:56
ok thanks a lot, but now it still leads to a blank page without any background, just the content.

do the same with the path to the .js file

Hugo Holbling
05 Jun 2008, 12:24
Is it possible to place php code inside one of the tabs? For example, it would be nice to be able to have tabs that show a list of new posts or new threads, called in the same way that several mods do.

Sorry if this is a stupid question but I'm new to coding.

Eneswar
05 Jun 2008, 12:49
I really wanna use this addon but i cant aslong i get this error...

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /----/----/--------/public_html/smnlikquick.php on line 16


Noone has any idea how to solve it?

bobster65
05 Jun 2008, 13:07
Is it possible to place php code inside one of the tabs? For example, it would be nice to be able to have tabs that show a list of new posts or new threads, called in the same way that several mods do.

Sorry if this is a stupid question but I'm new to coding.

I released a MOD Called AJAX TABS for CMPS.. part of that Mod has a Content File for Recent Threads and CAN be integrated into this with some minor tweaking.

bobster65
05 Jun 2008, 13:10
I really wanna use this addon but i cant aslong i get this error...

Noone has any idea how to solve it?

yes, send that message to your HOST and ask them to turn it on.. its a php.ini setting on your server.

semka
06 Jun 2008, 00:49
Kirilique dont work :( like this "?????? ???? ?????". help!

bobster65
06 Jun 2008, 01:16
Kirilique dont work :( like this "?????? ???? ?????". help!

:eek: HUH?

semka
06 Jun 2008, 16:32
i cant wrote with cirilique! error like this "????????????"

bobster65
06 Jun 2008, 16:46
i cant wrote with cirilique! error like this "????????????"

Its not recognizing that FONT for what ever reason. Maybe someone that deals with other languages can help you troubleshoot.

mry
08 Jun 2008, 01:17
how setting messages change time ?

bobster65
08 Jun 2008, 16:16
how setting messages change time ?

can you explain more details of what you are looking for please?

Hugo Holbling
09 Jun 2008, 07:11
One issue I'm having with this is that the container collapses in size when loading the new tab. This has the effect of making the forum homepage jump; i.e. as the container reloads the forums move up, and as the new tab is shown the forums move back down again. Is there any way to stop this or fix the size of the container so that it remains constant, whether reloading or not and regardless of how much content is contained in each tab?

Eneswar
14 Jun 2008, 17:04
Any way to make this work with PHP5 ?

bobster65
14 Jun 2008, 19:52
One issue I'm having with this is that the container collapses in size when loading the new tab. This has the effect of making the forum homepage jump; i.e. as the container reloads the forums move up, and as the new tab is shown the forums move back down again. Is there any way to stop this or fix the size of the container so that it remains constant, whether reloading or not and regardless of how much content is contained in each tab?

Hey Hugo.... you can set the container to a "fixed" height, but it you have more text than the height of the container, then its going to over flow below the the set height.

If you want to experiment with it, edit the "smnlikquick" template ..

This Div is what controls the container...

<div id="divcontainer" style="border:0px; width:97%; padding: 6px; margin-bottom:1em">
</div>


So to give it a "fixed" height, just add the height attribute In RED) to the style like this..

<div id="divcontainer" style="border:0px; height:205px; width:97%; padding: 6px; margin-bottom:1em">
</div>

King Kovifor
15 Jun 2008, 00:08
Any way to make this work with PHP5 ?

What errors do you have?

Eneswar
15 Jun 2008, 22:52
What errors do you have?

Im getting this:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /----/----/--------/public_html/smnlikquick.php on line 16

I even contacted my host about this and they said I had to downgrade to PHP4... But i dont want to do that. There needs to be a way around?

King Kovifor
16 Jun 2008, 00:29
I have never heard about pass-by-pass reference. I will look into when I get home and can search stuff up on PHP.net. :)

Eneswar
16 Jun 2008, 00:41
I hope you are luckier then me, i havent been able to find anything to help, and this is one of those addons that i REALLY would like to get up and running :D

Edit: I did found this: http://se.php.net/manual/en/language.references.pass.php
Im not so good with that PHP so i hope you understand that more then me :P

King Kovifor
16 Jun 2008, 01:23
That sheds some light. I will give Bree a fix soon.

Eneswar
16 Jun 2008, 02:58
OMG. if thats true you are my hero :D
Ill be refreshing this like mad now >_>

King Kovifor
16 Jun 2008, 04:02
OMG. if thats true you are my hero :D
Ill be refreshing this like mad now >_>

I will look at it tomorrow (today) as it is now after midnight. I am too tired to code anything now.

Boofo
16 Jun 2008, 04:21
You crack me up! LOL

Hugo Holbling
16 Jun 2008, 07:01
Hey Hugo.... you can set the container to a "fixed" height [...] edit the "smnlikquick" template ..

Thanks, bobster65. I'll give that a try. :)

Hugo Holbling
16 Jun 2008, 08:00
Worked great. Thanks again, bobster65. :)

In addition to the request that usergroup permissions be possible, I'd also appreciate it if a future update included an option for the User CP so that members can choose to switch the announcements block on or off.

King Kovifor
16 Jun 2008, 14:26
Despite what Bob thinks, this was a really simple fix and I had time to fix it today. Give this file a try and if it works for you I will send it off to Bree to give a general update.

Just overwrite the previous ./smnlikquick.php file.

Eneswar
16 Jun 2008, 14:30
Thank you so much, I will re install this right now and try it, and i will let you know.

King Kovifor
16 Jun 2008, 14:32
Thank you so much, I will re install this right now and try it, and i will let you know.

No need to reinstall, just upload that file and overwrite the one in your forum root directory.

Eneswar
16 Jun 2008, 14:40
I uninstalled it when it didnt work :P
But I installed it again and everything seems to work perfectly, no errors nothing.
Your the best, thank you so much.

King Kovifor
16 Jun 2008, 15:00
OK, Glad it worked. I will send it to Bree later. :)

killswitch
17 Jun 2008, 02:42
Why is mine coming out like this? http://i29.tinypic.com/2lw41f7.jpg

slick368
17 Jun 2008, 02:43
I have the module installed, but all I get is a box with a bulleted list of what I expected to be on the tab labels. There aren't even any tabs, just a plain box. Any ideas what I could have missed?

bobster65
17 Jun 2008, 03:07
Why is mine coming out like this? http://i29.tinypic.com/2lw41f7.jpg

I have the module installed, but all I get is a box with a bulleted list of what I expected to be on the tab labels. There aren't even any tabs, just a plain box. Any ideas what I could have missed?

In the FORUM HOME Template, make sure your PATHS (IN RED) are set correctly.. You can put the FULL URL to the file(s) and that might solve the problem. The reason its coming out as a bulleted list is that its not finding the CSS File.

================================
Template: FORUMHOME
================================
FIND:
--------------------------------
<head>
--------------------------------
ADD BELOW:
--------------------------------
<!-- SmnLikQuick -->
<link rel="stylesheet" type="text/css" href="/clientscript/smnlikquick_css.css" />
<script type="text/javascript" src="/clientscript/smnlikquick_ajax.js">
/***********************************************
* Ajax Tabs Content script- Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<!-- / SmnLikQuick -->

chongbing
17 Jun 2008, 08:38
May I ask this also support UTF-8 ? I mean multi-language ?

BeerLuver
20 Jun 2008, 05:18
Excellent mod :). I got it to work perfectly on my forums, but when I followed the installation instructions to have it show up on the vbadvanced CMS homepage, it came up but the announcements would not show... it just showed a continous Loading....

I reverted back to just having it on my forums homepage for the time being, but I'm curious if anyone else ran into this issue while trying to use it as a module on the vbaCMS frontpage and/or if anyone has a clue on how to resolve it?

Great work so far on everything Bree and anyone else who has helped with this mod :)

abdelghani68
23 Jun 2008, 21:12
thanks for this mod


Excellent mod :). I got it to work perfectly on my forums, but when I followed the installation instructions to have it show up on the vbadvanced CMS homepage, it came up but the announcements would not show... it just showed a continous Loading....

I reverted back to just having it on my forums homepage for the time being, but I'm curious if anyone else ran into this issue while trying to use it as a module on the vbaCMS frontpage and/or if anyone has a clue on how to resolve it?

Great work so far on everything Bree and anyone else who has helped with this mod :)

i have the same probleme

skiseiju
24 Jun 2008, 06:36
try my code,i'v fix some problem of unicode
the first file is in the admincp,just overwrite it.
the seconde file is XML , overwrite it too.

abdelghani68
24 Jun 2008, 08:48
try my code,i'v fix some problem of unicode
the first file is in the admincp,just overwrite it.
the seconde file is XML , overwrite it too.

Error database with the file xml

DjEddie
24 Jun 2008, 13:49
This mod is perfect, will nominate it too ...

Suggestions for next version:

Allow for multi row of tabs, with the tab graphix finished so it has outline all around the tab
Option to center tabs across the box
Incorporate bbcode and html at same time, or option to have either per tab
Let images be used inside the tabs, I haven't been able to, so not sure if its me or the mod.

douffle
24 Jun 2008, 15:17
I'm not sure if this is where I would ask for support but,...
I am trying to install the mod. I uploaded all files as instructed, went into the admin and selected Plugins & Products>Manage Products>Add/Import and where it says import the XML file from your server, I entered ./includes/xml/cpnav_smnlikquick.xml but I get an error saying: Invalid File Specified. I then tried re-uploading the file using the Browse in the Import manager but I get the same error. Am I importing correctly or should I be importing a different file?

Thanks

King Kovifor
24 Jun 2008, 17:49
This mod is perfect, will nominate it too ...

Suggestions for next version:

Allow for multi row of tabs, with the tab graphix finished so it has outline all around the tab
Option to center tabs across the box
Incorporate bbcode and html at same time, or option to have either per tab
Let images be used inside the tabs, I haven't been able to, so not sure if its me or the mod.

I am working on the BBCode + HTML support.

I'm not sure if this is where I would ask for support but,...
I am trying to install the mod. I uploaded all files as instructed, went into the admin and selected Plugins & Products>Manage Products>Add/Import and where it says import the XML file from your server, I entered ./includes/xml/cpnav_smnlikquick.xml but I get an error saying: Invalid File Specified. I then tried re-uploading the file using the Browse in the Import manager but I get the same error. Am I importing correctly or should I be importing a different file?

Thanks

It shouldn't be a cpnav_ file. You should upload the .xml that is in the root folder of the zip file.

douffle
24 Jun 2008, 18:45
Thank you King Kovifor.

I don't know how I missed that file. I uploaded all the files in the Upload folder and missed that one. Thank you very much.

Appreciate your help.

King Kovifor
24 Jun 2008, 18:51
It wasn't in the upload folder most likely. I sent the v2.0.5 to Bree this morning so hopefully she will update it with the patch I supplied earlier soon.

douffle
24 Jun 2008, 19:31
I got it installed now and I have just one more problem, (I hope).

I added two announcements but I am not getting the tabs. Just two links with the announcements auto-rotating below the links. The rotation is very fast as well.

I don't see anything in the settings that looks like it would determine if I had links or tabs.

Any thoughts?

Thanks

BeerLuver
24 Jun 2008, 19:45
King Kovifor... by any chance, did your update/fixes include the vbAdvanced CMS issue I & some others were experiencing with the loading announcements issue?

bobster65
24 Jun 2008, 19:47
I got it installed now and I have just one more problem, (I hope).

I added two announcements but I am not getting the tabs. Just two links with the announcements auto-rotating below the links. The rotation is very fast as well.

I don't see anything in the settings that looks like it would determine if I had links or tabs.

Any thoughts?

Thanks

In the FORUM HOME Template, make sure your PATHS (IN RED) are set correctly.. You can put the FULL URL to the file(s) and that should solve the problem.

================================
Template: FORUMHOME
================================
FIND:
--------------------------------
<head>
--------------------------------
ADD BELOW:
--------------------------------
<!-- SmnLikQuick -->
<link rel="stylesheet" type="text/css" href="/clientscript/smnlikquick_css.css" />
<script type="text/javascript" src="/clientscript/smnlikquick_ajax.js">
/***********************************************
* Ajax Tabs Content script- Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<!-- / SmnLikQuick -->

douffle
24 Jun 2008, 20:06
Thanks Bobster65, I missed the begining forward slash in the path. The tabs are there now.

One final question though. The announcements are still auto-rotating back and forth. How do you set it up so that it only changes if you click the tabs?

Thanks again.

bobster65
24 Jun 2008, 20:12
Thanks Bobster65, I missed the begining forward slash in the path. The tabs are there now.

One final question though. The announcements are still auto-rotating back and forth. How do you set it up so that it only changes if you click the tabs?

Thanks again.

Cool Beans ..

To modify the auto rotation, edit the "smnlikquick" template and look for this code towards the bottom of it..

<script type="text/javascript">

var mytabs=new ddajaxtabs("tabs", "divcontainer")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init(5000)

</script>


Change the mytabs.init(5000) to mytabs.init() the 5000 is in microseconds, so it was set to rotate every 5 seconds... setting it to () removes the rotation completely and makes it so that you have to click on a tab.

King Kovifor
24 Jun 2008, 20:13
King Kovifor... by any chance, did your update/fixes include the vbAdvanced CMS issue I & some others were experiencing with the loading announcements issue?

I haven't messed with the CMPS module, I think it was a direct modification of one of Bobster's so I will send it to him to check out.

Thanks Bobster65, I missed the begining forward slash in the path. The tabs are there now.

One final question though. The announcements are still auto-rotating back and forth. How do you set it up so that it only changes if you click the tabs?

Thanks again.

Support for that being an option in the ACP is planned, so that will be in the next major version most likely. But it is somewhere in the template. Maybe Bobster knows the exact spot.

douffle
25 Jun 2008, 00:46
Interesting! What I find is that when you first enter the home page it auto-rotates between the anouncements. If I click on one of the tabs then it stops auto-rotating and does not change unless you click a different tab. If I refresh the page, then it starts to auto-rotate between the anouncements again until I click on one of the tabs again. Weird!

bobster65
25 Jun 2008, 12:54
Interesting! What I find is that when you first enter the home page it auto-rotates between the anouncements. If I click on one of the tabs then it stops auto-rotating and does not change unless you click a different tab. If I refresh the page, then it starts to auto-rotate between the anouncements again until I click on one of the tabs again. Weird!

That's not weird, its how auto rotation is supposed to be if initialized. Auto rotation stops as soon as you click on a tab. If you refresh, you are invoking the original state, which is to auto rotate until a tab is clicked on. I posted above how to initialize without auto rotation.

Once Bree gets back online, I am going to have her change the default install to NOT rotate and add the ability to set the auto rotate time in the ACP.

douffle
25 Jun 2008, 15:32
It seemed weird to me at the time but I wasn't aware that it was supposed to do that. :)

Setting the default as non-rotating seems to me to be the best way to go. The reason I say this is because in between rotations it clears the box (table), and displays the "loading" animation, which is fine in and of itself, but I find that because the box shrinks in height when the animation begins and grows in height when it displays the next announcement, the forums listing is jumping up and down on the page. If I scroll down trying to look at all of the forums, I find it very distracting as the list jumps up and down on the page.

I am not trying to knock the mod. It is a great mod and it is what I have wanted for some time now, but I am simply trying to point out what I think might improve it. If it is not auto-rotating, the forum list will not jump up and down.

DjEddie
26 Jun 2008, 09:51
It seemed weird to me at the time but I wasn't aware that it was supposed to do that. :)

Setting the default as non-rotating seems to me to be the best way to go. The reason I say this is because in between rotations it clears the box (table), and displays the "loading" animation, which is fine in and of itself, but I find that because the box shrinks in height when the animation begins and grows in height when it displays the next announcement, the forums listing is jumping up and down on the page. If I scroll down trying to look at all of the forums, I find it very distracting as the list jumps up and down on the page.

I am not trying to knock the mod. It is a great mod and it is what I have wanted for some time now, but I am simply trying to point out what I think might improve it. If it is not auto-rotating, the forum list will not jump up and down.

As said in previous post, you can change the height of the box so it stays the same size when loading another tab.

http://www.vbulletin.org/forum/showpost.php?p=1549381&postcount=202 <--- check that post for the coding and template :)




Question:

Is it possible to include something where you can call the Last topics made in a certain forum to show in the tabs and update itself when a new topic is made in that forum?

Thanks :)

bobster65
26 Jun 2008, 12:45
Question:

Is it possible to include something where you can call the Last topics made in a certain forum to show in the tabs and update itself when a new topic is made in that forum?

Thanks :)

You can use my content files ( http://www.vbadvanced.com/forum/showthread.php?t=25189 ) from this mod (with a little minor editing) with this, since this is driven of that lol .. but ya, you can and its being done.

There are probably going to be some new features with this as soon as Bree gets back online. KK and I have a list ready for her lol.

douffle
26 Jun 2008, 13:59
Thank you very much. I didn't see that post before. Works GREAT now.

Thanks again.

DjEddie
26 Jun 2008, 23:56
You can use my content files ( http://www.vbadvanced.com/forum/showthread.php?t=25189 ) from this mod (with a little minor editing) with this, since this is driven of that lol .. but ya, you can and its being done.

There are probably going to be some new features with this as soon as Bree gets back online. KK and I have a list ready for her lol.

Thanx for that bobster, this is really a good mod, possibilities are endless, i'm lookin at put our radio panel we've made inside it.. just needs a fiddle about with .. but getting there.

Thanks again, *awaits next version* :)



Hi bobster, I've looked through the link you gave me, quick questions...

Basically, would I have to install the whole thing for it to work or could I take the thread php file and upload it and have a tab point to it...so which code would i use to do that?. . or is there another way round it?

Thanks

Dennis Kaczor
28 Jun 2008, 21:21
Ok running VB 3.72 and a friend brought this program to my attention.

Installed and when I go to add a message I get this SQL error message.

Warning: mysql_query() [function.mysql-query]: Access denied for user: 'torontod@localhost' (Using password: NO) in [path]/admincp/smnlikquick.php on line 50

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in [path]/admincp/smnlikquick.php on line 50

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in [path]/admincp/smnlikquick.php on line 51


Even if I add a message, then I don't get a message block like I have seen, and if I add another message it does not display right.... Like this


Test1
Test2


Any ideas? I would love to see this one work.

King Kovifor
28 Jun 2008, 21:35
Ok running VB 3.72 and a friend brought this program to my attention.

Installed and when I go to add a message I get this SQL error message.

Warning: mysql_query() [function.mysql-query]: Access denied for user: 'torontod@localhost' (Using password: NO) in [path]/admincp/smnlikquick.php on line 50

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in [path]/admincp/smnlikquick.php on line 50

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in [path]/admincp/smnlikquick.php on line 51


Even if I add a message, then I don't get a message block like I have seen, and if I add another message it does not display right.... Like this


Test1
Test2


Any ideas? I would love to see this one work.
It cannot access your database from your supplied information. I wouldn't see why if your forums worked.

And double check the CSS path.

bobster65
28 Jun 2008, 21:56
Hi bobster, I've looked through the link you gave me, quick questions...

Basically, would I have to install the whole thing for it to work or could I take the thread php file and upload it and have a tab point to it...so which code would i use to do that?. . or is there another way round it?

Thanks

No, you wouldn't install the whole thing, just use the content files ie, recentthreadsexp2.php for example and point a tab to it. You would do this manually in the template (for now). King K and I are working on something right now that we may talk Bree into using here which will allow specific additional content modules to be added to this as well..

Here is how to add an additional Tab for an external content file (s)

EDIT the smnlikquick TEMPLATE

I manually inserted an LI tag (IN RED) which will create an addition Tab .. all you need to do is create a content file, upload it, change the name of it in the line below, name your tab and yer golden. Works well with all the content files I have made for AJAX Tabs .. you just need to remark out the calls to any CMPS files that are not being used..


<table class="tborder" cellpadding="0" cellspacing="0" width="100%" align="center" border="0">
<tr>
<td class="alt1">
<div id="tabs" class="indentmenu">
<ul>
$slq_bit
<li><a href="tabcontentfile.php" rel="tabcontainer">TAB NAME</a></li>
</ul>
<br style="clear: left" />
</div>
<div id="divcontainer" style="border:0px; width:97%; padding: 6px; margin-bottom:1em">
</div>

<script type="text/javascript">

var mytabs=new ddajaxtabs("tabs", "divcontainer")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init(5000)

</script>

</td>
</tr>
</table>

<br />

Dennis Kaczor
28 Jun 2008, 22:48
It cannot access your database from your supplied information. I wouldn't see why if your forums worked.

And double check the CSS path.

I had put the full path in there and that did not work out, but I removed the / slash and now I get the blocks and see the two messages.

But I don't understand the SQL errors that I have listed. Error Messgae The requested URL /forums/admincp/function.mysql-query was not found on this server.

Here is a screen capture of where the errors occur, is there anything else that you would need from me to sort out this problem?


http://www.icurdigital.com/dennis/sql_error.jpg

Sorting out this stuff is my weak area big time.

King Kovifor
28 Jun 2008, 23:38
The first error says it cannot establish a connection with your database. Does vBulletin give you this error?

Dennis Kaczor
29 Jun 2008, 00:15
The first error says it cannot establish a connection with your database. Does vBulletin give you this error?

No I don't get that error message for vBulletin at all. I checked my emails and there was SQL errors reported for VB.

But here is the ones from your software. I hope that this will be a clue for you.

Database error in vBulletin 3.7.1:

Invalid SQL:
SELECT * FROM `smnlikquick` WHERE `status`='1' ORDER BY `dis_order`;

MySQL Error : Table 'torontod_vb_data.smnlikquick' doesn't exist
Error Number : 1146
Request Date : Saturday, June 28th 2008 @ 11:12:52 AM
Error Date : Saturday, June 28th 2008 @ 11:12:52 AM
Script : http://www.icurdigital.com/forums/
Referrer :
IP Address : 99.234.69.7
Username : Admin
Classname : vB_Database_MySQLi
MySQL Version : 5.0.45-log

Thanks for your help on this issue

King Kovifor
29 Jun 2008, 02:51
Your table was never created. Try exporting and reimporting your product.