Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: kokobongo on April 04, 2008, 04:01:18 AM

Title: Posts made 1337
Post by: kokobongo on April 04, 2008, 04:01:18 AM
I'm not sure if its bug, but when i reached 1337 posts in my smf forum, the count was not "1337", but "leet" :)
Title: Re: Posts made 1337
Post by: Tristan Perry on April 04, 2008, 05:12:08 AM
This "easter egg" was scrapped in SMF 2.0, hence it's not a bug :)
Title: Re: Posts made 1337
Post by: SleePy on April 04, 2008, 12:01:00 PM
As said leet was removed in 2.0.. The "I'm a geek" text still exists though.
Title: Re: Posts made 1337
Post by: Aleksi "Lex" Kilpinen on April 04, 2008, 12:26:00 PM
Quote from: SleePy on April 04, 2008, 12:01:00 PM
As said leet was removed in 2.0.. The "I'm a geek" text still exists though.
1337 will be missed... :(
Caused a lot of fun responces over time.
Title: Re: Posts made 1337
Post by: anna.young on April 04, 2008, 07:58:13 PM
Oh NO! Why was it removed? What was it replaced with?
Title: Re: Posts made 1337
Post by: Tristan Perry on April 04, 2008, 08:06:16 PM
Quote from: anna.young on April 04, 2008, 07:58:13 PM
Oh NO! Why was it removed? What was it replaced with?
I think because some forum owners thought their forums had crashed/got a bug/been hacked (etc). For those who aren't into forum-speak, having the post count changed to "leet" at seemingly randomly intervals could be un-nerving.
Title: Re: Posts made 1337
Post by: anna.young on April 04, 2008, 08:13:38 PM
Why do we always have to live by the lowest common denominator in this sad and humorless world... ? [this is just a rhetorical question and no answer is expected...]
Title: Re: Posts made 1337
Post by: SleePy on April 05, 2008, 12:39:24 AM
While easter eggs in coding is fun (I like the destroyed forum one), it isn't very professional to have on professional websites. Leet as well is a slang word that doesn't translate into other languages as well.

Y are more than welcome to add this back in.

Just open Load.php
Find:
        'posts' => $profile['posts'] > 500000 ? $txt['geek'] : comma_format($profile['posts']),

Replace:
        'posts' => $profile['posts'] > 500000 ? $txt['geek'] : ($profile['posts'] == 1337 ? 'leet' : comma_format($profile['posts'])),
Title: Re: Posts made 1337
Post by: Aleksi "Lex" Kilpinen on April 05, 2008, 06:03:59 AM
Thank's Sleepy! :)
Title: Re: Posts made 1337
Post by: anna.young on April 05, 2008, 03:26:52 PM
Thank you Sleepy or should that be $£33p¥ ?

4|\||\|4
Title: Re: Posts made 1337
Post by: Panzer- on April 06, 2008, 01:12:26 AM
A little offtopic but meh.

A guy i know set one up on his board. When the user got to 666 posts, the profile turned red and this little devil badge came up.. The funny thing was when the person who had 666 posts made a new topic saying "This isn't supposed to happen is it?" , it added to the post count making him have 667 posts and all the devil-ish formatting (hah) came off.
Title: Re: Posts made 1337
Post by: Gargoyle on September 19, 2008, 12:02:23 AM
How would one "add" to that code??
Title: Re: Posts made 1337
Post by: Oldiesmann on September 23, 2008, 10:16:18 PM
Quote from: Gargoyle on September 19, 2008, 12:02:23 AM
How would one "add" to that code??

The devil icon could just be added with post groups... Have one post group that requires 666 posts, and another that requires 667 posts. Then, use a devil icon of some sort for the "star" for the group that requires 666 posts.

Turning something red when that happened would require some additional modification (the exact code for that would depend on what you wanted to do).
Title: Re: Posts made 1337
Post by: Gargoyle on September 23, 2008, 10:29:29 PM
I found it and added a few things to it... On my test server it worked well.. It's on the production site now and we will see how it goes..

Thanks for the ideas Oldies!! ;D