News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SMF & WordPress

Started by Stixsmaster, March 31, 2007, 08:15:55 PM

Previous topic - Next topic

jjgallow

Quote from: RoarinRow on July 06, 2007, 10:27:29 AM
Looks like some great progress here.  Looking forward with the next iteration for the twin plug in for SMF, where all my users are   8)

Thanks Roarin Row, coming soon!

cheers

jjgallow

Quote from: GLMontyWV on July 09, 2007, 01:34:30 PM
Can anyone who has installed this please post a link to their forum?  Would love to take a look at this installed and running.  Thanks!  Monty

I second that motion!  I have become so involved in this bridge code that I haven't even begun to develop my site.  It would be very inspiring, and helpful for sure, to see it in action.

mpMS

Quote from: jjgallow on July 09, 2007, 07:05:54 PM
hello mpMS,

first of all, did you get everything sorted out?  I'm assuming your upgrade solved the problem?

Sorry I have not answered your question yet.   VERY busy on this twin plugin, but almost done.  If you have WP_SMF Version 1.05 (or higher),  all you do is go to the Bridge Admin panel and there should be a button called "Integrate Previous Users".

Backup your database for precaution, then click on the button. You're done!   (yes, it WILL integrate your SMF users into wordpress for you)

As for manually creating a Wordpress account for them, this is not necessary and not recommended.    The bridge will not know what to do for this.  As a security precaution, it only integrates users with the same password.  Since you set them up, the passwords will be different and the bridge will not dare integrate them.

If you've already done this, here is my recommendation:

1.  Go into the Plugins Panel and Deactivate WP_SMF  (VERY IMPORTANT!)

2.  Delete all the user accounts in Wordpress that you created, unless they are active and have the same password as in the SMF account.
**********NOTE!  If you didn't deactivate WP_SMF, then it will be trying to delete these users in SMF!  Since it can tell they're bogus, it probably won't...but Deactivate it anyway.

3.  Re-Activate WP_SMF

4.  Backup your Databases

5.  Go to the WP_SMF panel, and Click on 'Integrate Previous Users'

Problem solved.  All your SMF users can now log into Wordpress.  Previous Wordpress users, and previous Dual users (with the same password) will also be integrated.




Delete all users on WP? What if I will copy user password from WP to SMF, can I avoid deleting WP users? Also, what WP Role that will be set upon integration?

shortyb

#63
I turned WP registration on so people here could test it!! Register [nofollow]
SMF info in WP: http://loadedgamer.com/forumstats/ [nofollow]
Forum: http://loadedgamer.com/forum/ [nofollow]

While the formating and some the info is wrong in the php code that displays post stats (I will try to look at some of the display stuff to see if I cant help out) The rest of the login/bridge stuff does work!  I do not however use WP registration. As an admin I have added users into WP and it creates the SMF login just fine.

This bridge works! it just needs some good polishing (thank goodness for JJ)

P.S. Hey gamers register for the site!  Help us become a laid back place for gamers of all styles.

greynor

hxxp:www.blackeye.org [nonactive] blog
www.couch-fiction.org/smf/ forum

jjgallow

Hello mpMS,

The default role is subscriber when you integrate SMF users.  Those who need more authority can be modified later.

As for deleting users, you don't have to delete "ALL" WP users!  Only the ones that you created by accident, that are not being used.

If a Wordpress user account is being used, by all means leave it alone.  WP_SMF should sort through it.

But to answer your question, copying the password would also work....but there should be no need  :)

jjgallow

Thats a Really nice site, shortyb!

I'll tack your comments onto my list of things to do down the road here.  Almost done this twin plugin.

You have some serious design talent!

jjgallow

great workaround, greynor!

great blogsite too!  I feel like I'm seeing the future of websites with these examples.  It's very encouraging to see the talent that's onboard with this.

shortyb

Quote from: jjgallow on July 10, 2007, 01:25:07 PM
Thats a Really nice site, shortyb!

