Advertisement:

Author Topic: [Hack/SMF 2.0.x] Remove "Read xx times" from topic view *UPDATED*  (Read 27123 times)

Offline NewMoon

  • Newbie
  • *
  • Posts: 5
Re: [Hack/SMF 2.0.x] Remove "Read xx times" from topic view *UPDATED*
« Reply #20 on: January 02, 2015, 04:58:03 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?

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,500
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: [Hack/SMF 2.0.x] Remove "Read xx times" from topic view *UPDATED*
« Reply #21 on: January 02, 2015, 05:18:46 PM »
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."

Offline NewMoon

  • Newbie
  • *
  • Posts: 5
Re: [Hack/SMF 2.0.x] Remove "Read xx times" from topic view *UPDATED*
« Reply #22 on: January 02, 2015, 06:46:34 PM »
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.

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,500
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: [Hack/SMF 2.0.x] Remove "Read xx times" from topic view *UPDATED*
« Reply #23 on: January 02, 2015, 06:47:22 PM »
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."