By Colin Girard on Thursday, 14 December 2017
Posted in Technical Issues
Replies 3
Likes 0
Views 631
Votes 0
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:otherwise>
0
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
Hey Colin,

I am really sorry but unfortunately we cannot accommodate your request currently as it is beyond our support scope's policy as outlined in http://stackideas.com/support

Having said that, if you require us to perform the customization for you, you can always request for a quote from us at https://crm.stackideas.com and select "Customizations" . Our sales person would be glad to send you a quote for the customizations that you have requested.
·
Thursday, 14 December 2017 16:53
·
0 Likes
·
0 Votes
·
0 Comments
·
so there is no code to add a users avatar to a joomla article that they add as well?
·
Thursday, 14 December 2017 17:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Colin,

To be honest I'm not really familiar with sobipro as we did not make any integration app for that However, I've go through this app it seems fit your need?
http://www.extly.com/xtdir-for-easysocial.html
Perhaps, you can get in touch with them regarding this?
·
Thursday, 14 December 2017 18:09
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post