News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Wordpress 3.0+ User Integration

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

Previous topic - Next topic

Jesna

Hey

I have installed the mod fine and it seems like most of it is working.

But one big thing isnt working. The users arent logged in to my wordpress. The users are created in wordpress after logged in to smf so thats working

I cant find any erros so any idea what wrong?

/Jakob

rishab555555

I installed wordpress bridge in smf 2.0 with ease...

But now i am facing a problem :(

When i go to www.heyrtu.com where my wordpress is installed and press login , i am re-directed to forum and then get this error displayed on the top of my forum's homepage.


Warning: parse_url(/wp-login.php?redirect_to=http://www.heyrtu.com) [function.parse-url]: Unable to parse URL in /home/wwwheyrt/public_html/forum/Sources/WordpressBridge.php on line 159



Also i want that : The user shall be re-directed to my wordpress after login ,and login to be done from wordpress only without re-direction to forum...How shall i do that ?

rishab555555


SlammedDime

Check the couple of lines added to wp-login.php and make sure your full forum URL is in the redirect call.

The user should be redirected back to wordpress after logging in, and logging in *cannot* be done through Wordpress.  This is a SMF mod only.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

rishab555555

Can you please elaborate ? I did'nt understand which lines are you talking about ?

SlammedDime

At the very top of wp-login.php, a couple of lines were added that redirect someone to SMF.  They should be obvious by looking at the file.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

rishab555555

#126
Okay , i got those lines and got that error removed !
But what is this ???????

The bridge has almost become of no use.

When i login to wordpress through smf , it logs in but when i signout of smf , i am not being signed out of wordpresss !!!!!


Please help :(

rishab555555


SlammedDime

Would need a link to your site and an account to test with to see what's going on.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

rishab555555

Link to my wordpress installation : www.heyrtu.com

Link to my SMF Forum:www.heyrtu.com/forum

I have made a test account for you to test it and sending you the details via PM.

My forums login link is : http://www.heyrtu.com/forum/index.php?action=login


The top lines you were mentioning to me for checking are as :

require( dirname(__FILE__) . '/wp-load.php' );

wp_redirect('http://www.heyrtu.com/forum/index.php?fromWp='; . time() . '&url=' . $_SERVER['REQUEST_URI'], 302);
exit();



Now please tell me what shall i do ?

When i use this , i am logged in to both SMF and Wordpress at a time and logged out at same time but get the error
QuoteWarning: parse_url(/wp-login.php?redirect_to=http://www.heyrtu.com) [function.parse-url]: Unable to parse URL in /home/wwwheyrt/public_html/forum/Sources/WordpressBridge.php on line 159


See this line :
Quotewp_redirect('http://www.heyrtu.com/forum/index.php?fromWp='; . time() . '&url=' . $_SERVER['REQUEST_URI'], 302);

Whenever i do a single change in this url  , i get the error removed but the bridge doesn't works any more.

So please tell me what to do>

rishab555555

Alasss ! I should have chose some premium software :(


BUMP :-\

Raice

Hello, first, thanks for great mod! Second - I can't get it work.

Software: Fresh install WordPress 3.2.1 + SMF 2.0
SMF in subfolder of WP install (site.com/forum)

Problem: cannot log in to wordpress. When I click "login" on WP site, it redirects me to SMF login form, but after successful login to SMF - there is no redirect back to WP site and WP shows that there is no user logged in.
When I try to use hxxp:site.com/wp-admin [nonactive] - it redirects me to back to SMF.

What am I doing wrong?

All Colours Sam

rishab555555  give the mod author some break.....  he cannot possible be here all the time,  when he has enough free time he will answer your question.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

rishab555555

ya miss sunday !

in the mean time i am trying to convert SMF into some more good platform..

All Colours Sam

Quote from: rishab555555 on July 28, 2011, 10:37:30 AM
ya miss sunday !

in the mean time i am trying to convert SMF into some more good platform..

Good for you.
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Eudemon

Quote from: rishab555555 on July 28, 2011, 10:37:30 AM
ya miss sunday !

in the mean time i am trying to convert SMF into some more good platform..

i think smf is the best platform  :'(

Bendo

Hello, did anyone know what's the reason for this error message?
QuoteWordpress path is not writable by the webserver. We will not be able to make backups of modified Wordpress files

The wp-login.php have chmod 777. The bridgw works on Wordpress but the Wordpress member are not on smf and new members will not be taken.  :(

Eudemon

try chmod the wordpress folder to 777

Bendo

With all subfolders like wp-content? And all subfiles?
My blog lay in the root directory.

Eudemon


Advertisement: