![]() |
Ok, it almost works now. Inheritence works, but they can edit it on forums they're should be able to.
Forum1 --forum2 ----forum3 I have them as a moderator of forum1, but set it so they can't edit permissions for that. They can edit permissions for 2 and 3. It lets them edit permissions for both 1, 2, and 3... |
Oops my bad =)
Change this PHP Code:
PHP Code:
|
Works just fine now :)
Would it be possible to have a hierarchial list of all the forums they can modify instead of having them enter the forum id? |
Gimme a few also going to make sure it doesn't allow things we don't want it to do either. =)
|
You mean, get a list of forums for the second form i made?
that gives a list of all the people who have access masks listed? Tweezy stuff there! :) Something along the lines of> PHP Code:
Just adapt the 'while' loop to check to see if they have moderator and the forum is caneditaccess=1 Shouldnt be too hard :) |
Update
- added some more checks just to make sure they have access (just like other mod panel functions do) - added a check in edit so ONLY admin's can edit access of Super Mods and Admin's (just to be paranoid) - Added 'forums' list if you hit list forums without a Forum ID May need some more cleaning up but should work fine Here is my current version of this file (Pretty sure we can post these as attachments). |
i released a working version under a different thread, and i sorted the inheritance to be more than one level.
http://vbulletin.com/forum/showthrea...threadid=28654 i also knew what i had done wrong in this version but its too much to fix XD |
Parse error: parse error in c:\program files\nusphere\apache\htdocs\upload\mod\user.php on line 71
no idea everything looks ok ?? |
When i try to update a user permssion i get a blank screen and it doesn't update. Does anyone know why this is happenning?
|
For which version? Merk's or PPN's :)
|
All times are GMT. The time now is 03:24 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:
|