SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

Hide Post Authors from Guests

Started by Matthew K., June 17, 2009, 10:42:50 AM

Previous topic - Next topic

Matthew K.


I apologize for the bad English.

You can add , hide the name moderators


Quote from: Labradoodle-360 on February 20, 2011, 11:30:20 PM
I apologize, but this is not going to be updated...especially for the 1.1x series. If anyone would like to take this mod over...feel free to shoot me a PM.
This mod isn't going to be updated then? for 2.0 series

Matthew K.

Not by me it's not. Although...I might actually consider it.


hehe, I'm looking for a way to make some boards "anymous" but the "anonymous boards" in the mod site mess too much with the DB.


Really like this MOD.

I am using SMF 2.0.2 and had to make a few tweaks from the parsed code to manually insert this in my forum but not too many really, mainly in the Subs.php file.

I did notice one thing though, when I click the link 'View the most recent posts on the forum.' in my forum stats, the recoent posts were shown as they should but the Authors names were also been shown.

I made a quick tweak to ./Themes/default/Recent.template.php

<span class="smalltext">&#171;&nbsp;', $txt['last_post'], ' ', $txt['by'], ' <strong>', $post['poster']['link'], ' </strong> ', $txt['on'], '<em> ', $post['time'], '</em>&nbsp;&#187;</span>

Replace with
<span class="smalltext">&#171;&nbsp;', $txt['last_post'], ' ', $txt['by'], ' <strong>', (($context['user']['is_guest']) ? $txt['user_hidden'] : $post['poster']['link']), ' </strong> ', $txt['on'], '<em> ', $post['time'], '</em>&nbsp;&#187;</span>



Matthew K.

Better to modify things source side, which is always possible.


Ufff!!!... Pleaseee, UpDate for SMF 2.0.7... Thanks ;)

Thanks & Regards 8).-
Vive Cáda Momento De Tu Vida Como Si Fueras a Irte Mañana, Más Planificala Cómo Si Jamás Fueras a Irte ;).-


Uninstalled this mod but it still says "hidden user"
How can i revert to showing the username back? Thanks.