MyBB Community Forums
Theme issues - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: Theme issues (/thread-140298.html)



Theme issues - SuperBluElephant - 2013-06-02

Its saying:
The following errors were encountered:
A potential security issue was found in the theme. It was not imported. Please contact the Author or MyBB Group for support.

Here is the code for the header
======================================================
<div id="header_main">
<div id="header_sub">
<hr class="hidden" />
<div id="panel">
{$welcomeblock}
</div>
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
<div class="menu">
<ul>

<li><a href="{$mybb->settings['bburl']}">Home</a></li>
<li><a href="{$mybb->settings['bburl']}/portal.php">Portal</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>





<span style="float:right;">
<li><a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a></li>
</span>
</ul>
</div>
</div>
</div>
<div id="container">
<a name="top" id="top"></a>

<hr class="hidden" />
<br class="clear" />
<div id="content">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}{$aamessage}
{$pending_joinrequests}
<navigation>
<br />


RE: Theme issues - .m. - 2013-06-02

which theme you are trying to import ? are you using theme's xml file to import or zip file ?

your forum's header code is not related to the referred issue.
if you are using MyBB 1.6.10 then you can try following

open theme's xml file in a text editor (eg. notepad++) and do below changes. save xml file & try using it.
Quote:change {$monthnames[$prev_month['month']]} to {$prev_month['month']}
and replace {$monthnames[$next_month['month']]} with {$next_month['month']}



RE: Theme issues - SuperBluElephant - 2013-06-02

2.0 inspired is the theme and I am using the xml file.


RE: Theme issues - .m. - 2013-06-02

^ above given edits should help in importing Inspired 2.0 theme (MyBB 1.6.10)

just now I tested installing Inspired theme (not edited) and succeeded without any security issues.