The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
how to show a list of random threads on every page
I want to have a list of (12) random threads (their linked titles) show-up at the top of every page, with the threads changing either like every 24 hours (for a sort of "random threads of the day" theme) or; preferably, and if it isn't too much of a server load; every time a page is refreshed.
Is that possible? |
#2
|
|||
|
|||
Create a plug-in hooked in global-start with this code and then place $threadlist where ever you want the list displayed. The list is not formatted, it just puts each link on a new line, so you will have to do some formatting. Also It will add 1 query to every page.
PHP Code:
|
#3
|
|||
|
|||
No need to format. You have it exactly how I want.
You also have no idea how much you helped me. Thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|