The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]() Quote:
--------------- Added [DATE]1327986209[/DATE] at [TIME]1327986209[/TIME] --------------- Quote:
Oddly enough, when I use this code with the typo (i.e. ob_end_clean ![]() Using the proper ob_end_clean(); code doesn't return anything on the page. --------------- Added [DATE]1327988678[/DATE] at [TIME]1327988678[/TIME] --------------- Got it Code:
require_once('xmlrpclibrary.inc'); $m = new xmlrpcmsg('method.name'); $c = new xmlrpc_client("/xmlrpc.php", "mydomain.com", 80); $r = $c->send($m); if (!$r->faultCode()) { $v = $r->val->me['string']; } $myhtmlheader = $v; vB_Template::preRegister( 'header', array('myhtmlheader' => $myhtmlheader) ); then use {vb:raw myhtmlheader} in the template file. Link to further examples : https://vborg.vbsupport.ru/showthread.php?t=228078 |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|