vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   remove admin/mod links (https://vborg.vbsupport.ru/showthread.php?t=106280)

HBC 01-25-2006 09:13 AM

remove admin/mod links
 
how do i remove the admincp and modcp links
at the bottom of my forum? (for security)
this way they have to know the url to get in.

S@NL - BlackBik 01-25-2006 10:36 AM

Those links are only displayed for usergroups that have rights to do mod of admin stuff. Guests and Registred users don't see those links.
I don't see a security issue in that?

But if you also want them removed for your Moderators and Administrator, my guess is that you'll have to edit the Forumhome template.

HBC 01-25-2006 07:07 PM

Quote:

But if you also want them removed for your Moderators and Administrator, my guess is that you'll have to edit the Forumhome template.
Yes where in the template? and what to edit?

S@NL - BlackBik 01-25-2006 07:24 PM

In fact, I just found out it's in the footer template.
Remove this code:
Code:

<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>

and

<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>

And the links are gone for everyone, even admins ;)

HBC 01-25-2006 08:43 PM

Quote:

Originally Posted by S@NL - BlackBik
In fact, I just found out it's in the footer template.
Remove this code:
Code:

<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>

and

<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>

And the links are gone for everyone, even admins ;)

thanks that is what i was looking for :)

patrixon78 09-27-2011 04:24 PM

Quote:

Originally Posted by S@NL - BlackBik (Post 881854)
Those links are only displayed for usergroups that have rights to do mod of admin stuff. Guests and Registred users don't see those links.
I don't see a security issue in that?

I will not agree with that :) If you use 'Inspect Element' option in any kind of browser you'll be able to see those links :)

:p


All times are GMT. The time now is 07:48 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.01601 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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