The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
parsing and fetching template
ive done this a million times before but for some reason this isnt working, ive uninstalled the product reinstalled it but i cant fetch my template and its urkin me -_-
this is the snippit: Code:
<template name="my_unique_tmplt" templatetype="template" date="0" username="DrCustUmz" version="1.0"><![CDATA[ SOME SHIT ]]></template> </templates> <plugins> <plugin active="1" executionorder="5"> <title>cache template</title> <hookname>cache_templates</hookname> <phpcode><![CDATA[ $globaltemplates = array_merge($globaltemplates, array('my_unique_tmplt')); ]]></phpcode> </plugin> <plugin active="1" executionorder="5"> <title>parse template</title> <hookname>parse_templates</hookname> <phpcode><![CDATA[ eval('$someVariable = "' . fetch_template('my_unique_tmplt') . '";'); ]]></phpcode> </plugin> Code:
Variable: $someVariable |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|