2010-07-03, 12:36 PM
Hey everybody!
I just began working with myBB, currently I'm working on embedding a chat into the forum (kinda like a shoutbox).
Because I had no idea how to do this I checked out how it was done in another mod ("usermap").
There's one line I don't understand:
if($mybb->usergroup['canviewusermap'] != "1")
what is this: $mybb->usergroup['canviewusermap']
It seems like it has nothing to do with the "normal" usergroups like Admin/Mod/Guest.
Where can I find more information about this array and how to work with it?
Thanks!
I just began working with myBB, currently I'm working on embedding a chat into the forum (kinda like a shoutbox).
Because I had no idea how to do this I checked out how it was done in another mod ("usermap").
There's one line I don't understand:
if($mybb->usergroup['canviewusermap'] != "1")
what is this: $mybb->usergroup['canviewusermap']
It seems like it has nothing to do with the "normal" usergroups like Admin/Mod/Guest.
Where can I find more information about this array and how to work with it?
Thanks!