Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

redirection after wrong login

  • comjoo
  • comjoo
  • OFFLINE
  • Posts: 20
  • Thanks: 0
  • Karma: 0
8 years 7 months ago #279554 by comjoo
Replied by comjoo on topic redirection after wrong login
Okay, but what if I have more than one Login-Area (check: stage.comjoo.com/de/ - and check the different Logins). I need more then one redirection, because I have different login-areas on this site, which will open you a different inside menu. I already tried to set different redirects - but its not working. I need an actual redirect which brings me one click back and also shows up the message.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 7 months ago #279588 by krileon
Replied by krileon on topic redirection after wrong login
The below might work then since the return redirect URL is sent with that trigger as variable 5.

URL: [var5]
Message: [var8]
Type: Error


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • comjoo
  • comjoo
  • OFFLINE
  • Posts: 20
  • Thanks: 0
  • Karma: 0
8 years 7 months ago #279591 by comjoo
Replied by comjoo on topic redirection after wrong login
unfortunately this is not working as well...

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 7 months ago #279597 by krileon
Replied by krileon on topic redirection after wrong login
If the redirect URL isn't provided then CB doesn't know where to return them. You can't set a message in the message queue with a browser history back. It has to be a PHP redirect. The below could work if the return actually exists in the POST data.

[cb:parse function="decode" method="base64"][post_return][/cb:parse]

For this to work you'll need to enable Format Functions under Parameters. Aside from that I've nothing more to suggest, sorry.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • comjoo
  • comjoo
  • OFFLINE
  • Posts: 20
  • Thanks: 0
  • Karma: 0
8 years 7 months ago #279600 by comjoo
Replied by comjoo on topic redirection after wrong login
Unfortunately this is not working as well - but what is interesting - it brings me to a 404 error page, if I go back, it shows exactly what I want. The error message on the correct login page.

So I have to choice to use "goback" and it brings me at least back to the correct login page or I can use an URL to only one universal login area but with the error page?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 7 months ago #279614 by krileon
Replied by krileon on topic redirection after wrong login
Latest CB nightly uses the first accessible login module it can find for its login page. It checks published state, access parameter, and language. Using those you should be able to have different login pages based off access to avoid having to do this at all. Aside from that I don't know what more to tell you, sorry.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum