Wordpress Bridge - SMFBridge

Started by kaos1409, December 29, 2005, 06:53:13 PM

Previous topic - Next topic

clarkkent93

Quote from: kaos1409 on December 29, 2005, 06:53:13 PM
I've started work on a Wordpress plugin for SMF that will function as follows:

When you try to login from Wordpress, the script checks your wordpress login, if the user isn't in the database, it checks the SMF database using smf_api, if the user authenticates from there, that user is created in the wordpress users table, logged in with wordpress cookies and SMF cookies and ready to go to either the wordpress blog or SMF.

Following that, I'll develop a plugin for the SMF-side of the equation that will work similar magic on the SMF side in terms of authenticating against wordpress if the user doesn't exist in the SMF table, creating the SMF user in the wordpress database, setting the wordpress cookies and and we should be good to go.

If anyone would like to help out, please let me know, I'm having some trouble getting smf_api.php to work properly in Wordpress, it seems after its included, if any of its functions are called, I get a blank Wordpress screen.

Download the *not yet working* plugin file for Wordpress at http://www.christaggart.com/smf-wordpress-integration/



What's the status of this plugin?  I noticed that it's downloadable but is it workable?

Thanks!
SMF 1.1.6

rockgeek

Managed to integrate the two as I wanted now...

http://www.strictlyreading.co.uk/ - please can some test it  :P

Leave a comment to any of the posts please!

Fiery

Quote from: rockgeek on November 13, 2006, 04:25:01 PM
Managed to integrate the two as I wanted now...

http://www.strictlyreading.co.uk/ - please can some test it  :P

Leave a comment to any of the posts please!

I dont think the correct username is coming up.

clarkkent93

Quote from: kaos1409 on December 29, 2005, 06:53:13 PM
I've started work on a Wordpress plugin for SMF that will function as follows:

When you try to login from Wordpress, the script checks your wordpress login, if the user isn't in the database, it checks the SMF database using smf_api, if the user authenticates from there, that user is created in the wordpress users table, logged in with wordpress cookies and SMF cookies and ready to go to either the wordpress blog or SMF.

Following that, I'll develop a plugin for the SMF-side of the equation that will work similar magic on the SMF side in terms of authenticating against wordpress if the user doesn't exist in the SMF table, creating the SMF user in the wordpress database, setting the wordpress cookies and and we should be good to go.

If anyone would like to help out, please let me know, I'm having some trouble getting smf_api.php to work properly in Wordpress, it seems after its included, if any of its functions are called, I get a blank Wordpress screen.

Download the *not yet working* plugin file for Wordpress at http://www.christaggart.com/smf-wordpress-integration/



are you still working on this?
SMF 1.1.6

rockgeek

I have fixed it!

I stupidly set the guest username as "wordpress" only to register a member as "wordpress" and therefore the script wouldn't submit the form due to it seeing there was already someone called wordpress!

Should be ok now - he says hopefully!

JJ

clarkkent93

I really want to use SMF with my WordPress site that I'm testing right now.  I'm just hoping that the users that I already have located in SMF will be pulled into WordPress.

Is this even going to be a possibility in the near future?  I just don't want to have to go through the hassle of using another forum such as RS-Discuss since SMF beats it hands-down!  I'm just trying to keep it easy for my members.
SMF 1.1.6

elwebdude

Quote from: rockgeek on November 14, 2006, 03:05:04 AM
I have fixed it!

I stupidly set the guest username as "wordpress" only to register a member as "wordpress" and therefore the script wouldn't submit the form due to it seeing there was already someone called wordpress!

Should be ok now - he says hopefully!

JJ

rockgeek, Where can I download your code? I'll test :-)

rockgeek

Sorry for the delay!

What versions are you using of each software? Drop me an email rockgeek at strictlyreading dot co dot uk!

Thanks!

Minder

Can't you just put the code for several versions?
Let's say we're using latest WP and latest (1.1) SMF

RayCRP

Is kaos1409 still working on this? The LunarByte one doesn't quite do all I want it to do (which isn't a lot), but this one seems like it does...