I'll tack your comments onto my list of things to do down the road here.  Almost done this twin plugin.

You have some serious design talent!

Thanks man its SO nice to hear those words makes all the work worth it! This is one of my first true CSS based layouts I have done. Its been about 4 years since I have been into webdesign. I used to make some mean table based layouts though, but alas the standard has changed so much I feel like a noob. Now if I could just get some traffic to the site haha.

I am trying to work on the php display codes that output forum info. Any work I get done I will of course pass it on to be added to this bridge.

mpMS

I have downloaded WP_SMF v 1.05 but it seems it doesnt integrate with WP. My WP version is WP 2.2.1 and SMF v 1.1.3.  As indicated on my previous post, I have the following path:

/var/www/blog - for Wordpress
/var/www/forum - for SMF

I have tried logging on to Wordpress and tried to visit the forum and it indicates that I am a guest.

I have already change the WP Plugin to path the SMF folder  to indicated path, integrate the users without the problem. I have browsed the database and found additional table on WP for user integration. Any other support here?

jjgallow

Hello mpMS,

Sorry to hear that you are having so much trouble.

Your SMF and WP versions should be fine.

Did you convert to UTF-8?

(SMF is not UTF-8 by default, although many choose it in installation)

mpMS

Quote from: jjgallow on July 11, 2007, 04:22:02 PM
Hello mpMS,

Sorry to hear that you are having so much trouble.

Your SMF and WP versions should be fine.

Did you convert to UTF-8?

(SMF is not UTF-8 by default, although many choose it in installation)

I think I've already did it (Under Forum Maintenance) I have also do the Convert HTML-entities to UTF-8 characters.

Hope you might help.

greynor

I changed something that really bothered me and the members of my site:

in wp_smf.php i changed

$len = 3600;
into
$len = 3600*3600;

Before the login lasted only one hour (3600 sec), now 3600 hours.. It was quite painful to click on "login" on the forum, and getting redirected from wordpress immediatly because in wp you still are logged in and just the smf cookie got refreshed.

It's a workaround that's fine for me, I don't know if anyone else wants to use it.

jjgallow

Hello mpMS,

It seems like you should be ok.   What happens when you try and register a new user in Wordpress now?  Do they show up in SMF?  Can they log in?

If you can clarify what part of the program isn't working, I'll do what I can  :)

Quote from: mpMS on July 11, 2007, 08:40:53 PM
Quote from: jjgallow on July 11, 2007, 04:22:02 PM
Hello mpMS,

Sorry to hear that you are having so much trouble.

Your SMF and WP versions should be fine.

Did you convert to UTF-8?

(SMF is not UTF-8 by default, although many choose it in installation)

I think I've already did it (Under Forum Maintenance) I have also do the Convert HTML-entities to UTF-8 characters.

Hope you might help.

jjgallow

Hello greynor,

Makes sense to me.  I really appreciate your help!  I've made the change in Version 1.06, which I will make available shortly.  It will also come with a twin plugin.

My knowledge of cookies is very weak, so I'm not surprised there was a problem here (and I wasn't the one who wrote that part).   Until I have a reason to use something else that works, I'm going with your code.

cheers  :)

Quote from: greynor on July 12, 2007, 03:54:38 AM
I changed something that really bothered me and the members of my site:

in wp_smf.php i changed

$len = 3600;
into
$len = 3600*3600;

Before the login lasted only one hour (3600 sec), now 3600 hours.. It was quite painful to click on "login" on the forum, and getting redirected from wordpress immediatly because in wp you still are logged in and just the smf cookie got refreshed.

It's a workaround that's fine for me, I don't know if anyone else wants to use it.

jjgallow

mmPS,

I'm almost certain I know what your problem is now, and thank you for pointing it out.  It was very important.

I have fixed it, and included it in WP_SMF 1.06.  All you need to do is upgrade, and you should be fine.  I will be releasing it shortly.

