This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
URL: n/a
Template(s) used: SubSilver (unmodified)
Any and all MODs: none
Do you use a port of phpBB: no
Version of phpBB: latest
Version of PHP: 4
Which database server and version: MySQL 4
Host: streamline.net
Did someone install this for you/who: n
Is this an upgrade/from what to what: n
Is this a conversion/from what to what: n
Have you searched for your problem: y
If so, what terms did you try: if statement ACP
State the nature of your problem: I want to restrict certain administrative operations from even the other top admins (eg. "Mass Email"). I don't do PHP ASP... don't hurt me! so could somebody write me a little if statement for the menu bar of the ACP which would only produce the "a href equals blah" (and thus a link) if the person is logged in as "ceepee"? I know it's bad to hardcode stuff like this in, but I just need a quick fix.
eg. "If username is ceepee, display "a href etc.", else nothing
Thanks in advance
Do you have a test account for us: n