Oshi Spot Index and Reviews Index
complete
Amrayu78
For Dramas, Movies, SPs, People and Groups, we have an archive/index page. I'd like to have one for Oshi Spots and a separate one for Reviews that is paginated.
I've mocked it below.
Once the indexes are done, please add buttons to the frontpage widgets for the respective Reviews and Oshi Spots.
Amrayu78
complete
Tested, good to go.
Amrayu78
Max Romanchenko: Whenever you have time, here's another new feature. Thank you.
Max Romanchenko
Amrayu78 Hi Duong,
I'm done with it. Check it out, please.
I would like to mention that it failed to display "+" icon for reviwes. Since we are displaying reviews, we can't directly add the related drama to the watchlist, it causes errors and breaks the current setup. How critical is this? I look forward to your comments.
Amrayu78
Max Romanchenko: We don't need to add the "+" icon. It's not critical for reviews. Users can still go to the drama itself, so I'm not too worried about that.
Amrayu78
Max Romanchenko: For Reviews > Rating > Highest to Lowest
Sorry for not be clearer about this task. For highest, can we sort by the highest average rated title? The average rating that's beneath each poster image. Adding screenshot for reference.
Amrayu78
Max Romanchenko: Remaining changes for Reviews.
Let's fill it in a bit more so there's more balance. Please follow the mockup below.
Max Romanchenko
Amrayu78 I've made the fixes, please check it out.
Max Romanchenko
Amrayu78 For Reviews > Rating > Highest to Lowest
Unfortunately, this goes against WordPress logic and is not possible natively. The average rating is stored in the associated drama/movie/special and therefore it is not possible to sort reviews by this field. Are you sure this is necessary? I think the idea of such a filter can be a bit misleading. For example, a drama has two reviews with a rating of 1 and 9, the average rating would be 5. So on the page of all reviews these two reviews will be somewhere in the middle, although it's not quite right I think....
Could you rethink that again, please.
I'm not arguing with you, just trying to understand the problem better :)
Amrayu78
Max Romanchenko: I understand what you mean since we're looking at the review post types. Maybe it's better if we add this to Advanced Search and Dramas, Movies, SPs then?
Here's an example from Amazon, when you search for books or anything (any one type), then you get this average customer rating in the sidebar.
Don't worry about "arguing" with me, sometimes I don't know if something is possible or not, so I thank you for being honest to me and correcting me LOL Thank you!
Amrayu78
Max Romanchenko: Last few minor changes for Oshi Spots.
Amrayu78
Max Romanchenko: Last changes for Reviews index.
Max Romanchenko
Amrayu78 1. Post type filter.
By default, we can't filter reviews by the type of related post. However, I made this possible by creating a new field for the review (“Reviewed post type”), updating all 4475 reviews with the post type of the parent. I also wrote code that updates this field during the creation / deletion of a review (frontend and backend). Please check it out.
- Rating. Maybe it's better if we add this to Advanced Search and Dramas, Movies, SPs then?
I've added sorting by rating to the Advanced Search and to all dramas/movies/specials page, please check it out.
- Comment on Advanced Search.
If you check the Series checkbox and choose to sort by Top Rated, you will get 0 results. This is the expected result, as Series has no such field as average rating.
- Comment about the archive of all dramas/movies/specials
If you choose to sort by rating, not all posts will show up in the results. This is also an expected result, as not all posts have reviews, so the average rating field does not exist at all. Such posts will be skipped. This is the default logic of WordPress/MySQL.
Please check and let me know what you think about it.
Amrayu78
Max Romanchenko:
- Reviews filter: I checked and this is fine.
- Checked Movies, Dramas, and SPs on Advanced Search. This looks good to go. For Dramas, Movies, and SPs, change the Rating filter title to: Avg Rating (This will make it less confusing to users).
- Not all posts not showing up if not rated - I'm fine with that.
- Reviews Index: Please remove the extra "by" in this sentence; it's the first "by": "Rated by (star) (rated number) by username on (Review date)"
Max Romanchenko
Amrayu78 Thanks for the clear instructions, I have made the fixes, please check it out.
Amrayu78
Max Romanchenko: looks good! Thanks!