The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#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.
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|