neil-t
Forum Replies Created
-
Forum: Plugins
In reply to: WordPress 2.5 Share users tableHi All
As usual I’ve been impatient and jumped staright in to uploading 2.7 to all my blogs and now none of them work. They used to all share the same tables except the options table.
Does anyone know how to make this work in 2.7 ?
Thanks
Forum: Plugins
In reply to: WordPress 2.5 Share users tableYou my friend, are an absolute genius !
I put that code in a plugin file, uploaded, activated and hey presto……….My 500 + articles from my other site appeared.
Love it, thanks and get well soon ??
Forum: Plugins
In reply to: WordPress 2.5 Share users tableHi All
Thank you for all you comments here as they do help me to understand what wp is doing and how to update it.
I’ve followed the steps above but still get the ‘You do not have sufficient permissions to access this page.’ on site number 2 !
I’ve added the following to the wp-config file from poppacket
define(‘CUSTOM_USER_TABLE’, ‘wp_users’);
define(‘CUSTOM_USER_META_TABLE’, ‘wp_usermeta’);As per MarsChelios comments I have also added
define(‘CUSTOM_CAPABILITIES_PREFIX’, ‘wp_’);
and in capabilities.php I have changed
$this->cap_key = $wpdb->prefix . ‘capabilities’;
to
if (defined (‘CUSTOM_CAPABILITES_PREFIX’)) {
$this->cap_key = CUSTOM_CAPABILITES_PREFIX . ‘capabilities’;
}
else {
$this->cap_key = $wpdb->prefix . ‘capabilities’;
}but still I get ‘You do not have sufficient permissions to access this page.’ Can someone please tell me what I’m doing wrong here ?
In addition I want to share all the tables from my main site (excluding options) on site 2. I know I may have duplicate content issues on the search engines but I’m not that bothered about that.
Please help if you can, thanks