Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12383
Latest: klumba
New This Month: 2
New This Week: 1
New Today: 1
Stats
Total Posts: 40254
Total Topics: 7090
Most Online Today: 112
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 53
Total: 53

Author Topic: [Mod]SMF2WPBridge - Wordpress Login Bridge  (Read 716 times)

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15123
    • View Profile
[Mod]SMF2WPBridge - Wordpress Login Bridge
« on: April 03, 2020, 11:37:44 am »
SMF2WPBridge - Wordpress Login Bridge



https://www.smfhacks.com/index.php?action=downloads;sa=view;down=228

SMF2WPBridge is a simple one way bridge from Simple Machine Forum to Wordpress.

This plugin will do these following tasks:

    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 https://wordpress.org/plugins/wp2smfbridge
Limitations

    SMF login with OpenID does not work

Install instructions

    Create a folder named SMF2WPBridge in your Packages folder
    Install with Admin > Package Manager

or

    Download from button "Download ZIP"
    Uncompress zip
    Zip the content of "SMF2WPBridge-master" folder to a new zip
    Upload and install with Admin > Package Manager,2
« Last Edit: April 15, 2020, 10:02:01 am by SMFHacks »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15123
    • View Profile
Re: [Mod]SMF2WPBridge - Wordpress Login Bridge
« Reply #1 on: April 03, 2020, 01:41:05 pm »
« Last Edit: April 03, 2020, 07:03:57 pm by SMFHacks »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15123
    • View Profile
Re: [Mod]SMF2WPBridge - Wordpress Login Bridge
« Reply #2 on: April 04, 2020, 07:16:59 pm »
Have sent the patched file to the original developer for the bridge to add support for SMF 2.0.16+
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Decent_946

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: [Mod]SMF2WPBridge - Wordpress Login Bridge
« Reply #3 on: April 09, 2020, 01:56:31 pm »
Have sent the patched file to the original developer for the bridge to add support for SMF 2.0.16+
Hi, Is it operational in 2.0.17 ? Cuz installing it broke my site.

Code: [Select]
Fatal error: Redefinition of parameter $memberName in /storage/ssd1/390/13123390/public_html/Sources/Subs-SMF2WP-User.php on line 98
« Last Edit: April 09, 2020, 02:28:48 pm by Decent_946 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15123
    • View Profile
Re: [Mod]SMF2WPBridge - Wordpress Login Bridge
« Reply #4 on: April 09, 2020, 02:15:41 pm »
Made a patch for it. Redownload latest.
Grab Subs-SMF2WP-User.php and copy to your sources folder to try
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Decent_946

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: [Mod]SMF2WPBridge - Wordpress Login Bridge
« Reply #5 on: April 09, 2020, 03:37:54 pm »
Made a patch for it. Redownload latest.
Grab Subs-SMF2WP-User.php and copy to your sources folder to try
It worked. Thank you! :)

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15123
    • View Profile
Re: [Mod]SMF2WPBridge - Wordpress Login Bridge
« Reply #6 on: April 10, 2020, 12:36:02 pm »
Fixes added!
And SMF 2.1.x support added
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline js

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [Mod]SMF2WPBridge - Wordpress Login Bridge
« Reply #7 on: April 22, 2020, 01:20:47 pm »
@SMFHacks

I came here to resolve this doubt. I think that properly configured two plugins: WP2SMFBridge, SMF2WPBridge - but there is a problem. When I log in to WP, I am logged in to SMF, but if I log into SMF first, I am not logged in to WP. What's wrong here?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15123
    • View Profile
Re: [Mod]SMF2WPBridge - Wordpress Login Bridge
« Reply #8 on: April 22, 2020, 01:24:25 pm »
Will have to look into maybe

First is the account the same on both. If you create one in smf and it creates in wordpress can you lgoin there.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline js

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [Mod]SMF2WPBridge - Wordpress Login Bridge
« Reply #9 on: April 22, 2020, 01:32:32 pm »
The account in WP and SMF has the same name and the same password.

Is this information: Your WP path is invalid! could not locate wp-config.php is generated automatically by checking if there is a connection to this file or is it just normal information? I am asking because this information is still displayed despite the fact that WP > SMF login is correct.

« Last Edit: April 22, 2020, 01:34:05 pm by js »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15123
    • View Profile
Re: [Mod]SMF2WPBridge - Wordpress Login Bridge
« Reply #10 on: April 22, 2020, 01:44:13 pm »
No you shouldn't see the WP path only if it does not exist make sure you have a / on the end

Code: [Select]
if (empty($modSettings['smf2wp_wp_path']) ||
!file_exists($modSettings['smf2wp_wp_path'] . 'wp-config.php'))
$config_vars[] = '<span style="color:#DF013A">' . $txt['smf2wp_error'] . '<span>';
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline js

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [Mod]SMF2WPBridge - Wordpress Login Bridge
« Reply #11 on: April 22, 2020, 01:55:57 pm »
Only this sign should be entered here?


Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15123
    • View Profile
Re: [Mod]SMF2WPBridge - Wordpress Login Bridge
« Reply #12 on: April 22, 2020, 02:00:09 pm »
No the full path like /home/public_html/wordpress/
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline js

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [Mod]SMF2WPBridge - Wordpress Login Bridge
« Reply #13 on: April 22, 2020, 02:09:16 pm »
I set this path: /websites/mydomain.pl/wordpress/ this information is still displayed: Your WP path is invalid! could not locate wp-config.php

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15123
    • View Profile
Re: [Mod]SMF2WPBridge - Wordpress Login Bridge
« Reply #14 on: April 22, 2020, 02:19:51 pm »
Might be a safe mode issue not sure. We just use a normal file_exists check
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
6255 Views
Last post December 02, 2006, 12:16:06 pm
by SMFHacks
2 Replies
3920 Views
Last post June 20, 2008, 02:10:19 am
by celdric
0 Replies
2317 Views
Last post October 14, 2009, 01:59:06 pm
by SMFHacks
8 Replies
3407 Views
Last post October 24, 2010, 03:22:02 pm
by David8
61 Replies
22676 Views
Last post December 13, 2010, 01:03:18 pm
by SMFHacks

+- Recent Topics

Moving pictures to another user personal gallery by Hatshepsut
August 10, 2020, 11:07:26 pm

Rebuild related images time too long by SMFHacks
August 09, 2020, 01:52:57 pm

Call to undefined function mysql_num_rows() by SMFHacks
July 30, 2020, 07:45:29 am

Problem with one videosite embedding by Hatshepsut
July 24, 2020, 01:25:08 am

Download System Lite by Rock Lee
June 03, 2020, 07:34:24 pm

Font question by SMFHacks
May 27, 2020, 08:15:26 am

Error message with latest SMF 2.1 Github build by Hatshepsut
May 25, 2020, 01:43:26 am

smfblog not working on 2.0.17 by tech9
May 20, 2020, 01:44:34 pm

Copyright removal by stbc
May 18, 2020, 01:27:57 am

Mod Verified User i can't square the image by Rock Lee
May 07, 2020, 07:56:10 pm

Powered by EzPortal