Skip to Content Skip to Menu

[SOLVED] Connection Request at Userlist?

8 years 8 months ago - 8 years 8 months ago #288520 by victoriakim
[SOLVED] Connection Request at Userlist? was created by victoriakim
Hello,

Is there a way to display Connection Request (text or button) on Userlist???

Thank you.
Last edit: 8 years 8 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49447
  • Thanks: 8467
  • Karma: 1465
8 years 8 months ago #288581 by krileon
Replied by krileon on topic Connection Request at Userlist?
You'd need to use a Custom HTML field with HTML and the below URL to request a connection from the userlist.

index.php?option=com_comprofiler&view=addconnection&connectionid=[user_id]

Suppose you could also use a tab substitution and substitute in the connection path tab then use CSS to remove all of its elements except the button.


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.
The following user(s) said Thank You: victoriakim

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

8 years 8 months ago #288600 by victoriakim
Replied by victoriakim on topic Connection Request at Userlist?
Thanks, works great!

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

8 years 8 months ago #288634 by victoriakim
Replied by victoriakim on topic Connection Request at Userlist?
On the userlist, can the Connection buttons be turned off for the users already in connection? Thanks.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49447
  • Thanks: 8467
  • Karma: 1465
8 years 8 months ago #288651 by krileon
Replied by krileon on topic Connection Request at Userlist?
Not unless you've a way to condition it. You'd need to query for existing connection using CB Query Field then condition against the results with an IF substitution. See the below for example of this.

www.joomlapolis.com/forum/153-professional-member-support/234912-solved-cbmenuitem-to-field?start=12#286655

You could also condition the entire userlist to hide existing conditions with an Advanced filter. See below for example of this.

www.joomlapolis.com/forum/153-professional-member-support/234992-solved-userlist-show-only-friends?start=12#286923


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.

8 years 8 months ago #288700 by victoriakim
Replied by victoriakim on topic Connection Request at Userlist?
Thanks, it works.
Now I would like to put buttons for "send private message" for the users who are in connection. What is the URL to send PM from the userlist? Thanks.

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

Moderators: beatnantkrileon
Powered by Kunena Forum