Skip to Content Skip to Menu

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

[SOLVED] Third Party CB Integration Coding Issues

  • MAYASIMA
  • MAYASIMA
  • OFFLINE
  • Posts: 183
  • Thanks: 22
  • Karma: 5
9 years 3 months ago - 9 years 3 months ago #266957 by MAYASIMA
Hello,

This is a follow up on a previous post .

I have a few extensions that are not properly coded in regards to CB integration. For example the linking to a user profile, here is a common way of what third party extensions are doing:
Code:
$profileLink = JRoute::_('index.php?option=com_comprofiler&task=userprofile&user=' . $id);

Just for this example, can you show me the code on how to call the CB framework directly? Or whatever is best to do.

Thanks,

Sima
Last edit: 9 years 3 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 3 months ago #266988 by krileon
Replied by krileon on topic Third Party CB Integration Coding Issues
See the attached code sample. CBs API must first be loaded. Once loaded you can use out framework global to generate a profile URL.


File Attachment:

File Name: load_cb_ap..._url.txt
File Size:0 KB


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.
Attachments:

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

  • MAYASIMA
  • MAYASIMA
  • OFFLINE
  • Posts: 183
  • Thanks: 22
  • Karma: 5
9 years 3 months ago #266997 by MAYASIMA
Replied by MAYASIMA on topic Third Party CB Integration Coding Issues
Thanks a lot! Is there a developer's or api guide?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 3 months ago #267004 by krileon
Replied by krileon on topic Third Party CB Integration Coding Issues
No, not yet. One is planned, but I don't know when.


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.

  • MAYASIMA
  • MAYASIMA
  • OFFLINE
  • Posts: 183
  • Thanks: 22
  • Karma: 5
9 years 3 months ago #267005 by MAYASIMA
Replied by MAYASIMA on topic Third Party CB Integration Coding Issues
Ok Thanks!

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

  • MAYASIMA
  • MAYASIMA
  • OFFLINE
  • Posts: 183
  • Thanks: 22
  • Karma: 5
9 years 3 months ago - 9 years 3 months ago #267287 by MAYASIMA
Replied by MAYASIMA on topic Third Party CB Integration Coding Issues
Kyle, when you have a sec, do you mind posting another example on how to call the user's profile thumbnail? Thanks, Sima
Last edit: 9 years 3 months ago by MAYASIMA.

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

Moderators: beatnantkrileon
Powered by Kunena Forum