PDA

View Full Version : Quickedit as UserCP Option


rossco_2005
12-15-2005, 09:22 PM
Some users on our forum have problems with the Quickedit feature in vb3.5

I don't it disabled entirely tho because some users like it, me included.

Does anyone have any ideas on how I can make this into a UserCP option?

I tried but couldn't figure out the code to make the option go into effect. :ermm:

Thanks

Chris M
12-15-2005, 09:39 PM
Not sure if it will work, but try:
global_start
if ($vbulletin->userinfo['fieldx'] == 'no') {
$vbulletin->options['quickedit'] = false;
}
Then create a profile field with "Show Quick Edit?" and two options, "yes" and "no" - Then replace x in the hook location with the id of the profile field you just added :)

Chris

rossco_2005
12-16-2005, 11:36 PM
That's perfect thanks. :D