I'm back with good news
I have a demo ready on
http://www.hex.ro/forum
- Create an account on the forum (no email approval is required)
- Then click the Pligg link found on the upper right side.
You should be automatically logged into Pligg (that means your account was already set up and cookie added).
Code is in alpha stage:
a) Creates a user on Pligg when a user is registering on SMF.
b) Automatically logs the user in Pligg when the user does login into SMF.
c) Can copy users from SMF to Pligg -> the key (unique) is conisdered the member name. If you redecide to copy users from SMF again, the Pligg accounts are updated.
There's more to be done:
a) when the email/password get changed on the SMF -> update Pligg db. Also on accounts deletions on SMF as well as accounts activations.
b) Pligg's cookie lifetime is session length.. need to make it as the long as the SMF one.
c) Make a mod for Pligg too (right now I had to manually patch the code).
d) Implementing Single Sign On for Pligg too (as if the user first logs into Pligg, it will automatically be logged onto SMF).
This bridge is more difficult than I've initially thought
If you guys test it, please let me know what other functionality the bridge should offer - as it might be easier for me to know them before I complete the code it will become increasingly difficult to change.
I cannot offer a download yet...
Pligg licensing requires me to also provide the sources I changed.. I don't have them ready (I mean I add things as I add functionality) so I'll only offer a download when I'll have the Pligg's bridge package ready.
Here's how the "Copy User" interface looks like so far:
http://www.hex.ro/images/pligg/insert.png