vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Moderator can access my ADMINCP... (https://vborg.vbsupport.ru/showthread.php?t=195168)

Welshy2008 11-01-2008 04:14 PM

Moderator can access my ADMINCP...
 
Hi All,

I have the settings not to allow it, in "Usergroups", but one of my Moderators (That I know of) can access my ADMINCP.

How is this happening Please? And more importantly, how do I change it, so that he can't view/access it, Please?

I have done the following:- Usergroups -> Usergroup Manager -> Moderators -> Edit UserGroup -> Go -> Administrator Permissions -> Can Access Control Panel (is Administrator) -> No.

When I set this to "No", the "ModCP" link disappears fron his Botton NavBar. Is I set it to "Yes" he is able to view it, and as the name suggests, he is able to view my ADMINCP.

I would appreciate your help.

Many Thanks,

Welshy.

Lynne 11-01-2008 05:28 PM

Did you try:
HTML Code:

<if condition="can_moderate()"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>

ssslippy 11-01-2008 07:26 PM

Only super mods can see the mod cp link, otherwise adding that link adds one query to every page.

Welshy2008 11-01-2008 08:15 PM

Unfortunately, That didn't work Lynne. :(

Why do I get the following when I click on a "Users username or when I click on the Members list" tab in the top Navbar? And more importantly - How do I correct it please?

sslippy - Surely there is a way of doing it? :(

cono1717 11-01-2008 08:34 PM

Try going in to the footer phrase and searching for
Code:

<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
If you can't find it search for
Code:

                                <if condition="$vboptions['archiveenabled']">
And above it add
Code:

<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
I think this should work if it doesn't sorry but its my attempt.

Connor

JesusLiv3s 11-01-2008 10:13 PM

Read the post I left on your other thread.

https://vborg.vbsupport.ru/showthread.php?t=195105

Welshy2008 11-01-2008 10:57 PM

Thanks JL - I have replied.

Lynne 11-02-2008 12:47 AM

So changing that condition still doesn't show the link to the mods? You can always have it usergroup based. Are all your mods in a particular usergroup?
HTML Code:

<if condition="is_member_of($bbuserinfo, 5, 6, 7)"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
That should show the link to all Super Mods, Admins, and Mods (assuming the default usergroupid).

Welshy2008 11-02-2008 01:09 PM

Quote:

Originally Posted by Lynne (Post 1657584)
So changing that condition still doesn't show the link to the mods? You can always have it usergroup based. Are all your mods in a particular usergroup?
HTML Code:

<if condition="is_member_of($bbuserinfo, 5, 6, 7)"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
That should show the link to all Super Mods, Admins, and Mods (assuming the default usergroupid).




Hi Lynne, Thanks for that - The MOD link is showing in the "footer", but when I enter my username and password it goes to loggin but it returns back to the sign in page. :(

Any idea why and how to correct it please?


Many Thanks.

Lynne 11-02-2008 01:30 PM

That is a different issue altogether. It sounds like a cookie issue.

When you browse your site, do your cookies get set for www.yoursite.com, but the link takes you to yoursite.com (no www)? Check that and also make sure all your cookie setting are default.


All times are GMT. The time now is 04: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.02127 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete