Skip to Content Skip to Menu

Display CB profiles remotely onto a second site.

  • huntrdog
  • huntrdog
  • ONLINE
  • Posts: 22
  • Thanks: 3
  • Karma: 0
1 day 3 hours ago #343484 by huntrdog
Hello,

I have CB on an arts website. Is it possible to publish lists and profiles from that database onto a different website hosted on a different server?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50231
  • Thanks: 8598
  • Karma: 1470
9 hours 31 minutes ago #343485 by krileon
Yes, you'd either have to do an HTTP request for the entire view so it includes all the necessary headers or an iframe. For both you'd need to be sure your site security policy is setup to allow both domains to access cookies, etc.. In both cases you'd simply add tmpl=component to the URL to render just the component view (e.g. just the userlist or profile). Example as follows for profiles.

index.php?option=com_comprofiler&view=userprofile&user=USER_ID_HERE&tmpl=component

Beyond that there won't have any features in place to query the database of another site and build profiles. For that generally the best way is to synchronize the user data between the two sites so they exist on both sites.


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