How to add a yes/no option for individual users?
walkman Offline
Junior Member
**
Posts: 36
Joined: May 2010
Post: #5
RE: How to add a yes/no option for individual users?
Yes, that did it. Thank you very much. I was not entering right a plugin hook.

One more last question, how would I call the user in my script when defining if he would see my custom page which is a bingo page?

For the group was:

PHP Code:
if($mybb->usergroup['canviewpage_contact'] != 1)
{
    error_no_permission();
}



I tried to use:

$mybb->user['uid']['canviewpage_contact'] and $mybb->user['canviewpage_contact'] but it didn''t work. What is the right array to call the user?

06-05-2010 09:15 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: How to add a yes/no option for individual users? - walkman - 06-05-2010 09:15 PM

 Standard Tools
Forum Jump: