Advertisement:

Author Topic: Total number of images posted in postbit  (Read 1876 times)

Offline Just Susan

  • Newbie
  • *
  • Posts: 0
Total number of images posted in postbit
« on: December 23, 2017, 01:53:02 PM »
The title should explain it all.

Your forum is image oriented, let's say it's a photography or art forum. One rating of a member's prestige or activity ranking is the number of images they have shared with the forum members.

Put the total in the postbit along with #posts, join date, etc.

You would need an admin function to allow recounting a specific member.

However the # images should not go away when say a topic goes dead and staff has to delete it. That is of course contradictory of above, but staff can decide when a member needs a recount. Also it should be configurable by staff in the member's profile.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,326
    • Arantor on GitHub
Re: Total number of images posted in postbit
« Reply #1 on: December 23, 2017, 01:56:54 PM »
This is not going to be a feature in the core software (which is what the feature requests board is for)

I could see maybe it being a mod, but given the different ways this could be handled (images uploaded as attachments, vs images uploaded via a gallery, vs images hotlinked) it would be surprisingly hard to get right.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline Just Susan

  • Newbie
  • *
  • Posts: 0
Re: Total number of images posted in postbit
« Reply #2 on: December 23, 2017, 03:48:57 PM »
I would settle for counting a member's IMG tags and forget the attachments because my forum is set up for members to use image hosts. I'm not going to store their images on my precious server space! :)

I hope you'll pardon me but I ran a SMF forum once and then shut it down maybe a year ago, even forgot my username here at SMF so I had to re-register. I'm afraid I'm a bit rusty...

Would there be any mod like that? I guess I can always put in a mod request.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,326
    • Arantor on GitHub
Re: Total number of images posted in postbit
« Reply #3 on: December 23, 2017, 04:29:58 PM »
There is no mod like that though it would be annoying to build and maintain, but not especially difficult. You'd add a detection to the createpost routine to add a count when a post was created and then load it as part of the rest of stuff loaded at post display time.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline Just Susan

  • Newbie
  • *
  • Posts: 0
Re: Total number of images posted in postbit
« Reply #4 on: December 23, 2017, 06:26:22 PM »
Of course. I just haven't written it yet.

Anybody on a team that sells mods, please PM me if you want to hook up.

Offline Steve

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 4,016
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Total number of images posted in postbit
« Reply #5 on: December 23, 2017, 07:41:10 PM »
As this is, or has become, a mod request I'm moving this to that section ~ Steve
Please do not PM me for support.

Offline Just Susan

  • Newbie
  • *
  • Posts: 0
Re: Total number of images posted in postbit
« Reply #6 on: December 24, 2017, 12:28:00 AM »
Thank you Steve! :)

 I would love it if somebody would write this mod, And I would be willing to help write it too. I can write PHP and all that stuff.

In fact whoever finishes it can have all the credit all I want is the mod