![]() |
Getting Var to Work on forumhome
How can I get the $thread variable to work on the index/forumhome. For example: $thread['closed']. I need to check whether or not the last thread shown on the forumbit is closed or not. Thanks in advance.
|
An idea... Check the following function:
Code:
function construct_forum_bit located in functions_forumlist.php Code:
if ($vbulletin->forumcache["$lastpostarray[$forumid]"]['lastpost'] > 0) |
I was playing around with this code in that if-block:
PHP Code:
|
Right before the if-block, find and add the part in bold on a test board, and make sure to read the comments:
Code:
// dates & thread title |
Thanks Calorie -- this should be a good starting point for me.
|
All times are GMT. The time now is 07:36 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|