The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]() Quote:
![]() I am looking in the right place, right...there should be a 'plugin system' bit on the left column which I click to expand more options and 'add new plugin' should be one of those options? -Ross [edit] I just found this; 'From version 3.5, vBulletin has an extensive plugin system, allowing new features to be added and functionality to be changed by third-party add-ons, without modifying the core vBulletin code.' I am using vBulletin 3.0.8, is there a similar option for me? |
#12
|
|||
|
|||
![]()
no only the 3.5.0 version has the plugin system.
![]() |
#13
|
||||
|
||||
![]()
In vBulletin 3.0, you can use Template phpinclude_start (one of the 2 templates where you can use PHP) similar to Hook global_start.
|
#14
|
|||
|
|||
![]()
ok, I think I'm almost there. In the phpinclude_start template I have this;
Code:
/* // Example of how to include a seperate file: ob_start(); include('yourheader.html'); $your_code = ob_get_contents(); ob_end_clean(); // Now place a reference to $your_code where you want the resulting HTML to be displayed. // This will most likely be the header or footer template. */ <!-- recent wiki changes --> ob_start(); include('./includes/wiki_recent_changes.php'); $script_output = ob_get_contents(); ob_end_clean(); <!-- /recent wiki changes --> Code:
<!-- wiki recent activity --> <div style="float:center; background-color:#FFFFFF; border:1px solid #AAAAAA; margin-top:-20px;"> <span style="padding:5px;"> $script_output </span> . . . etc Thanks again, -Ross Quote:
Nevermind, I just hard-coded it into global.php.... |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|