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")."\";");
}
but for some reason the vbcode menus are not being populated!!
what have I done wrong?!
thanks for any help!