If you click a column heading to sort (I assume?) by that column it drops data.
http://ashtest1.pligg.com/topusers.php
Click news, published news, comments or published votes and you go from having 16 pages of users to 1.
Click total votes and there is 2 pages.
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Top users problem |
| |||
|
If that is the case that it's just not listing the inactive ones, perhaps they should be seperated completely. If it's not regular, consistent (not only with the site, but with what Joe Average is accustomed to) behaviour than it's a problem. |
| ||||
|
Yeah, thats a bug. You can see that some people have "1" in the "news" column. If you click news, you get only 1 page and it stops at "2" news and doesn't show any of the "1" people.
__________________ - Ash |
| |||
|
Any progress on this? I don't want users to be dropped from the table, even if they have a zero under the column that im sorting it by. What should I change in the code to make it so that doesn't happen?
|
| ||||
|
I havn't dropped it, just been a wee bit sick. It on the bug tracker here
__________________ - Ash |
| ||||
|
Partial fix... /templates/skidoo_too/topusers_center.tpl This should be the same line number for other templates (different folder of course), but I'm not certain. Change line 21 from $rows = $db->get_var("SELECT count(*) as count $from_where $order_by"); to $rows = $db->query("SELECT * $from_where"); This doesn't show all users, just the users that have >0 in the column you've selected to sort by.
__________________ - Ash |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fixing Problem reporting | dwg | Bug Report | 7 | 07-28-2006 09:51 AM |
| Problem form doesn't work! | nabil | Bug Report | 1 | 04-01-2006 07:53 PM |
| Help with new installation login problem | vbmark | Installation and Upgrade Help | 3 | 03-31-2006 12:27 PM |
| Invalid URL problem in get($url) | clancey | Retired Threads | 2 | 03-28-2006 10:46 PM |
| Top Users php page config | andyc | General Help | 1 | 03-19-2006 02:49 PM |





It on the bug tracker
Linear Mode

