MyBB Community Forums

Full Version: Plugin Template Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Im adding a template like so:
find_replace_templatesets("newreply", "#".preg_quote('{$codebuttons}')."#i",'{$codebuttons}<br/><a href="#" onClick=etc...............

But this part is causing problems (Part in red)
Quote:<a href="#" onClick=etc.........

When i activate the plugin its working , no problem but when i deactivate it , it removes the complete template. When i remove "#" and activate the plugin and deactivate it it works fine , but obviously i need the "#" for my onclick function to work correctly, anyone got any ideas ?
Lol ive got it , i just removed >> #