Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 03-23-2002, 07:09 PM
OSbetas OSbetas is offline
 
Join Date: Feb 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is simple, it is not a javascript. Its Marque which you said you didn't want but it grabs the forums the same way that VBPortals does. :-P
Reply With Quote
  #12  
Old 03-23-2002, 07:12 PM
dengel dengel is offline
 
Join Date: Jan 2002
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
<script language="javascript" src="http://www.tivocommunity.com/tivo-vb/ticker/ticker.js"></script>
Does not look like a marquee to me...

d.
Reply With Quote
  #13  
Old 03-24-2002, 12:10 AM
Psychdrone Psychdrone is offline
 
Join Date: Nov 2001
Posts: 525
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I swear I thought I saw this made.... maybe not

anyone gonna make it??
Reply With Quote
  #14  
Old 03-24-2002, 12:42 PM
nuno's Avatar
nuno nuno is offline
 
Join Date: Oct 2001
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by nicksaunders
wluke's hack isn't really wluke's
really? and what do you mean by that?
Reply With Quote
  #15  
Old 03-24-2002, 02:42 PM
nafae's Avatar
nafae nafae is offline
 
Join Date: Nov 2001
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Psychdrone
I swear I thought I saw this made.... maybe not

anyone gonna make it??
boy oh boy do I hope so :laugh:
Reply With Quote
  #16  
Old 03-24-2002, 04:01 PM
David Bott David Bott is offline
 
Join Date: Dec 2001
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi All...I run AVS Forum and TiVo Community.

The Ticker was custom made for our sites because some other ticker that was posted that I had seen a while back had some issues and caused load issues on the database server. Not to mention it had some small issues.

You see, with the users that we have...say 1000 people were running the ticker that hit the database every 3 mins....Well you can see the major issue that it would cause. (Yes, we could easily have that many if not more using it.) The issue was, people really liked it so we needed to come up with something.

We thus worked on a PHP script that runs as a cron job every 5 mins. This script does the lookup for the 25 most recent posts and puts them to a text file. Thus every 5 min this text file is replaced.

We then made the HTML page that runs a java script that reads this data. Thus we have ONE database lookup every 5 mins and all the page reloads just hit the text file which is nothing for the server to send down.

We are also developing an installed EXE file that does the same read. The reason we are doing that is because we want something that will stay on-top on a desktop and a browser window does not do that. We hope to have this done my months end.

The other issue with the coding in the PHP database call is that we needed to hard code out forums we did not want shown. Thus is not just something you can plug in.

I give all the credit to one of my mods who did the development on this. We worked back an fourth on it and finely got it like you see it.

I will see what we can do maybe about posting it. BUT...You will need to go though it and make all the changes needed for YOUR site. On a large site, this is really the only way this will work without killing the database. Remember, you will need to make a number of mods for it to work including setting up a cron job.
Reply With Quote
  #17  
Old 03-25-2002, 12:37 AM
dengel dengel is offline
 
Join Date: Jan 2002
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you share it, I'd be glad to document the steps to put it up and have it running properly. By far your solution is the best I've seen on the ticker arena.

Gotta love that TiVo community!

d.
Reply With Quote
  #18  
Old 03-25-2002, 01:11 AM
nafae's Avatar
nafae nafae is offline
 
Join Date: Nov 2001
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats great, I hope we can entice you to post it! *goes to think of something enticing*
Reply With Quote
  #19  
Old 03-25-2002, 04:57 PM
Dan203 Dan203 is offline
 
Join Date: Dec 2001
Location: Nevada
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi I'm Dan, and I'm the moderator who actually wrote this code.

I don't mind sharing with others, but as of right now it's pretty well hard coded into our site. So what I'm going to do is move some of the hard coded stuff into variables, so that it's easier for others to use, then either me or David will post it here.

Dan
Reply With Quote
  #20  
Old 03-25-2002, 05:46 PM
dengel dengel is offline
 
Join Date: Jan 2002
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes! Thank you both!



d.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:08 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.04056 seconds
  • Memory Usage 2,256KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete