MyBB Community Forums

Full Version: Security issue in ungrouped/ headerinclude.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
while i m try to install fbdock..
in ungrouped template/headeinclude when i try following change and save it show security issue with template.


7.Ungrouped Templates > headerinclude
Find:
{$stylesheets}

Add Before:
<script type="text/javascript" src="jscripts/fbDock.js?ver=1400"></script>


8.Ungrouped Templates > headerinclude
Find:
var imagepath = "{$theme[\'imgdir\']}";

Add After:
var fbDock_refresh_rate = "{$mybb->settings[\'fbdock_auto_refresh_time\']}";

can any give me its solutio?
whats wrong?
thank you,
Remove back slashes \ before '

So the codes should be like this;
var fbDock_refresh_rate = "{$mybb->settings['fbdock_auto_refresh_time']}";
thanks...yaldarm.
repped.