View Full Version : Difference between views and most popular?

January 7th, 2006, 09:36 PM
what is the difference between sorting by views and by most popular? how is most popular determined? thanks!

Chuck S
January 8th, 2006, 10:58 AM
$query[] = "INSERT INTO {$pp_db_prefix}sort VALUES (3,'Most Views','ORDER BY disporder,views DESC')";
$query[] = "INSERT INTO {$pp_db_prefix}sort VALUES (1,'Most Active','ORDER BY disporder,lastpost DESC')";
$query[] = "INSERT INTO {$pp_db_prefix}sort VALUES (4,'Most Popular','ORDER BY disporder,rating DESC, views DESC')";

Okay sort table inserts links for visual aide. Most views is simply views. Most popular is sorted first by highest rating then views

January 8th, 2006, 12:56 PM
oh makes perfect sense, thanks! we don't use ratings, so is there a way to take out most popular?

Chuck S
January 8th, 2006, 12:59 PM
You could delete the entry from your sort table in photopost using phpmyadmin

January 8th, 2006, 01:07 PM
can you be more specific? (i'm a moron in this area) or i can ask someone for help. and i just noticed it was most active, not most popular in the drop down box. is that the same as most popular? thanks!

Chuck S
January 8th, 2006, 01:51 PM
Okay do you know how to use phpmyadmin? If so you can run this query just replace your table prefix

DELETE FROM pp_sort WHERE id=4

January 8th, 2006, 04:10 PM
uh no. :D but one of my people do i'm sure and i'll ask them. thanks!
is most active the same as most popular??

Chuck S
January 8th, 2006, 04:14 PM
Nope most active is the ones with the latest comments