I would like to include the content from things like the latest forum posts / wall tabs elsewhere in my site in a custom PHP script. Anyone have an example how I would declare the proper global variables, instantiate a class and get the HTML into a variable so I can use it where I want ? ( Ie, I want to make my own custom profile via a Joomla Article and include CB components )
For the most part you include static tabs perfectly fine, but some of them likely won't work properly. Especially tabs with posting capabilities as they'll send the user to their CB profile on post. You also don't need PHP in an article for this. Install our CB Content Bot, which allows substitutions in a Joomla article, then use the below tutorials for substitutions to add tabs/fields to the article as needed.
For custom profiles you should use tab positions and CSS to have the layout you want. You can also modify CBs template PHP file below as needed. You can also try looking into CB Profile Pro which allows customizing the profile, but there's mixed results with it.
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.