MyBB Community Forums

Full Version: MyAlerts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2013-12-31, 04:10 PM).m. Wrote: [ -> ]^ I could not reproduce the referred issue (firefox v26). alert settings are saved for the given test user account. however
your forum's active theme needs updating of templates. the theme was coded for an earlier version of MyBB and you should
find updated templates & modify the codes in the templates (or use a theme made for MyBB 1.6)
admin panel >> templates >> Find Updated Templates

It also did that. But the problem continues. Does not save the settings page.

"
The problem is that I live. I shared a photo. Confused

Photo link;
http://u1312.hizliresim.com/1j/z/w2bn4.png "
For weeks trying to find the problem. I found a little something. You can not save settings on the site of a former member. But after a certain date, members can save the settings. So for new members plugin is running, but does not work for the older members. Former members can not save settings, what can I do for the older members? I was having to do without phpMyAdmin.
The age of the member's registration should have no effect at all as settings are stored in a separate table. Could I possibly get a URL and test account?
With private message I sent you the information. Would you please test?
Just had a quick look. It's a strange problem, but I can definitely reproduce it on your forum. I'll have another look at the code tomorrow and see what I can figure out.
Thank you very much for your interest. I have given you can experiment with user information. I'll be waiting for the news. thanks
Hi @Euan T, i have setup MyAlerts 1.05 in my forum, it seemed to work fine but yesterday i was adding some features from bootstrap and since the addition of it, i m unable to open the alert from header to the site, when i click on it, it opens and closes immediately. than i thought bootstrap's js file was doing so, so i reverted all the changes i made, i completely removed everything just as it was when the plugin was working well. but seems like there is no way to make it work, i deactivated, uninstalled and than reinstalled but the problem is still the same. Than i thought to remove all the myalert plugin files and again installing it, i searched for myalert 1.05 but seems like there is only 1.04 all around the web. so i did not removed those files. I had a complete backup of the forum, so i replaced with that but still the problem is same. Can you please help me? Please i need to fix it..
My forum is at: http://forum.technoxist.com
(2014-01-18, 02:04 PM)suyash1629 Wrote: [ -> ]Hi @Euan T, i have setup MyAlerts 1.05 in my forum, it seemed to work fine but yesterday i was adding some features from bootstrap and since the addition of it, i m unable to open the alert from header to the site, when i click on it, it opens and closes immediately. than i thought bootstrap's js file was doing so, so i reverted all the changes i made, i completely removed everything just as it was when the plugin was working well. but seems like there is no way to make it work, i deactivated, uninstalled and than reinstalled but the problem is still the same. Than i thought to remove all the myalert plugin files and again installing it, i searched for myalert 1.05 but seems like there is only 1.04 all around the web. so i did not removed those files. I had a complete backup of the forum, so i replaced with that but still the problem is same. Can you please help me? Please i need to fix it..
My forum is at: http://forum.technoxist.com
to reproduce the issue you can login with a test account:
username: test
password: password

Hi, this issue is usually caused by having the myalerts.js file in the header twice. Looking at your site, this seems to be the issue you are facing too:

<script type="text/javascript">
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='http://code.jquery.com/jquery-1.7.2.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
<script type="text/javascript">
    var unreadAlerts = 0;
</script>
<script type="text/javascript" src="http://forum.technoxist.com/jscripts/myalerts.js"></script>

<script type="text/javascript">
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='http://code.jquery.com/jquery-1.7.2.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
<script type="text/javascript">
    var unreadAlerts = 0;
</script>
<script type="text/javascript" src="http://forum.technoxist.com/jscripts/myalerts.js"></script>

Simply remove one of those occurences of the following from the ehaderinclude template:

<script type="text/javascript">
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='http://code.jquery.com/jquery-1.7.2.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
<script type="text/javascript">
    var unreadAlerts = 0;
</script>
<script type="text/javascript" src="http://forum.technoxist.com/jscripts/myalerts.js"></script>
(2014-01-18, 03:15 PM)Euan T Wrote: [ -> ]
(2014-01-18, 02:04 PM)suyash1629 Wrote: [ -> ]Hi @Euan T, i have setup MyAlerts 1.05 in my forum, it seemed to work fine but yesterday i was adding some features from bootstrap and since the addition of it, i m unable to open the alert from header to the site, when i click on it, it opens and closes immediately. than i thought bootstrap's js file was doing so, so i reverted all the changes i made, i completely removed everything just as it was when the plugin was working well. but seems like there is no way to make it work, i deactivated, uninstalled and than reinstalled but the problem is still the same. Than i thought to remove all the myalert plugin files and again installing it, i searched for myalert 1.05 but seems like there is only 1.04 all around the web. so i did not removed those files. I had a complete backup of the forum, so i replaced with that but still the problem is same. Can you please help me? Please i need to fix it..
My forum is at: http://forum.technoxist.com

Hi, this issue is usually caused by having the myalerts.js file in the header twice. Looking at your site, this seems to be the issue you are facing too:

<script type="text/javascript">
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='http://code.jquery.com/jquery-1.7.2.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
<script type="text/javascript">
    var unreadAlerts = 0;
</script>
<script type="text/javascript" src="http://forum.technoxist.com/jscripts/myalerts.js"></script>

<script type="text/javascript">
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='http://code.jquery.com/jquery-1.7.2.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
<script type="text/javascript">
    var unreadAlerts = 0;
</script>
<script type="text/javascript" src="http://forum.technoxist.com/jscripts/myalerts.js"></script>

Simply remove one of those occurences of the following from the ehaderinclude template:

<script type="text/javascript">
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='http://code.jquery.com/jquery-1.7.2.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
<script type="text/javascript">
    var unreadAlerts = 0;
</script>
<script type="text/javascript" src="http://forum.technoxist.com/jscripts/myalerts.js"></script>

Thanks seems like my problem is solved, i never remember when i included it twice. can you please help me, i want to place the alert button somewhere else then in side of user CP, i m redesigning the member welcomeblock and trying to place all the user cp, mod cp, admin cp and logout button inside the username( like if you press the username you get a drop down menu) so, i want to place the alert button just beside the message link which in not included in the dropdown menu, it is outside of them. Can you please help me?
The header icon is accessed via the <myalerts_headericon> tag. If you paste the new code for the welcomeblock_member template, I can help direct you to how it should look Smile