Support Forum

New User First Visit

MW Mike Warren
Mike Warren
Member

This isn’t specifically a Simple:Press issue, but I’m hoping others here have the same requirement.

I’m using Theme My Login to give a consistent look to my site. This works well, except when a user registers and logs in for the first time they are redirected to their WordPress profile page.

Has anyone worked out how to prevent this? Going to either the forum page or forum profile page would be ideal.

21 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

This is normal, default WP behaviour (for some reason). I would have expected Theme My Login to have a redirect option somewhere so you can choose the landing page but I have never actually looked at it to know for sure. I would be most surprised if it was not there in the options somewhere though.

MW Mike Warren
Mike Warren
Member

It does, but there is no redirect for the first time login. This will be very confusing for first time users.

YS Yellow Swordfish
Yellow Swordfish
Member

How odd.
Perhaps worth asking the Theme My Login team

MW Mike Warren
Mike Warren
Member

I don’t think this is anything to do with TML. The profile page is properly themed. It’s just that it makes no sense for forum users to be sent to that page.

I’ve since tried a couple of redirection plugins, but haven’t found one yet that allows redirecting any address to any other address.

MW Mike Warren
Mike Warren
Member

This is proving quite hard to solve.

The best plugin I’ve found so far http://wordpress.org/extend/plugins/redirection/ redirects all requests to the WP profile page to the forum profile page which is perfect for members, but I do need access to my WP profile occasionally and this plugin doesn’t allow different behaviour for different users or roles.

This plugin http://wordpress.org/extend/plugins/peters-login-redirect/ allows user or role based login redirects, but I don’t want to redirect at login. I want to redirect profiles. Peter does describe a method for redirecting first logins here http://www.theblog.ca/wordpres…..irst-login but I have no idea where that code should go or how to call it. If I don’t find a cleaner solution I’ll ask for clarification on his forum.

IMHO, the first login behaviour should redirect to the forum profile or forum main page when SP is installed. Although this is not caused by SP, can I suggest that you look into how hard it might be for you to add to SP.

Doesn’t every single installation of SP have this problem? I guess no one else cares about confused members.

 

BTW, I really do like SP and I hope all these suggestions for what I consider as enhancements don’t come across as complaints.

YS Yellow Swordfish
Yellow Swordfish
Member

I’m sorry but I have no idea what you mean by ‘IMHO, the first login behaviour should redirect to the forum profile or forum main page when SP is installed.’ What has it got to do with the installation of SP?

And ‘Doesn’t every single installation of SP have this problem?’ What problem? Isn’t the problem that another plugin is not doing what you want or am I missing something here? What is the SP problem?

MW Mike Warren
Mike Warren
Member

It makes sense for a standard WP based site to have exactly the current behaviour, but as soon as any forum with it’s own profile system is installed that behaviour no longer makes sense. It just confuses the users as they are directed to a profile page that isn’t the profile page they will be using from now on.

The problem is not an SP problem, but it is (in my opinion) something that should be changed when any forum is integrated. It’s not the end of the world, but it does confuse users.

YS Yellow Swordfish
Yellow Swordfish
Member

I 100% disagree that we should force any change to base WP behaviour. SP is a WP plugin designed to work in concert with WP.

The normal WP behaviour when a user logs in is to redirect to their WP profile page. We already give you the necessary tools to avoid that and to redirect to any url you wish (AND that is role based what is more). But I do not see any way that we can or should force a redirection from another plugin (TML) that the user has installed through choice. I still suggest that if the post-login behaviour of TML is not what is wanted then either stop using it or discuss the matter with the TML team. I don’t see any way that this could be an SP issue.

MW Mike Warren
Mike Warren
Member

It really sounds like we are not talking about the same thing, and it now sounds like I’ve missed something that SP can do. Where is the role based redirection set? Maybe SP can already do what I’m after.

Also, just to be clear, the issue I’m talking about still exists even if TML is not installed. I just deactivated TML and tested to confirm it.

YS Yellow Swordfish
Yellow Swordfish
Member

Well sorry but I assumed you would have looked and found those settings – Options > Global Settings.

As far as I was aware we were talking about TML not redirecting as you wanted it to.

MW Mike Warren
Mike Warren
Member

Okay, I already have “Block user access to WP admin pages” and “Redirect to user’s profile page” checked. I thought you were talking about something else.

 

This is the new member registration experience in pictures:

  1. They start by clicking the “register” button in the forum.
  2. Required to enter details.
  3. Asked to login. Everything is good so far.
  4. The user is taken to a profile page. This is where they assume they need to set any account related information.
  5. Now the user has to click on the site name to take them out of the profile edit page.
  6. The user is sent to the site home page. Not the best place to go if registering in order to post on the forum.
  7. The user now visits the forum and what’s this? Another profile page? All the user wants to do is ask a question.

To my way of thinking steps 4 to 6 should not happen to users registering for a forum. I can see the dilemma for sites where most users are registering to follow the site rather than join the forum in which case the changed behaviour I’m suggesting could be optional, although it seems to me that my suggested procedure would still work fine for site subscribers.

And I know this is confusing for users because I asked 3 programmer friends to help me test the forum. Two of them told me the registration procedure seemed clunky and the third entered details in the WP profile page and did not touch the SP profile page. Admittedly, we are all old blokes, so maybe we’re just too slow to take on new challenges. smile

And again, I’d like to point out that I am not arguing for this behaviour because I don’t have a solution for myself. I do, but I think this would be an enhancement for SP.

I hope you have at least discussed it amongst yourselves. Unless you need more clarification, I’ll drop the subject now.

sp-reg7.jpgsp-reg6.jpgsp-reg5.jpgsp-reg3.jpgsp-reg2.jpgsp-reg1.jpgsp-reg4.jpg

MW Mike Warren
Mike Warren
Member

Here is missing picture 4. I received the following error when I tried to upload all 7 pictures:

HTTP Error.
Upload URL might be wrong or doesn’t exist

Does this mean there is a limit of 6 files imposed? If so, I didn’t see anything warning me about it.

 

Edit: Hmm, seems number 4 did work when I tried again, but I still had that error message.

 

sp-reg4-1.jpg
YS Yellow Swordfish
Yellow Swordfish
Member

OK so we are back to the beginning.
#4 – what is redirecting the user to the WP profile page? Because it ain’t nothing to do with SP.

MW Mike Warren
Mike Warren
Member

As far as I understand it, WP is doing that. And this behaviour makes sense for a WP site without a forum.

The above test is with a default installation of WP3.3.1 and SP 5.0.0.7705. Nothing else added.