Skip to Content Skip to Menu

CB Forums Plugin - Code?

  • xtech86
  • xtech86
  • OFFLINE
  • Posts: 29
  • Thanks: 1
  • Karma: 0
12 years 4 months ago #201469 by xtech86
CB Forums Plugin - Code? was created by xtech86
Hello,

Do you have a doc / any info on the sidebar customisation? i.e. the field input? for example making the avatar display etc?

Regards
Tony

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
12 years 4 months ago #201500 by krileon
Replied by krileon on topic Re: CB Forums Plugin - Code?
Sidebar is just substitution supported HTML. You can put whatever you want. Example as follows.
Code:
<ul class="kpost-profile"> <li class="kpost-username"><a rel="nofollow" title="" href="index.php?option=com_comprofiler&task=userProfile&user=[user_id]&Itemid=47" class="kwho-admin">[cb:userfield field="formatname"/]</a></li> <li class="kpost-avatar"><a rel="nofollow" title="" href="index.php?option=com_comprofiler&task=userProfile&user=[user_id]&Itemid=47" class="kwho-admin"><span class="kavatar">[cb:userfield field="avatar"/]</span></a></li> <li>[cb:userfield field="onlinestatus"/]</li> <li class="kpost-userrank">[cb:userfield field="forumrank"/]</li> <li class="kpost-userposts">Posts: [cb:userfield field="forumposts"/]</li> <li class="kpost-karma">Karma: [cb:userfield field="forumkarma"/] [karmaminus] [karmaplus]</li> </ul>

More on substitution usage can be found within Tutorials in my signature.


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