Activity Stats Mod & Whois Online Block

Post Reply

Topic author
the.ronin
Valued Contributor
Posts: 64
Joined: 30. October 2008 16:20

Activity Stats Mod & Whois Online Block

Post by the.ronin »

I was able to incorporate the Activity Stats Mod into the whois_online.html portal block.

However, I wanted to prevent anybody other than moderators to view the detailed stats. In index.php, I included "<!-- IF not S_IS_BOT and U_MCP -->" to accomplish this. However, when I use the same IF statement in whois_online.html, it doesn't seem to recognize U_MCP even though it seems to be defined in portal.php. If I delete the "and U_MCP" part, the activity stats show up. Also, I am certain I have moderator access as well as being admin.

Am I overlooking something?
Post Reply

Return to “Modifications Support”