vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Crossbrowser JavaScript Ticker (https://vborg.vbsupport.ru/showthread.php?t=37277)

dengel 04-10-2002 10:00 PM

Crossbrowser JavaScript Ticker
 
This ticker is based on the AVS Forum 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 (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

Neo 04-11-2002 01:49 AM

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

Quote:

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

Quote:

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

Quote:

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

Neo 04-12-2002 10:08 PM

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

Quote:

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!

N!ck 07-23-2002 03:20 AM

:)

Chris M 07-23-2002 11:02 AM

It works...And looks good:)

Satan

yxboom 07-08-2003 03:59 PM

Quote:

05-13-02 at 04:37 PM Logician said this in Post #15
@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

Quote:

05-14-02 at 02:37 AM Logician said this in Post #15
@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:
Code:

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.


All times are GMT. The time now is 06:12 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01694 seconds
  • Memory Usage 1,759KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete