Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Last Threads In A Fader Details »»
Last Threads In A Fader
Version: 1.00, by MasterDuDe MasterDuDe is offline
Developer Last Online: Nov 2004 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-28-2002 Last Update: Never Installs: 35
 
No support by the author.

VB newsfader with the ~ latest threads for all vb versions
(originaly by gogosoft, ztsky and xware) I bored parts of your scripts
Made by : MasterDuDe

This will put an fader (powered by JavaScript) on top of your forums listings on the home page ... It will show the latest member that joined and will show the 10 last posted threads in it (titles are being chopped off after 20 characters and filled in with ...)

Made and tested on vBulletin 2.2.9

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 01-03-2003, 09:23 PM
Joe Page Joe Page is offline
 
Join Date: Sep 2002
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by john.eovie
To make the fader ignore posts from certain forums:

In index.php find:
Code:
$newsfades=$DB_site->query("SELECT threadid, title, postusername FROM thread ORDER BY threadid DESC LIMIT $ammount");
Replace with
Code:
$newsfades=$DB_site->query("SELECT threadid, title, postusername FROM thread WHERE forumid <> [forumid] ORDER BY threadid DESC LIMIT $ammount");
IMPORTANT!!!
Replace [forumid] with the ID number of the forum you want to hide from the fader.
How do you hide multiple forums? It came up with an errors when I tried....
Reply With Quote
  #23  
Old 01-05-2003, 09:57 AM
Highlander Highlander is offline
 
Join Date: Apr 2002
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its possible to get this news-fader running on an external non forum site?.. i just play with the idea to get the news fader on my main homepage to make guest get interrested when they see the news fader of the latest threads.. ?

what i need to do to integrate it in my non vb site?
Reply With Quote
  #24  
Old 01-05-2003, 07:46 PM
SideFX SideFX is offline
 
Join Date: Sep 2002
Location: WV
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this hack its great
Reply With Quote
  #25  
Old 02-26-2003, 04:29 PM
Delmon Delmon is offline
 
Join Date: Nov 2001
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Joe Page


How do you hide multiple forums? It came up with an errors when I tried....

same question
Reply With Quote
  #26  
Old 02-26-2003, 08:47 PM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How many queries does it add to the forum home?
Reply With Quote
  #27  
Old 03-05-2003, 04:35 AM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I didn't notice any added extra queries but I noticed a bug with the fader over lapping if the username is too long...

See attached..
Reply With Quote
  #28  
Old 03-10-2003, 12:27 AM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Joe Page


How do you hide multiple forums? It came up with an errors when I tried....
Same as above which was:

Code:
  $newsfades=$DB_site->query("SELECT threadid, title, postusername FROM thread WHERE forumid <> [forumid] ORDER BY threadid DESC LIMIT $ammount");
But instead do something like this:

Code:
  $newsfades=$DB_site->query("SELECT threadid, title, postusername FROM thread WHERE forumid <> [forumid] AND forumid <> [forumid#2] ORDER BY threadid DESC LIMIT $ammount");
Replace [forumid] and [forumid#2] to the forum ID #s that you want to hide.
Reply With Quote
  #29  
Old 05-13-2003, 04:36 PM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump.. did this bug ever get fixed?
Reply With Quote
Reply


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 01:15 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04725 seconds
  • Memory Usage 2,281KB
  • Queries Executed 23 (?)
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
  • (4)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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_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