Skip to Content Skip to Menu

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

Create an Auto action to open group on Join

11 years 5 months ago #227380 by nopersonalive
Replied by nopersonalive on topic Create an Auto action to open group on Join
Hello Kyle,

I went on applying the hack specifically like you indicated. It still didn't work. I checked the url of the auto action you provided:

index.php?option=com_comprofiler&task=pluginclass&plugin=cbgroupjive&action=groups&func=show&cat=[var1_category]&grp=[var1_id]

I changed the last part of the URL: grp=[var1_id] TO: grp=[var2_id]

This way, it worked!

So for anybody who reads this post, to redirect an user to a group she/he just joined, create an redirect auto action with gj_onAfterJoinGroup as a trigger, and redirect it to:

index.php?option=com_comprofiler&task=pluginclass&plugin=cbgroupjive&action=groups&func=show&cat=[var1_category]&grp=[var2_id]

Thank you for your help Kyle.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 5 months ago #227426 by krileon
Replied by krileon on topic Create an Auto action to open group on Join
Ah, yeah; whoops. My mistake; var1 is the GJ User object of the user joining the group, var2 is the GJ Group object, var3 is the GJ Category object, var4 is the current CB user object, and var5 is the plugin object.


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