The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with misc.php, passing vars?
Ok, so here is my Q..
I want to do /misc.php?template=Blah&var1=this&var2=that and to be able to use the var1/var2 info inside the template. Is there a way to do it because I have yet to be able to pinpoint how. Now for the more complex question linked to the var1 var2 above.. Is there a way to include a file into the template based on the above vars, such as... <?php include '/some/dir/[var1].txt'; ?> I'd like an answer to either of the above, both if possible. |
#2
|
||||
|
||||
Use $_REQUEST[var1] and $_REQUEST[var2]
No, you cannot include external files in templates. You must write a mod in order to use external files. |
#3
|
||||
|
||||
Remember to clean your input variables before using them!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|