vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   admincplink & modcplink where are they set? (https://vborg.vbsupport.ru/showthread.php?t=93487)

PanelCrafters 08-02-2005 08:13 PM

admincplink & modcplink where are they set?
 
I've been looking all over, and I can't find where Admincplink & Modcplink are set. I'd rather unset them, than modify the code. But, if I must, so be it. Any ideas?

TIA,
....jc

Andreas 08-02-2005 08:18 PM

In config.php

PanelCrafters 08-02-2005 08:28 PM

Quote:

Originally Posted by KirbyDE
In config.php

Kirby,
Thanks for the tip, but unfortunately I don't see anything in it that will do the trick. There is an option for changing the directories for these guys, but nothing else.
Are these something that must be changed in a file vs. online via the Admincp?

TIA,
....jc

Zachery 08-02-2005 08:38 PM

Quote:

Originally Posted by PanelCrafters
Kirby,
Thanks for the tip, but unfortunately I don't see anything in it that will do the trick. There is an option for changing the directories for these guys, but nothing else.
Are these something that must be changed in a file vs. online via the Admincp?

TIA,
....jc

What do you mean unset them? you mean remove them from the forums? You are aware that ONLY moderators and ONLY administrators can see those links period.

PanelCrafters 08-02-2005 09:00 PM

Quote:

Originally Posted by Zachery
What do you mean unset them? you mean remove them from the forums? You are aware that ONLY moderators and ONLY administrators can see those links period.

Thanks Zachery, I just figured that out! That's what you get when you are looking at things from an admin perspective! Anyway, for anyone else that ends up looking for these guys, they are set in Global.php.

Thanks again,
....jc

Andreas 08-02-2005 09:03 PM

They are "set" nowhere except config.php, m8.

global.php just sets a flag if they should be shown or not.

PanelCrafters 08-02-2005 09:51 PM

Quote:

Originally Posted by KirbyDE
They are "set" nowhere except config.php, m8.
global.php just sets a flag if they should be shown or not.

Maybe there is more than 1 config.php, but in mine, all there is, is a few variables being set. Now, in my global.php, this statement:
Quote:

$show['admincplink'] = iif($permissions['adminpermissions'] & CANCONTROLPANEL, true, false);
is indeed 'setting' the item 'admincplink' in the $show array. Maybe our terminologies are a bit different! :speechless:
....jc

Andreas 08-02-2005 10:08 PM

Well ... yes, it sets the Flag.
But the link gets set in config.php ;)


All times are GMT. The time now is 01:34 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.01592 seconds
  • Memory Usage 1,723KB
  • 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
  • (5)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