PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost How do I...?

ReviewPost How do I...? Wondering how to do something in ReviewPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 11th, 2009, 09:34 AM   #1 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
RP 4.2: best rated products do not appear on index page

Hi

RP 4.2

in ACP I can select, that the best rated/ top rated products shall appear on the index page (side bar). But when I enable this option, nothing appears.

Only most viewed products and top posters are showing up.

What did I do wrong?
snoopy5 is offline   Reply With Quote
Old August 11th, 2009, 09:41 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
I beleive its simply a wording issue. It is suppose to be most popular or most viewed.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old August 11th, 2009, 09:58 AM   #3 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
I beleive its simply a wording issue. It is suppose to be most popular or most viewed.

How could I change the code of most "topviewedpal.tmpl" then, so that only the "real" top 5 rated products do appear instead of most viewed?

Thanks in advance
snoopy5 is offline   Reply With Quote
Old August 11th, 2009, 10:06 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Possibly in pp-inc.php change the query from ORDER by views to ORDER BY rating for the query in get_ratingscache
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old August 11th, 2009, 10:48 AM   #5 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Hi

no, I do not want to change the sort order. I do want to display it in an extra box on the index page. This is why I was referring to the sidebar options in ACP and mentioned the topviewedpal.tmpl.

Within the topviewedpal.tmpl, there is the code for showing the top 5 viewed products:

Code:
Content visible to verified customers only.
How can I change this code to display the top 5 rated products?
snoopy5 is offline   Reply With Quote
Old August 11th, 2009, 09:48 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
That is what I stated above. You can change the html title to say highest rated instead of most viewed but really to have them displayed top rated not top viewed you need to change the sort. Thats how its done.

Top Viewed is

ORDER BY views DESC

Top rated would be

ORDER BY rating DESC
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to show Highest Rated on Index Page? jamesfsmith Photopost Pro How Do I...? 7 January 27th, 2009 09:05 AM
turn off recent products in index ParadiseBodies ReviewPost How do I...? 1 June 28th, 2007 03:41 PM
Show list of products on /reviews/index.php criscokid ReviewPost Installation & Upgrades 6 November 22nd, 2005 02:29 PM
Top rated image from a Category on CPMS Page? iphoto How Do I? - vBulletin 3.0.X 2 March 15th, 2005 09:42 AM


All times are GMT -5. The time now is 09:36 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0