Multiuser – Can't add user
-
Just installed the single site multiuser version of the plugin. I’m trying to add an administrator but I can’t see the add button on the user’s tab. The user has administrator privileges and the user permission settings are set to subscriber.
What am I missing?
-
Hello.
Can you open Booking > Settings > Users page, with that user ?
If yes, you can add new users (using the standard wordpress add new users menu) at the WordPress admin panel “Users” > “Add new”, and then you can open the Booking > Settings > Users page and activate the booking admin panel for this new user.
If you mean something else, please explain it more detail.
Please post the questions at the support section of plugin website here http://wpbookingcalendar.com/support/ or send the email to the support email of this plugin.
Kind regards.I’ve added a new user and set it as an “administrator”. I visist the page with “test123” the new admin account and get the “you can’t access this page contact admin”.
I then pop open the users page with super admin account and I don’t see the any user’s names in the user’s tab.
I’ve looked through the code and I think what’s happening is that when the new user visits the page it’s not setting the var “activated_user” or whatever variable is suppose to be set to allow super-admin to approve isn’t being set.
By default (during the first) opening of the plugin, only the administrator with ID=1 can access to the Booking > Settings > Users page. I think the problem that you can not access to t this page ? Is it correct ? If yes, so please login with the admin user (which is first user of your website, ID=1), then you be able to activate other wordpress users in booking admin panel. Otherwise if you logged in as administrator but (not activated booking user) not the user with ID=1, so you will see that warning.
If you are still will have this issue please contact to this email support @ wpbookingcalendar.comI’m logged in as the super user and I can see all the administrative options. admin id=1.
It’s not giving me any options to add users in the user panel or approve anyone either.
To update I’ve found the plugin isn’t setup for multi-sites/networks. You have to modify the database connection strings because a single site works differently than a multi site.
Hello.
Yes, the Booking Calendar MultiUser versions is for working withing one single website with different registered users withing this same single site (or single subsite in WordPress MU environment). If you are using the WordPress MU installation, so its will mean that each sub-site will have the fully independent booking admin panel. Without possibility to manage the users from the different sub-sites.Right – except that it’s broken. The user list isn’t displayed because of WPDB connection prefix is different.
Plugin is use the
$wpdb->prefixfor the any SQL.
But its not working with the sub-sites for the one booking admin panel.
Each sub-site in WordPress MU, its like a fully different website.Booking Calendar MultiUser version is working with wordpress registered users withing same website.
In multiuser.php this code:
global $wpdb; $sql_check_table = "SELECT * FROM " .$wpdb->prefix . "users as u LEFT JOIN " .$wpdb->prefix . "usermeta as m ON u.ID = m.user_id WHERE m.meta_key='" . $wpdb->prefix ."capabilities' ORDER BY user_nicename ASC" ; $res = $wpdb->get_results(wpdevbk_db_prepare($sql_check_table));needs to look like this:
global $wpdb; $sql_check_table = "SELECT * FROM " ."wp_users as u LEFT JOIN " ."wp_usermeta as m ON u.ID = m.user_id WHERE m.meta_key='" . $wpdb->prefix . "capabilities' ORDER BY user_nicename ASC" ; $res= $wpdb->get_results(wpdevbk_db_prepare($sql_check_table));For the user table to be populated with the correct user list.
The topic ‘Multiuser – Can't add user’ is closed to new replies.