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)

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!)


All times are GMT. The time now is 07:02 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.01026 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete