What would I need to do/change to get this to work in the Member's Profile. I specifically want it to show above the tabs (visitor messages, about me..etc). I placed the code manually where I want it in "MEMBERINFO" but gives me "No Profile ID assigned".
This is code by Steam Connect used to show in postbit...
PHP Code:
include_once(DIR . '/includes/functions_steamconnect.php');
$user_info = fetch_userinfo($post['userid']);
$this->post['steamid'] = get_user_steamid($user_info);
when I change the hook to member_start (as well as others) it gives me an error..
Quote:
Fatal error: Using $this when not in object context in /home/prestige/public_html/member.php(139) : eval()'d code on line 5
|
I'm assuming it's because the steam connect postbit code is pulling different variables than what's needed for the members profile? Any idea what I need to change on steam connect?