points nuke strange thing

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   points nuke strange thing
mightywhite
CZ Newbie
mightywhite has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jul 28, 2004
0.00 posts per day
Posts: 11
Points: 2,267
   
Ok first off im on 7.3 and i used thee mod from here i feel it looks better, had a few little prob. ppl set as moderators, but sorted that out. changed the newbie value for posting to 0.

but i have another prob. the person that is in first place on the points menu, is realy the person in second place. Number 1 doesnt show



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,475
   
Open the modules/Points/index.php and find this line:

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


Change it to:

$sql = "SELECT * FROM ".$prefix."_users ORDER BY points DESC limit 0,$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
#3   re: points nuke strange thing
mightywhite
CZ Newbie
mightywhite has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jul 28, 2004
0.00 posts per day
Posts: 11
Points: 2,267
   
Thanks, works a treat....



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