The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Changing info on ForumHome
I have 4 forums at my top level that are links to other areas of my site. As such the information (Last Post, Thread, Posts) is replaced with "-". It fills in the space but does not offer much information.
What I would like to do is write a plugin that replaces these variables with relevant information. Since I know the forumID numbers it seems like that would be the best way to do this, however I am struggling with finding the hook and variable name I need to make this work. This is the plugin I have so far Code:
if ($forum[forumid] == 28) { $forum[lastpostinfo] = "Test"; } Thanks Edit: I found it. I had the wrong hook location. That code works provided it is in the forumbit_display hook. I had it on forumhome_start Sorry about the unnecessary post. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|