The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi,
I want to include some php-code... But I dont get how the pluginstuff works... Maybe someone is so kind and helps me out? This is what needs to be included: Code:
<?php require_once('../wordpress/wp-config.php');?>
<?php wp_head(); ?>
--------------- Added [DATE]1246612627[/DATE] at [TIME]1246612627[/TIME] --------------- Can I do it just like that? Code:
ob_start();
require_once('../wordpress/wp-config.php');
wp_head();
$includedphp = ob_get_contents();
ob_end_clean();
|
|
#2
|
||||
|
||||
|
Yes, that is a method of doing it - it is also the "recommended" method given by the manual.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|