MyBB Community Forums

Full Version: [template conditionals] show IP only if GID=admin and/or UID=###
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What would the statement be for this?

Also, what templates contain the call that would show a user's IP on front end?
Finally figured this out

<if $GLOBALS['mybb']->user['usergroup'] == 4 then>

The templates I used it in are

moderation_getip
postbit
postbit_classic
modcp_modlogs_result (thanks .m. http://community.mybb.com/thread-86614-page-2.html)

Are there any that I missed that would show IP on frontend / mod area? I seem to recall seeing somewhere 'user's last known IP' or some such?