Verify User is Profile Owner

SoftDesigns
SoftDesigns
@softdesigns
7 years ago
242 posts
We have been searching for simple Smarty code sample that can go into: profile_header.tpl
--
GOAL: Check if the current logged in user is the owner of the current profile being viewed
If Yes - then execute custom JS code
--
Any samples of smart code that could achieve that?
updated by @softdesigns: 05/21/17 10:11:35PM
SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
{if jrProfile_is_profile_owner($_profile_id)}
    the profile owner sees this
{/if}



--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
SoftDesigns
SoftDesigns
@softdesigns
7 years ago
242 posts
Thanks for the reply:
Will study and test your latest code above...

Tags