![]() |
Make Send a Private Message ONLY appear on non user profiles? - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html) +--- Forum: General Support (https://community.mybb.com/forum-176.html) +--- Thread: Make Send a Private Message ONLY appear on non user profiles? (/thread-207006.html) |
Make Send a Private Message ONLY appear on non user profiles? - PrincessMin - 2016-12-31 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. |