Jump to content

Gravatar on product review


Bryan_TAO

Recommended Posts

CubeCart creates some Gravatar data based on the reviewer's email address. A query is made to Gravatar to see if there is an account having a hash of that email. Whether or not, that info is made available to the skin so that the store visitor can go to Gravatar to learn more about the reviewer.

In the eSharp skin template content.product.php, near line 171:

Find:

   {$review.title}
   </h3>
   <div class="content">
    <a href="http://gravatar.com/emails/" class="gravatar"><img src="http://www.gravatar.com/avatar/{$review.gravatar}?s=50&amp;r=g" /></a>
    {$review.review}
   </div>

Change to:

   {$review.title}
   </h3>
   <div class="content">
    {* Do not include link/image: <a href="http://gravatar.com/emails/" class="gravatar"><img src="http://www.gravatar.com/avatar/{$review.gravatar}?s=50&amp;r=g" /></a> *}
    {$review.review}
   </div>

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...