Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1950

Extension Requests • Re: MCP link on all pages

$
0
0
I have it in the quick links drop menu and it always disappeared there. No idea why, because it shouldn't, but it always did.

ETA: Did some more checking (it was late last night when I was playing with it).

Using IF U_MCP as the show condition makes it visible in...
  • Board index
  • mcp.php, and children
  • viewforum.php - board view
  • viewtopic.php
BUT it is NOT visible in...
  • app.php, and children, incl. FAQ
  • memberlist.php
  • posting.php
  • search.php, and children, incl. unread posts
  • ucp.php
  • viewforum.php - category view
  • viewonline.php
This is, to be honest, completely nuts for a fundamental board moderation menu link. There is no sane reason why having access to MCP should mean the link to it randomly appears and disappears depending on which page you are using.

It is even more nuts that it shows for viewforum.php - board view but does not show for viewforum.php - category view. That ladies and gentlemen, is just completely off with the fairies. :P

I'm over the silly thing. On my low-traffic hobby site the admins do all the moderation anyway (there is nobody in the moderators group). So, I just said "**** it", and am using IF U_ACP. This works. I can access the MCP link everywhere. If you are running a site that does not rely on a separate moderators group, this works perfectly and saves on code.

Code:

<!-- IF U_ACP --><li><a href="{U_MCP}" title="{L_MCP}" role="menuitem"><i class="icon fa-gavel fa-fw" aria-hidden="true"></i><span>{L_MCP_SHORT}</span></a></li><li><a href="{U_ACP}" title="{L_ACP}" role="menuitem"><i class="icon fa-cogs fa-fw" aria-hidden="true"></i><span>{L_ACP_SHORT}</span></a></li><!-- ENDIF -->

Statistics: Posted by Gumboots — Mon Feb 24, 2025 9:41 pm



Viewing all articles
Browse latest Browse all 1950

Trending Articles