Version: 1.2.1, by Xenon
Developer Last Online: Oct 2023
Version: 3.0.6
Rating:
Released: 02-09-2004
Last Update: 06-01-2005
Installs: 119
No support by the author.
Ok, another one of my vb2 Hacks has been ported over and Optimized
This hack allows mods and Admins to restrict the edit permissions on a levelbased system.
Admins can disallow everyone to edit that post, while mods just can restrict editing by the author. Supermods can restrict editing by normal moderators as well.
Admins also have additional features:
- Editing the Timestamp of that Post
- Editing the Author
- Editing the IP
Nothing more to explain i think, look at the screenies if you need more infos.
Please don't forget to click install
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Ok, i did a lot of test with these two hacks now, and everything was working perfectly.
I also did a look on the code itself, and it is imposible to change the dateline without admin permission, so this might be a different bug.
I suggest you upgrade to vb3.0.1 and install the latest version of this hack.
I've added a little bit of code to this hack, nothing important, just to update the threadinfos when the admin changed a post's dateline
I reinstalled this hack to get the update, and then reinstalled the Message Editing Hierarchy hack. Everything works fine until I try to edit Moderator posts with my SuperModerator testuser - No Permission. :ermm:
Also, when you install both hacks, you end up with added code from both in the same place in editpost.php... after
Code:
// get permissions info
%4$s permsgetter_ = 'edit post';
$forumperms = fetch_permissions($threadinfo['forumid']);
$foruminfo = fetch_foruminfo($threadinfo['forumid'], false);
// check if there is a forum password and if so, ensure the user has it set
verify_forum_password($foruminfo['forumid'], $foruminfo['password']);
Yeah, I see that. It happened when I made the post though - the files are not corrupt.
I *think* I may have figured this out. My Moderator group has the permission "Can Moderate All Forums (is Super Moderator)" set to yes - so in effect they are equal to SuperModerators (id:5) and so by design can't be edited by them.
Sorry to take up your time with this oversight. Thanks for all of your help!
It seems for my SuperMods that when they are editing a post, prior to having used the ModCP (having logged in the second time) they cause the post edited to lose all timestamp and Poster info - timestamp is reset to the unix Epoch, and the poster is reset to Guest - this causes the thread to seem like it's been started by a Guest, with a post that's replying to posts below it ...
Any thoughts why this might happen ?
I noticed this as well, but never really noticed how it hadn't started happening unti lafter installing this hack. We would end up with posts that appeared to be started by guests (even though guests can't read a thread, let alone post one). That and it would have the poster's one minute, but then after editing it.. Have it being as mad eby a guest.