The website is for sale. Check here for more information.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.
Profile member's uid variable
Hi !
I'm developping a plugin, and i have a function which is launched in member_profile_start (hook).
I need the profile member's uid variable.
I used those ones but don't work :
$memprofile["uid"], $_GET["uid"]
The GET works on MyBB 1.6 but not in 1.8 :/
Please help.
Hook: member_profile_start
MyBB: 1.8+
PHP Code:
global $mybb;

$uid $mybb->get_input('uid'1);
$memprofile get_user($uid);
$memprofile $mybb->user;

Support PM's will be ignored. Exclamation
Thank you Omar Big Grin +rep
Hope you approve the stuff soon Tongue

Users browsing this thread: 1 Guest(s)

About MyBB-Plugins

Plug Yourself into the best MyBB AddOn.

Copyright © 2009-2021 MyBB-Plugins Forums.


  • 51,000+ Posts
  • 19,000+ Members
  • 3,600+ Threads

Impressed? For sure
Check Full Stats here