3.0.3 Released

Simple Review 3.0.3 has been released (download). An upgrade is available for 3.0.2 users (download).

No new features with this release, just some fixes:

  • If a field is missing then getting the review URL may cause an error.
  • Cannot edit comments.
  • Tags not working if Joomla SEO is on.

Simple Review and Joomla 1.6

Development is currently under way on Joomla 1.6 compatibility. The current Simple Review development build installs on Joomla 1.6 and runs with some errors. I expect the next version of Simple Review (3.0.3 3.0.4) to support Joomla 1.6 (most likely with some small issues).

Just remember that Joomla 1.6 will require PHP 5.2+ and MySQL 5.0.4+, at the moment I intend to keep Simple Review compatible with PHP 4 and MySql 4.

3.0.2 Released

Simple Review 3.0.2 has been released (download). An upgrade is available for 3.0.1 users (download).

There is a small breaking change for those that have edited the comment display template.
To fix it we need to remove the directory path in the avatar URL, in the template file commentdisplay/template.php find the line which looks like this:
<img align='left' src="components/com_simple_review/images/avatars/<?php echo $c->avatar;?>"/>
and change it to this:
<img align='left' src="<?php echo $c->avatar;?>" width="48px" height="48px"/>

The biggest new feature is there is now limited support for Community Builder and Kunena. At the moment Simple Review only supports using their avatars in comments, but you can post your requests here.

Full list of changes:

  • New. Added basic avatar support in comments for Community Builder and Kunena. Comment display template changed.
  • New. Tag configuration: can specify the default template for tags.
  • New. Tag configuration: can specify the replacement character for non-Latin characters in tag aliases.
  • New. Placeholders can now be used in the tag review listing template. See this guide to upgrade your template (if applicable), be sure to use the tag template instead of category.
  • New. Cleaned up main administration page.
  • Fix. Error when editing a review with no titles.
  • Fix. Quotes in meta information not being escaped.

3.0.1 Released

Simple Review 3.0.1 has been released (download). An upgrade is available for 3.0.0 users (download).
Please note, if you have created your own template or edited an existing category template please make a small update by following this guide.

Changes:

  • New. Placeholders can now be used in the category review listing template. See this guide to upgrade your template (if applicable):
    http://simple-review.com/389-upgrading-template-3-0-0-to-3-0-1.html
  • Fix. Frontend tag filter not working.
  • Fix. Widget configuration not saved on some PHP setups.
  • Fix. A new user review could not be given the max rating.
  • Fix. Joomla plugin warning in newer PHP versions (tested on 5.3.1) “Parameter 1 to plgXYZ() expected to be a reference, value given in…”.
  • Fix. Tags could not be deleted from the tag administration page.
  • Fix. The last tag could not be removed from a review on the review administration page.

Upgrading Template 3.0.0 to 3.0.1

This guide also applies for the tag template.

Simple Review 3.0.1 has a new feature for category templates which allows you to use placeholders when creating your review listing template. This change will allow you to easily add custom fields to your review listing without having to resort to using PHP. You can ignore this guide if you are using an unmodified category template that comes with Simple Review e.g. default or dark. If you have created your own template or modified the existing category review listing template (template.reviewlisting.html.php) the below will show you the difference and what to change.

Old template code to replace (~line 109-124):

<?php
$isAlt = false;
foreach($reviews as $r):
$css = $isAlt ? 'odd' : 'even';
$isAlt = !$isAlt;
$reviewName = Simple_Review_Common::RemoveSlashes($r->name);
$reviewName = "<a href='$r->url'>$reviewName</a>";
?>
<tr class="<?php echo $css;?>">
<td><?php echo $reviewName;?></td>
<td><?php echo $r->rating;?></td>
<td><?php echo $r->averageUserRating;?></td>
<td><?php echo $r->createdByName;?></td>
<td><?php echo $r->createdDate;?></td>
</tr>
<?php endforeach;?>

New template code:

<?php
$isAlt = false;
foreach($reviews as $r):
$css = $isAlt ? 'odd' : 'even';
$isAlt = !$isAlt;
ob_start();
?>
<tr class="<?php echo $css;?>">
<td><a href='{Review:Url}'>{Review:Title}</a></td>
<td>{Review:Rating}</td>
<td>{Review:RatingUser}</td>
<td>{Review:Author}</td>
<td>{Review:Date}</td>
</tr>
<?php
$tableRow = ob_get_contents();
ob_end_clean();
echo $this->Replace($r, $tableRow);
endforeach;?>

As you can see the table row’s cells (<td>) no longer contain any PHP.