The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
using vbcode outside newreply and newthread problem
Hey,
I have a page which updates a field in the users table... I have worked out to use the eval(.....) part to get the vbcode_buttons to show... but I cant get the drop down menus to populate. here's the function: (edited slightly) Code:
if ($action=="custompage") { $templatesused = 'error_nopermission_custompage,error_nopermission_customposts,usercpnav,modifycustompage_bit,modifycustompage'; $templatesused .=",vbcode_buttons,vbcode_sizebits,vbcode_fontbits,vbcode_colorbits"; include("./global.php"); // do modify profile form eval("\$cpnav = \"".gettemplate("usercpnav")."\";"); eval("\$vbcode_buttons = \"".gettemplate("vbcode_buttons")."\";"); eval("\$custompagebit = \"".gettemplate("modifycustompage_bit")."\";"); } what have I done wrong?! thanks for any help! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|