2018-08-23, 09:35 PM
2018-08-23, 09:59 PM
You could achieve this with PHP in Templates and Template Conditionals. Re-enable "Can view user profiles" and do something like:
<if $mybb->user['uid'] != $memprofile['uid'] then>
error_no_permission();
</if>
2018-09-30, 07:00 PM
(2018-08-23, 09:59 PM)Wires Wrote: [ -> ]You could achieve this with PHP in Templates and Template Conditionals. Re-enable "Can view user profiles" and do something like:
<if $mybb->user['uid'] != $memprofile['uid'] then> error_no_permission(); </if>
worked but error_no_permission page not showen! it's showen as text.