![]() |
lastpostinfo for sub-forums
in FORUMHOME (index.php generally the only user of this template) the primary categories are followed by a list of either categories and/or forums (as forumbit level 2 template generated entities; either post or nopost depending on whether they are a category or forum). this display lists the LAST POST for each of these entries.
if you also choose to have your forums display a "third plus" level of sub-forums you get output something like this: Sub-Forums: forum1, forum2, forum3, forum4 with no additional data. if i modify the template forumhome_subforumbit_nopost to display the $forum[lastpostinfo] information along with the $forum[forumid] and $forum[title] information normally generated into the output, the result is "empty" data. how or where can i cause the $forum[lastpostinfo] to be loaded (read from the database) when the other subforum info is? so far i have figured out that i need to insert the equivalent of this code fragment into construct_subforum_bit in functions_forumlist.php Code:
figured it out. had to add: Code:
|
All times are GMT. The time now is 01:39 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|