Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 9 Years, 1 Week ago [PHP] Can't able to get uid with $mybb
#2
Solved: 9 Years, 1 Week ago
This user has been denied support. This user has been denied support.
Try to define global $mybb inside the function.

Also, it's

$mybb->user['uid']

and not $mybb->user[uid] (you missed single quotes).
Jump to the post that solved this thread.


Messages In This Thread
RE: [PHP] Can't able to get uid with $mybb - by crazy4cs - 2012-11-18, 06:46 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)