Link to the mod (https://custom.simplemachines.org/index.php?mod=4256)
SMF2WPBridge
DSR! (https://github.com/xchwarze)
For SMF 2.0.x
Description
Login bridge for use WP with SMF
Features
- If a user log in SMF, then that user will be logged in WP
- If a user logout in SMF, then that user will be logout in WP
- If a user created/register/change password in SMF, those actions happen on WP!
- Users that are created in WP can be used once disabled SMF plugin
- For integrate old users send password in login page!
- For upgrade SMF2WPBridge version unistall first
- For a full way integration use with WP2SMFBridge plugin:
https://github.com/xchwarze/WP2SMFBridge
Limitations
- SMF login with OpenID does not work
Installation
Simply install it via package manager.
Administration
After install you can access it through Admin Panel
- For SMF 2.0 Go to:
Admin -> Configuration -> Modification Settings -> SMF2WPBridge
License
GNU/GPL: http://www.gnu.org/copyleft/gpl.html
Nice one bruh!
DSR !original made but never got approved on mod site. I have updated and posted with permission from him and pushed the changes back to github.
There are two parts SMF to worpdress and then another addon for Worpdress to SMF.
We needed to have a goto worpress integration here.
About 10-12 years ago someone made a bridge. I dont remember who or if it was even on here on the modsite. It worked logging in on both places but it was flawed. Very cool of you doing this. I've seen the recent posts about dual logins lately.
Have more time working at home than the office. So doing some fun projects here and there. Recoded some parts of an RPG game I used to help run/contribute to, so staying busy
Good job is something lately they ask a lot I have seen although wp I do not like much for the format uses... I guess I'm becoming a hermit over the years ::).
Regards!
Great work man! :)
@vbgamer45
Thank you for this login bridge. Please add a Polish translation to this modification. :)
Done added the translation.
vbgamer, dude... thank you!
I had actually been considering resurrecting the old SMF <-> WP bridge, especially since I now do WordPress as a (current) career... this takes that task off my plate!
Really appreciate this, my guy!
Glad to help. Be sure to grab both parts SMF TO WP and WP TO SMF. I used to remember a lot of bridges for SMF trying to bring some back as I find them.
Actually, we want it to be just one direction (SMF -> WP) for Fractured. ;)
I just have to wait for 2.1 to reach RC3 status, first.
Hello,
Would this mod work if I want to prevent anyone who isn't in my SMF from seeing my WP content?
Could be if you setup the permissions on the wordpress side based on membergroup
Quote from: vbgamer45 on December 16, 2021, 06:01:51 PMCould be if you setup the permissions on the wordpress side based on membergroup
Looking into that. Thanks. Also, i cant get the path to recognize.
I have it installed in www.mydomain.com/public_html/mySMFdomain.com/content/wp-config.php but it's not taking any permutation of the url
I already had SMF at the root of the "smfDomain" so I put wp in a folder called content.
It should be a local file path not a web url for the path
Quote from: vbgamer45 on December 16, 2021, 10:41:50 PMIt should be a local file path not a web url for the path
yeah, tried that too.
/home/www/public_html/mySMFdomain/content/wp-config.php
more likely, it should be something like that....
try this
create a file mydir.php
put this in it
<?php
echo dirname(__FILE__);
?>
Quote from: Kindred on December 17, 2021, 08:46:47 AM/home/www/public_html/mySMFdomain/content/wp-config.php
more likely, it should be something like that....
try this
create a file mydir.php
put this in it
<?php
echo dirname(__FILE__);
?>
Haaa. elegant. I had been using the changepermissions right-click in cPanel because it gave a path to the file you were about to modify.
Much thanks.
Quote from: vbgamer45 on December 16, 2021, 06:01:51 PMCould be if you setup the permissions on the wordpress side based on membergroup
Do you have any guidance on setting up permissions? This is the first time I've tried anything like this.
Myself no. Haven't used it in an actual normal environment. I mainly updated the mod so it could work on newer versions of SMF.
Quote from: vbgamer45 on December 29, 2021, 01:46:03 PMMyself no. Haven't used it in an actual normal environment. I mainly updated the mod so it could work on newer versions of SMF.
Well, how does it work in a normal environment? I can start there. I've got a few WP pages of content I'd like accessible from the smf.
I don't know any of the steps to use this.