![]() |
Message Editing Hierarchy
Have you ever noticed that Admins and Super Moderators can edit/delete/peak everyone's messages in your forum? This also applies to Moderators for the board they are assigned.
Normally this shouldn't be a problem, but on bigger sites with a lot of Mod's it could lead to problems sometimes. This is a Plugin version of my vb3.0 hack i released here, After applying the hack default editing permissions in your board will be changed like this:
If you install this plugin, please click install, thank you.. Enjoy! Xenon |
Does this affect the quick edit? ;)
|
it prevents quick edit, but results in a bug it seems,
i have to look at it a bit more :) |
Installed and working somewhat ;)
The quick edit thing doesn't but you've already mentioned that so I'll wait for the update:p Satan |
Would like to have it working with quick edit still intact as well :)
|
I'll do my best.
it was a testhack for me, not planned to be released already, but the developers where to fast to release the beta to the public ;) |
Ok, i've uploaded a newer version.
AJAX editing will just result in a no change version, but no JS error should appear anymore. preventing the editbutton or ajax at all, isn't that easy, right now, i just see a way which would mean a lot of queries additionally to showthread, so i won't do so ;) |
/me installs!
Thanks |
Xenon, the early version of this hack on my 3.0.7 board struggles when a user has an additional usergroup. It seems as though the hack works properly, but any moderator or super moderator that is also a secondary member of another usergroup has the ability to edit/etc admin & super-admin posts.
Is there a way to perhaps prevent this? Note: I put it here and not in the old hack's thread, since I assume it still applies. |
my hack doesn't look at primary or secondary usergroups, it uses the built in permission functions by vb, so noone should be able to edit super admin posts if he isn't a superadmin himself.
if someone can, you have added it to the super admin users in config.php or the permission system has a bug. |
Alright, think I tracked it down to a bug generated in the permission system.
|
Xenon: Concerning the super admin check, why are you using preg_split when you could just
PHP Code:
|
actually i use exactly the codeline which is used in admincp/adminpermissions.php so you better ask the vb devs why they used that way :)
|
Hey Stefan, since they eliminated the double click ajax issue, will this be made to work?
|
It would also be nice to have the Advanced Editing Options. :)
|
@JdL: hehe, maybe once upon a time ;)
@FD: have you tried it? didn't have time to look at beta 3 right now |
Yeah it's never worked for me. b2 or b3, love the idea though. This would be a great addition.
|
i'll look at it when i have time.
as it's a plugin, it should work normally.... |
Hi Stefan, any luck with this?
|
sorry, i will be able to work on that after the vb.org upgrade
|
Is this now actually working for RC2 too ?
|
Is this fully working for Gold version yet?
Cheers Darren |
no idea, i was on holidays, so don't have installed gold yet, but i don't think it doesn't work
but it's just a plugin so, just test it, and if it doesn'T work as you like it, you can always deactivate it without any risk :) |
i installed it but there are bugs.
1) my co admins can go into the edit field and see the post but when they edit and save it doesnt post the typed info. it does the job by not allowing but theres no error message popping up. im on 3.5.1 . and also i have added a custom co admin usergroup how do i make them follow the same hierarchy or does it do it automatically. |
about the second: that's done automatically.
the hack is based on permissions, not on usergroups, so if they have access to the acp they're counted as admins as for 1, that may be due to the new functionality, this hack was written for Beta 1, but the edit system has totally changed regarding that DAMN Ajax |
ok thanks sounds good. i guess ill wait for the 3.5.1 upgrade.
|
Ok how do I install this into my forum... Nothing happens when I click install..haha
Do I do it through admin cp or what? |
yep
please refer to vbulletin manual to find out how to install plugins! |
I uploaded it.. I was able to edit a message of another super-admin account
I'm not sure if it's working right.. I'm a super-admin, should I be able to edit another super-admin? |
Ok tested it with a temp admin.. It works..but it's weird in a way; there's no error page displayed, instead you think you're actually editing the message, but once you click on save...that post you were editing becomes just plain text in white background with no postbit. This fixes itself once you hit refresh page.. And you see that nothing has been done to that post.
I would have preferred an error page or something.. that whitebackgroungd with just text without poster information right after clicking save scared me a bit. |
Do you mind if I integrate this hack into my port of your Adv. Editing Options? :P So that it be a 2-in-1 :)
|
yep, because they are different hacks, and should stay so.
i would ahve merged the two vb3 versions already if i would feel they would belong together ;) |
had it on 3.0.8 thanks again!
|
Do anyone have this working with 3.53?
|
yes I do and it works fine!
|
Thanks ! Works great, only you don't really have a clue what's going on when trying to edit a post you don't have permission for, as it looks like some sort of "bug" when trying to edit someones post.. since you only get the text of the post, and in "quickedit".. when you hit save, you get the post, only with no background o_0
|
It's not working with 3.5.3 for me.. it was working with 3.0 hmmm
|
Mods cannot delete the messages but SuperMods can delete the messages of Admins. Something is not working as it should.
|
Quote:
|
for me it's listed.. under plugin manager.
|
All times are GMT. The time now is 01:10 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|