Not Solved [template conditionals] show IP only if GID=admin and/or UID=###
#1
Not Solved
What would the statement be for this?

Also, what templates contain the call that would show a user's IP on front end?
Reply
#2
Not Solved
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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)