MyBB Community Forums

Full Version: hello i want fix problem alert in browser tab
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi i have alert plugin and he's working no problem i want to fix problem in browser tab example any one replay in any threads i have 2 result alert in browser check image

[Image: l]
Why do you want to remove it? It creates incentives to click on the tab even if its minimized.
(2020-04-19, 05:19 PM)vk_knight Wrote: [ -> ]Why do you want to remove it? It creates incentives to click on the tab even if its minimized.


no i don't want remove it if you see up on browser tab you will see 2 result alert i want delete one result on browser tab
looks like {$myalerts_js} is repeated in headerinclude template of the theme
if so, remove one.

[MyBB Templates System]
(2020-04-20, 02:25 AM).m. Wrote: [ -> ]looks like {$myalerts_js} is repeated in headerinclude template of the theme
if so, remove one.

[MyBB Templates System]


hi M where i get headerinclude template
forum admin panel >> Templates & Style >> Templates >> your theme templates
>> Ungrouped Templates (near bottom of page) >> headerinclude
(2020-04-20, 01:26 PM).m. Wrote: [ -> ]forum admin panel >> Templates & Style >> Templates >> your theme templates
>> Ungrouped Templates (near bottom of page) >> headerinclude


i get one only M check image


[Image: l]
view source of your forum index page (eg. press CTRL + u) & check if myalerts.js file is loading twice
(2020-04-20, 03:45 PM).m. Wrote: [ -> ]view source of your forum index page (eg. press CTRL + u) & check if myalerts.js file is loading twice


yes i get 2 i'm i went to jscripts i get one file only 


<script type="text/javascript" src="https://domain.com/jscripts/myalerts.js"></script>



<!-- end: myalerts_js_popup --><!-- start: myalerts_js_popup -->

<script type="text/javascript">

var unreadAlerts = '0';

</script>

<script type="text/javascript" src="https://domain.com/jscripts/myalerts.js"></script>