Skip to Content Skip to Menu

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

[SOLVED] Manage restricted access pages

  • aalisg
  • aalisg
  • OFFLINE
  • Posts: 102
  • Thanks: 7
  • Karma: 0
9 years 1 month ago - 9 years 1 month ago #270009 by aalisg
Hello,

I am building a website using Joomla! 3.3.4 and Community Builder 2.0.10.

The access to some pages of our web site is restricted. These pages come from different extensions such as Community Builder of course, K2, Kunena, AdsManager, RSEvents and UddeIM.

What we would like is to display the item menu linking to these restricted access pages (so the item menu will be sent on "Publc" and not "Registered") and 1) to display a login form for non-regsitered users and 2) to redirect the users after they log on to the specific required page. For example if a non-registered user click on a item menu linking on a Community Builder list which access is set to register he is redirected to a login form and then to the list.

We searched through the web in all directions such as others login forms and we are now investigating the Redirect-on-Login extension.

We now would like to know if Community Builder and its plugins can help us to satisfy our requirments.

Regards
Last edit: 9 years 1 month ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
9 years 1 month ago #270013 by krileon
Replied by krileon on topic Manage restricted access pages
Joomla should already be sending you to the login page on access error. If CBs system plugin is properly installed, published, public, and ordered first in Extensions > Plugin Manager it should intercept this and send them to CB login. Then on login redirect them back to where they were originally trying to go. You may need CB 2.x nightly release for this as we just recently implemented &return= support for our login module. You may also need to enable URL rewriting in our system plugin to support some 3rd party redirects.

Aside from that, no CB can't do anything about this and you'd need a custom Joomla system plugin to handle intercepting access denied Joomla pages then redirect as needed.


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.

  • aalisg
  • aalisg
  • OFFLINE
  • Posts: 102
  • Thanks: 7
  • Karma: 0
9 years 1 month ago - 9 years 1 month ago #270258 by aalisg
Replied by aalisg on topic Manage restricted access pages
Hello and thank you for your reply,

I downloaded last Community Builder nightly version and Community Builder login module to be sure we are speaking on good software bases.

The problems are that:

1) Neither Joomla login module nor Community Builder login module are displayed for some restricted access pages such as:

(French URLs)

- www.aalisg.fr/fr/reseau/annuaire.html
- www.aalisg.fr/fr/reseau/rechercher-un-ancien.html
- www.aalisg.fr/fr/reseau/reseau-social.html

Please note that these URLs are Community Builder URLs.

2) I do not know how to display Community Login module before access to restricted access pages (but linked to public items menu) related to component such as Kunena, Uddeim...

Regards
Last edit: 9 years 1 month ago by aalisg.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
9 years 1 month ago #270273 by krileon
Replied by krileon on topic Manage restricted access pages

1) Neither Joomla login module nor Community Builder login module are displayed for some restricted access pages such as:

You didn't set a view access level of Registered for any of those Joomla menu items. The first 2 are CB userlist menu items and you have no public CB userlist so it shows that message. The last one is CB Activity page with no activity to display.

2) I do not know how to display Community Login module before access to restricted access pages (but linked to public items menu) related to component such as Kunena, Uddeim...

Set your menu items view access level to Registered then attempt to navigate to the menu item directly while logged out. That's basically the only way to do it as Joomla handles the access denied for menu items, not CB or other extensions for that matter.


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.

  • aalisg
  • aalisg
  • OFFLINE
  • Posts: 102
  • Thanks: 7
  • Karma: 0
9 years 1 month ago #270276 by aalisg
Replied by aalisg on topic Manage restricted access pages
Hello and thank you for your reply,

You didn't set a view access level of Registered for any of those Joomla menu items.


I am not sure to understand. You mean there is no way to display the menu tiems (so set them to Public) and to limit the access to the pages they are linked by a successfull login?

Set your menu items view access level to Registered then attempt to navigate to the menu item directly while logged out.


Same remark.

Regards

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
9 years 1 month ago #270277 by krileon
Replied by krileon on topic Manage restricted access pages

I am not sure to understand. You mean there is no way to display the menu tiems (so set them to Public) and to limit the access to the pages they are linked by a successfull login?

Yes, create a menu item with the view access level you want then create a new menu item with the type menu alias that's public. That should behave like what you're wanting. Joomla controls menu access.


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