The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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!
|
|
#2
|
|||
|
|||
|
any one got any ideas?
thanks
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|