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)
-   -   Random Threads On Index Page (https://vborg.vbsupport.ru/showthread.php?t=37174)

jly2klee 04-07-2002 10:00 PM

Random Threads On Index Page
 
YAY! My Third hack!

Basically what this does is displays a different Thread Name and how many posts are in it on the index page, EVERYTIME you refresh.

Its very easy to install and stuff.

So Have Fun!

BTW: IF you install it, please click the install button. Thanks.

EDIT: Everybody keeps asking what this does! So i'll try and explain a little better.

When you refresh the FORUMS INDEX PAGE, it will display a TITLE of a THREAD and HOW MANY REPLIES THERE IS. Now do you guys get it?

wooolF[RM] 04-08-2002 10:03 PM

]one more query, right?
btw, great idea :)

Nemesis77 04-08-2002 10:10 PM

Quote:

it will display a TITLE of a THREAD and HOW MANY REPLIES THERE IS.
It displays it where on the index page?

Do you have a screen shot?

Freddie Bingham 04-08-2002 10:13 PM

Yes it adds one query but it does not take permissions into consideration.

jly2klee 04-08-2002 10:20 PM

@Nemesis77

It can display wherever you want it to. Just take the HTML code for FORUMHOME and out it wherever.

@freddie

Oops. My bad. I'll fix that up!

- jly2klee

PBC 04-08-2002 11:16 PM

The s=21b8b4a0b40923653dfa7e4e2d49d791 is not required as it is a Session ID and will vary with each user.

inetd 04-12-2002 07:09 PM

don't work. not show how many replies and don't show thread when click on random thread name
:(
help me

jly2klee 04-12-2002 11:58 PM

did you put the code in ROOT/index.php?

inetd 04-14-2002 06:18 AM

yes.

|GMK|PlaTooN 04-15-2002 01:48 AM

Screenshot?


All times are GMT. The time now is 03:25 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.01573 seconds
  • Memory Usage 1,727KB
  • 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_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