View Full Version : Disable "last editd by" for specific usergroups
Hello all,
I tried to look for this help, but found a lot of old posts with no answer, so creating own thread.
I would like to disable "last edited bye **username** today at **time** for specific usergroup.
I have Show edited by note on edited messages? set to NO in admincp. However still all usergroups including the ones i have it disable for can see it even if i edit my own post or some users posts. I understand i can increase the time limit, but that would be a temporary fix.
I wouldn't want this to be disabled for admins, but just specific usergroups only.
Help will be appreciated.
Thanks
Go to
ACP/usergroups/usergroup manager
Choose your group
Scroll down to General Permissions
dougdirac
07-23-2013, 01:03 PM
One thing I think I figured out is that if you belong to multiple usergroups, the permissions seem to do a logical OR. So for "last edited by" to be disabled for a user, it has to be set to "no" for the primary usergroup as well as any secondary usergroups to which he/she may belong.
I have Show edited by note on edited messages? set to NO in admincp. However still all usergroups including the ones i have it disable for can see it even if i edit my own post or some users posts. I understand i can increase the time limit, but that would be a temporary fix.
The message appears if there is an entry in the editlog table for a given post. The "Show edited by note on edited messages" controls whether or not an entry will be added to that table when the post is edited, but all users will see the message if there is an entry. So you would need to disable that setting for *your* usergroup. Also, if the post has already been edited and the message is appearing, changing the setting won't have any effect for that post - you would need to remove the entry from the editlog table.
It would be possible to create a plugin to hide those messages for certain usergroups and not others, if that's what you want to do.
Zachery
07-23-2013, 07:15 PM
If you ever leave an edit reason, it will also show as well, incase that isn't clear, regardless of the permissions.
Ba'al
07-24-2013, 10:38 PM
The message appears if there is an entry in the editlog table for a given post. The "Show edited by note on edited messages" controls whether or not an entry will be added to that table when the post is edited, but all users will see the message if there is an entry. So you would need to disable that setting for *your* usergroup. Also, if the post has already been edited and the message is appearing, changing the setting won't have any effect for that post - you would need to remove the entry from the editlog table.
It would be possible to create a plugin to hide those messages for certain usergroups and not others, if that's what you want to do.
We have this issue also, it seemed to appear in 4.2.0 as we didnt have this issue 4.1.12, i have the Admin usergroup set to "No" and it still shows the message.
I will try adjusting the other usergroups i am in first and see if that works.
tbworld
07-24-2013, 10:43 PM
The message appears if there is an entry in the editlog table for a given post. The "Show edited by note on edited messages" controls whether or not an entry will be added to that table when the post is edited, but all users will see the message if there is an entry. So you would need to disable that setting for *your* usergroup. Also, if the post has already been edited and the message is appearing, changing the setting won't have any effect for that post - you would need to remove the entry from the editlog table.
It would be possible to create a plugin to hide those messages for certain usergroups and not others, if that's what you want to do.
Nice explanation @kh99, Thank you. Since you obviously looked at the source for that code, can I ask you where it is located. Then I can get up to speed.
Ba'al
07-24-2013, 10:45 PM
One thing I think I figured out is that if you belong to multiple usergroups, the permissions seem to do a logical OR. So for "last edited by" to be disabled for a user, it has to be set to "no" for the primary usergroup as well as any secondary usergroups to which he/she may belong.
It worked, thanx
Nice explanation @kh99, Thank you. Since you obviously looked at the source for that code, can I ask you where it is located. Then I can get up to speed.
In this case I knew because not too long ago I was trying to edit a post without leaving that message. So I don't know where in the code exactly to look. But what I usually do to trace down things like that is to go to the option in the admincp and find the var name (it pops up in a tool tip when you mouse over the option, but that might only happen in debug mode), then search the code for where it's used.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.