Removing "Posts: I am a geek"

Started by spiros, July 31, 2019, 02:35:02 AM

Previous topic - Next topic

spiros

Removing "Posts: I am a geek"

I found this line is Load.php

'posts' => $profile['posts'] > 10000 ? $txt['geek'] : comma_format($profile['posts']),

How can the conditional be removed altogether?

I tried this but the site did not load at all.

'posts' => $profile['posts'] : comma_format($profile['posts']),

Aleksi "Lex" Kilpinen

Edit the number to something overly large like 999999, or remove the complete line not just the condition.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Arantor

You need the line but more like this:


'posts' => comma_format($profile['posts']),

spiros

Thanks Arantor, that did the trick. Removing the whole line is not an option as it removes post count.

Aleksi "Lex" Kilpinen

Quote from: Arantor on July 31, 2019, 02:56:37 AM
You need the line but more like this:


'posts' => comma_format($profile['posts']),

Thanks, I've played around with that line myself but apparently didn't really remember correctly how it's done.
Should've looked better before answering.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Advertisement: