Please Log in to join the conversation.
See the description of the sidebar fields. There's special substitutions for those noted in the descriptions.1) I can add CB fields that way. But I wonder how to add Kunena "fields" like number of posts, thanks, karma?
That's fine. We only update the dropdown if there's a breaking API change as it's basically just an API version selector. In your case select Kunena 3.x.2) I am using Kunena 5.x. But CB Forum plugin has only Kunena 3.x and 2.x under the Model list. I just selected 3.x. Is it alright?
Please Log in to join the conversation.
Please Log in to join the conversation.
You have to substitute in various CB/Kunena fields to mimic it. Example as follows.1) Is there a way I can get the substitutions corresponding to the default side bar layout so I can just edit that one field I want while keeping others as it is? I am really struggling to get the original look of the sidebar.
<ul class="unstyled center profilebox kpost-profile">
<li class="kpost-username"><strong><a class="kwho-admin" href="[cb:url location="profile_view" /]" rel="nofollow">[cb:userfield field="formatname"/]</a></strong></li>
<li class="kpost-avatar"><a class="kwho-admin" href="[cb:url location="profile_view" /]" rel="nofollow">[cb:userfield field="avatar"/]</a></li>
<li>[cb:userfield field="onlinestatus"/]</li>
<li class="kpost-userrank">
<div>[ranktitle]</div>
<div>[rankimage]</div>
</li>
<li class="kpost-userposts">Posts: [posts]</li>
<li class="kpost-userthanks">Thanks: [thankyou]</li>
<li class="kpost-karma">[karma]</li>
</ul>
You need to use the formatname field and be sure you're using the userlist output by adding reason="list" to it substitution. This will generate the link. The alternative is a call to [cb:url location="profile_view" /] as the href value for an "a" element around the name.2) I want to add Name field so I tried the substitution for the name field. The name appeared but I can’t link it back to the CB Profile. What should I do to create that link?
Please Log in to join the conversation.
Please Log in to join the conversation.