Regardless, does anyone know if this or any other WordPress/SMF bridge can "sync" users after the site's been in use? For example, say I'm launching a site soon, and can't wait for kaos1409 to magically come back. Could I launch the site, have people register on our WordPress, and then using this bridge, or any other bridge, sync it later on when I apply the bridge, so all the WordPress accounts have respective SMF accounts created and linked?

I'd really like for this bridge to be finished, but I can't wait for that to happen to launch my site...

Mr. Doug

I think there are a lot of people that COULD make this mod...but don't have the time. That's how it is with a lot of free software. YOu usually have to rely on College kids that have a lot of free time to do them for a school project, or a resume.

That said...I'm waiting for it too.
--
Doug Hardman
doug (at) puttertalk (dot) com

rockgeek


rockgeek

Right - sorry for the delay. if anyone is interested havea  look at my Reading Festival 2007 site

It works well and I have had to tweak some stuff. I don't really post many things in wordpress - maybe 2/3 a day so some stuff is manual.

If I were to be honest, I regret the integration as seperate entities would have been much better but there ya go!

aglioeolio

http://www.strictlyreading.co.uk/

rockgeek I didnt find where it is integrated there ???

offtopic:
Did you removed the Copyright/link to SMF LLC in Forum?  >:(


rockgeek

Add a reply to a blog thingy - it adds it to the forum. The forums acts as the place comments are held.

SMdot™

Quote from: marcmesa on August 08, 2006, 08:26:11 PM
A beta wordpress plugin has been released a few days ago. In the next days/weeks i will give it a try.
More info at http://www.dmry.net/wordpress-smf-bridge-plugin-10-beta/

does anyone know of an existing stable SMF to Wordpress mod... I want wordpress to show up in smf not the other way around... if anyone knows how to make a wrapper (? called that in joomla) anyways that would be great.

perplexed

Quote from: kaos1409 on December 29, 2005, 06:53:13 PM
I've started work on a Wordpress plugin for SMF that will function as follows:

When you try to login from Wordpress, the script checks your wordpress login, if the user isn't in the database, it checks the SMF database using smf_api, if the user authenticates from there, that user is created in the wordpress users table, logged in with wordpress cookies and SMF cookies and ready to go to either the wordpress blog or SMF.

Following that, I'll develop a plugin for the SMF-side of the equation that will work similar magic on the SMF side in terms of authenticating against wordpress if the user doesn't exist in the SMF table, creating the SMF user in the wordpress database, setting the wordpress cookies and and we should be good to go.

If anyone would like to help out, please let me know, I'm having some trouble getting smf_api.php to work properly in Wordpress, it seems after its included, if any of its functions are called, I get a blank Wordpress screen.

Download the *not yet working* plugin file for Wordpress at http://www.christaggart.com/smf-wordpress-integration/


I would be interested to know if this particular bridge by the thread starter is being worked on/finished/working etc

I don't want one connected to another portal, thanks

Also there seems to be issues with the other bridge, so it is this one I am interested in

any updates?

His blog is here http://www.christaggart.com/smf-wordpress-integration/

RoarinRow

This is something I would be interested in too.  Hate having to have two separate member databases   :o

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

jjgallow

I've been working on DMRY's wordpress plugin (smf bridge), and you can definitely use the same user database with it.

Personally, I'd want SMF and Wordpress to each have their own database, and you can do that with it too.  It simply registers/modifies users into both databases.

Either way, I've removed many of the bugs and added an admin panel to configure the plugin from.

You can get it here:
http://www.earthorbit.com/opensource/

And original author's site here:
http://www.simplemachines.org/community/index.php?topic=161671.0

It works really well registering and modifying users From wordpress to SMF.

It does not work from smf to wordpress, although I am not sure this is always necessary.  It is quite easy to simply disable forum registration, and direct everyone to the wordpress registration.

In any case, please do let me know how the plugin works for you.  I would like to get it to the point of being "stable", and I think it is close.

Once there, by all means, I would like to work on more features such as:

- an SMF plugin to work back to wordpress,
- a user-database converter so those with working sites can switch to it ( I definitely want it stable before even introducing such a feature)
-theme integration
-other integration options (dmry's script already has some of these, although they may need work)

joybreezy

wow.. ok.. im new to this but let me understand.. or tell me if I am understanding this correctly.. I can run SMF and Wordpress Blog simultaneously for my users using this SMF Bridge?

Advertisement: