Not Solved Make Send a Private Message ONLY appear on non user profiles?
#1
Not Solved
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)