View Full Version : Administrative and Maintenance Tools - Exclude Usergroups or forums from time limit editing posts
Asterix_ita
06-25-2010, 10:00 PM
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 (https://vborg.vbsupport.ru/showpost.php?p=2062127&postcount=7) (beta)
11.02.2011 v.1.0.2 remove change time limit (will create an addon for this function) - add option exclude forum
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
Mark as Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=245311)
Sayid
06-26-2010, 07:58 AM
This is one of the most important mods and it should be built in the system
An option for excluding forums will be really nice
Many thanks :)
Can it bypass Time Limit on Editing of Thread Title as well
SuperJoker
06-26-2010, 11:16 AM
Thanks allot!
Hornstar
06-27-2010, 05:52 AM
Yeah if you can build onto this, then you are my hero!
I'd love to have the ability to give certain users the ability to continue to edit in certain threads.
That would be amazing if you could somehow code that :D
Exactly what I was looking for, thanks so much!
Asterix_ita
06-30-2010, 07:29 AM
I was wondering if it would be easy to modify this mod to exclude a usergroup from the time limit of editing the thread title?
I'm sorry I could not find how to disable the option, as it has not provided the option value of 0 but I have a way to assign a different time than the default for selected groups
as a solution if you can come in handy release version 1.0.1 beta
SuperJoker
06-30-2010, 11:57 AM
Sure.
Testing right now...
Edit: It works. Thanks allot!
Sweeks
07-02-2010, 10:12 AM
Works great thank you!
Iguana Goddess
07-07-2010, 03:36 AM
Great hack thanks.
LauraM
02-07-2011, 04:19 PM
This is one of the most important mods and it should be built in the system
An option for excluding forums will be really nice
Many thanks :)
I really REALLY need it to exclude FORUMS from the time limit. I have some classifieds forums that I would like users to be able to edit and/or delete their posts from without effecting the entire board (other discussion forums). Any chance of that happening?? :)
Asterix_ita
02-09-2011, 03:57 PM
I really REALLY need it to exclude FORUMS from the time limit
I think it's possible to exclude some forum.
LauraM
02-09-2011, 06:41 PM
I think it's possible to exclude some forum.
Hi,
Thanks for the reply! I don't see that option in the screenshots you've posted. How/where would one be able to apply the option for excluding a particular forum instead of a usergroup?
Asterix_ita
02-11-2011, 08:19 AM
We misunderstood, the current version was not provided but there will be the next;
the function you requested is being tested, these days I should be able to release version 1.0.2
LauraM
02-11-2011, 10:57 AM
Oh, I see. Thank you very much for the explanation and your efforts to provide this option. I will keep an eye on this thread and watch for the new version!
Asterix_ita
02-11-2011, 11:41 AM
released v.1.0.2
- remove change time limit (will create an addon for this function)
- add option exclude forum
LauraM
02-11-2011, 11:55 AM
Wow! Thanks! You're amazing!
Going to download it now!
LauraM
02-11-2011, 12:36 PM
Okay, I downloaded it, and installed it, and chose the forums I want to exclude from the time limit ........and I chose the usergroups I want to exclude underneath the forum exclude option, leaving blank the usergroups I wanted to give the ability to use this option to. And I logged in as a regular user and accessed a thread I created for testing purposes several days ago. While logged in as that user, I DO have the option to delete a thread......but when I tried to actually use that option and delete a thread, I got the error message:
you do not have permission to access this page. This could be due to one of several reasons:
1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
What am I missing?
LauraM
02-11-2011, 12:45 PM
Never mind, I think I've got it. :) I was using the thread tools deletion option, and not the option to delete under the first post's "edit" button.
LauraM
02-11-2011, 01:05 PM
Okay, got it working now and it's fabulous! Thanks so much!
Asterix_ita
02-11-2011, 01:13 PM
I temporarily removed the addon v. 1.0.2 for more testing
Asterix_ita
02-11-2011, 05:02 PM
released v.1.0.3
LauraM
02-11-2011, 05:18 PM
What did you change?
Asterix_ita
02-11-2011, 06:37 PM
In the 1.0.2 version was a bug, it compares the button edit, could change the text but when you save could not be taken
LauraM
02-11-2011, 07:02 PM
Thanks........I uninstalled 1.0.2 and installed 1.0.3. :)
momen
03-29-2011, 09:48 AM
Thank you very mutch.
Delazar
01-17-2012, 03:27 PM
When you save I get this message:
Screenshot
Protium
08-21-2012, 12:53 PM
I'm not sure why but I tried to click "Mark Installed" and I got a no permission error :(
Anyway it is installed on 3.8.1 PL1 and working fine.
Thanks
khurtsiya
02-27-2013, 05:38 PM
Is there a mod not for editing, but posting?
joshg1
05-20-2013, 04:09 PM
Is there a mod not for editing, but posting?Maybe I don't understand what you're asking, but Vb already has the capability to limit posting in a forum to certain usergroups.
A big missing thing in VB has been the ability to let certain groups edit their posts beyond the normal (global) time limit. We can adjust almost everything else in terms of limits by usergroup, but not this... until this great mod.
joshg1
05-20-2013, 05:18 PM
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!
AramisErak
08-29-2013, 09:34 AM
I found that I needed to hack the code just a touch in order to be able to automatically remove people from the exemption.
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...)
Other than that bit of hacking, love it.
Asterix_ita
08-29-2013, 10:29 AM
Hi
this var ctnolimitexgroups: selected groups are excluded in all forums
ctnolimitexgroups: selected groups are excluded in the forums previously selected
with your edit there is no total exclusion if the groups are not present in both var
regards
AramisErak
09-06-2013, 12:55 AM
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.)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.