Separate forums sharing some tables

Started by Alein_Atryda_III, February 19, 2006, 08:24:49 PM

Previous topic - Next topic

Alein_Atryda_III

I know this topic was touched few times before, but it was concerning older versions of SMF and I didn't find answer to my question.

I did make 2 forums that are sharing some of the tables and almost everything works. But there is 1 problems that I got onto:(

When I register a member on forum 'A' current number of members doesn't increase on forum 'B'.

Before it would be solved by

Quote from: [Unknown] on October 31, 2004, 05:41:46 AM
Find, Sources/Subs.php:

updateSettings(array(
'latestMember' => $latestmember,
'latestRealName' => $latestRealName,
'memberCount' => $memberCount,
'unapprovedMembers' => $unapprovedCount
));


Replace:
db_query("
REPLACE INTO prefix1_settings
VALUES ('latestMember', '$latestmember'),
('latestRealName', '$latestRealName'),
('memberCount', '$memberCount'),
('unapprovedMembers', '$unapprovedCount')", __FILE__, __LINE__);

db_query("
REPLACE INTO prefix2_settings
VALUES ('latestMember', '$latestmember'),
('latestRealName', '$latestRealName'),
('memberCount', '$memberCount'),
('unapprovedMembers', '$unapprovedCount')", __FILE__, __LINE__);


-[Unknown]
But I didn't find that in 1.1RC2 subs.php:( What should be edited in this version?

I found a mod for that thing too but it was for older version too... If my question was answered somewhere and only blind wouldn't find it then OK, I'm blind(my friends always tell me that XD)

manuelap

I am looking for an answer to exactly the same question, so anyone who knows the trick.. Please share it with us...  ;)

Greetings, Manuela

Advertisement: