How can I create a custom plugin to call webapi after user registration?
How can I create a custom plugin to call webapi after user registration?
How can I create a custom plugin to call webapi after user registration?
There is a plugin Mage Enabler http://wordpress.org/extend/plugins/mage-enabler/ which makes Magento session available to WordPress, it’s probably a good place to start. The author has written a couple of good posts on his blog detailing integrating the two.
I believe this is due to WordPress already seeing an admin user in the global user table, so on install, it won’t show a spot for a username. I was actually just messing with this exact same setup, and came across the same issue. If these are two both brand new site setups, you could … Read more
One login for 3 WordPress installations with combined user table doesn’t work
Rather than post this as a bunch of comments, I’m going to make this an answer. Your requirements/questions: to Have a Super admin that has access across all wp sites. That’s a hallmark of Multisite. to use both, subdomains and subfolders, in the chosen setup (see example above). You can accomplish this with something like … Read more
After writing those two lines in wp-config.php, your users data will be shared between both installations, but both installations will also need to have the same cookie parameters, so in wp-config.php file of your second installation, modify the COOKIE_DOMAIN like this: define(‘COOKIE_DOMAIN’, ‘.{yoursite.com}’); //replace with URL of first site define(‘COOKIEPATH’, “https://wordpress.stackexchange.com/”);
I want to use same user and user meta for all site meaning that everysite will use same usermeta capabilities it will be more useful for me because I want to use mycred plugin and I don’t want any issues** ( More Useful ) This is the crux of the problem, specifically: everysite will use … Read more
I realized that all you have to do is find where the database is returned (in my case it is wp-init.php) and change the prefix to reflect the shared database: $wpdb->prefix=”wp_”;
This seems pretty tricky and it depends very much on your needs. You could either alter the WP database on each install or make 1 3rd party database along with a script that registers them on the WP install and sets their permissions. The 2nd solutions seems better for me. Create a database where you … Read more
See my answer on this exact problem. Long story short, you also need to define COOKIEHASH, otherwise the login cookie names will be different for each site: define( ‘COOKIEHASH’, ‘randomhash’ ); Make sure to change randomhash to a real hash, you can grab one here.