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.


URL's

Login / Search

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

Well-settled

Getting the right URL's

I think that there is a fault in the way ocPortal works with a ” Welcome (Splash page)”
If you have the site configuration set as a “Single public zone” everything works correctly when an new user joins, i.e.: the email that they get that tells them: “Your member account, tomp, on My Website has been validated. You may now log in: shows the Base URL.
But if you have a Welcome and Site zones the URL will goto the Welcome zone (Which still is the base URL) when it should go to the site zone.

What I have is this:
A Splash page that goes to the site page which is used as a Logon screen only (No menu/Blocks for both right &d left sides) and no required confirmed session. Once they log in they are sent to my “tnsite page” (My home page for the site).

So when someone joins everything works but the last step in the email.

I also seem to have the same problem with the “Facebook” logon as I get a screen to enter some information that my site needs. It uses the base URL and not the URL I want it to use.

1)      How do I change the URL in the email that the user that joined to the correct one?
2)      How do I change the URL in the “Finish member profile” to the correct one?

Robert W
Back to the top
 
Posted
Rating:
#100269
Avatar

Hi,

It's not a bug, as we haven't designed the site/welcome zone distinction to be necessarily be the same as being logged in or not.

It would be nice to have the option for that. I have added it to the tracker.

For now you could workaround. Try putting this on your welcome zone start page:

Code

[if_in_group="2+"][semihtml]
<meta http-equiv="refresh" content="0; url={$PAGE_LINK*,site:}">
[/semihtml][/if_in_group]


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:
#100279
Avatar

Well-settled

Chris,

I did not look at it a a bug, that's why I did not use the word bug. Thanks for the Workaround, I will try it out.

Robert W.
Back to the top
 
Posted
Rating:
#100281
Avatar

Well-settled

The workaround is not working.
Is there template where I could modify the URL in the email?

From this: mywebsite.com/index.php?page=login
To this: mywebsite.com/site/index.php?page=login

Robert W
Back to the top
 
Posted
Rating:
#100282
Avatar

The workaround wouldn't have put the login URL into the site zone, but once logged in, it should have moved the user to the site zone via the redirect.

There would be a language string you can edit. Look in the ocf language file for one matching the words used in the email you're trying to change.


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:
#100284
Avatar

Well-settled

I believe that it's not a language string, but one of the templates, I need to change how the url is created (add "site")?
That's if I am correct? Don't know?

Robert W
Back to the top
 
Posted
Rating:
#100285
Avatar

No, it's the MEMBER_VALIDATED language string. You can see where the URL goes in that, just hard-code the one you want in your overridden copy of that string.


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:
#100322
Avatar

Well-settled

Chris,

Thank you, It's working now.


Robert W
Back to the top
 
Posted
Rating:
#100325
Avatar

Glad to hear :)


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
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: