View Full Version : Crossbrowser JavaScript Ticker
dengel
04-10-2002, 10:00 PM
This ticker is based on the AVS Forum (http://www.tivocommunity.com/tivo-vb/) Ticker. Is is JavaScript based, hence should work on any modern browser (unlike marquee based tickers). Should work on any 2.x version.
You can see it in action at IRCZONE.CL (http://www.irczone.cl/) (Click on the Telepost link under the Navegaci?n menu).
Hey! It's in Spanish! Not the version released in here. I took the time to have all strings on a config file so you can change/translate them at will.
Instalation should be drop and load, but there are some variables to configure if you'd like to change the look and feel. Just unzip the attached file on top of your vB root (no files will be changed, just a new directory "ticker" added).
Once again, thanx to the fine people of the AVS Forum.
d.
MrLister
04-11-2002, 01:27 AM
That's quite a unique ticker. Thanks
Nice. It would be even better if you had a addon for a framless window ;)
freakyshiat
04-11-2002, 03:13 AM
Exactly what needs to be edited in config.php? can i just upload the file as is? Do i need to fill in the dbname, username, password and all that?
dengel
04-11-2002, 12:25 PM
The config.php contains all your strings (text seen on the ticker), plus color, and font information. You do not need to to provide any database info.
d.
Wayne2k1.com
04-11-2002, 12:55 PM
One BIG problem...
It shows the titles also from private forums, in which the user don't have access.
:ermm:
freakyshiat
04-11-2002, 01:35 PM
Originally posted by dengel
The config.php contains all your strings (text seen on the ticker), plus color, and font information. You do not need to to provide any database info.
d.
I uploaded the stock config.php and I get script errors. I properly inserted the javascript stuff
dengel
04-11-2002, 01:52 PM
What errors?
d.
WebMasterAJ
04-11-2002, 06:02 PM
Originally posted by Wayne2k1.com
One BIG problem...
It shows the titles also from private forums, in which the user don't have access.
:ermm:
I was just about to download this until I read this, has this problem been solved yet?
inetd
04-11-2002, 07:22 PM
For what time new messages are shown?
freakyshiat
04-11-2002, 10:14 PM
Originally posted by dengel
What errors?
d.
when i click on the link, it just sits there and on bottom left corner, it says script error
I get a few javascript errors when I try this.. and when the popup is exacuted I get a empty box.
Psychdrone
04-13-2002, 04:29 AM
this is really cool!! Somebody gota get a good working version!
inetd
04-20-2002, 08:27 AM
dengel, please fix error, showing from private forums and re-release this great hack! :) ;) :D
You have not overlooked about us? :? :D
Logician
05-13-2002, 10:37 PM
Originally posted by inetd
dengel, please fix error, showing from private forums
@inetd: To exclude private forums edit this line in data.php:
$sql_query = "SELECT threadid, thread.forumid, thread.title, thread.replycount, thread.lastposter, postuserid, postusername, forum.title AS forumname FROM thread,forum where forum.forumid=thread.forumid ORDER BY thread.lastpost DESC LIMIT $maxcount";
before ORDER BY, ADD:
AND (thread.forumid!=X OR thread.forumid!=Y)
Replace X and Y with your private forum's ids..
memobug
07-03-2002, 09:25 AM
NB: The demo is no longer available - IRCZONE's telepost link links to javascript void.
Is anyone running this where I might see it?
Is it compatible with 2.2.6
Regards,
Matt
tractor-beam
07-11-2002, 11:59 AM
Doesn't this type of ticker put the whole load back on the srever again? I rather liked the concept of a CRON job performing the database "heavy-lifting" every five minutes instead of each client.
Did I miss something obvious? :) Did someone post the actual file that gets executed for the CRON job?
Thanks!
Chris M
07-23-2002, 11:02 AM
It works...And looks good:)
Satan
yxboom
07-08-2003, 03:59 PM
05-13-02 at 04:37 PM Logician said this in Post #15 (https://vborg.vbsupport.ru/showthread.php?postid=250754#post250754)
@inetd: To exclude private forums edit this line in data.php:
$sql_query = "SELECT threadid, thread.forumid, thread.title, thread.replycount, thread.lastposter, postuserid, postusername, forum.title AS forumname FROM thread,forum where forum.forumid=thread.forumid ORDER BY thread.lastpost DESC LIMIT $maxcount";
before ORDER BY, ADD:
AND (thread.forumid!=X OR thread.forumid!=Y)
Replace X and Y with your private forum's ids..
Private forums are still showing up in the ticker.
Mystics
08-26-2003, 04:51 PM
05-14-02 at 02:37 AM Logician said this in Post #15 (https://vborg.vbsupport.ru/showthread.php?postid=250754#post250754)
@inetd: To exclude private forums edit this line in data.php:
$sql_query = "SELECT threadid, thread.forumid, thread.title, thread.replycount, thread.lastposter, postuserid, postusername, forum.title AS forumname FROM thread,forum where forum.forumid=thread.forumid ORDER BY thread.lastpost DESC LIMIT $maxcount";
before ORDER BY, ADD:
AND (thread.forumid!=X OR thread.forumid!=Y)
Replace X and Y with your private forum's ids..
I believe the query should be:AND thread.forumid!=X AND thread.forumid!=Y
SamirDarji
04-02-2004, 06:11 PM
Anyone try this on vb3? We're running v3 Beta 7, and after changing the config.php file to reflect the new path, it seems to work pretty well except that it turns off and then will not turn back on again. I've looked over the code a few times, but can't tell how they indicate that the switch is off. Any clues?
After trying it on a few systems, it seems that if it isn't working on one system, it won't work on another either. *scratches head*
SamirDarji
05-28-2004, 05:08 PM
Well, it seems to work at times and not at others. It's random, but I'm sure something's behind it that I can't figure out.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.