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)
-   -   Last Threads In A Fader (https://vborg.vbsupport.ru/showthread.php?t=47080)

MasterDuDe 12-28-2002 10:00 PM

Last Threads In A Fader
 
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

Smoothie 12-28-2002 10:54 PM

screen shot?

MasterDuDe 12-28-2002 10:59 PM

on request : screenshot

ULTIMATESSJ 12-29-2002 12:16 AM

pretty good hack, could come in useful for people

obiwan8472 12-29-2002 12:01 PM

Wow, this is great. Ill install it as soon as I get home on Tuesday.

Chris M 12-29-2002 01:14 PM

Looks nice:)

Satan

partang2 12-29-2002 01:33 PM

Will try it... Thanx m8!

partang2 12-29-2002 02:14 PM

No, it screws up my ravio skin..... Anyone who runs ravioskin knows what to change?

flup 12-29-2002 02:27 PM

LoL what a shame :/

partang2 12-29-2002 02:29 PM

Would have been better if you could give a helping answer...

xevious 12-29-2002 03:14 PM

Will this also show latest threads in private forums to people who dont have access to it? I will install if it dont.

MasterDuDe 12-30-2002 06:11 PM

Quote:

Originally posted by xevious
Will this also show latest threads in private forums to people who dont have access to it? I will install if it dont.
It'll show the 10 latest threads from ALL the forums (including amdin / private sections)

partang2 12-30-2002 06:24 PM

Then I can`t use it..... To bad cause it is a nice hack!

xevious 12-30-2002 08:16 PM

Same here.

Okiewan 12-30-2002 08:37 PM

Takes me out .. too bad :(

Smoothie 12-30-2002 09:02 PM

same, should be based on permissions.

TheVoidz 12-30-2002 10:04 PM

MasterDuDe why not just add a check to see if its a private forum or not?

Areku 12-31-2002 03:58 AM

Yeah!!! PLEEEEEEZ!

John 12-31-2002 05:29 PM

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.

John 12-31-2002 05:32 PM

Oh - and nice hack btw :)

I decided not to use it in the end, didn't like the fade. (It seemed a bit rough!)

Joe Page 01-03-2003 09:23 PM

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....

Highlander 01-05-2003 09:57 AM

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?

SideFX 01-05-2003 07:46 PM

thanks for this hack its great

Delmon 02-26-2003 04:29 PM

Quote:

Originally posted by Joe Page


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


same question

350Chevy 02-26-2003 08:47 PM

How many queries does it add to the forum home? :)

350Chevy 03-05-2003 04:35 AM

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..

350Chevy 03-10-2003 12:27 AM

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.

350Chevy 05-13-2003 04:36 PM

bump.. did this bug ever get fixed? :(


All times are GMT. The time now is 04:47 PM.

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.01193 seconds
  • Memory Usage 1,762KB
  • 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
  • (6)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)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