![]() |
After I applied this hack, I can no longer edit my own posts.
|
Quote:
In hack's code find: PHP Code:
PHP Code:
This code is for debugging purposes only, so after you debugged, revert back to the original hack code. |
Nice one Logician:)
Satan |
Hi pal!
i have made an upgrade to your code. Permissions are no longer checked per usergroupid but on the normal getpermission base also i have made some exact error-messages ;) and a cahnge of permission checks: why let moderators edit other moderators posts? normal members cannot edit other members post.. So Mods can edit Membersposts and their own, but no other mod's post Supermods can edit Members/Moderators/own Posts, but no posts from other supermods... aso... hope it's ok for ya pal ;) |
install this hack later
Good idea! |
It works pretty good, except for two...my co-admin can edit my posts with no problem, but that doesn't really bug me. And one of my Mods can do whatever, too, but don't let it bug you, he's also able to access the Admin Forum for no reason. Good show!
Ohh...yea, I'm using vB version 2.2.8. |
are you sure your mod isn't in the admin group?
normally that shouldn't happen if you have setup all permissions correctly. your coadmin can edit your posts? do you have userid 1? |
What if I don't want the function that no one can edit userid=1's posts? I want it so only admins can edit admins' posts, not no one being able to edit userid=1's posts...so how can I remove that?
|
just remove this block:
Code:
if($postinfo[userid]==1 or $postperms[cancontrolpanel]==1) { |
Quote:
This is still a good hack none the less :) |
All times are GMT. The time now is 11:03 AM. |
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:
|