Log in

View Full Version : Moderator can access my ADMINCP...


Welshy2008
11-01-2008, 04:14 PM
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:
<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
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>

If you can't find it search for <if condition="$vboptions['archiveenabled']">

And above it add
<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?
<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
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?
<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 1225652491 at 1225652491 ---------------

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 1225668172 at 1225668172 ---------------

*** 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.