View Full Version : Advanced User Group Permissions
Leo Brazil
06-16-2008, 02:45 PM
Is there a mod or way of creating a user group that could be able to edit your own posts, thread titles and delete posts ignoring the period the was set on Vb options - Message Posting and Editing Options ?
Basically I have the user group for logged visitors that can do that for a certain period but I would like to disable this period for a different user group.
Any ideas ?
Tks
MoT3rror
06-16-2008, 05:24 PM
The options you want are in forum permissions (http://www.vbulletin.com/docs/html/usergroup_managing_forum_)(Forum & Moderators -> Forum Permissions -> Choose a forum and usergroup to edit).
Leo Brazil
06-16-2008, 07:06 PM
The options you want are in forum permissions (http://www.vbulletin.com/docs/html/usergroup_managing_forum_)(Forum & Moderators -> Forum Permissions -> Choose a forum and usergroup to edit).
I thought about that too when I was trying to do this but even when options like "Can Edit Own Posts" and "Can Delete Own Posts" are set to YES on both user group permissions and in Forum Permissions, those options are enabled only during the period specified on Vb options -> Message Posting and Editing Options
Leo Brazil
06-19-2008, 06:25 PM
Hy guys, I'm still busting my brains out on this, any ideas ?
Leo Brazil
06-26-2008, 08:15 PM
Just giving some extra info about this thing, may be someone have an idea.
My new Usergroup can only edit their own post and thread name during the period set up on:
Vb Options>Message Posting and Editing Options>Time Limit on Editing of Thread Title
and
Vb Options>Message Posting and Editing Options>Time Limit on Editing of Posts
My original idea was let this new Usergroup able to edit their own posts and Threads not depending on this period set up like I described, but if I set Time Limit on Editing of Posts to 0 (disable) both usergrups, I mean my new one and default Registered Users will be able to do the same and that's exactly what I want to avoid. Of course I'll let Registered Users to edit their own posts but during the period set up on Message Posting and Editing Options.
Is there a way to do what I need using Vb original functions or just a mod can do that ?
Tks for opinions
Ingress
07-01-2008, 05:33 AM
I was looking for this functionality, too and was unable to find a solution.
Would be great if edit-time was tied to the user-group and not globally as it is currently :-(
Ingress
Leo Brazil
07-01-2008, 06:40 PM
Would be great if edit-time was tied to the user-group and not globally as it is currently :-(
I was talking with people at Vb.com and that was exactly they said. edit-time is globally set.
If I disable it all members can edit whenever they want no matter what usergroup they are.
Still trying to figure out a way to change this.
Robinn
09-26-2009, 10:31 AM
No updates on this one? I'm looking for this as well :)
Hendrik83
01-09-2010, 01:19 PM
There where some examples to do this but is to make your own plugin.
So also looking for this option.
Marvin Hlavac
01-22-2010, 08:53 PM
I need this badly! What do I need to modify to allow unlimited edit time for a particular user or user group (which ever is easier)
I have a limit set on editing own posts, but I have one user who requires unlimited editing.
Please point me in the right direction. I'd like to do this tonight... still searching...
:)
I need this badly! What do I need to modify to allow unlimited edit time for a particular user or user group (which ever is easier)
I have a limit set on editing own posts, but I have one user who requires unlimited editing.
Please point me in the right direction. I'd like to do this tonight... still searching...
:)Make the user a moderator or administrator. They are not restricted by the edit time limit. Additionally you could also try adding the user to a secondary user group and set the permissions of that user group to a more restrictive set of rights, that way you might be able to restrict the user's mod capabilities. I haven't tried this, but it might work for you.
Marvin Hlavac
01-24-2010, 08:12 AM
Thanks. What I ended up doing was I modified an add-in I found.
Hendrik83
02-01-2010, 07:23 AM
Thanks. What I ended up doing was I modified an add-in I found.
Can you share it with us?
Marvin Hlavac
02-02-2010, 11:45 AM
Yes, here's what I did:
1. Download the following product: https://vborg.vbsupport.ru/showthread.php?t=228623
2. I created a new user group (user group 15 in my case)
3. I added two instances of (is_member_of($vbulletin->userinfo, 15) AND into the downloaded above mentioned product's XML file:
<![CDATA[ if (THIS_SCRIPT == 'editpost')
{
if (is_member_of($vbulletin->userinfo, 15) AND ($vbulletin->userinfo['userid'] == $postinfo['userid']) AND $foruminfo['ls_edit_ind'])
{
$vbulletin->options['edittimelimit'] = 0;
}
} ]]>
</phpcode>
</plugin>
- (https://vborg.vbsupport.ru/#) <plugin active="1" executionorder="5">
- (https://vborg.vbsupport.ru/#) <title>
- <![CDATA[ Set $post['editlink'] to true for First Post ]]>
</title>
<hookname>postbit_display_complete</hookname>
- (https://vborg.vbsupport.ru/#) <phpcode>
- <![CDATA[ if(is_member_of($vbulletin->userinfo, 15) AND ($this->post['userid'] == $vbulletin->userinfo['userid']) AND $this->forum['ls_edit_ind'])
(Replace the two instances of the red #15 above with your own user group ID.)
4. Install the product
Hendrik83
02-06-2010, 01:16 PM
Its working.
Thanks Marvin Hlavac.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.