Skip to Content Skip to Menu

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

[SOLVED] CB login screen instead of com_login?

  • cbrace
  • cbrace
  • OFFLINE
  • Posts: 64
  • Thanks: 5
  • Karma: 1
14 years 3 months ago - 13 years 10 months ago #168802 by cbrace
Hello,

I installed the mod_cblogin module on my site's home page (disabling mod_login). It works very well and I have enabled both username and email logins.

I have one question though. If a user is not logged in to the site, and they go to URL which is for logged-in users only, a com_user login screen is displayed, the URL looking something like this:
Code:
../index.php?option=com_user&view=login/..
This is clearly not part of CB, since it doesn't support email logins.

Disabling com_user results in a 404. Is there a way of displaying a CB login screen instead of the com_user?

Thanks.
Last edit: 13 years 10 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49691
  • Thanks: 8497
  • Karma: 1465
14 years 3 months ago #168819 by krileon
Replied by krileon on topic Re: CB login screen instead of com_login?
You're seeing the access denied page. You'll need a Joomla plugin to redirect away from such pages to CB pages. Please see the below extension.

extensions.joomla.org/extensions/access-a-security/authentication/1236


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.

13 years 10 months ago - 13 years 10 months ago #186522 by igorczajka
Replied by igorczajka on topic Re: CB login screen instead of com_login?
Solution for the Joomla 1.6/1.7 :

In .htaccess file add line:

RewriteRule ^component/users/(.*)$ index.php?option=com_comprofiler&task=login [L]

or:

RewriteRule ^component/users/(.*)$ /component/comprofiler/login [R=301,L]

B)
Last edit: 13 years 10 months ago by igorczajka.
The following user(s) said Thank You: beat, krileon, valunite, Ismalar

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

Moderators: beatnantkrileon
Powered by Kunena Forum