Skip to Content Skip to Menu

Create a Group or Register

  • ver
  • ver
  • OFFLINE
  • Posts: 142
  • Thanks: 4
  • Karma: 2
10 years 6 months ago #244521 by ver
Create a Group or Register was created by ver
Hi, i would like to add a button to my site.

This button gives two possibilities:
Registered user redirect to "Create a group" GJive
and if the user is not registered redirect to the "Registration form"

What URL should I put on the button?

I copied the link "create group" and works perfect to registered users.
But not suggest registering to unregistered users.

Thanks in advance

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48509
  • Thanks: 8286
  • Karma: 1444
10 years 6 months ago #244537 by krileon
Replied by krileon on topic Create a Group or Register
Create group URL is the only URL that handles this. It will not redirect to registration though. For that you'd need to modify the below file and adjust the redirect of the create group URL. Please note I can not help you with modifications to core code as it is unsupported.

components/com_comprofiler/plugin/user/plug_cbgroupjive/component.cbgroupjive.php

The alternative is if you're rendering this somewhere that CB substitutions are supported as you could use IF conditions to check if the user is logged in or not and display a button with different behavior based off that. Please see the substitution tutorial below for substitution usage information.

www.joomlapolis.com/support/tutorials/107-use-cases/18353-using-substitutions-throughout-cb


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