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

0 Members and 2 Guests are viewing this topic.

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13221
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
[Tip]: Top posters
« on: January 04, 2007, 01:25:36 AM »
Wanna see a listing of the people who post the most on your site ??? Put this onto the end of your url, after the index.php:

:
?action=mlist;sort=posts;start=0
« Last Edit: January 05, 2007, 04:52:07 PM by bigguy »

Offline Skhilled

  • Hero Member
  • *
  • Posts: 453
  • Karma: 9
  • Gender: Male
  • Retro Gamer!
Re: [Tip]: Top posters
« Reply #1 on: January 05, 2007, 04:43:26 PM »
Nice tip! ;)

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13221
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: [Tip]: Top posters
« Reply #2 on: January 05, 2007, 04:52:40 PM »
I was surprised to learn this but it is a pretty good little tip.

Offline Skhilled

  • Hero Member
  • *
  • Posts: 453
  • Karma: 9
  • Gender: Male
  • Retro Gamer!
Re: [Tip]: Top posters
« Reply #3 on: January 05, 2007, 05:06:12 PM »
I think anything you can list in smf will work like that...with the correct string. Finding out which string is any story. LOL

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13221
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: [Tip]: Top posters
« Reply #4 on: January 05, 2007, 05:07:38 PM »
There are a lot of hidden tricks to SMF I think. I would like to start an eater egg hunt. I think that would be cool. Maybe I will have to start a new thread for that.

Offline Skhilled

  • Hero Member
  • *
  • Posts: 453
  • Karma: 9
  • Gender: Male
  • Retro Gamer!
Re: [Tip]: Top posters
« Reply #5 on: January 05, 2007, 05:14:28 PM »
Gathering a list of those would be a great idea. I'm sure a lot of people would be grateful!

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13221
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: [Tip]: Top posters
« Reply #6 on: January 05, 2007, 05:35:08 PM »
For the easter eggs or the hidden tips. They are both good ideas. Maybe we will do both. :)

Offline Skhilled

  • Hero Member
  • *
  • Posts: 453
  • Karma: 9
  • Gender: Male
  • Retro Gamer!
Re: [Tip]: Top posters
« Reply #7 on: January 05, 2007, 05:39:50 PM »
Both sounds good!

Offline Shadow

  • Hello, SMF Helper!
  • Guru
  • *
  • Posts: 1055
  • Karma: 13
  • Gender: Female
  • I'm fine and you?
    • My Kingdom/Shadow's Kingdom
  • SMF Version: 2.0.1 With SP
Re: [Tip]: Top posters
« Reply #8 on: January 06, 2007, 04:27:16 PM »
good tip, i check that out and i must say WOW

Offline edifier

  • Jr. Member
  • *
  • Posts: 128
  • Karma: 3
    • Murr's Board
Re: [Tip]: Top posters
« Reply #9 on: February 07, 2007, 09:41:10 PM »
  I would like to create a block listing say the top 10 posters. How would i do this?.
Murr's Board - A place for Security Discussion

Offline Shadow

  • Hello, SMF Helper!
  • Guru
  • *
  • Posts: 1055
  • Karma: 13
  • Gender: Female
  • I'm fine and you?
    • My Kingdom/Shadow's Kingdom
  • SMF Version: 2.0.1 With SP
Re: [Tip]: Top posters
« Reply #10 on: February 09, 2007, 11:50:18 AM »
  I would like to create a block listing say the top 10 posters. How would i do this?.

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 />';
}

Offline edifier

  • Jr. Member
  • *
  • Posts: 128
  • Karma: 3
    • Murr's Board
Re: [Tip]: Top posters
« Reply #11 on: February 09, 2007, 12:14:32 PM »
         I'll try that. Thanks Shadow.
Murr's Board - A place for Security Discussion

Offline Shadow

  • Hello, SMF Helper!
  • Guru
  • *
  • Posts: 1055
  • Karma: 13
  • Gender: Female
  • I'm fine and you?
    • My Kingdom/Shadow's Kingdom
  • SMF Version: 2.0.1 With SP
Re: [Tip]: Top posters
« Reply #12 on: February 09, 2007, 12:29:23 PM »
Your most welcome!

Offline Miaz

  • New Member
  • *
  • Posts: 4
  • Karma: 1
  • Gender: Female
    • ByteCollectors.com
  • SMF Version: SMF 1.1.8
Re: [Tip]: Top posters
« Reply #13 on: February 09, 2009, 03:20:59 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 /]';
}

 :hlp
hi i love this idea but as im new to all this coding etc u say "Put this code in a phpbox  " sorry for being a total noob but how do i make a php box plz :unde

Offline Smoky

  • who, me?
  • Guru
  • *
  • Posts: 3980
  • Karma: 1450
  • Gender: Female
  • It's all in your HEAD!
    • HangOutSpot
  • SMF Version: 2.0 ??
Re: [Tip]: Top posters
« Reply #14 on: February 09, 2009, 06:02:52 PM »
you need to be using a portal, tinyprotal, simple portal  ;)
Oh wow, guess who dropped by! Im still on secondlife.. but will respond to im's *waves