Trying to create site-wide Active Directory sync with Multisite
Activate the plugin as a network plugin. Go to Network Admin/Plugins (wp-admin/network/plugins.php), and activate it there. Before you do that, deactivate it on the single sites.
Activate the plugin as a network plugin. Go to Network Admin/Plugins (wp-admin/network/plugins.php), and activate it there. Before you do that, deactivate it on the single sites.
1 – I cannot say if it’s the best way or not. I can say that I don’t have a better idea, so if it works, then I’d say it’s the best 🙂 2 – You found a plugin 3 – Not that am aware of, but you could possibly create a plugin that adds … Read more
I don’t know if is the best way to do this but aparently works well. I override the users table adding one with an blog_id field as key. Add an “wp_pre_insert_user_data” filter to set the blog_id field and change the user id to some like “blog_id000user_id” (100044 for example is from blog 1). Override the … Read more
To me the best way would be to: Leave the ecommerce site intact since it’s where all the important content exist. Enable multisite on ecommerce site. See official documentation: https://codex.wordpress.org/Create_A_Network Export everything on the private site (Tools – Export – All content) Import it on a new site created on the new network.
Of course you should never touch WP core. If your custom fields within your custom plugin – just add it 🙂 If you are talking about custom fields in native WP forms you should read about WP hooks mechanism.
Open the file “polldaddy.php” and look near the first few dozen lines for this: $this->is_admin = (bool) current_user_can( ‘manage_options’ ); Change that to $this->is_admin = (bool) current_user_can( ‘edit_posts’ ); That would in theory grant authors and above the same access as an admin – you have to test yourself to be sure. See the admin_menu() … Read more
You’ll need to combine some plugins and a couple of hooks. Apart from the role management, I’d recommend Adminimize: it’s quite powerful to clean up the dashboard based on user roles. And then: /** * When a registered user tries to visit a page for which he doesn’t have access, * i.e.: http:/example.com/wp-admin/plugins.php, * WordPress … Read more
The short answer: There is no way to share cookie/session info between different domains (this also includes subdomains). The long answer is, that in your special situation it is possible to build such a construct between to wordpress installs, but this will need some modifications and might impose some security concerns. As this is somehow … Read more
Integrating planning tools in wordpress
I have my LDAP issues as well. Can you check and see if its not a firewall issue? Usually LDAP directories are behind firewalls and you need to make sure that the connection between your WP and the LDAP directory is open. Also check for if the ldap directory needs to be connected over SSL.