Thread: Creating Addons
View Single Post
  #78  
Old 31 Oct 2014, 09:56
Black Snow Black Snow is offline
 
Join Date: Jul 2012
Is there a way to remove a chunk of code from a template using plugins? I know about the str_replace function but what about removing 20 lines from a template?

SHOWTHREAD template for example, how would I remove this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I could use a plugin to render a new showthread template with my customisation but thought there may be a way to remove it from the original template?
Reply With Quote