just noticed we have profiles showing on sobipro pages contributed by the member.
screenshot attached.
example:
https://www.ehcanadatravel.com/ontario/travel-stories/6026-a-grand-time-in-haldimand-county-on.html
but the code used was jomsocial code: (xml)
Do you have code to do this for ES? - very important
jomsocial code:
<xsl:attribute name="class"> spdetails promoted_<xsl:value-of select="entry/fields/field_promo_information/data/promotype_id" /> promoted_<xsl:value-of select="entry/fields/field_promo_information/data/tiertype_id" /> promoted_<xsl:value-of select="entry/fields/field_promo_information/data/ordering" /> </xsl:attribute>
<!--Id step1-->
<xsl:variable name="gid">
<xsl:variable name="author_id">
<xsl:value-of select="entry/author"/>
</xsl:variable>
<xsl:value-of select="php:function('RestaurantsTpl::gid', $author_id)" />
</xsl:variable>
<xsl:variable name="myTitle"><xsl:value-of select="entry/name"/></xsl:variable>
<xsl:value-of select="php:function( 'RestaurantsTpl::AddTitle', $myTitle )" />
<xsl:value-of select="php:function('RestaurantsTpl::MyMetaProperty', 'property', 'og:image', string(entry/fields/field_gallery/data/img/@src))" />
<xsl:value-of select="php:function('RestaurantsTpl::MyMetaProperty', 'property', 'og:url', string(entry/url))" />
<xsl:value-of select="php:function('RestaurantsTpl::MyMetaProperty', 'property', 'og:type', 'business.business')" />
<xsl:value-of select="php:function('RestaurantsTpl::MyMetaProperty', 'property', 'og:title', string(entry/name))" />
<!--Id step2-->
<xsl:variable name="group1">
<xsl:choose>
<xsl:when test="contains( concat($gid, ',' ), ',8,' )">
1
</xsl:when>
<xsl

therwise>
0
</xsl

therwise>
</xsl:choose>
</xsl:variable>