PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   No old user ratings in comments after upgrade (http://www.photopost.com/forum/photopost-pro-installation-upgrades/148643-no-old-user-ratings-comments-after-upgrade.html)

dutchbb August 26th, 2012 12:23 PM

No old user ratings in comments after upgrade
 
Upgrade went smooth except for this little issue. Is this normal behavior? Do I have to run a query to show old ratings in posts? Since our members like to see them.

Chuck S August 26th, 2012 12:40 PM

You would have to modify the showcomments template I assume and add the variable $crow[rating] somewhere where you want it as that is not shown.

dutchbb August 26th, 2012 12:52 PM

But when posting new messages after the upgrade the stars are shown, so are they different from the old ones? Can old comments not have the stars?

Chuck S August 26th, 2012 12:57 PM

Individual ratings are not shown on individual comments that is intentional and yes the rating stars show the overall rating of the photo.

dutchbb August 26th, 2012 01:06 PM

1 Attachment(s)
Quote:

Originally Posted by Chuck S (Post 1302427)
Individual ratings are not shown on individual comments that is intentional and yes the rating stars show the overall rating of the photo.

I just voted after the upgrade and stars are shown in my comment, both I and others can see my rating:

Chuck S August 26th, 2012 01:07 PM

Okay well then that works fine then, the showcomments template is new for PP8

dutchbb August 26th, 2012 01:13 PM

Yes it works fine for votes placed after upgrade, I just wish I could make the old ones show up this way too.

Chuck S August 26th, 2012 01:19 PM

It should show a rating for any rating which is a rating not a vote

I do not specifically see anything in the code that says old or new. Basically if a rating exists it gets the star rating for that rating.

dutchbb August 26th, 2012 01:26 PM

They are all ratings. We do not use votes.

This is very confusing, old ratings show no stars.

Chuck S August 26th, 2012 01:39 PM

Well this is the code right in showphoto.php

Code:

Content visible to verified customers only.
As long as ratings are allowed and the rating is greater than it is shown but old ratings most likely the issue is there is no rating since the ratings table is new with PP8


All times are GMT -5. The time now is 02:44 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97