MyBB Community Forums
IF statement help - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- 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>
</if>