2015-06-01, 06:38 AM
(This post was last modified: 2015-06-01, 06:57 AM by andrewjs18.)
(2015-06-01, 06:30 AM)Eldenroot Wrote: Yes, remove them and leave only one JS - this was a bug in 1.9.3 - now it should be OK. We tested it and everything works fine with 1.9.4
@Marc A - no, please use the latest version v1.9.4 - it was set to stable but it takes some time to mybb team - they need to manually add stable label
I removed all of the extra js so it looks like this:
<!-- jeditable (jquery) -->
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1804"></script>
<script src="{$mybb->asset_url}/jscripts/jeditable/jeditable.min.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/thread.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/thankyoulike.js"></script>
<script type="text/javascript">
<!--
var tylEnabled = "{$mybb->settings['g33k_thankyoulike_enabled']}";
var tylCollapsible = "{$mybb->settings['g33k_thankyoulike_collapsible']}";
var tylUser = "{$mybb->user['uid']}";
var tylSend = "{$lang->tyl_send}";
var tylRemove = "{$lang->tyl_remove}";
-->
</script>
</head>
it's still not showing the alert though when I click on alerts. also, why does the plugin say 1.9.3 if it's supposed to be 1.9.4?
edit: ah, it looks like I downloaded the stable version on the mybb downloads page versus the dev version...
had to delete the extra js code in the showthread template again. this is how it looks now:
<!-- jeditable (jquery) -->
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1804"></script>
<script src="{$mybb->asset_url}/jscripts/jeditable/jeditable.min.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/thread.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/thankyoulike.js"></script>
<script type="text/javascript">
<!--
var tylEnabled = "{$mybb->settings['g33k_thankyoulike_enabled']}";
var tylCollapsible = "{$mybb->settings['g33k_thankyoulike_collapsible']}";
var tylUser = "{$mybb->user['uid']}";
var tylSend = "{$lang->tyl_send}";
var tylRemove = "{$lang->tyl_remove}";
-->
</script>
</head>
<body>
the likes are now showing in the alerts, however there's an () at the end of the alert..not sure what it's supposed to display and whether or not it's a bug..