Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: margarett on April 04, 2014, 01:58:37 AM

Title: Count Number of Own Posts in Topic View
Post by: margarett on April 04, 2014, 01:58:37 AM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3852)



Count Number of Own Posts in Topic View

This MODification allows you to dynamically display, for each topic, the number of posts by the user currently viewing the MessageIndex.
Please note that:
- You need to have "Participation icons" enabled: Administration Center » Posts and Topics » Topic Settings
- In order to save space, the "Replies" and "Views" texts are removed and the respective numbers are shown side-by-side, separated with a slash. Please look at the sample images.
- As the MOD changes MessageIndex.template.php, it is possible that this will not install cleanly in some custom themes.

Languages:
     - English
     - Portuguese (PT and BR)

Changelog

Version 1.00 // 01-04-2014
================================================================================
+ First release

Legend:
--------------------------------------------------------------------------------
! Minor change or bugfix.
+ Feature addition or improvement.
- Feature or option removal.


(http://i.creativecommons.org/l/by/3.0/88x31.png)
This mod is licensed under Creative Commons Attribution 3.0 Unported License (http://creativecommons.org/licenses/by/3.0/)
Title: Re: Count Number of Own Posts in Topic View
Post by: Colin on April 04, 2014, 01:59:22 AM
Nicely done.
Title: Re: Count Number of Own Posts in Topic View
Post by: Shambles on April 04, 2014, 03:15:09 AM
That could be quite useful Bruno - nice one.

Good to see Yoshi's ModManager getting a workout too  8)
Title: Re: Count Number of Own Posts in Topic View
Post by: margarett on April 04, 2014, 03:21:56 AM
Thanks ;)

Yup, ModBuilder is quite handy. I have no patience to write all instructions by hand :P
Title: Re: Count Number of Own Posts in Topic View
Post by: 4Kstore on April 08, 2014, 03:22:25 PM
Nice mod, congratulations and thanks for share with us.

Spanish_es.php and spanish.latin.php translation:
$txt['own_posts'] = 'Mensajes propios: %1$d';
Title: Re: Count Number of Own Posts in Topic View
Post by: margarett on April 08, 2014, 07:22:56 PM
Thanks ;)

Can you just confirm if the files are:
Modifications.spanish_es.php
Modifications.spanish_latin.php
/me feels lazy :P
Title: Re: Count Number of Own Posts in Topic View
Post by: 4Kstore on April 08, 2014, 08:18:37 PM
Confirmed (Y)