Jump to content


SSO Redirection problem


9 replies to this topic

#1 Infinite

    Newbie

  • Active Member
  • Pip
  • 10 posts

Posted 16 October 2011 - 04:25 AM

Ok, so I've fixed the SSO issue I've had before and I can now login to both IPB and WP with the same user etc...

But now I've got another issue which I can't fix.

When I try to login through my IP.Board (URL is http://www.gamecove.net/forum) it will redirect as usual to the Wordpress login. However, the url is "http://gamecove.net/...cove.netFforumF", and so when it logs in and redirects it will go to my custom 404 page (http://gamecove.net/404/). But if I load the board URL manually then it's signed in (meaning the SSO isn't a problem).

Inside the SSO settings in WP end; this is the text at the top.



############################################
# IPBWI Wordpress Integration
# Start Board to Wordpress Redirect Area
############################################
RewriteEngine on

# Registration
RewriteCond %{QUERY_STRING} section=register$ [NC]
RewriteRule (.*) http://gamecove.net/...action=register [L,R=301]
# Logout
RewriteCond %{QUERY_STRING} do=logout [NC]
RewriteRule (.*) http://gamecove.net/...p?action=logout [L,NE,R=301]
# Login
RewriteCond %{QUERY_STRING} section=login$ [NC]
RewriteRule (.*) http://gamecove.net/....net%2Fforum%2F [L,R=301]
# Change Password
RewriteCond %{QUERY_STRING} area=password [NC]
RewriteRule (.*) http://gamecove.net/...min/profile.php [L,R=301]
# Change Email
RewriteCond %{QUERY_STRING} area=email [NC]
RewriteRule (.*) http://gamecove.net/...min/profile.php [L,R=301]
# Change Display Name
RewriteCond %{QUERY_STRING} area=displayname [NC]
RewriteRule (.*) http://gamecove.net/...min/profile.php [L,R=301]
############################################
# End Board to Wordpress Redirect Area
############################################


And I've noticed the line "RewriteRule (.*) http://gamecove.net/wordpress/wp-login.php?redirect_to=http%3A%2F%2Fgamecove.net%2Fforum%2F" I notice the letters in the redirect, taking out the "%" its the same as my normal login.

SO, what I want to know is how can I make it so when I sign into the forum, and it loads as the wp-login.php, can it redirect to the forum.

Thanks!

Also with the latest posts widget, is it possible to select only a few of the forums? I want the latest topics to be shown from everywhere on my forum except for the staff section....and I can't do that at the momet.

Edited by Infinite, 16 October 2011 - 05:27 AM.


#2 Matthias Reuter

    Forensklave

  • Admin
  • PipPipPipPipPipPipPipPip
  • 9234 posts
  • Gender:Male
  • Location:Hamburg / Germany

Posted 17 October 2011 - 06:39 PM

Hi,

concerning your questions:

Please try instead of
RewriteRule (.*) http://gamecove.net/wordpress/wp-login.php?redirect_to=http%3A%2F%2Fgamecove.net%2Fforum%2F
this:
RewriteRule (.*) http://gamecove.net/wordpress/wp-login.php?redirect_to=http://gamecove.net/forum/

Concerning your other question:
The Latest Topic Widget follows your permission masks, so your new topics in staff section will be shown only those users and usergroups who have access to this forum.

#3 Infinite

    Newbie

  • Active Member
  • Pip
  • 10 posts

Posted 18 October 2011 - 02:47 AM

Fixed! Well I love you, in a not gay way! THANK YOU SO MUCH my website is now complete.

When I have the money, I'll buy it to support you.

Ok so now I have another problem. I cannot edit my profile (or other users edit theirs) in the profile section in wordpress. I can edit someone elses, but when it comes to your own profile it just won't. There isn't a "Update profile" option there anymore neither is the password strength bar.

Edited by Infinite, 18 October 2011 - 04:41 AM.


#4 Matthias Reuter

    Forensklave

  • Admin
  • PipPipPipPipPipPipPipPip
  • 9234 posts
  • Gender:Male
  • Location:Hamburg / Germany

Posted 19 October 2011 - 01:33 AM

did you copied the folder "ipbwi" from ZIP path \ipbwi_for_wordpress\UPLOAD\wordpress\wp-content\themes\default\ into your active wordpress theme? this should solve it

#5 Infinite

    Newbie

  • Active Member
  • Pip
  • 10 posts

Posted 19 October 2011 - 03:02 AM

My current theme is LeetPress. I've moved the IPBWI folder to the root folder. So it's in;

wp-content/themes/leetpress/ipbwi

And it still hasn't fixed the problem :S

Also would there be any possibility once in the future if I make a member through the ACP on IP.Board (or just normal registration) would it sync with IPBWI

Edited by Infinite, 19 October 2011 - 05:13 AM.


#6 Infinite

    Newbie

  • Active Member
  • Pip
  • 10 posts

Posted 20 October 2011 - 02:59 AM

Also, your Invision Power Board Wordpress Integration (IPBWI) plugin conflicts with the image uploader;

Are you sure you want to do this?
Please try again.

Is the error that I get when trying to upload an image to anything on wordpress. I know it's your plugin as it works with every other plugin enabled, but yours...and as soon as I activate yours it doesn't work.

And a quick question, whats the benefit of buying the full version. Isn't the free version just a newer release and so better?

Edited by Infinite, 20 October 2011 - 12:20 PM.


#7 Matthias Reuter

    Forensklave

  • Admin
  • PipPipPipPipPipPipPipPip
  • 9234 posts
  • Gender:Male
  • Location:Hamburg / Germany

Posted 20 October 2011 - 05:35 PM

View PostInfinite, on 19 October 2011 - 03:02 AM, said:

My current theme is LeetPress. I've moved the IPBWI folder to the root folder. So it's in; wp-content/themes/leetpress/ipbwi And it still hasn't fixed the problem :S

Could you test it with standard theme wether the bug still occur? This it important to know, wether the bug is produced by IPBWI or by custom Theme.

View PostInfinite, on 19 October 2011 - 03:02 AM, said:

Also would there be any possibility once in the future if I make a member through the ACP on IP.Board (or just normal registration) would it sync with IPBWI

It's currently synced when doing member management actions through wordpress (login/logout/registration/update/deletion). I'm currently working on a "smooth single sign on" feature which synces all important data both ways, including the admin panel actions in IP.board. So yes: It will be possible in near future.

#8 Infinite

    Newbie

  • Active Member
  • Pip
  • 10 posts

Posted 20 October 2011 - 10:54 PM

Ok I've fixed the profile thing on my end. Phew!

Also image uploading with IPBWI doesn't work, as I get the error;



Are you sure you want to do this?
Please try again.

I'm 100% sure it's IPWI as when your plugin is enabled, it doesn't work...and when the plugin is DISABLED it does work.

Edited by Infinite, 21 October 2011 - 12:06 AM.


#9 Matthias Reuter

    Forensklave

  • Admin
  • PipPipPipPipPipPipPipPip
  • 9234 posts
  • Gender:Male
  • Location:Hamburg / Germany

Posted 21 October 2011 - 03:19 AM

View PostInfinite, on 20 October 2011 - 10:54 PM, said:

Ok I've fixed the profile thing on my end. Phew!

Also image uploading with IPBWI doesn't work, as I get the error;



Are you sure you want to do this?
Please try again.

I'm 100% sure it's IPWI as when your plugin is enabled, it doesn't work...and when the plugin is DISABLED it does work.

In early IPBWI4WP versions, this error occurs and I've already fixed it. It's curious that this issue comes back on your installation. Please try this hotfix:

File /wp-admin/includes/media.php
line 428
change
check_admin_referer('media-form');
to
#check_admin_referer('media-form');

#10 Infinite

    Newbie

  • Active Member
  • Pip
  • 10 posts

Posted 21 October 2011 - 08:25 AM

Ok amazing, fixed!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users