[Hack/SMF 2.0.x] Remove "Read xx times" from topic view *UPDATED*

Started by NanoSector, May 19, 2012, 02:46:19 PM

Previous topic - Next topic

NewMoon

Quote from: NanoSector on January 01, 2015, 05:21:10 PM
Thanks NewMoon, happy new year to you too! :)

I'll add it to the package in a minute. I've also wrapped your code in [code][/code] tags in your post, so it's more easily readable.

Thanks again!

Thanks for fixing formatting in my post! :)

Also, I noticed another place where the View count is displayed but can't figure out the template.  It's the "Show new replies to your posts" page.  Any idea?

NanoSector

That's the same Recent.template.php file. It s hould be in another function in that same file.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

NewMoon

The code is in two places in the template, but the search/replace should have taken care of it, I think, since it's identical.  I'm not familiar with SMF code or MODs so this is just me guessing.

NanoSector

The package manager only runs each operation once, then moves on to the next operation. I think it should be defined twice.
Will take care of  this later.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Advertisement: