![]() |
Adding Super Mods to admin list???
Well i would like to add my super moderators to the Administrator Permissions list in the AdminCP without adding them to the Administrator group. I know it can been done becasue its all in code and anything can happen.
I want to make it so that they can edit users. Now i have done all the coding myself and i have made it so that Super Mods can edit users and can save them in the ModCP but i would like to know where the file is to edit the Administrator Permissions or the user group id number 5 (Super moderators) so that i can add them to the Administrator Permissions list in the AdminCP. Coders or anyone know where this file is or something i can do to make this happen? |
You can edit the super moderator usergroup, and set Can Access Control Panel (is Administrator) to Yes.
|
I don;t want to give them access to the adminCP. That would
|
Well there is some interesting code in admincp/adminpermissions.php...
PHP Code:
|
Yea but i don't know what to edit in that. If it is it
|
I've done some looking around, and I believe all you need to do is find the file which adds administrators to the administrator SQL table, and change the code for it to include super moderators.
If you find that file, please post the name of it so someone can edit it for your needs. I looked for a while but failed to figure out which one it was. |
Quote:
|
Quote:
Quote:
Sure um what are the rules on how i give you file of vbulletin? Because it is pretty much 6 big file with a some small edits everywhere. |
I'm not sure on the rules for that tbh, you could email me them, I would really appreciate it cos I've been looking to do this for a while.
|
Yea i have been looking on these forum for almost a month and there is just sot after post of it can't be doe so i just gave it a try and got it. But yea i will email it to you just give me a day or 2.
If anyone knows how to add the SPmods to that admin lsit PLEASE let me know. This could help out so many people not just myself. |
Anyone no how to do this?????
|
You have to put them in a usergroup (either the default Administrator usergroup or you own custom usergroup) but they must have the usergroup permission as given in post #2. vBulletin adds the user to addition tables (administrator is the name I think - which holds the extra permissions/options). You can't get around this... (at least not easily) they need access to the AdminCP if you are going to give them Administrator permissions.
|
Yea that is what everyone told me about making it so the Super Moderates could edit Users in the ModCP and i did it so i know there has to be a way. If it is a default thing that can edit. Or something in the database.
|
Look through the PHP code that associated with the page you want them to appear on. See how/what vBulletin gets and make sure you have data where it needs it. Then find out where it saves it and make sure it saves yours too.
There is a way but the only way you're going to find it is by looking yourself really. |
Yea i know that lol i just want help finding that file or place in the database. Thats all.
|
Quote:
PS Adding moderators to the Admin permissions tables, could give strange results on the long term, and i would not suggest to try this. |
Can you give me the name of the table and where to find it so i can just try. I can change it back if i need to.
Ok thank you i will email you when i get a chance |
A query was given in the PHP code in post #4. ;)
|
Ok thank you i will try it and get back saying what it did
|
any info on this?
|
All times are GMT. The time now is 04:24 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:
|