TechN9ne1730
New Member
I am trying to write my first add on in quite some time, so my coding skills are a bit rusty. Can some one help me fire out where I went wrong?
Parse error: syntax error, unexpected T_STRING in /public_html/forum/global.php(614) : eval()'d code on line 1210.
This error is caused because you use ' (single quotes) on str_replace string put \ before all single quotes (like $show[\'largereplybutton\'])TechN9ne1730 said:Basically just trying to write a plug in to put the new thread button in the show thread template. I know there is a template edit for this but I would rather accomplish it via a plug in so that the manual edit doesnt need to be done every time a new skin is added.
As for the hook I cant confirm this but I believe I have used the right one. I am using the "parse_templates" hook. This is the error i get when I enable it: