vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   Admin Control Panel Link (https://vborg.vbsupport.ru/showthread.php?t=111696)

Lazarous 03-30-2006 08:04 AM

Admin Control Panel Link
 
Hi,

I would like to remove the Admin Control Panel link in the main NavBar which is called "Arcade ModCP".

Can anyone advise me where it is...

...oh and what a fantastic modification that has been done here. Truely the best mod yet for vBulletin.

Laz.

Gemma 03-30-2006 09:00 AM

Hya

Open your modules/mod_arcade.php and find this and delete it:

Code:

if( $this->user['is_mod'] || $this->user['is_admin'] )
                {
                        $the_links .= "&nbsp;&nbsp;&middot;&nbsp;&nbsp;<a href='".$ibforums->base_url."act=Arcade&amp;module=modcp'>".$ibforums->lang['arcade_cp_link']."</a>";
                }

Gemma

Lazarous 03-30-2006 09:20 AM

Fantastic. THank you... :)

MrZeropage 03-30-2006 11:46 AM

Just don't give any User the Permission "is Arcade Mod" then nodoby would see it ;)

Lazarous 03-30-2006 01:39 PM

Quote:

Originally Posted by MrZeropage
Just don't give any User the Permission "is Arcade Mod" then nodoby would see it ;)

Ahh!!! I was expecting it to take the permissions from the Admin group...

...thanks for the quick reponse.


All times are GMT. The time now is 03:39 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
  • Page Generation 0.00952 seconds
  • Memory Usage 1,714KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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