Skip to Content Skip to Menu

[SOLVED] Edit Default Login Page

  • GoremanX
  • GoremanX
  • OFFLINE
  • Posts: 52
  • Thanks: 2
  • Karma: 4
9 years 10 months ago - 9 years 10 months ago #255838 by GoremanX
[SOLVED] Edit Default Login Page was created by GoremanX
I was under the impression that the CB login page took its settings from the first published CB Login module. But this doesn't appear to be the case.

I have an article submission menu item in a hidden menu. It's restricted to registered users:

www.802eyecare.com/add

When someone who is not logged in goes to that page, they're asked to login. This is exactly what I want. Except I don't want to see the "remember me", "forgot username" or "forgot password" items. How do I remove those?

Also, when a user logs in, he's redirected to his profile. I want the user to end up at the page he tried to access in the first place (in this case, /add).
Last edit: 9 years 10 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago #255869 by krileon
Replied by krileon on topic Edit Default Login Page

I was under the impression that the CB login page took its settings from the first published CB Login module. But this doesn't appear to be the case.

That is the case. The first published CB login module it finds in the database it'll use for its parameters. There maybe some confusion in this regard as it's looking for the first in database based off the ordering value and does not take into consideration the module position. If you only have 1 module then it'll be that 1 module that it's using.

When someone who is not logged in goes to that page, they're asked to login. This is exactly what I want. Except I don't want to see the "remember me", "forgot username" or "forgot password" items. How do I remove those?

Edit your CB login module and turn those displays off under "Login Options".

Also, when a user logs in, he's redirected to his profile. I want the user to end up at the page he tried to access in the first place (in this case, /add).

Ensure your login module doesn't have a login redirect specified and ensure first login redirect is empty within CB > Configuration > Registration. They should then always return to their previous location when possible (there are some cases where it can't).

Note you can't return to the previous location from the login page unless you were sent to the login page by Joomla and our system plugin was able to pass the return URL on. The reason for this is the return URL is determined by the modules display. So if it's displayed on Page X and you login it's sending the Page X URL with the login attempt so it can return to it.


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.

  • GoremanX
  • GoremanX
  • OFFLINE
  • Posts: 52
  • Thanks: 2
  • Karma: 4
9 years 10 months ago - 9 years 10 months ago #255871 by GoremanX
Replied by GoremanX on topic Edit Default Login Page
I only have one CB Login module published. For that matter, I only have one login module at all. I checked the module trash too, and there's none there. It's published, but it's only assigned to that one /add page (so users see a logout button on the article submission page). I didn't think it mattered where the module was visible, only that it's published. In any case, I have no redirects specified in the module, and I disabled all the options I mentioned above (remember me, forgot password, forgot username). But as you can see, they still show up on the login page when a user goes to /add
Last edit: 9 years 10 months ago by GoremanX.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago - 9 years 10 months ago #255879 by krileon
Replied by krileon on topic Edit Default Login Page
It's either not pulling your parameters for some reason or you've a page caching issues. It's working fine in all my tests. Please see the below of it working.

Parameters:


Display:


The above is Joomla 2.5, but I receive the same results on Joomla 3.3.

As you're not receiving any errors regarding the module being missing it is indeed finding a module in your database, but I've no idea which. Check _modules database table and see if maybe there's a bad module row it's finding.


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.
Attachments:
Last edit: 9 years 10 months ago by krileon.

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

  • GoremanX
  • GoremanX
  • OFFLINE
  • Posts: 52
  • Thanks: 2
  • Karma: 4
9 years 10 months ago #255885 by GoremanX
Replied by GoremanX on topic Edit Default Login Page
I have all caching disabled, the site is still being developed. I checked the database, and the modules table only has one mod_cblogin module. The only other login module there is the mod_login for the backend.

I tried deleting the CB Login module and creating a new one. It didn't help. Is there anywhere else the settings could be getting pulled from?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago #255887 by krileon
Replied by krileon on topic Edit Default Login Page
Nope, if it can't find a module then it gives you an error. So it's finding your module fine. Why the parameters aren't working I've no idea nor can I confirm your issue so it's isolated to your install. Switch to default Joomla template and begin disabling 3rd party extensions 1 by 1 to see if the issue could be a 3rd party conflict as it's possible for templates and extensions to alter module loading behavior.

You can also try installing CB 2.x nightly release found below to see if that resolves your issue.

www.joomlapolis.com/downloads/doc_details/640-community-builder-nightly-build


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