MyBB Community Forums

Full Version: Commenting out in a template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I just had an wierd situation. I wanted to take out parts of the options the users can set in the UCP, so I used <!-- and --> in the template usercp_options. For the one part it worked fine. For the other one it only took out part of it. the language choosing part isn't supposed to be there and there is also the writing MyBB Default-->. Why doesn't it work properly?
I add my usercp_options and a screenshot.
Come on guys, nobody an idea?
I believe you would get a quicker reply if this was posted in the Code Modifications forum.
I haven't looked into your case as I am currently busy at the moment, but in my experience, comment tags screw up because there is an unclosed comment tag; meaning there is a --> somewhere not the <!-- part as you would know for sure if there was one of those. Scan your templates perhaps? Im not even 30% sure though.