Version: 1.0.4, by Asterix_ita
Developer Last Online: Jul 2019
Category: Administrative and Maintenance Tools -
Version: 3.8.x
Rating:
Released: 06-25-2010
Last Update: 02-12-2011
Installs: 48
Uses Plugins
Translations
No support by the author.
Remove Time Limit on Editing of Posts for selected usergroups
Install:
Upload the file
Import product-ct_nolimit_edit.xml (To install version 1.0.3 from version 1.0.1 to proceed with the first unistall addon)
Configure in vBulletin Options -> CT No Limit Edit Post
Changelog
26.06.2010 v. 1.0.0 only No Limit Edit Post
30.06.2010 v. 1.0.1 No Limit Edit Post and Change Time limit editing Title Thread (beta)
[S]11.02.2011 v.1.0.2 remove change time limit (will create an addon for this function) - add option exclude forum [/S]
11.02.2011 v.1.0.3 remove change time limit (will create an addon for this function) - add option exclude forum
11.02.2011 v.1.0.4 optimized code of the plugin
Translations
important : The test was performed on a version 3.8.5 but should work on 3.8.X
Support
Low priority will be given to posters who do not have this marked as installed
If you like this modification support me by donating
This is fantastic Asterix! Thank you.
In the future, do you think there could be a way to set specific time limits for editing posts for each usergroup?
It seems today that your addon removes the global time limit for specific user groups, but doesn't let me specify things like "let usergroup{x} edit own posts for 60 days".
But regardless, this is a huge benefit and great addon!
I found that I needed to hack the code just a touch in order to be able to automatically remove people from the exemption.
Code:
if ((THIS_SCRIPT == 'editpost') OR (THIS_SCRIPT == 'showthread'))
{
if($vbulletin->options['ct_nolimit_active'])
{
$ctnolimitgroups = explode(',',$vbulletin->options['ct_nolimit_groups']);
$ctnolimitexgroups = explode(',',$vbulletin->options['ct_nolimit_exgroups']);
$ctnolimitforums = explode(',',$vbulletin->options['ct_nolimit_forums']);
if (is_member_of($vbulletin->userinfo,$ctnolimitgroups))
{
$GLOBALS['vbulletin']->options['edittimelimit'] = 0;if (!is_member_of($vbulletin->userinfo,$ctnolimitexgroups))
{
$GLOBALS['vbulletin']->options['edittimelimit'] = 0;
}
}
else
{
if (in_array($threadinfo['forumid'],$ctnolimitforums))
{
if (!is_member_of($vbulletin->userinfo,$ctnolimitexgroups))
{
$GLOBALS['vbulletin']->options['edittimelimit'] = 0;
}
}
}
}
}
By deleting the code in red, and adding the code in blue, the exception group now blocks any exception list member group, and so I canhave a "not allowed to edit posts" infraction group. It would be nice if there was a separate preference check for a group list that overrides the allowed to edit group list.
(It would be even nicer if that was adjacent to the allowed to edit boxes , in a separate column...)
I've tested with various groups, and by deleting the red, adding the blue, it does not allow edit for other groups, does allow it for the included groups unless an excluded group is there. (If you're colorblind, however, you might not see the colors in the edit, which would cause failure.)