Please let me know how it goes!

cheers

mpMS

Quote from: jjgallow on July 12, 2007, 05:50:40 PM
mmPS,

I'm almost certain I know what your problem is now, and thank you for pointing it out.  It was very important.

I have fixed it, and included it in WP_SMF 1.06.  All you need to do is upgrade, and you should be fine.  I will be releasing it shortly.

Please let me know how it goes!

cheers

Please PM me so I may know if WP_SMF 1.06 is released.

greynor

heyas jjgallow

could you please post something like a to-do list or a feature list of your releases? i haven't found anything about what has been changed. would be a great help

jjgallow

Hello Greynor,

Aside from bug fixes:

V 1.05 was the first version to integrate previous users into the bridge.

V1.06 will be the first version that works with a Twin Plugin in SMF.
             This means it will be able to integrate in both directions.  You can register your users on either system.  Same with password resets, etc.  it will basically be the bridge most SMF sites are waiting for.

****I will be taking a break here.....I am very tired.  Please do post problems and ideas, though.  I may not answer right away, but I will.

V1.07 Will be bug fixes, and cleanup of code.  I am about to release 1.06, and it is has been a LOT of work.   The code looks a bit like a war zone, and it was.  There will need to be some "consolidation" to move forward.

From here, user integration will be completed.  For future versions, I will work on:

-Site Integration  (to more easily meld the two interfaces)

-Suggestions on this thread, Readmes, Instructions, etc.

-Compatibility  (Ie., more work on non-UTF-8 encoded sites, etc.)
            -More testing with TinyPortal
            -More testing with WPMU.  There is a lot of potential here.
           -More testing with other portals, such as Mambo and Joomla.

*  Why test with other portals like Mambo and Joomla?  Because this bridge lets SMF and Wordpress operate independantly, which means either one (or both) may be theoretically tied into a separate portal, opening the door up to an incredible combination of integrations.


mpMS

#79
Quote from: jjgallow on July 13, 2007, 04:07:39 PM
Hello Greynor,

Aside from bug fixes:

V 1.05 was the first version to integrate previous users into the bridge.

V1.06 will be the first version that works with a Twin Plugin in SMF.
             This means it will be able to integrate in both directions.  You can register your users on either system.  Same with password resets, etc.  it will basically be the bridge most SMF sites are waiting for.

****I will be taking a break here.....I am very tired.  Please do post problems and ideas, though.  I may not answer right away, but I will.

V1.07 Will be bug fixes, and cleanup of code.  I am about to release 1.06, and it is has been a LOT of work.   The code looks a bit like a war zone, and it was.  There will need to be some "consolidation" to move forward.

From here, user integration will be completed.  For future versions, I will work on:

-Site Integration  (to more easily meld the two interfaces)

-Suggestions on this thread, Readmes, Instructions, etc.

-Compatibility  (Ie., more work on non-UTF-8 encoded sites, etc.)
            -More testing with TinyPortal
            -More testing with WPMU.  There is a lot of potential here.
           -More testing with other portals, such as Mambo and Joomla.

*  Why test with other portals like Mambo and Joomla?  Because this bridge lets SMF and Wordpress operate independantly, which means either one (or both) may be theoretically tied into a separate portal, opening the door up to an incredible combination of integrations.


Hi jj,

Good news!!!  ;D I have successfully integrate WP with SMF thru WP_SMF 1.06 you've made. Here is my observation:

QuoteAfter the activation of plugin, I have tried logging on from WP and visited the SMF and found that I am logged on automatically. When I logged out from WP and visited SMF, I am also logged out from SMF.

When logging on from SMF, and visited WP, account was not logged on.

Upon integration, noticed that all SMF users will have author role on WP which I would suggest to mark them as subscriber.

Nice effort youve make jj. Just a little more, you will almost perfect WP and SMF integration!!!

Congratulations and more power

Advertisement: