Skip to Content Skip to Menu

Adding a social media bar in CB profile.

5 years 6 months ago #311669 by projekahwin01
Adding a social media bar in CB profile. was created by projekahwin01
Hi, I don't know where to ask. I love using this plugin and the system works. However, I want the CB profile in my website has a social bar which when it clicks it goes to their social media.

Is it possible to do? If yes, how can I manage to get it done. I really need it to get done really quick.:pinch:

Really appreciate any reply. Thanks.:cheer:

Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48438
  • Thanks: 8275
  • Karma: 1443
5 years 6 months ago - 5 years 6 months ago #311675 by krileon
Replied by krileon on topic Adding a social media bar in CB profile.
CB Connect provides fields that can link to some of the social media sites if they've linked their social media account to CB. Beyond that just use a text field for them to supply their social media username then format it using the layout parameters as needed. Example as follows using layout.

Text Field: cb_facebook
Parameters > Profile Value Layout:
Code:
[cb:if cb_facebook!=""]<a href="https://www.facebook.com/[value]">[value]</a>[/cb:if]

They'd provide whatever their Facebook nickname is to cb_facebook and it'd format it into a link. You can use whatever HTML you want so if you want it to be a Facebook button or something you can do that.

As for putting it above the gallery like that there is no option for that as there is no tab position there and the gallery tab can not have fields added to it. So you'll need to find a more appropriate space. My recommendation is inside the canvas header, which will display to the right of the avatar.


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: 5 years 6 months ago by krileon.
The following user(s) said Thank You: projekahwin01

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

5 years 6 months ago #311729 by projekahwin01
Replied by projekahwin01 on topic Adding a social media bar in CB profile.
Thanks krileon for the reply.

I will try the solution and let you know how it goes.

Thanks again.

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

5 years 6 months ago #311758 by projekahwin01
Replied by projekahwin01 on topic Adding a social media bar in CB profile.
Hi, Kyle.

Apparently, the solution you gave me is worked. Thank you. However, when I put the position where you suggested near the profile picture, the name and the value arrangement seems off.

If you look on the picture where I attached, the The 'Boutique Name' should be at the left side and the 'Yan Butik' should be on the right. But, it is the other way round.


Same goes to mobile view. Is there any way to fix this?


Thanks.
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48438
  • Thanks: 8275
  • Karma: 1443
5 years 6 months ago #311760 by krileon
Replied by krileon on topic Adding a social media bar in CB profile.
That position is typically for counters so it'll reverse the value and label. Suggest not displaying the title for the field there or you'll need to consider writing some CSS to stop the reversal. My recommended location for links like that is the "Canvas Info" tab position.


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