Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 08-23-2003, 06:10 PM
Jux Jux is offline
 
Join Date: Jul 2002
Location: Colorado
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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!
Reply With Quote
  #2  
Old 08-24-2003, 05:49 PM
pie pie is offline
 
Join Date: May 2003
Location: Devon, England
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ill release the code for this tomorow. Its only one line
Reply With Quote
  #3  
Old 08-27-2003, 05:50 AM
Jux Jux is offline
 
Join Date: Jul 2002
Location: Colorado
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I'd appreciate it.
Reply With Quote
  #4  
Old 08-27-2003, 09:00 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just curious: why dont you give the code here now if it is just 1 line?
Reply With Quote
  #5  
Old 10-11-2003, 05:41 AM
paddysplace paddysplace is offline
 
Join Date: Apr 2003
Location: Silicon Valley, CA
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 10-15-2003, 09:26 PM
Jux Jux is offline
 
Join Date: Jul 2002
Location: Colorado
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 11-05-2003, 03:03 AM
Jux Jux is offline
 
Join Date: Jul 2002
Location: Colorado
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 11-29-2003, 11:19 AM
Giveit2u43 Giveit2u43 is offline
 
Join Date: Jun 2003
Location: Liverpool
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:07 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.04746 seconds
  • Memory Usage 2,221KB
  • 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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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