Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: davidhs on May 18, 2011, 06:54:18 PM

Title: Count descendant's posts
Post by: davidhs on May 18, 2011, 06:54:18 PM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=3009)

Count descendant's posts

ABOUT...

Count descendant's posts, 1.0.12
© 2011-2021 by davidhs

(https://i.creativecommons.org/l/by/3.0/88x31.png) (https://creativecommons.org/licenses/by/3.0/)
This work is licensed under a Creative Commons Attribution 3.0 Unported License (https://creativecommons.org/licenses/by/3.0/).

DESCRIPTION

Adds the possibility to count descendant's posts in boards's totals in "Administration Center > Boards > Settings".

(https://lh3.googleusercontent.com/zqPyc3zAckuVxvJlnFGi1sZL2bIpLIj1xfG74CXZa0pq8PsDOmcgwbDBm6wi22Fp1NDSFrepT6sNyxUyQ6_vwT6jK0bERdkJH80ug3IQ4ugP6bpgggccPGsr5SAH0UekiFm8AZ5bkQ=w2400)

This MOD may cause a performance slowdown on sites with many descendant boards.

EXAMPLE

(https://lh3.googleusercontent.com/Nu-oLqtCKQUJa5kdrwr58CQATp4KAxi11LRJhROgw_NNbTPy7qCUXvo_-cinPXktSP3D2a2FUMoDgMKvcYF5Q7ECHiHse5VLP1vmMhRlXA_nQ13K6M1doh-JaPsD8gEcJGoxttH2KA=w2400)

SMF COMPATIBILITY


The functionality of this MOD is already included in SMF 2.1 RC1 and next.

LANGUAGES


DOWNLOAD

Link to MOD (https://custom.simplemachines.org/mods/index.php?mod=3009)

MANUAL INSTALLATION

See https://wiki.simplemachines.org/smf/Manual_installation_of_mods

COLLABORATE WITH THIS MOD

This work is licensed under a Creative Commons Attribution 3.0 Unported License (https://creativecommons.org/licenses/by/3.0/).

You are free to share and adapt this MOD. Also you can collaborate in different ways:

CHANGE LOG

Legend:   ! Fixed   + Added   - Removed   * Changed   @ Note

1.0.12  2021-02-21
------------------
! SMF 2.0.x: Do not use HTML entities in ISO-8859-1 languages.
+ SMF compatibility: 2.0.16-2.0.18.

1.0.11  2019-05-04
------------------
@ The functionality of this MOD is already included in SMF 2.1 RC1 and next.

1.0.10  2018-08-13
------------------
! Error in source code.
+ SMF 2.1.x: Uninstallation code to the configuration variables.
+ SMF 2.1.x: Uses integration hooks.
+ SMF compatibility: 2.0.9 to 2.0.15 and 2.1 Beta 3.
- Languages: spanish, spanish-utf8 (these are not used).

1.0.9   2014-06-24
------------------
! Use HTML entities in ISO-8859-1 languages.
+ SMF compatibility: 2.0.8.

1.0.8   2014-01-25
------------------
+ SMF compatibility: 2.0.7.

1.0.7   2013-10-24
------------------
+ SMF compatibility: 2.0.6.

1.0.6   2013-08-19
------------------
@ This work is licensed under a Creative Commons Attribution 3.0 Unported License https://creativecommons.org/licenses/by/3.0/
+ SMF compatibility: 2.0.5.

1.0.5   2013-04-10
------------------
+ SMF compatibility: 2.0.4.
- SMF compatibility: Support to Beta and RC versions.

1.0.4   2012-12-22
------------------
+ SMF compatibility: 2.0.3.
+ Redirect to "Boards > Settings" area after install.

1.0.3   2011-12-24
------------------
+ SMF compatibility: 2.0.2.

1.0.2   2011-09-20
------------------
+ SMF compatibility: 2.0.1.

1.0.1   2011-06-18
------------------
+ SMF compatibility: 2.0.

1.0     2011-04-13
------------------
+ Input checkbox button for count descendant's posts in boards's totals.
+ SMF compatibility: 2.0 Beta 3.1 Public, Beta 4 and RC1 to RC5.
+ Languages: english, english-utf8, english_british, english_british-utf8, spanish, spanish-utf8, spanish_es, spanish_es-utf8, spanish_latin, spanish_latin-utf8.
Title: Re: Count descendant's posts, 1.0.1 (SMF 2.0*-2.0)
Post by: davidhs on June 23, 2011, 12:18:17 PM
New version:

1.0.1   2011-06-18
------------------
+ SMF compatibility: Adds 2.0.
Title: Re: Count descendant's posts, 1.0.1 (SMF 2.0*-2.0)
Post by: Qub1 on September 17, 2011, 01:20:19 PM
Man, you're the best, this was one of the features smf was missing,

thanks!
Title: Re: Count descendant's posts, 1.0.2 (SMF 2.0*-2.0.1)
Post by: davidhs on September 22, 2011, 12:31:54 PM
New version:

1.0.2   2011-09-20
------------------
+ SMF compatibility: Adds 2.0.1./[code]
Title: Re: Count descendant's posts, 1.0.3 (SMF 2.0*-2.0.2)
Post by: davidhs on December 25, 2011, 02:39:39 PM
New version:
1.0.3   2011-12-24
------------------
+ SMF compatibility: Adds 2.0.2.
Title: Re: Count descendant's posts, 1.0.4 (SMF 2.0*-2.0.3)
Post by: davidhs on December 22, 2012, 10:53:16 AM
New version:
1.0.4   2012-12-22
------------------
+ SMF compatibility: Adds 2.0.3.
+ Redirect to "Boards > Settings" area after install.
Title: Re: Count descendant's posts, 1.0.5 (SMF 2.0-2.0.4)
Post by: davidhs on April 09, 2013, 07:11:45 PM
New version:
1.0.5   2013-04-10
------------------
+ SMF compatibility: Adds 2.0.4.
- SMF compatibility: Removes support to Beta and RC versions.
Title: Re: Count descendant's posts, 1.0.6 (SMF 2.0-2.0.5)
Post by: davidhs on August 21, 2013, 07:28:49 AM
New version:
1.0.6   2013-08-19
------------------
@ This work is licensed under a Creative Commons Attribution 3.0 Unported License http://creativecommons.org/licenses/by/3.0/
+ SMF compatibility: Adds 2.0.5.
Title: Re: Count descendant's posts, 1.0.7 (SMF 2.0-2.0.6)
Post by: davidhs on October 24, 2013, 02:41:31 PM
New version:
1.0.7   2013-10-24
------------------
+ SMF compatibility: 2.0.6.
Title: Re: Count descendant's posts, 1.0.8 (SMF 2.0-2.0.7)
Post by: davidhs on January 25, 2014, 11:06:10 AM
New version:
1.0.8   2014-01-25
------------------
+ SMF compatibility: 2.0.7.
Title: Re: Count descendant's posts, 1.0.9 (SMF 2.0-2.0.8)
Post by: davidhs on June 25, 2014, 08:31:43 AM
New version:
1.0.9   2014-06-24
------------------
! Use HTML entities in ISO-8859-1 languages.
+ SMF compatibility: 2.0.8.
Title: Re: Count descendant's posts, 1.0.9 (SMF 2.0-2.0.9)
Post by: davidhs on October 07, 2014, 08:26:08 AM
Compatible with SMF 2.0.9.
Title: Re: Count descendant's posts, 1.0.9 (SMF 2.0-2.0.9)
Post by: MoreBloodWine on December 20, 2014, 09:18:25 PM
I know this can be very resource intensive on forums with a ****** ton of grandchildren but with my site not having a lot I still get under a second page loads. That being said, would you consider adding the option / ability to also out put the Last Post info which would generally look something like this ?

Last post by user
in Re: Possible Home Page C...
on August 15, 2014, 1:25:57 pm

Way it is now it works fine on totals but my specific setup leaves some of those areas blank the way some categories are set, Ty.

Edit: I've since uninstalled this mod pending your answer but will still use it either way but see eojmarket.com to note the "blanks" for last post info.
Title: Re: Count descendant's posts, 1.0.9 (SMF 2.0-2.0.9)
Post by: davidhs on December 21, 2014, 06:51:54 AM
Quote from: MoreBloodWine on December 20, 2014, 09:18:25 PM
I know this can be very resource intensive on forums with a ****** ton of grandchildren but with my site not having a lot I still get under a second page loads. That being said, would you consider adding the option / ability to also out put the Last Post info which would generally look something like this ?

Last post by user
in Re: Possible Home Page C...
on August 15, 2014, 1:25:57 pm

Way it is now it works fine on totals but my specific setup leaves some of those areas blank the way some categories are set, Ty.

Edit: I've since uninstalled this mod pending your answer but will still use it either way but see eojmarket.com to note the "blanks" for last post info.
I will see this. :) But will it take to see. Install now this version.
Title: Re: Count descendant's posts, 1.0.9 (SMF 2.0-2.0.9)
Post by: MoreBloodWine on December 21, 2014, 08:14:02 AM
Quote from: davidhs on December 21, 2014, 06:51:54 AM
Quote from: MoreBloodWine on December 20, 2014, 09:18:25 PM
I know this can be very resource intensive on forums with a ****** ton of grandchildren but with my site not having a lot I still get under a second page loads. That being said, would you consider adding the option / ability to also out put the Last Post info which would generally look something like this ?

Last post by user
in Re: Possible Home Page C...
on August 15, 2014, 1:25:57 pm

Way it is now it works fine on totals but my specific setup leaves some of those areas blank the way some categories are set, Ty.

Edit: I've since uninstalled this mod pending your answer but will still use it either way but see eojmarket.com to note the "blanks" for last post info.
I will see this. :) But will it take to see. Install now this version.
I indstalled it but I don't know what there is you want to see. Like I said, I would like to see the following data included as well.

Last post by user
in Re: Possible Home Page C...
on August 15, 2014, 1:25:57 pm

This way we're / anyone isn't otherwise left with big blank spaces to the right of the totals depending on the layout of their grandchild boards. Basically look at the last three categories on eojmarket.com

Note the bottom two have this "last post" info while the third up from the bottom does not.
Title: Re: Count descendant's posts, 1.0.9 (SMF 2.0-2.0.9)
Post by: davidhs on December 21, 2014, 09:18:30 AM
I have to see how to do it, but now I have no time. I note this in "things to do".
Title: Re: Count descendant's posts, 1.0.9 (SMF 2.0-2.0.9)
Post by: davidhs on May 23, 2015, 12:59:08 PM
Quote from: MoreBloodWine on December 21, 2014, 08:14:02 AM
Quote from: davidhs on December 21, 2014, 06:51:54 AM
Quote from: MoreBloodWine on December 20, 2014, 09:18:25 PM
I know this can be very resource intensive on forums with a ****** ton of grandchildren but with my site not having a lot I still get under a second page loads. That being said, would you consider adding the option / ability to also out put the Last Post info which would generally look something like this ?

Last post by user
in Re: Possible Home Page C...
on August 15, 2014, 1:25:57 pm

Way it is now it works fine on totals but my specific setup leaves some of those areas blank the way some categories are set, Ty.

Edit: I've since uninstalled this mod pending your answer but will still use it either way but see eojmarket.com to note the "blanks" for last post info.
I will see this. :) But will it take to see. Install now this version.
I indstalled it but I don't know what there is you want to see. Like I said, I would like to see the following data included as well.

Last post by user
in Re: Possible Home Page C...
on August 15, 2014, 1:25:57 pm

This way we're / anyone isn't otherwise left with big blank spaces to the right of the totals depending on the layout of their grandchild boards. Basically look at the last three categories on eojmarket.com

Note the bottom two have this "last post" info while the third up from the bottom does not.
Sorry, I tried to do this but I could not. :( If it can do, is too complex for this mod.
Title: Re: Count descendant's posts, 1.0.9 (SMF 2.0-2.0.9)
Post by: davidhs on May 23, 2015, 01:01:24 PM
To moderators: Text to move to first post
QuoteSubject:
QuoteCount descendant's posts, 1.0.9 (SMF 2.0-2.0.10)
Body:
Quote
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3009)




Count descendant's posts

ABOUT...

Count descendant's posts, 1.0.9
© 2011-2015 by davidhs

(http://i.creativecommons.org/l/by/3.0/88x31.png) (http://creativecommons.org/licenses/by/3.0/)
This work is licensed under a Creative Commons Attribution 3.0 Unported License (http://creativecommons.org/licenses/by/3.0/).

DESCRIPTION

Adds the possibility to count descendant's posts in boards's totals in "Administration Center > Boards > Settings".

(https://googledrive.com/host/0B7M1e_-FeoeERjhGTm40elhYaTA/count_descendant_posts.png)

This MOD may cause a performance slowdown on sites with many descendant boards.

SMF COMPATIBILITY


  • SMF 2.0 to 2.0.10.

LANGUAGES


  • english, english_british.
  • spanish, spanish_es, spanish_latin.

If you want help translating it into other languages, you can add the translation in this topic.

MANUAL INSTALLATION

See http://wiki.simplemachines.org/smf/Manual_installation_of_mods

SUPPORT AND COMMENTS

In English: http://www.simplemachines.org/community/index.php?topic=434615.0
In Spanish: http://www.simplemachines.org/community/index.php?topic=429699.0

CHANGE LOG

Legend:   ! Fixed   + Added   - Removed   * Changed   @ Note

1.0.9   2014-06-24
------------------
! Use HTML entities in ISO-8859-1 languages.
+ SMF compatibility: 2.0.8.

1.0.8   2014-01-25
------------------
+ SMF compatibility: 2.0.7.

1.0.7   2013-10-24
------------------
+ SMF compatibility: 2.0.6.

1.0.6   2013-08-19
------------------
@ This work is licensed under a Creative Commons Attribution 3.0 Unported License http://creativecommons.org/licenses/by/3.0/
+ SMF compatibility: 2.0.5.

1.0.5   2013-04-10
------------------
+ SMF compatibility: 2.0.4.
- SMF compatibility: Support to Beta and RC versions.

1.0.4   2012-12-22
------------------
+ SMF compatibility: 2.0.3.
+ Redirect to "Boards > Settings" area after install.

1.0.3   2011-12-24
------------------
+ SMF compatibility: 2.0.2.

1.0.2   2011-09-20
------------------
+ SMF compatibility: 2.0.1.

1.0.1   2011-06-18
------------------
+ SMF compatibility: 2.0.

1.0     2011-04-13
------------------
+ Input checkbox button for count descendant's posts in boards's totals.
+ SMF compatibility: 2.0 Beta 3.1 Public, Beta 4 and RC1 to RC5.
+ Languages: english, english-utf8, english_british, english_british-utf8, spanish, spanish-utf8, spanish_es, spanish_es-utf8, spanish_latin, spanish_latin-utf8.





Compatible with SMF 2.0.10.
Title: Re: Count descendant's posts
Post by: davidhs on October 01, 2015, 04:07:05 PM
Compatible with SMF 2.0.11.
Title: Re: Count descendant's posts
Post by: davidhs on October 12, 2016, 11:43:08 AM
Compatible with SMF 2.0.12.
Title: Re: Count descendant's posts
Post by: davidhs on January 12, 2017, 04:10:35 PM
Compatible with SMF 2.0.13.
Title: Re: Count descendant's posts
Post by: davidhs on November 25, 2017, 12:37:18 PM
Compatible with SMF 2.0.14 and 2.0.15.
Title: Re: Count descendant's posts
Post by: davidhs on August 14, 2018, 01:29:34 PM
New version:
1.0.10  2018-08-13
------------------
! Error in source code.
+ SMF 2.1.x: Uninstallation code to the configuration variables.
+ SMF 2.1.x: Uses integration hooks.
+ SMF compatibility: 2.0.9 to 2.0.15 and 2.1 Beta 3.
- Languages: spanish, spanish-utf8 (these are not used).
Title: Re: Count descendant's posts
Post by: davidhs on May 10, 2019, 09:51:51 AM
Quote from: MoreBloodWine on December 20, 2014, 09:18:25 PM
I know this can be very resource intensive on forums with a ****** ton of grandchildren but with my site not having a lot I still get under a second page loads. That being said, would you consider adding the option / ability to also out put the Last Post info which would generally look something like this ?

Last post by user
in Re: Possible Home Page C...
on August 15, 2014, 1:25:57 pm

Way it is now it works fine on totals but my specific setup leaves some of those areas blank the way some categories are set, Ty.

Edit: I've since uninstalled this mod pending your answer but will still use it either way but see eojmarket.com to note the "blanks" for last post info.
This (and the functionality of this MOD) is added in SMF 2.1 RC1 and next.




New version:
1.0.11  2019-05-04
------------------
@ The functionality of this MOD is already included in SMF 2.1 RC1 and next.
Title: Re: Count descendant's posts
Post by: davidhs on March 05, 2020, 06:17:21 PM
Compatible with SMF 2.0.16 and 2.0.17.
Title: Re: Count descendant's posts
Post by: davidhs on February 22, 2021, 11:38:34 AM
New version:
1.0.12  2021-02-21
------------------
! SMF 2.0.x: Do not use HTML entities in ISO-8859-1 languages.
+ SMF compatibility: 2.0.16-2.0.18.