MyBB Community Forums

Full Version: A potential security issue was found in the template. Please review your changes or c
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can not Edit My templet. 

Erro:

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

I Chanege this code:
           original: 
Quote:{$menu_memberlist}

            I change:

Quote:{$fa-users_memberlist}

I want add this icon : http://fontawesome.io/icon/users/

help me please.....  Sad Sad Sad Sad
can you replace hyphen with underscore (or remove it) [i.e. use {$fa_users_memberlist} or {$fausers_memberlist}]
(2017-08-06, 03:47 PM).m. Wrote: [ -> ]can you replace hyphen with underscore (or remove it) [i.e. use {$fa_users_memberlist} or {$fausers_memberlist}]

ok.
This is my forum link : http://adurulokaya.000webhostapp.com/

i want change icon in header (portal, Member List, Calander, Help)

This is Header Code (Acp >> Templates & Style >> Dark1.8 Templates >> Header Templates>> header):
Quote:<div id="container">
<a name="top" id="top"></a>
<div id="header">
<div id="http://wallpapercave.com/wp/6SLzBEY.jpg">
<div class="wrapper">
<center> <a href="{$mybb->settings['bburl']}"><img src="https://cdn.theconversation.com/files/138499/wide_article/width1356x668/vzs7yhdz-1474380448.jpg" height="175" width="375" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a> </center>
<ul class="menu top_links">
<i class="fa fa-users"></i>Usersa
{$menu_portal}
{$m_search}
{$menu_memberlist}
{$menu_calendar}
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>
</ul>
</div>
</div>
<div id="panel">
<div class="upper">
<div class="wrapper">
{$quicksearch}
{$welcomeblock}
<!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
<!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
</div>
</div>
<div id="content">
<div class="wrapper">
{$pm_notice}
{$remote_avatar_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
{$awaitingusers} <!-- BAM -->{$bam_announcements}<!-- /BAM -->
<navigation>
<br />

I want replace this icon (portal, Member List, Calander, Help) :
Quote:portal : http://fontawesome.io/icon/desktop/
Member List : http://fontawesome.io/icon/users/
Calander : http://fontawesome.io/icon/calendar/
Help : http://fontawesome.io/icon/search/ or http://fontawesome.io/icon/question-circle/

how I add It?
How I replace code?
(2017-08-09, 10:17 AM)Induwara Uthsara Wrote: [ -> ]
(2017-08-06, 03:47 PM).m. Wrote: [ -> ]can you replace hyphen with underscore (or remove it) [i.e. use {$fa_users_memberlist} or {$fausers_memberlist}]

ok.
This is my forum link : http://adurulokaya.000webhostapp.com/

i want change icon in header (portal, Member List, Calander, Help)

This is Header Code (Acp >> Templates & Style >> Dark1.8 Templates >> Header Templates>> header):
Quote:<div id="container">
<a name="top" id="top"></a>
<div id="header">
<div id="http://wallpapercave.com/wp/6SLzBEY.jpg">
<div class="wrapper">
<center> <a href="{$mybb->settings['bburl']}"><img src="https://cdn.theconversation.com/files/138499/wide_article/width1356x668/vzs7yhdz-1474380448.jpg" height="175" width="375" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a> </center>
<ul class="menu top_links">
<i class="fa fa-users"></i>Usersa
{$menu_portal}
{$m_search}
{$menu_memberlist}
{$menu_calendar}
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>
</ul>
</div>
</div>
<div id="panel">
<div class="upper">
<div class="wrapper">
{$quicksearch}
{$welcomeblock}
<!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
<!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
</div>
</div>
<div id="content">
<div class="wrapper">
{$pm_notice}
{$remote_avatar_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
{$awaitingusers} <!-- BAM -->{$bam_announcements}<!-- /BAM -->
<navigation>
<br />

I want replace this icon (portal, Member List, Calander, Help) :
Quote:portal : http://fontawesome.io/icon/desktop/
Member List : http://fontawesome.io/icon/users/
Calander : http://fontawesome.io/icon/calendar/
Help : http://fontawesome.io/icon/search/ or http://fontawesome.io/icon/question-circle/

how I add It?
How I replace code?
Replace any links with this;

<li><a href="{$mybb->settings['bburl']}/urlhere.php"><i class="fa fa-users"></i> Portal</a></li>

You need to update the direction of the URL, icon and name.
Or you could choose to have the icon before the link like so;

<li><i class="fa fa-users"></i><a href="{$mybb->settings['bburl']}/urlhere.php"> Portal</a></li>

And by links I mean these:

{$menu_portal}
{$m_search}
{$menu_memberlist}
{$menu_calendar}