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.

Welshy2008 11-02-2008 04:31 PM

Hi Lynne,

I have entered all possible ways of entering it - But it still goes back to the sign in page.

I have noticed that it will only register the main webpage. Ie www.myforum.co.uk and NOT www.myforum.co.uk/modcp.php despite putting in the full address, inclusive of http:// too.

Does anyone know why this is happening please and how I overcome it too please?

Is there a setting or permission that I have to allow/alter in order for my Mods to have access to their ModCP please?

Lynne 11-02-2008 04:40 PM

What about your cookies? Have you modified the settings ever? And if you do modify them, you need to clear your own cookies. Have you tried clearing your cookies to see if this problem goes away?

Welshy2008 11-02-2008 04:50 PM

Yes Lynne, I have tried clearing them too. :(

Lynne 11-02-2008 04:54 PM

You do realize that there is no page modcp.php, right? I've been assuming it was a typo on your part.

Welshy2008 11-02-2008 05:00 PM

Lynne, May I PM you with the link, Please?

--------------- Added [DATE]1225652491[/DATE] at [TIME]1225652491[/TIME] ---------------

Sorry, It was actually... modcp/index.php

Lynne 11-02-2008 05:01 PM

Yeah, that's fine.

Welshy2008 11-02-2008 05:08 PM

Thank You Lynne. You Have Mail. :)

--------------- Added [DATE]1225668172[/DATE] at [TIME]1225668172[/TIME] ---------------

*** Update ***

Lynne's Code worked - Thank You Lynne...

..With regard to the "page keeps bouncing back to the sign in page" .. The problem there is that I did not add that mod to each individual Forum that I wanted that Mod to Moderate.

All is working as it should be now.


Many Thanks to you, once more, Lynne.


All times are GMT. The time now is 12:44 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.01989 seconds
  • Memory Usage 1,753KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (17)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