Log in

View Full Version : Editing Time Limit Pe User Group


sassy1
02-02-2009, 09:39 AM
I have custom usergroup in my forum .

Is there a way to give different permissions to the
time limit they have to edit there threads.

say 1 usergroup has 2 month another
has 1 month another has 1 week.

Can this be done and how

Thanking for any help

Lynne
02-02-2009, 02:57 PM
You may create a plugin to change it. I did something similar only for a certain forum I increased the time.

if (is_member_of($vbulletin->userinfo, x,y,z))
{
$vbulletin->options['edittimelimit'] = 'xx';
} I used the fetch_foruminfo location since mine was forum specific (my if statement was in regards to the forumid, not the usergroup like I put above). So, try some different locations to see what works.

Beretta1526
03-04-2009, 02:41 AM
Thanks to this, I've made my first successful plugin. Thanks much, Lynne. The new plugin gives me the ability to specify one or more user groups to be allowed to edit posts in a particular forum for either an extended/restricted time, or indefinitely. Please see this post for details:

Edit timeout: Is there a way to make it specific to a forum section or user group? (https://vborg.vbsupport.ru/showthread.php?p=1759425&postcount=6)

.