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
Random Threads On Index Page Details »»
Random Threads On Index Page
Version: 1.00, by jly2klee jly2klee is offline
Developer Last Online: Jan 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-07-2002 Last Update: Never Installs: 30
 
No support by the author.

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?

Show Your Support

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

Comments
  #12  
Old 04-17-2002, 11:44 PM
jly2klee's Avatar
jly2klee jly2klee is offline
 
Join Date: Dec 2001
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll get a screenshot right now.
Reply With Quote
  #13  
Old 04-18-2002, 05:56 PM
inetd inetd is offline
 
Join Date: Nov 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

jly2klee, please help me in my trouble...
Reply With Quote
  #14  
Old 04-21-2002, 10:15 AM
julius julius is offline
 
Join Date: Nov 2001
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks jly2klee, it's really I was looking for!

inetd, I found this that I believe it's an error:

Quote:
<a href="showthread.php?s=$sessionhash[session]threadid=$randthreadid">
and changed with

Quote:
<a href="showthread.php?s=$session[sessionhash]&threadid=$randthreadid">
and now it works fine.
Reply With Quote
  #15  
Old 04-21-2002, 11:08 AM
inetd inetd is offline
 
Join Date: Nov 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

julius, don't work for me! And i don't see quantity replies in random thread.
Reply With Quote
  #16  
Old 04-21-2002, 11:12 AM
julius julius is offline
 
Join Date: Nov 2001
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't care about it because I only put the thread title.
Reply With Quote
  #17  
Old 06-20-2002, 06:39 PM
The Piper's Avatar
The Piper The Piper is offline
 
Join Date: Apr 2002
Location: Brazil
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is exactly what I was looking for, except that I would like to get a few random threads (around 5) from a few specific forums (say, forumids 30, 31 and 32). Is there any way to do this?

Also, could I get them in a nice table that shows the thread title and the forum they're in or something like that?

Thanks.
Reply With Quote
  #18  
Old 07-24-2002, 09:46 AM
dadymac dadymac is offline
 
Join Date: Nov 2001
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the thread count doesnt work because its wrong in the code:

after installing, find:

PHP Code:
$randthreadreply $randthread[replies]; 
and replace with

PHP Code:
$randthreadreply $randthread[replycount]; 



yay, go me
Reply With Quote
  #19  
Old 07-24-2002, 09:57 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you get the permissons problem taken care of yet? I'd hate to see one of my private forums threads show up there.
Reply With Quote
  #20  
Old 10-03-2002, 04:44 AM
The Piper's Avatar
The Piper The Piper is offline
 
Join Date: Apr 2002
Location: Brazil
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I'm still looking for a way to do this:

I have three forums, one for guitar tabs, one for guitar chords and the last for bass tabs. What I wanted to do is pull a random thread from each one of those forums, so I could feature a "random guitar tabs", a "random guitar chords" and a "random bass tabs" threads.

Any help would be greatly appreciated.
Reply With Quote
  #21  
Old 12-08-2002, 10:44 AM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can i display a Random-Thread from a forum of my choice not from all forums???
Help please...
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 03:48 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.04904 seconds
  • Memory Usage 2,298KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_php
  • (2)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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