vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Message Editing Hierarchy (https://vborg.vbsupport.ru/showthread.php?t=82599)

Xenon 06-06-2005 10:00 PM

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:
  • Moderators: Can edit everyone's posts in the forum they're assigned, UNLESS author is another Moderator, SuperMod or Admin.
  • SuperModerators: Can edit everyone's post in all boards UNLESS author is another SuperMod or Admin.
  • Admins: Can edit eveyone's post in all boards UNLESS user is another Admin
  • SuperAdmins: Can edit eveyone's post in all boards (Superadmins are defined in config.php)
So the hack will apply a "message editing hierarchy" in your board and everyone will be able to edit messages for ones who are below him and cant touch messages of his superiors..If they try, they'll get no permission page. This will apply for editing the messages, deleting the message via edit message or just peaking inside it. But be warned: messages can still be deleted via "Delete Thread / Posts" menu..

If you install this plugin, please click install, thank you..

Enjoy!
Xenon

Link14716 06-09-2005 07:00 PM

Does this affect the quick edit? ;)

Xenon 06-09-2005 07:09 PM

it prevents quick edit, but results in a bug it seems,

i have to look at it a bit more :)

Chris M 06-09-2005 10:22 PM

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

Gary King 06-10-2005 11:43 PM

Would like to have it working with quick edit still intact as well :)

Xenon 06-11-2005 10:18 AM

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 ;)

Xenon 06-11-2005 04:33 PM

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 ;)

mholtum 06-12-2005 02:48 AM

/me installs!

Thanks

ehjay 06-14-2005 11:07 PM

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.

Xenon 06-15-2005 03:03 PM

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.


All times are GMT. The time now is 07:51 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
  • Page Generation 0.01225 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete