TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 1,031
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 333
  • Total: 333

Suggestion: Shout counter per user

Started by rapture, August 22, 2005, 04:26:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rapture

Like post counts, I would like to see a counter that counted the total number of shouts that each user has posted in the shoutbox.  Is there an easy way to create this mod?

Bjørn

It would mean to get that info from the variables table - not impossible, but perhaps more work to actually show it in the theme. better as a code snippet in a block then I think. perhaps top "shouters" and/or simply adding your own shout count to the userbox type of block. I do not want it in posts display..because that means altering another template - more headeache if things go awry. But in the TP parts its another story.

Actually..its not difficult to modify current shouts routine to count you own - and keep the top ones. It can be done in the same sql call.

...but how do others feel? is this something that would be beneficial? or should it best be left as a "hack" to insert in a block if you want? ( i can write up the code for that of course)

borgBOB

Would never turn down a chance for more free code. Especially from a code guru like Bloc.
But may be best left as a 'hack'

IchBin

I don't think it needs to be built in. I agree it would be nice to have it available as a code snippet.

Bjørn

I will write that up for those interested.

ontap


This website is proudly hosted on Crocweb Cloud Website Hosting.