MyBB Community Forums
MyBB Community Forums
>
Extensions
>
Plugins
>
Plugin Support
> template condition - if user is on his profile [SOLVED]
Full Version:
template condition - if user is on his profile [SOLVED]
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
iso
2015-08-18, 02:18 PM
is there a way to show something on profile page (in my case is a customprofile fields editable only by moderator) only to profile owner?
.m.
2015-08-18, 02:41 PM
using
template conditionals plugin
, it can be like below
<if $mybb->user['uid'] == $memprofile['uid'] then>required content</if>
iso
2015-08-18, 02:51 PM
thank's man now i see what i was wrong
i had written $memberprofile instead of $memprofile LOL
MyBB Community Forums
>
Extensions
>
Plugins
>
Plugin Support
> template condition - if user is on his profile [SOLVED]