MyBB Community Forums

Full Version: Template securty problem?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,at the request of a user for a make sticky thread!
If this problem occurs when importing a theme:
Quote:The following errors were encountered:

* A potential security issue was found in the template. Please review your changes or contact the MyBB Group for support.

Check this steps:

1.
  • Open XML file of the theme!


  • Find:

    Quote:{$monthnames[$prev_month['month']]}

    Replace with:

    Quote:{$prev_month['month']}

  • Find:

    Quote:{$monthnames[$next_month['month']]}

    Replace with:

    Quote:{$next_month['month']}

  • Find:

    Quote:{$monthnames[$week_from[1]]}

    Replace with:

    Quote:{$monthnames[$week_from_one]}

  • Find:

    Quote:{$type_checked[$type['tid']]}

    Replace with:

    Quote:{$checked}
So will not create more threads on the same topic!
I would like to ask a member of staff to put this topic sticky! Thank You!