vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Registered user having admin cp access (https://vborg.vbsupport.ru/showthread.php?t=56452)

Jux 08-23-2003 06:10 PM

Registered user having admin cp access
 
Hey,

This is a bit of an odd request, but let's say that I have a user that I want to have admin CP access, but I don't want to change his usergroup from "Registered."

Is there a way to do this while keeping him in the default Registered user group?

Any help would be appreciated.

Thanks!

pie 08-24-2003 05:49 PM

Ill release the code for this tomorow. Its only one line

Jux 08-27-2003 05:50 AM

Thanks, I'd appreciate it. :D

Logician 08-27-2003 09:00 AM

just curious: why dont you give the code here now if it is just 1 line? :)

paddysplace 10-11-2003 05:41 AM

Can't you just add in verification (not sure if exact code so I'll translate into english)

if usergroup is (adminusergroup) or userid is (id_of_registered_member) allow access to admincp ?

Regards,
Patrick

Jux 10-15-2003 09:26 PM

Quote:

Originally Posted by paddysplace
Can't you just add in verification (not sure if exact code so I'll translate into english)

if usergroup is (adminusergroup) or userid is (id_of_registered_member) allow access to admincp ?

Regards,
Patrick

I'll have to take a look at that.

Jux 11-05-2003 03:03 AM

Quote:

Originally Posted by paddysplace
Can't you just add in verification (not sure if exact code so I'll translate into english)

if usergroup is (adminusergroup) or userid is (id_of_registered_member) allow access to admincp ?

Regards,
Patrick

I had a sudden interest in this topic again, and was wondering if anyone could help me out with the exact code needed to pull this off. It'd be greatly appreciated.

Giveit2u43 11-29-2003 11:19 AM

My trick for doing this without hacking, was to create another usegroup with the same options as registered except for "access control panel" was ticked, it has the same usergroup title as registered so other members aren`t aware of the extended status of members in this other group, and then I just placed any members I wanted to give admin cp access too into that usergroup..


All times are GMT. The time now is 01:51 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.01040 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete