2010-11-15, 04:04 PM
I'm trying to show a box on a user's profile if it's their own profile only, but am having a problem in that I cant find the variable for the meber profile's id. I've tried the following (using the hook member_profile_end);
Yet the box doesn't show up - which I'm guessing means that I have a variable incorrect, right?
global $mybb, $theme, $templates, $userfields, $db, $memprofile;
if ($mybb->user['uid'] == $memprofile['uid']) {
eval("\$mystatusedit = \"".$templates->get("mystatusedit")."\";");
}
Yet the box doesn't show up - which I'm guessing means that I have a variable incorrect, right?