2016-12-31, 05:47 AM
(This post was last modified: 2016-12-31, 11:39 AM by PrincessMin.)
Hello there, I have created a template for sending a private message and am trying to call it, but only when the user is not on THEIR profile. I know the logic I would use obviously, I am just unsure where to put it.
I'm assuming it would look something like this
if ($memprofile["uid"] !== $mybb->user["uid"]) {
echo $pmtemplate;
}
I'll try throwing this in global.php and member.php and see what happens, but would love to hear from someone
xoxo
Hello the above code is not neccessay; simply use the add_remove_buddy template in the member section templates.
I'm assuming it would look something like this
if ($memprofile["uid"] !== $mybb->user["uid"]) {
echo $pmtemplate;
}
I'll try throwing this in global.php and member.php and see what happens, but would love to hear from someone
xoxo
Hello the above code is not neccessay; simply use the add_remove_buddy template in the member section templates.