SMF to SMF membership data bridge mod?

Started by MCK, January 31, 2011, 10:02:44 PM

Previous topic - Next topic

MCK

Hi everyone. I have 2 forums which I'd like to keep separate for branding and the different focus they offer but would like to get them to share membership data if possible. I'm finding that many of my members on one of these forums also join the other one and hence duplicate work for them. I also have to do duplicate work managing both forums membership for spammers etc. Wouldn't it be nice if there was a simple way to get them to share?

I searched high & low and came across some mysql tweaks to trick the forums to use the same backend but even that thread seems to have gone cold over time so I don't think the suggestions are up to date for RC4. I'm wondering if there is a mod out there for RC4 that I'm missing which will help me do what I'm hoping to do.

If no mods exist then would there be interest for a paid effort? I'm happy to pay a reasonable amount for a solution to this need. Thanks for reading. All the best

MCK

Any ideas? I appreciate any and all help you might be able to offer on this. Thank you.

baracudda

I think you can accomplish what you need by using the integration hooks.
See http://www.simplemachines.org/community/index.php?topic=173483.0

Just use the register/delete/change data hooks to copy data from one forum's db to the other.

MCK

Thanks for the guidance. My preference is to get the two to use 1 db rather than 2 for the membership data. I don't want to have to administer and sift through 2 sets of membership data for spammers etc. I know this would be possible by tweaking the backend and one of the forums using some manual instructions posted in the past but I was hoping there would be a mod or something like that to make it easier. Can't believe this is not something that others want too. Anyways, I'll sit tight for a while and hope someone pops up with a solution. Thanks much!

baracudda

Separating out the member part of the db with the forum part would be a major PITA, imo.  Since you want the boards to be separate, you're going to have to live with two databases anyway.  A bridge with hooks to copy the membership data between them would be seamless and feasible in the short run.

> I don't want to have to administer and sift through 2 sets of membership data for spammers etc.
That's the point of the bridge using integration hooks to copy/modify membership data between the two databases.  You only have to manage one and anything you do in one is reflected in the other.

MCK

Thanks for your suggestion. I understand and agree. This approach also allows me to easily stop the membership data sharing. I have no idea how to go about programming the hooks though. I hope someone who is more capable than I am takes this on as an interesting mod idea. Thanks for listening

Aleksi "Lex" Kilpinen

I believe there is actually a topic somewhere in tips and tricks about sharing userdata between two SMF installs on the same server, if I remember correctly it was basically done by editing one of the installs to call member data from the other one's database specifically.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

MCK

Thanks. I saw that post but the discussion was abandoned a while back and now the integration hooks seems to be the way to go.

Advertisement: