Skip to Content Skip to Menu

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

groupgive how to display wihtout tabs ?

  • bruno_c
  • bruno_c
  • OFFLINE
  • Posts: 24
  • Thanks: 2
  • Karma: 0
10 years 11 months ago #237420 by bruno_c
Hi, have a nice week-end

First point :
i want to customize my groupgive display :
i need wall, events, group users and eventually invitations on the same page but without tabs, one below the other with style like collapsible components like accordions (boostrap).
Can you give me the file i have to modify for this or the best way for do it.
Second point:
I have added a menu with two functions on my users list like the display followed.
For the first, i use fields with Query and substitutions (found in the forum) to add a contact to the user. it works fine.
For the second, i use field with query to obtain the group of the user connected and a field with query to test if the user existe in my group. (i use only one categorie). The command to join the connected user group (found in the forum) is : href="index.php?option=com_comprofiler&task=pluginclass&plugin=cbgroupjive&action=groups&func=join&cat=1&grp=[cb_mygroup]">Inviter à joindre mon équipe</a>');
But this command don't work and give me an error message "you are already in the group" like if the invitation was done to the connected user, not to the selected user in the list.
following attachements :
- liste users
- profile of a selected user since the connected user.
Thanks for your help, i don't found this case on the forum.


Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
10 years 11 months ago - 10 years 11 months ago #237475 by krileon
Replied by krileon on topic groupgive how to display wihtout tabs ?

i want to customize my groupgive display :
i need wall, events, group users and eventually invitations on the same page but without tabs, one below the other with style like collapsible components like accordions (boostrap).
Can you give me the file i have to modify for this or the best way for do it.

Right now plugin html output is not in template files, but will be for next GJ release. For now you need to edit the individual "showXYZ" functions for the plugins found at the below location.

components/com_comprofiler/plugin/user/plug_cbgroupjive/plugins/

You can also find GJs template files at the below location to edit core GJ pages.

components/com_comprofiler/plugin/user/plug_cbgroupjive/templates/

For the second, i use field with query to obtain the group of the user connected and a field with query to test if the user existe in my group. (i use only one categorie). The command to join the connected user group (found in the forum) is : href="index.php?option=com_comprofiler&task=pluginclass&plugin=cbgroupjive&action=groups&func=join&cat=1&grp=[cb_mygroup]">Inviter à joindre mon équipe</a>');
But this command don't work and give me an error message "you are already in the group" like if the invitation was done to the connected user, not to the selected user in the list.

Not sure I understand the usage. That link is a Join link. It'll cause the viewing user to try and join the group specified. If the user is already a member of that group it'll tell them that. It does not send out an invite to join the group.


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

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

  • bruno_c
  • bruno_c
  • OFFLINE
  • Posts: 24
  • Thanks: 2
  • Karma: 0
10 years 11 months ago #237504 by bruno_c
Replied by bruno_c on topic groupgive how to display wihtout tabs ?
Hi kyle,
Thank for your reply
For the first point, i modify PHP files in the groupjive template, ok
For the second point i use Groupejive like this :
- all groups are in a unique category
- each registered user has automaticaly one group created when updating his profile (he can edit or delete his group).
- for the user A when he search in the list users and on the profile view of others users (B, C ...), the "invite button to join my group" is only available on the user B, C.. if the user A has a group (he can delete his group). it works fine.
So the user A, if he has a group can invite other users to join his group.
In these cases, we have the username A, the username B,C.. and i have a query field for have the group number of the user A.
So I need a command for invite the others users (B, C..not included in my group) to join the group of the user A.
Have an idea ?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
10 years 11 months ago #237516 by krileon
Replied by krileon on topic groupgive how to display wihtout tabs ?
There isn't a URL to invite users to the group. It needs to be done from the Invite tab found in the Group. There are also security checks in place so you can't directly post this form using a URL.


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