simple-review.com
September 09, 2010, 08:31:26 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Help now open.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Configuration not work  (Read 1658 times)
goldie
Newbie
*
Posts: 49



View Profile
« on: November 27, 2009, 05:51:04 AM »

Hello, I yust upgrade SR 2.07 to 2.1

I have problem with configurations. Yust don't work. Simple Review is working now with default configurations, but if I want to turn off, for example reviewer from reviews listing, it's not working.

And any changes in SR configurations result with no change.
Logged

goldie
goldie
Newbie
*
Posts: 49



View Profile
« Reply #1 on: November 27, 2009, 07:25:38 AM »

This configurations not work.

Limit Top N to Current Category: yes

Show Reviewer: No

Title 2 is Review Link: Yes

Title 3 is Review Link: Yes
Logged

goldie
row1
SR Sole Developer
Hero Member
*****
Posts: 824



View Profile
« Reply #2 on: November 28, 2009, 03:55:56 AM »

Hi,

Sorry I need to clean up some of these options.

If 'Limit Top N to Current Category' is not working then it is a bug.

The others I no longer consider to be needed (again sorry it is not documented/removed) and while it is more work I prefer this to be a template change (I am working on making more than the default template available)
www\administrator\components\com_simple_review\admin\addons\modules\Category_Module\templates\Front\Default\Default.php line 124

This part would be of interest
Code:
<tr class="<?php echo $css;?>">
            <td><?php echo $title1;?></td>
            <td><?php echo $title2;?></td>
            <td><?php echo $title3;?></td>
            <td><?php echo $r->rating;?></td>
        <td><?php echo $r->createdByName;?></td>
            <td><?php echo $r->createdDate;?></td>  
</tr>

You could change it to something like this
Code:
$title2 = "<a href='$r->url'>$title2</a>";
$title3 = "<a href='$r->url'>$title3</a>";
?>
<tr class="<?php echo $css;?>">
            <td><?php echo $title1;?></td>
            <td><?php echo $title2;?></td>
            <td><?php echo $title3;?></td>
            <td><?php echo $r->rating;?></td>
        <td>&nbsp;</td>
            <td><?php echo $r->createdDate;?></td>  
</tr>
Logged

If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!
row1
SR Sole Developer
Hero Member
*****
Posts: 824



View Profile
« Reply #3 on: November 28, 2009, 03:58:13 AM »

Ohhh btw did you have any problems upgrading? The only problem I have seen so far is that it does not work in php4 (releasing patch soon).

Any general comments about it?

If you still prefer 2.0.7 you can just revert the files, the database changes are additions and not updates/deletes.
Logged

If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!
goldie
Newbie
*
Posts: 49



View Profile
« Reply #4 on: November 28, 2009, 07:36:40 PM »

Ok, I changed Default.php and this work for values in column Reviewer but still I can see name ?Reviewer? of that  column between names "Rating" and "Date". Smiley What to do?

I had no big issues with upgrade.
Thank you for making better SEO in this version. And thanks for redirecting old url's to new url's, I like that. Smiley

In previous version 2.0.7 I used for thumbnail images and images in reviews absolute link (without protocol http and domain name). After upgrade, thumbnail images in ?Top reviews? did not work. So, I had to edit my database and to replace relative url's with absolute url's. Now it works.

In 2.1 version when user submit comment to review, administrator is notified on email but without link to that review. Please can you add link in notification mail?

I had problem with joomla modules in 2.0.7 version and same issue in 2.1 version. I can publish module in joomla in module place on all pages. (I mean on pages with joomla articles and simple reviews content). But I can't publish module in module place yust on pages with SR content.

If I find something else, I will notify you. Smiley
Logged

goldie
row1
SR Sole Developer
Hero Member
*****
Posts: 824



View Profile
« Reply #5 on: November 29, 2009, 04:52:15 AM »

Just above your last changes, change:
Code:
<th><?php echo $this->CategoryModule->GetString($this->CategoryModule->_languageModule'Reviewer');?></th>
Code:
<th>&nbsp;</th>

I guess the images no longer work as there is now a 'reviews' directory in the path.

I have fixed the email link and removed those unused options. I haven't had a chance to look at the issue with 'top n', is it including reviews from sub-categories?

I will look at the module issue (on my site having the modules on every page except the review pages seems to work).

2.1.1 has been released so please upgrade to that.
Logged

If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!
goldie
Newbie
*
Posts: 49



View Profile
« Reply #6 on: November 29, 2009, 03:01:53 PM »

I upgrade component to 2.1.1 and change Default.php and now it's ok.

"Top N" do not work with parent categories and with sub-categories.

I set "Use star rating" to YES and this option not work too.

I find out what cause problem with joomla modules. I have link in mainmenu to Review component, and I have Top menu (mainmenu) with external links to each category of Simple review. I can't publish modules yust on pages from Top menu. But when I publish module on page with link to Simple Review component, module works on all pages from my Top menu (with external link to Simple Review). So it's ok now. Smiley

If I find something else wrong I will write here...
Logged

goldie
row1
SR Sole Developer
Hero Member
*****
Posts: 824



View Profile
« Reply #7 on: November 30, 2009, 03:23:12 AM »

Star rating fix:
Category_Module.php line ~290
change it to:
Quote
      $reviewsForCategory = array();
      $isAlt = false;
      foreach($reviews as $review)
      {
         $css = $isAlt ? 'smallStarRatingAlt' : 'smallStarRating';
         $r = $review;
         $r->url = $reviewModule->GetUrl($review);         
           $r->rating = (Review_Module_USE_STAR_RATING == 1) ? $reviewModule->SR_GetStarRating($review->rating, $css) : $review->rating;         
         $reviewsForCategory[] = $r;
         $isAlt = !$isAlt;
      }

I haven't tested yet so provided as it.
Logged

If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!
goldie
Newbie
*
Posts: 49



View Profile
« Reply #8 on: December 06, 2009, 06:56:18 PM »

Hi  Smiley
Did you find out what's wrong with Top N?
Logged

goldie
row1
SR Sole Developer
Hero Member
*****
Posts: 824



View Profile
« Reply #9 on: December 07, 2009, 06:32:44 AM »

I believe I have fixed it - have not tested it yet  Embarrassed

I am aiming to release 2.1.2 by the end of the week, which will fix this and some other issues.
Logged

If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!
row1
SR Sole Developer
Hero Member
*****
Posts: 824



View Profile
« Reply #10 on: December 12, 2009, 11:29:38 PM »

Fixed and released!
Logged

If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!