The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
it's confusing, but you use the gettemplate thing, NOT the doouput to assign a whatever text is in the template to a variable, then when you do a dooutput all those templates you assigned to variables can be used in the final dooutput template
not sure if that makes sense, it is confusing till you get the hang of it |
#12
|
|||
|
|||
Thanks for the suggestion, Logician's webtemplates hack is nice but you cant use templates from inside it, which pretty much makes it useless to me.
Sorry for being dense, but I'm still kinda confused on what exactly to use. Is this code correct, if I have a template made in forum/admin called demotemplate? eval( '$demotemplate=( "' . gettemplate( 'demotemplate' ) . '" );' ); I ask because since php doesnt use templates per se, this is really just a creative use of variables and I think there must be some missing piece(s) here. Could you post a full example for clarity, or if you dont know exactly I'll fiddle around with it tonight and see if I get lucky. |
#13
|
||||
|
||||
it goes like this
PHP Code:
|
#14
|
|||
|
|||
Perfect, worked like a charm! Thanks SO much for your help mr_e!
|
#15
|
||||
|
||||
Glad to help
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|