The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Display addons on custom page.
I have built a custom page for my vB using this guide
I want to use an addon like Latest X Posts on Forumhome and have it display in my custom page. But the $latest variable doesnt insert it into my custom page, I have verified that the $latest command inserts it into any default template. For some reason CYB - Advanced Forum Statistics shows correctly in my custom page by using $cybtopstats as per the instructions. My question is what makes the CYB addon display and how can I make my other addons show on my custom page. Any help appreciated. |
#2
|
|||
|
|||
I haven't tried it, but just glancing at that mod it looks like maybe the variable you want is called "$platest" and not "$latest"?
|
#3
|
|||
|
|||
Quote:
Hope im explaining that correctly. |
#4
|
|||
|
|||
OK, I see what you mean. I have another theory: the code that sets $latest is in a plugin using the "forumhome_start" hook, so it isn't running in your custom page, whereas the stats mod uses other hooks.
|
#5
|
|||
|
|||
Ah right. I'll take a look into this now, thanks.
|
#6
|
||||
|
||||
^^ Yep, what he said. The php code that defines the variable is probably not run for your page, so you may have to copy/paste it into your custom page.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|