1
karedokx
Administration Menu not showing up
  • 2004/12/26 11:47

  • karedokx

  • Quite a regular

  • Posts: 319

  • Since: 2004/7/1 6


I am setting up a new website (xoops 2.0.7.3), and set a new group for moderators (and have allocated modules for them to administer).

However the "Administration Menu" menu does not show up in their User Menu. After some try & error, I found that the Administration Menu will appear in their User Menu if I have also given them Admin privilege to one of the "System Admin Rights".

Is it by design? (I don't have this issue with 2.0.7).

Thanks.

2
smdcom
Re: Administration Menu not showing up

Admin menu will show up if you give module admin rights or system admin rights by default.

3
drummond
Re: Administration Menu not showing up
  • 2005/1/18 0:26

  • drummond

  • Just popping in

  • Posts: 36

  • Since: 2004/6/19


I am running 2.0.7 and having a similar problem. When logged in as somone in the "Webmaster" group, there is a link called "Administration Menu" in the User Menu. The problem is I have another group that has access only to one module under "Module Admin Rights" and one in the "System Admin Rights" but when someone logs in that is in this group, they do not get an "Administration Menu" link in their User menu. What is really wierd is if you click where that link should be it takes you to the admin section.

So anyone know why the text "Administration Menu" does not show for people in other groups?

Thanks for your help!

4
carnuke
Re: Administration Menu not showing up
  • 2005/1/18 0:52

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Quote:
What is really wierd is if you click where that link should be it takes you to the admin section.


So there is a blank empty menu line, but no words showing ???

Sounds like a style sheet error. Admin link matches background colour or something.

5
drummond
Re: Administration Menu not showing up
  • 2005/1/18 1:35

  • drummond

  • Just popping in

  • Posts: 36

  • Since: 2004/6/19


Nope, it's not that. The text is simply not there, but the link is. Check out the HTML:

Quote:

6
m0nty
Re: Administration Menu not showing up
  • 2005/1/18 1:47

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


check ur template file for user menu in system_block_user.html

make sure it looks somethin like this for the admin part of the code..

<{if $xoops_isadmin}>
        <
a href="<{$xoops_url}>/admin.php"><{$block.lang_adminmenu}>a>
<{/if}>


if it doesn't look like that, then there maybe a corrupt language file..

7
m0nty
Re: Administration Menu not showing up
  • 2005/1/18 2:15

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


actually ignore my last post.. as if it shows for u but nobody else then it can't be a corrupt file..

try this:

open & edit modules/system/blocks/system_blocks.php

find on line 160 or thereabouts..

if ($xoopsUser->isAdmin()) {
            
$block['lang_adminmenu'] = _MB_SYSTEM_ADMENU;
        }
        return 
$block;


replace with:

$block['lang_adminmenu'] = _MB_SYSTEM_ADMENU;
        return 
$block;

8
drummond
Re: Administration Menu not showing up
  • 2005/1/19 1:23

  • drummond

  • Just popping in

  • Posts: 36

  • Since: 2004/6/19


Wow. That did it. You're awesome! I tried something similar with the system_block_user.html but that didn't seem to do anything, but your advice worked perfectly.

I thank you very much!

Login

Who's Online

329 user(s) are online (287 user(s) are browsing Support Forums)


Members: 0


Guests: 329


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits