The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom Steam postbit (real easy)
I recently transfered from SMF to vbulletin. I still find it a bit confusing why you cant directly add php into a template. but im learning slowly
anyways.. i had already previously built my own php steam display script which i displayed as a postbit on SMF, i wanted to do the same for vbulletin example: http://fugtf2.com/var2.php?steam=STEAM_0:0:14262256 but obviously you cant stick php into a template, i tried to make a simple plugin that hooks to the member_customfields that went something like this... Code:
if ($profilefield['profilefieldid'] == 5) { $steam=$profilefield['value']; $_GET['steam']="$steam"; include('var2.php'); } |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|