OK progress and no progress.
This is the code I'm working on in the Forum Integration plugin
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="cb_showmaea"/] </li> </ul>
I have tested the substitution and it will work with just text. when I have this line in the delimited field named "cb_showmaea"
Code:
[cb:if user="#displayed" cb_excellenceawardcheck="1"] <img src="images/badges/excellence_small_2011.png" alt="alt" /> [/cb:if]<p>This is a test</p>
"This is a test" shows up on all user profiles.
If I change the delimited field "cb_showmaea" to this (which includes the test string in side the conditional if statement,
Code:
[cb:if user="#displayed" cb_excellenceawardcheck="1"] <img src="images/badges/excellence_small_2011.png" alt="alt" /> <p>This is a test</p>[/cb:if]
I get nothing.
Again, this cb_showmaea works in CB profile but will not display in Kunena.