News:

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

Main Menu

Wordpress 3.0+ User Integration

Started by SlammedDime, May 19, 2011, 06:54:29 PM

Previous topic - Next topic

SlammedDime

SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Heeks

...but this group MUST be his Primary Membergroup, otherwise it doesn't work, right ?

SlammedDime

SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Eudemon

so you're saying primary group changes from one to another currently won't automatic update in wp right?

R-one

Currently no need to use this mod.
But wanted to chime in and congratulate you on your good work and effort.

A couple of years ago when I was searching high and low for ANY sort of quality SMF-CMS bridge/integration.. there was really nothing much around.

I'll be keeping an eye on this project. Might inspire me to create a reason to use it.

SlammedDime

Quote from: Eudemon on June 07, 2011, 01:19:04 AM
so you're saying primary group changes from one to another currently won't automatic update in wp right?
No... if you change their primary group, it will update in Wordpress if necessary.  What won't happen is if you change the mapping, nothing automatically happens to the users.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Heeks

Hmmm...

When i affect the group i made ( called "newsers" on SMF, mapped as Author on WP) as his primary group : it works fine.

If i affect the same user the group called "moderators" (for example) AND tick the box for "Newsers" group as secondary group, it doesn't work.


SlammedDime

It won't work for secondary groups.  It will only work for primary groups.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Heeks

Thx for your answers.

And MANY thx for your work.

Eudemon

Quote from: SlammedDime on June 07, 2011, 09:24:24 AM
No... if you change their primary group, it will update in Wordpress if necessary.  What won't happen is if you change the mapping, nothing automatically happens to the users.

can you explain about the wp mapping?
i have wordpress site but i'm not familiar with it

Heeks

It's in SMF :

You can choose which SMF group = WP group , for example you can assign all your SMF "moderators" to the "Authors" group in WP.


Eudemon

oh it's one of this mod's setting... no wonder why

thx

Vitti

So I had this installed on a sub domain and it worked great.  Then I moved the files to the root directory.  I fixed all the SMF/Wordpress paths and both SMF and Wordpress are running fine, but when I login to SMF, it no longer logs me into Wordpress.  The bridge says it is installed and it appears that the users are still getting added to my Wordpress users table.

Is there a session or cookie that is not working here?  What tells Wordpress that they are logged in from SMF?

Thanks.

SlammedDime

This mod sets a wordpress cookie that tells wordpress they person has logged in.  Make sure both your Wordpress URL and Site URL are correct in wordpress.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Eudemon

just a question, can't test it until i move my host
if i have both smf wp at subdomains like
forum.sample.com
blog.sample.com
will this mod work?

SlammedDime

I don't believe it will work right now.  I think a bug I haven't taken care of is that the wordpress cookie needs to be set on the whole domain, not just a sub, to work properly, and that isn't happening right now.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Eudemon

so the only solution right now is putting them all into folders?

hope you can get this fixed soon

NP90

This looks like it is the answer to all of my prayers, I really needed something like this for my site! Only just adopted SMF on my dev site and would love to be able to integrate with WP. This means I'm on the new SMF 2.0 though, will it be compatible soon?

Thanks again developer, expect a heap of donations if it all works out right! :)

Heeks


SlammedDime

Since it only uses SMF's hooks and makes no code changes to SMF, and I know of no hooks that have been altered or removed that are used by this mod, it should still work as expected on 2.0 Final.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Advertisement: