Point nuke module

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Point nuke module
dementeddogz
CZ Active Member
dementeddogz has been a member for over 19 year's 19 Year Member
Age: 46
Gender: Male
Fav. Sports Team: Miami
Status: Offline
Joined: Mar 12, 2005
0.02 posts per day
Posts: 163
Points: 21,847
   
Seen a few things posted on this but either no response or a different question. My problem is that its not listing the users in any type of order. You can view it [ Register or login to view links on this board.] I personally like youre [ Register or login to view links on this board.] opposed to the [ Register or login to view links on this board.] any chance of you releasing it with those modifications or should I add it myself to top50 one when I get it working? :p



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
It should order them by the amount of points they have

$sql = "SELECT * FROM ".$prefix."_users ORDER BY points DESC limit 1,$toshow";


I can give you a copy if you can't get this one working correctly.



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
dementeddogz
CZ Active Member
dementeddogz has been a member for over 19 year's 19 Year Member
Age: 46
Gender: Male
Fav. Sports Team: Miami
Status: Offline
Joined: Mar 12, 2005
0.02 posts per day
Posts: 163
Points: 21,847
   
Yeah thats in there just not working still :\



Back to top Reply with quote
#4   
dementeddogz
CZ Active Member
dementeddogz has been a member for over 19 year's 19 Year Member
Age: 46
Gender: Male
Fav. Sports Team: Miami
Status: Offline
Joined: Mar 12, 2005
0.02 posts per day
Posts: 163
Points: 21,847
   
just making sure you see this



Back to top Reply with quote
#5   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Attach it




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#6   re: Point nuke module
dementeddogz
CZ Active Member
dementeddogz has been a member for over 19 year's 19 Year Member
Age: 46
Gender: Male
Fav. Sports Team: Miami
Status: Offline
Joined: Mar 12, 2005
0.02 posts per day
Posts: 163
Points: 21,847
   
Here it is. Let me know what you think



Attached Files
pointsindex.zip (2.09 KB, Downloaded: 5256 Time(s))


Back to top Reply with quote
#7   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Looks like you changed this line


$points = $row['user_points'];


because your using it with the user_points. So in that case this statement wont work

$sql = "SELECT * FROM ".$prefix."_users ORDER BY points DESC limit 1,$toshow";


it needs to be

$sql = "SELECT * FROM ".$prefix."_users ORDER BY user_points DESC limit 1,$toshow";




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum