Currently the way their wordpress is set up is that they have two single sites: their main homepage and another page that they’ve installed an auction theme on. Both of these instances have their own databases.
What the website owner wants is to be able to take the information from one registration (user completed form) and send the information to BOTH of the databases.
I’ve sifted around the plugins for database controls for wordpress sites but have yet to find anything that seems like it would accomplish what my product owner would like to do. Since my knowledge of wordpress has been limited until this course, I’m wondering if someone else has a solution to this problem that I’ve been unable to locate. Whether that be a plugin that has already been created or the correct way to approach creating a plugin that has the proper functionality.
Additionally, my product owner is wary on going to a multisite design. A solution that can be used before going multisite would be preferred but if we have to go multisite to accomplish sending the information to both databases then we will.
]]>I use 2 WP systems, one with Membership Pro and one with WooCommerce.
Now I want to combine both systems but it doesn’t work when I want to login as admin:
“You do not have sufficient permissions to access this page.”
I added:
define('CUSTOM_USER_TABLE', 'wp_users');
define('CUSTOM_USER_META_TABLE', 'wp_usermeta');
And changed:
function _init_caps( $cap_key = '' ) {
global $wpdb;
if ( empty($cap_key) )
$this->cap_key = $this->cap_key = ‘wp_capabilities’;#$wpdb->prefix . 'capabilities';
In Capabilites!
What am I doing wrong?
And do you know if there’s a Paid Membership Pro bridge for merging 2 user databases (with WooCommerce)?
Thanks,
zero
I am trying to find a plugin that allows me to share the users between both without having to figure out how to share my database tables. I do know my database names though (barely lol)…
Does anyone know how to help me in a simple way? Everything I’m finding is about when there is a shared database.
]]>So I have two separate domain names, I created the first wp site and pointed it to the first domain, all is fine. Now I have created the second wp site and am attempting to point it to the second domain, but so far it’s pointing to the first as well.
I get the impression I need to make a change in the .httpd file, but don’t know what.
Help!
]]>I’ve seen this basic question asked before, but never answered.
I need to call WordPress-generated content on an external, non-Wordpress site. I’ve read the Codex entry on this backwards and forwards, and have added <?php require('/the/path/to/my/wp-blog-header.php'); ?>
to the header of the external page I want to embed WordPress content on.
Unfortunately, this immediately generates the famous “Error Connecting to Database” page. The thing is, my wp-config file is fine: In fact, the WordPress site itself loads fine. The database error only happens on the external page. I suspect there is some conflict happening between WordPress and the system powering the external site (the external pages are generated by a proprietary system using Smarty, with its own database. I didn’t make it and have little control over it).
Any ideas about what would cause this? If I can’t work it out, I’m going to be stuck calling the WordPress content in an iframe, which is extremely suboptimal.
Thanks in advance!
]]>I have one blog/domain with a hosting service and I would like to add a second one with another domain name with the same hosting provider.
1) I created the new MySQL DB
2) Created a new folder in the hosting root path
3) Copied WP 3.3 in that folder and modified the wp-config.php file accordingly.
From this point on, I am a little bit lost.
Could anyone provide some helpful info?
Thank you!
]]>This rant page is actually calls an entirely separate database used to store and retrieve the anonymous postings. All files required for this are included in the “Rant Board” directory (including its own header.php, functions.php, etc).
The rant board page script works fine until I try to incorporate “wp-blog-header.php” at the top of the index page. I’ve been told including this is how to get the header and footer from the wordpress install displayed on an external page. It displays the header correctly, but then the rest of the rant board index page is not displayed.
I believe this is because the wp-blog-header.php calls the wordpress config.php and sets the database connection and directory paths. This would throw the rest of the rant board php code off.
How would I set the page back to the rant board database settings? Is there a way around wp-blog-header resetting this information? Do you think the issue is elsewhere?
]]>