HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


User interaction issues with "Recommend us" when invitations are enabled

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#71354 (In Topic #15039)
Avatar

Community saint

There are a number of usability issues when using invitations with the "Recommend us" feature.

First, the invitation email has the incorrect email address (although I don't know if this is for internal purposes):
admin has invited you to join Xxxxxxxx. The following link will take you there:
xxxxxxx.com: The Leading XXX Site on the Netemail_address=1

When the link is clicked in the email, this obviously results in the email address being populated with incorrect information:


The email field should either be populated with the correct email address or be left blank.

After registering and clicking the link in the activation email, you get the following:


When you attempt to login, you are taken back to the same login screen even though you have been logged in. You should be taken to the front page once you have logged in. If I were a new user just attempting to sign in for the first time, I'd probably give up.

Bob
Back to the top
 
Posted
Rating:
#71369
Avatar

Community saint

BobS said

When you attempt to login, you are taken back to the same login screen even though you have been logged in. You should be taken to the front page once you have logged in. If I were a new user just attempting to sign in for the first time, I'd probably give up.
Unless I'm missing something, it doesn't sound like a problem because the person you have invited will not have an account (hence the reason for inviting them), so should not have that login loop.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#71372
Avatar

Community saint

Perhaps I was not clear enough:

  1. I invite someone to join site
  2. Invitee joins site
  3. Invitee receives activation email. If they click the link in the email, they receive a message stating that they are activated and to log on.
  4. Invitee/new member logs on but they stay on the log in screen which is confusing. if they try to log on again, they, properly, get an error although it is not explicit that they are already logged in. The only clue that they are logged on is in the "Users online" box.

I'm pretty sure that this is a problem. I used one browser to act as admin and another to act as the invitee. I cleared all cookies related to the site to make sure they are seen as a new member. But when they log in, they stay on the login page.

Bob
Back to the top
 
Posted
Rating:
#71374
Avatar

Community saint

Ok, I see now.

Check the activation email. Does the link contain a "&redirect=http" that points to the login screen?

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#71377
Avatar

Community saint

The activation email looks like this:

Code

http://xxxxxxxx.com/join/step4.htm?email=xxxxx%40mac.com&code=6350

which takes me to:

Code

http://xxxxxxxx.com/login/misc.htm?redirected=1

which is the same URL after logging in.

Bob
Back to the top
 
Posted
Rating:
#71379
Avatar

Community saint

I'm interested in what is after "&redirect=http" and not what's before it.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#71380
Avatar

Community saint

That's the full URL in the activation email:

Code

http://xxxxxxxx.com/join/step4.htm?email=xxxxx%40mac.com&code=6350

It sends you to

Code

http://xxxxxxxx.com/login/misc.htm?redirected=1
where your activation is confirmed and you are advised to log in.

The problem is once you log in you stay on the same screen with the URL

Code

http://xxxxxxxx.com/login/misc.htm?redirected=1

Makes no sense to me - once you log in, you should be taken to the "start" page.

Bob
Back to the top
 
Posted
Rating:
#71381
Avatar

Community saint

OK, then I think the problem is that the URL does not contain "&redirect=http" as that is what tells it where to go after after the login. For me, when I join up I get:

Code

&redirect=http://mydomain/cms/pg/start/index.php?redirected=1

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#71383
Avatar

Community saint

That's exactly the problem and it happens consistently for me. I have a single Welcome/Site zone. Should there be a redirect under Setup->Redirects or something?

Bob
Back to the top
 
Posted
Rating:
#71386
Avatar

Community saint

You shouldn't need any special redirect. I didn't add any.

I suspect that the problem is related to the fact that you are using invites. I'm not using invites and it works fine, so there could be some there.

Looks like this one is for Chris.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#71387
Avatar

Community saint

I have the problem with and without invites. Not sure what is going on.

Bob
Back to the top
 
Posted
Rating:
#71405
Avatar

Fixes…

Attachment
pages/modules/recommend.php
» Download: recommend.php (21 Kb, 79 downloads so far)
Attachment
pages/modules/login.php
» Download: login.php (9 Kb, 68 downloads so far)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#71435
Avatar

Community saint

Thanks for this, Chris.

Seems to be working properly now.

Bob
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: