Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.218
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ? This s...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriously...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - AOO_Tracker Module doesnt order playerlist correctly
AOO_Tracker Module doesnt order playerlist correctly

4 Replies / 2191 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Modules

View previous topic :: View next topic


Dabby
Reputation: 461.4 Add RepSubtract Rep
Local time: 2:44 AM

netherlands.gif

Noob
Noob

0.00 posts per day
Medals: 0

Joined: May 09, 2007
Last Visit: 23 Nov 2007
Posts: 3
Points: 298 

Post AOO_Tracker Module doesnt order playerlist correctly Posted: Thu May 10, 2007 10:20 am

Hi,

Today I installed the very handy tool AOO Tracker Module. But the memberlist isnt ordered by kills which is the tracker standard (seems to be a random list now).

Any idea?

Greez,

Diablo
 

 
View user's profileSend private message Reply with quote

Scorpion
Reputation: 470.7 Add RepSubtract Rep
Local time: 7:44 AM
Location: 30 miles from Carentan
blank.gif



0.13 posts per day
Medals: 3 (View more...)
Dedication (Amount: 1)
VIP
VIP
Joined: Dec 09, 2006
Last Visit: 11 Apr 2010
Posts: 264
Points: 11084 

Post Posted: Thu May 10, 2007 12:01 pm

If you want the members to be sorted by Kill Score, then you need to edit the index.php file by adding this code

Code:
// sorting by kill score
function sort_by_killscore($a, $b) {return strnatcmp($b["PLAYERKILLS"],$a["PLAYERKILLS"]);}
usort($playerstats,sort_by_killscore);


Now where to add it in the script Confused

Find line 133 and paste in the code between the } and the ?>


Scorps Cool

Last edited by Scorpion on Thu May 10, 2007 12:15 pm; edited 2 times in total
 

 
View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger Reply with quote

Dabby
Reputation: 461.4 Add RepSubtract Rep
Local time: 2:44 AM

netherlands.gif

Noob
Noob

0.00 posts per day
Medals: 0

Joined: May 09, 2007
Last Visit: 23 Nov 2007
Posts: 3
Points: 298 

Post Thank you very much for your help! Posted: Thu May 10, 2007 12:11 pm

Ty Scorpion,

I see I'm still a noob in these codes

Greez,

Diablo
 

 
View user's profileSend private message Reply with quote


Scorpion
Reputation: 470.7 Add RepSubtract Rep
Local time: 7:44 AM
Location: 30 miles from Carentan
blank.gif



0.13 posts per day
Medals: 3 (View more...)
Dedication (Amount: 1)
VIP
VIP
Joined: Dec 09, 2006
Last Visit: 11 Apr 2010
Posts: 264
Points: 11084 

Post Posted: Fri May 11, 2007 6:43 pm

I hope you don't mind Dabby, but I've made some improvements since checkin' it out on your site.

There were a few things that were buggin' me about the layout ( mainly the 'Player playing online' section at the foot of the module. They didn't line up correctly...they now do )

Loads of great additions in v3.0 so go check it out in the Club m8y.

The main addition is being able to show the away players status. This module is a first to achieve this apart from the hosting tracker site.

PS: You wont have to edit the files much as I wrote it using your clans data as examples Wink

Scorps
 

 
View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger Reply with quote

Dabby
Reputation: 461.4 Add RepSubtract Rep
Local time: 2:44 AM

netherlands.gif

Noob
Noob

0.00 posts per day
Medals: 0

Joined: May 09, 2007
Last Visit: 23 Nov 2007
Posts: 3
Points: 298 

Post I thank Scorpion for the fast response and update Posted: Fri May 11, 2007 7:53 pm

Very nice and I will check it out ASAP :!:

Thanx Scorpion 8)

Greez,

Diablo
 

 
View user's profileSend private message Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Modules


 
4 Replies / 2191 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
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 can download files in this forum