The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
||||
|
||||
![]()
so declareing vbulletin global is that just using the requireonce global.php?
this is what its looking like Code:
<template name="pb_bg_img" templatetype="template" date="0" username="DrCustUmz" version="1.0"><![CDATA[ <if condition="is_member_of($post,array($vboptions[drcpo_sup_pb_perm])) AND $post[pbext] !== ''">./$vboptions[drcpo_sup_pb_img_dir]/$post[userid].$post[pbext]<else />http://popoverdose.com/greig/upload/soft3.png</if> ]]></template> </templates> <plugins> <plugin active="1" executionorder="5"> <title>cache supreme options template</title> <hookname>cache_templates</hookname> <phpcode><![CDATA[if (THIS_SCRIPT == 'profile'){ $globaltemplates = array_merge($globaltemplates, array('supreme')); } if (THIS_SCRIPT == 'showthread'){ $globaltemplates = array_merge($globaltemplates, array('pb_bg_img')); } ]]></phpcode> </plugin> <plugin active="1" executionorder="5"> <title>varible for postbit</title> <hookname>postbit_display_complete</hookname> <phpcode><![CDATA[require_once('./global.php'); $popbbgperm = explode(',' , $vbulletin->options['drcpo_sup_pb_perm']); eval('$popbbg = "' . fetch_template('pb_bg_img') . '";'); ]]></phpcode> </plugin> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|