[SOLVED] Verified Profile Badge

3 weeks 7 hours ago #314039 by Yoanna
Thank you for the reply.

1) I can add CB fields that way. But I wonder how to add Kunena "fields" like number of posts, thanks, karma?
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?

Yoanna
2 weeks 4 days ago #314054 by krileon

1) I can add CB fields that way. But I wonder how to add Kunena "fields" like number of posts, thanks, karma?

See the description of the sidebar fields. There's special substitutions for those noted in the descriptions.

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?

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.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
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 EST to 4:00 PM EST. 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.
2 weeks 1 day ago #314112 by Yoanna
Hello,

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.

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?

Thank you in advance

Yoanna
2 weeks 20 hours ago #314135 by krileon

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.

You have to substitute in various CB/Kunena fields to mimic it. Example as follows.

<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>

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?

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.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
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 EST to 4:00 PM EST. 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.
The following user(s) said Thank You: Yoanna
1 week 18 hours ago #314252 by Yoanna
Thank you very much krileon, you rock!

I am not good at coding but your template did exactly what I want. I will study the example you gave which by the way looks simple.
I just came here to specially thank you. You saved me a lot of time.
The following user(s) said Thank You: nant, krileon
Moderators: beatnantkrileon
Time to create page: 0.382 seconds
Facebook Twitter Google LinkedIn