The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Inlcuding PHP on vBulletin 4
I've added two PHP includes to my vBulletin. But I'm having some trouble getting the plugin codes to work.
This is the first: PHP Code:
PHP Code:
I'm also under the impression I need to use ob_clean if i'm using more than one include, but I'm not sure where I should put it. Any advice would be really appreciated |
#2
|
|||
|
|||
I've always used separate plugins for each one but don't think there's any reason why you can't put it in the same one.
Just put the code you have in the plugin and save it making sure it's active by selecting the 'Yes' radio button. When you want to call it in your script just use {vb:raw includedphp} or {vb:raw otherphp} depending on which one you want to include. Hope that helps. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|