Skip to Content Skip to Menu

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

CB-Connect - Edit Social Media ID

8 years 2 months ago #284444 by webtechplus
CB-Connect - Edit Social Media ID was created by webtechplus
Good Evening,
We are about to go live with a website for a client and we are using the CB connect plugin.
We would like to know if a user can edit the social media ID's? As an administrator we can add in our own but i don't want to have to act as an inbetween for every user that want to link up there social media accounts, at present the application will create the account with one of there social accounts but it stops there.

With the site we are developing the users will have several if not all of the various social accounts we are planning on linking to the site.

We thought that if while a member is editing their profile on the 'Contact Info' page if they could select a button next to the social account that allows them to add in the missing social accounts...

See the two screen shots of how we have edited one account.


Thanks for support and feedback
We hope that we can assist you if you need and ask, all the best from the WTP Team
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 2 months ago #284462 by krileon
Replied by krileon on topic CB-Connect - Edit Social Media ID
No. Do not modify the ID unless it's to manually remove it. That is not how CB Connect works. The user uses the sign in or link button, it verifies who they are, and then links to the two accounts. Doing so otherwise is abuse and links an account that was never verified.


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 2 months ago #284656 by webtechplus
Replied by webtechplus on topic CB-Connect - Edit Social Media ID
Ok well and good, can we let the clients add their own id with a button?
We have several social accounts personally, and i know if i had the chance to add in the other ID with a connect to the following accounts ... i would take it.

Knowing my client and his thoughts so far on the project they would be the same, so if they cannot manually add the id's can we have a button on their profile that allows them to connect their other social media accounts.


Thanks for support and feedback
We hope that we can assist you if you need and ask, all the best from the WTP Team

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

8 years 2 months ago - 8 years 2 months ago #284661 by webtechplus
Replied by webtechplus on topic CB-Connect - Edit Social Media ID
Thanks for getting back to me, one of my programmers in the office found a post linking to something like this, what we are doing now is stylizing the the format to make them appear more as buttons, then we are looking at making them appear on the users profile, so they can click on them and then connect them up.

We are trying to get them to load for the 'Update Your Profile' screen and the view my profile screen also.
Code:
<p> <a href="index.php?option=com_comprofiler&amp;view=pluginclass&amp;plugin=cbconnect&amp;provider=facebook" class="button">Connect to Facebook</a> <a href="index.php?option=com_comprofiler&amp;view=pluginclass&amp;plugin=cbconnect&amp;provider=twitter" class="button">Connect to Twitter</a> <a href="index.php?option=com_comprofiler&amp;view=pluginclass&amp;plugin=cbconnect&amp;provider=windowslive" class="button">Connect to Windows Live</a> <a href="index.php?option=com_comprofiler&amp;view=pluginclass&amp;plugin=cbconnect&amp;provider=linkedin" class="button">Connect to Linkedin</a> <a href="index.php?option=com_comprofiler&amp;view=pluginclass&amp;plugin=cbconnect&amp;provider=steam" class="button">Connect to Steam</a> </p>

Link to other post


Thanks for support and feedback
We hope that we can assist you if you need and ask, all the best from the WTP Team
Last edit: 8 years 2 months ago by webtechplus.

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

8 years 2 months ago #284662 by webtechplus
Replied by webtechplus on topic CB-Connect - Edit Social Media ID
Another note on this one, using CB Conditional, i want to create two rules;
  1. Don't Show 'Link to Social Accounts' Not Equal to 'Username'
  2. Don't show 'User Status' Equal to 'Username'

Sounds simple but i cannot call the username in the value field.


Thanks for support and feedback
We hope that we can assist you if you need and ask, all the best from the WTP Team

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 2 months ago #284670 by krileon
Replied by krileon on topic CB-Connect - Edit Social Media ID

Ok well and good, can we let the clients add their own id with a button?

That already exists. Use the Linking functionality. It will validate them and link the accounts. CB Connect does not allow users to supply their id manually. It never will allow that.

We have several social accounts personally, and i know if i had the chance to add in the other ID with a connect to the following accounts ... i would take it.

That is too easy to abuse and isn't the point of CB Connect. CB Connect uses that ID to allow a direct login to that account on your site. It's the validated piece of information linking the two. CB Connect will never allow an enduser to supply this manually.

For what you're wanting you've no need for CB Connect. Just make text fields and use the layout parameters to link to the various social provider profiles.

Sounds simple but i cannot call the username in the value field.

Conditions support substitutions. So for example [username]. See the below for further substitution usage information.

www.joomlapolis.com/documentation/279-community-builder/tutorials/18353-using-substitutions-throughout-cb

If you've further CB Conditional questions please start a new topic. 1 issue per topic please.


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