MyBB Community Forums
IF statement help - Printable Version

+- MyBB Community Forums (
+-- Forum: 1.8 Support (
+--- Forum: General Support (
+--- Thread: IF statement help (/thread-163131.html)

IF statement help - Ben - 2014-11-20

Hi there,

I'm trying to put a image onto a members profile which is hyperlinked to the usercp. Can anyone tell me how I can make it so that he can only see it on his own profile? Any help would be appreciated.

Managed to solve with
<if $memprofile['uid'] == $mybb->user['uid'] then>