I've read this thread 4 times, all 4 pages & I can't seem to get the slave board to grab anything from the main.
The main forum has no prefix in it's tables so I have used the following:
Code:
$shared_tables = Array("user","useractivation","userban","usertitle","userchangelog","usertextfield","userfield","usergroup","userlist","usernote","profilevisitor","reputation","reputationlevel","spamlog","strikes","pm","pmreceipt","pmtext","avatar","profilefield");
$main_prefix = "";
foreach ($shared_tables as $shared_table)
{
$orig = TABLE_PREFIX.$shared_table;
$dst = $main_prefix.$shared_table;
$this->sql = str_replace($orig." ",$dst." " ,$this->sql);
$this->sql = str_replace($orig.".",$dst."." ,$this->sql);
$this->sql = str_replace($orig."\r",$dst."\r",$this->sql);
$this->sql = str_replace($orig."\n",$dst."\n",$this->sql);
$this->sql = str_replace($orig."\t",$dst."\t",$this->sql);
$main_prefix = "";
I also tried
$main_prefix = ".";
&
$main_prefix = " ";
The new forum has yf_ as prefix which I had entered into the config.php before install.
Same database.
Is there a setting within the config.php that could be affecting the class_core.php mod?
I'm refreshing the member list on the new forum to check it's working. I should see it go from 1 member to 12,447 members to mirror the main forum right?