Solved: 8 Years, 3 Months, 2 Weeks ago A potential security issue
#1
Solved: 8 Years, 3 Months, 2 Weeks ago
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.

i am trying to create new template.

how can i solve this thanks?
Reply
#2
Solved: 8 Years, 3 Months, 2 Weeks ago
maybe some errors in the php code... you can post the content of the template you are trying to create, so someone can check and correct it...
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#3
Solved: 8 Years, 3 Months, 2 Weeks ago
It only accepts certain types of variables in a template or you will be unable to save the template. Pasting the template here will make us figure out exactly where it doesn't like it. I do invite you to take a look at my theme variables plugin because it does have many control options for what appears.
Reply
#4
Solved: 8 Years, 3 Months, 2 Weeks ago
(2015-02-12, 02:17 PM)dragonexpert Wrote: It only accepts certain types of variables in a template or you will be unable to save the template.  Pasting the template here will make us figure out exactly where it doesn't like it.  I do invite you to take a look at my theme variables plugin because it does have many control options for what appears.

what in the premium plugin? what are these variables you can use, but why no conditionals?
Reply
#5
Solved: 8 Years, 3 Months, 2 Weeks ago
$ symbols incorrectly escaped will cause this issue; same with incorrect use of the [] characters. Post the code; we aren't going to steal it Toungue
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


Reply
#6
Solved: 8 Years, 3 Months, 2 Weeks ago
* Crazycat is now in ninja mode !
Do not ask me help through PM or Discord
Reply
#7
Solved: 8 Years, 3 Months, 2 Weeks ago
(2015-02-13, 12:46 PM)expat Wrote:
(2015-02-12, 02:17 PM)dragonexpert Wrote: It only accepts certain types of variables in a template or you will be unable to save the template.  Pasting the template here will make us figure out exactly where it doesn't like it.  I do invite you to take a look at my theme variables plugin because it does have many control options for what appears.

what in the premium plugin? what are these variables you can use, but why no conditionals?

You can't write your own conditionals, but several predefined options exist. Being able to use Regex in variables, the arrays $mybb->user and $mybb->usergroup in replacements are among my favorite features.
Basic Features
Premium Features
Reply
#8
Solved: 8 Years, 3 Months, 2 Weeks ago
nothing special LOL

I copied from the plugin and it had escape characters (\)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)