2014-11-10, 01:02 PM
Hello. I have got an issue regarding MyAlerts plugin, It is not a big one, I am just a noob on java script stuff thats why asking it here from experts.
MyBB Version : Latest
MyAlert Version : Latest - Downloaded from github page of this plugin.
Issue # 1 : This code which MyAlert added in header include, conflicts with some other jQuerry of the theme which I am using.
So I had to remove this code and resort to other method which was described in main github page of this plugin (to add following lines in headerinclude instead of above myalert code snippet).
So now I am getting an issue, that drop down of MyAlert are not working and when I "Inspected Element" in chrome browser, I am getting this error.
How can I get MyAlerts to work properly without any conflict?
Issue # 2
Other than that, I am getting this error also regarding editor I guess.
I looked in 1.8.1 folder which I downloaded for upgradation from MyBB, there is not file with this name in said folder. If it is not in actual 1.8.1 folder, then why is this suppose to load and if it is supposed to load then how can I get this file ?
MyBB Version : Latest
MyAlert Version : Latest - Downloaded from github page of this plugin.
Issue # 1 : This code which MyAlert added in header include, conflicts with some other jQuerry of the theme which I am using.
<script type="text/javascript">
var unreadAlerts = {$mybb->user['unreadAlerts']};
</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/myalerts.js"></script>
So I had to remove this code and resort to other method which was described in main github page of this plugin (to add following lines in headerinclude instead of above myalert code snippet).
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/myalerts.prototype.js"></script>
So now I am getting an issue, that drop down of MyAlert are not working and when I "Inspected Element" in chrome browser, I am getting this error.
Quote:Uncaught TypeError: undefined is not a function ----- myalerts.prototype.js:1
Failed to load resource: the server responded with a status of 404 (Not Found) ----- http://www. mysite .com/jscripts/sceditor/jquery.sceditor.mybb.css
How can I get MyAlerts to work properly without any conflict?
Issue # 2
Other than that, I am getting this error also regarding editor I guess.
Quote:Failed to load resource: the server responded with a status of 404 (Not Found) -------http://www.mysite.com/jscripts/sceditor/jquery.sceditor.mybb.css
I looked in 1.8.1 folder which I downloaded for upgradation from MyBB, there is not file with this name in said folder. If it is not in actual 1.8.1 folder, then why is this suppose to load and if it is supposed to load then how can I get this file ?
In case you think I have helped you, do not forget to add +rep.
Dota International - Your Daily Dota Doze
Dota International - Your Daily Dota Doze