Skip to Content Skip to Menu

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

CB Register page with logged in members

  • TBDESP
  • TBDESP
  • OFFLINE
  • Posts: 53
  • Thanks: 2
  • Karma: 1
11 years 9 months ago - 11 years 9 months ago #218959 by TBDESP
Is there any way to have a main menu item which is a registration page for anyone not logged in; but for anyone logged in, instead of the generic 'you are logged in' message, have it directed to a CBSubs subscription upgrade page? To allow one menu item to control both new registrations and subscription upgrades?

[edit] To clarify, I have the following as a main menu item which is a comprofiler/registration menu item; www.digitalfabber.com/index.php/subscribe

I have also copied the url from clicking a subscription upgrade link, and it works as both a regsitration page and as a subscription upgrade page; www.digitalfabber.com/index.php/component/comprofiler/pluginclass?plugin=cbpaidsubscriptions&do=display_subscriptions

I tried making a main menu item using the external url menu item type and pasting in that second link; but it always shows that url, and not the short and more elegant 'index.php/subscribe' url. This is unacceptable to my client. So is there a way to have it display the menu item url as www.digitalfabber.com/index.php/subscribe while performing the function of www.digitalfabber.com/index.php/component/comprofiler/pluginclass?plugin=cbpaidsubscriptions&do=display_subscriptions ?
Last edit: 11 years 9 months ago by TBDESP.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago - 11 years 9 months ago #218980 by krileon
Replied by krileon on topic Re: CB Register page with logged in members
Only way to do that is to provide the generic plans page below as an External Joomla menu link. Be sure to start with index.php as follows.

index.php?option=com_comprofiler&task=pluginclass&plugin=cbpaidsubscriptions&do=displayplans

Joomla SEF won't style it beyond the option though. You'll have to use htaccess custom rewrites or 3rd party SEF to pretty it up any further. You can also try adding an Itemid to the URL, but am pretty sure Joomla will just ignore it for external links.


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

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

Moderators: beatnantkrileon
Powered by Kunena Forum