completed Is it possible to add this message button found on follow me skin to celebrity skin?

Zachary Moonshine
Zachary Moonshine
@zachary-moonshine
6 years ago
824 posts
On the follow me skin, it has a little envelope button on profile pages that lets you message that profile fast and easy. Is it possible to add this button to celebrity skin as well ?
Capture.PNG
Capture.PNG  •  319KB


updated by @zachary-moonshine: 07/25/18 10:23:34AM
michael
@michael
6 years ago
7,746 posts
That icon is found in the profile_header.tpl template of the jrFollowMe skin, the code for it is:
       {if jrCore_module_is_active("jrPrivateNote") && $quota_jrPrivateNote_allowed == "on"}
                                {jrCore_module_url module="jrPrivateNote" assign="nurl"}
                                <a href="{$jamroom_url}/{$nurl}/new/user_id={$_user_id}" title="Message This Profile">{jrCore_icon icon="mail" size="22" class="email"}</a>
                            {/if}

That code will work in other skins in the same location. It was found inside a
{if jrUser_is_logged_in() && !jrUser_is_linked_to_profile($_profile_id)}..........{/if}
block, so probably best to put it back into that same block.
Zachary Moonshine
Zachary Moonshine
@zachary-moonshine
6 years ago
824 posts
Yes it worked thanks @michael