Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-16-2006, 01:40 AM
LeftCoastBias's Avatar
LeftCoastBias LeftCoastBias is offline
 
Join Date: Dec 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default how do i give a user admin panel access without moderator privilges?

posted this over at vb.com; and no definitive help so far...

http://www.vbulletin.com/forum/showthread.php?t=191930


i have a couple users who help out with some technical stuff and overall forum maintainance, but they are not moderators or admins.

i do not want to give them access to towing/locking/editing threads, etc...


but i do want to give them access to specific portions of the admin panel.



...i know how to adjust admin privliges, but i can't even get the users to the point of getting admin privliges!!!


i put them in an entire new usergroup with the option set to "can access control panel (i.e. administrator)" and that still hasn't solved this.



posts so far:

Quote:
Originally Posted by LeftCoastBias View Post
ok before i do something REALLY horrible...





can i actually set administrator privliges lower than moderator privliges?







i have basically two admins, myself and my head staff member- but we're both in other user groups; but currently, the admin user group has access to do EVERYTHING.





...can i set that so the members can be "additional members" of that user group and essentially only give them access to what i want in the panel, and no moderation abilities on the forum?







...in theory it sounds like it will work.
Quote:
Originally Posted by slappy View Post
This is not something available in the default settings of vbulletin and, probably, would be a topic more appropriately posted at vbulletin.org, since that is where code modification questions are generally posted.



By default, if you give someone access to the admincp they can do anything any other administrator can do except edit the "administrator permissions". This "permission" is set by a line in the config.php file, but this doesn't help you create a sub-class of administrator, with some, but not all admin powers.



You might be able to create a new usergroup which has access to the admincp, but lessor powers than an admin, and make their permissions non-editable in the admincp, except by userid=#1, like administrators themselves.



Regards,
Quote:
Quote:
Originally Posted by slappy View Post
This is not something available in the default settings of vbulletin and, probably, would be a topic more appropriately posted at vbulletin.org, since that is where code modification questions are generally posted.



By default, if you give someone access to the admincp they can do anything any other administrator can do except edit the "administrator permissions". This "permission" is set by a line in the config.php file, but this doesn't help you create a sub-class of administrator, with some, but not all admin powers.



You might be able to create a new usergroup which has access to the admincp, but lessor powers than an admin, and make their permissions non-editable in the admincp, except by userid=#1, like administrators themselves.



Regards,
thats what i want to do, i want to give another usergroup limited access...





but i can't figure out how to ?

Quote:
Originally Posted by slappy View Post
Like I said, you have to create a usergroup which has admincp access, but does not have those other permissions you don't want them to have and you also have to create a new condition in the config.php file which will, like admin permissions only be changeable by those userids listed in the config.php file.



The problem is you not only have to stop them from having access to permissions up the ladder, you have to stop them from acquiring permissions of moderators. In other words, you have to prevent them from changing their permissions at all, and I can't think of any way of doing that, other than through something like how they prevent anyone not listed in the config.php file from changing Administrator permissions. However they did that, is how you have to prevent this new group from changing their permissions.



[EDIT] And you still have the problem that you would have to prevent them from having permission to upload a new config.php file. But if you can't trust these people, they probably shouldn't be in your adminCP anyway.



Again, vBulletin.org is the place to ask for this code modification.



Regards,



Quote:
Originally Posted by LeftCoastBias View Post
ok this doesnt make sense... i have 2 users in the same user group (i moved one of my mods into that new user group)... the mod has admin panel access



but the other doesn't


Quote:
Quote:
Originally Posted by slappy View Post
Like I said, you have to create a usergroup which has admincp access, but does not have those other permissions you don't want them to have and you also have to create a new condition in the config.php file which will, like admin permissions only be changeable by those userids listed in the config.php file.



The problem is you not only have to stop them from having access to permissions up the ladder, you have to stop them from acquiring permissions of moderators. In other words, you have to prevent them from changing their permissions at all, and I can't think of any way of doing that, other than through something like how they prevent anyone not listed in the config.php file from changing Administrator permissions. However they did that, is how you have to prevent this new group from changing their permissions.



Again, vBulletin.org is the place to ask for this code modification.



Regards,
no thats' not right.





only "super administrators" can change admin permission, and that has to be given to users in the config.php file.



which is covered in vb.com and the manual, vb.org isn't neccessary for this quest.


Quote:
Quote:
Originally Posted by slappy View Post
In the Administrators' Permission tab in the Usergroups section of the AdminCp you can click on the tab and, if you are not in the config.php listing, you will see this warning:



Sorry, you are not allowed to edit administrator permissions.



If you think you should have permission to access this page, you will need to edit the $config['SpecialUsers']['superadministrators'] variable in the includes/config.php file.



To allow the administrators to access this page, edit the variable to include the user IDs of those administrators should have access, separating each user ID with a comma, like this:



$config['SpecialUsers']['superadministrators'] = '1,25,57';



To allow only a single administrator to access this page, simply add that user's ID with no commas, like this:



$config['SpecialUsers']['superadministrators'] = '1';



But, like I said, this doesn't prevent them from adding themselves to the Moderators Usergroup and acquiring those permissions.



Regards,
i just added him to the moderators user group and STILL can't give him those permissions.



i even made him the moderator of one of our forums (for troubleshooting) and STILL can't change his settings.
Reply With Quote
  #2  
Old 07-16-2006, 09:56 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LeftCoastBias
i put them in an entire new usergroup with the option set to "can access control panel (i.e. administrator)" and that still hasn't solved this.
Putting them in a usergroup with Control Panel access should give them access to the ACP, I'm pretty sure they will have full moderator access as well though.
Reply With Quote
  #3  
Old 07-16-2006, 04:42 PM
LeftCoastBias's Avatar
LeftCoastBias LeftCoastBias is offline
 
Join Date: Dec 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
Putting them in a usergroup with Control Panel access should give them access to the ACP, I'm pretty sure they will have full moderator access as well though.
ok here's my big issue i have now; i have one of the two users i need set up exactly like i want them.


the second user, i cannot give any admin panel access to, at all.




i've put him into the special user group i made just for them, i've made him a moderator, i've made him an admin outright- and i still can't edit his administrator panel permissions.


when i use the drop-down menu from his profile edit field, i get the error "invalid user specified"

ugh?
Reply With Quote
  #4  
Old 07-16-2006, 09:32 PM
slappy slappy is offline
 
Join Date: Apr 2003
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LeftCoastBias:

I believe I posted a solution in the Thread on vbulletin.com. I got it to work on my test board by updating the Tables after changing the User's Status and/or Usergroup Permissions.

http://www.vbulletin.com/forum/showt...77#post1166177

Regards,
Reply With Quote
  #5  
Old 07-16-2006, 10:17 PM
LeftCoastBias's Avatar
LeftCoastBias LeftCoastBias is offline
 
Join Date: Dec 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by slappy
LeftCoastBias:

I believe I posted a solution in the Thread on vbulletin.com. I got it to work on my test board by updating the Tables after changing the User's Status and/or Usergroup Permissions.

http://www.vbulletin.com/forum/showt...77#post1166177

Regards,
i just saw your post! i'm gonna try that out now... i'll report back with the results!!!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:33 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.01853 seconds
  • Memory Usage 2,223KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (13)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete