Default 9.5 topusers

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-02-2007, 01:40 PM
Casual Pligger
 
Join Date: Jan 2007
Posts: 68
Topusers are sorted on 9.5 alphabetically. But it is topusers, so it should be based on number of stories they have sent. You can adjust it by changing the code
PHP Code:
if(isset($_GET['sortby'])){
    
$sortby $_GET['sortby'];}
else{
    
$sortby "0";} 
to
PHP Code:
if(isset($_GET['sortby'])){
    
$sortby $_GET['sortby'];}
else{
    
$sortby "1";} 
Reply With Quote
  #2 (permalink)  
Old 05-02-2007, 01:41 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
We did that for 9.1 but then people complained that users who haven't submitted any stories weren't on the list.
Reply With Quote
  #3 (permalink)  
Old 05-08-2007, 10:27 PM
Casual Pligger
 
Join Date: Jan 2007
Posts: 68
So it becomes "user list".
Of course there won't be users who haven't submitted any stories on the list. Because it is "Top Users". They will send a story to get to the list. Thats the point.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
After Install Pligg 1.0.0 Pligg_Users Table Doesn' t Exist airweb Questions and Comments 2 07-21-2009 03:59 AM
Installation - Tables never created julientarta Questions and Comments 30 03-23-2009 08:41 PM
HELP!!! Table 'pligg.pligg_links' doesn't exist bittermoon1 Questions and Comments 3 03-29-2007 04:06 PM
Upgrade from 5.10 to 9 bizdiggers Questions and Comments 19 02-11-2007 05:21 AM
Error: SQL/DB Error -- [Table 'frat.links' doesn't exist] r0ssta Questions and Comments 8 10-08-2006 07:14 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development