Author Topic: [Tip]: Top posters  (Read 2536 times)

0 Members and 1 Guest are viewing this topic.

Offline Miaz

  • New Member
  • *
  • Posts: 4
  • Karma: 1
  • Gender: Female
    • ByteCollectors.com
  • SMF Version: SMF 1.1.8
Re: [Tip]: Top posters
« Reply #15 on: February 10, 2009, 08:21:00 PM »
ahhhhh i see ty hun deffo worth looking into  :p

Offline Tradition

  • Full Member
  • *
  • Posts: 218
  • Karma: 213
  • Gender: Male
    • Traditional Host
  • SMF Version: 1.1.16 + TP 1.0
Re: [Tip]: Top posters
« Reply #16 on: March 22, 2009, 11:47:43 PM »
This isn't mine code at all.

Put this code in a phpbox 

:
$numberofposters = 10; // You can change this to however many you want


require_once "SSI.php";
$top_posters = ssi_topPoster($numberofposters, "return");

foreach ($top_posters as $key => $value)
{
  echo $top_posters[$key]['link'] , ' (', $top_posters[$key]['posts'] , ')[br /]';
}

Thanks for the code. Worked real good.  :righton

Offline Tradition

  • Full Member
  • *
  • Posts: 218
  • Karma: 213
  • Gender: Male
    • Traditional Host
  • SMF Version: 1.1.16 + TP 1.0
Re: [Tip]: Top posters
« Reply #17 on: March 23, 2009, 12:00:55 AM »
I also have one for the different levels of posting. Let le know if anyone wants it and I'll put it up here.

Offline I AM Legend

  • Elite Member
  • *
  • Posts: 781
  • Karma: 330
  • Gender: Male
Re: [Tip]: Top posters
« Reply #18 on: March 23, 2009, 06:16:15 AM »
cool little tip, ty for sharing it, but on EFS I already know who posts the most  :lmao