MyBB Community Forums

Full Version: MyAlerts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
see post above
I did see the post above. So did everyone else. You are not being ignored. There is no need to panic. :p
The second plugin is caused by Wildcard's MentionMe which has not yet been updated to work with MyAlerts 1.04.

For the first one, the plugin should still run as expected. This has been reported a few times and I've never personally seen it. It's therefore very hard to reproduce.

Also, in the future, please don't post multiple times talking down the plugin. Be patient.
ok dont panic i just report bug nothing else but if you want to ignore you and yours plugin just tell me no problem about that, i am very simple homosapiens
No, I am not ignoring any bugs. The second bug is not within MyAlerts itself and the first is very difficult to reproduce.
Ok, I am pushing a new commit to GitHub that might fix the mktime() warning. I can't assure it will though as the current code should work.

I'll update the mods site with a new version in just a minute.
I am having a problem with integrated this into a theme. The popup will not show up when clicking the "Alerts" button in the Nav bar. It only redirects you to the alerts page in the UserCP.

Site: http://oakencraft.webatu.com/forums/index.php

If you need a test account with admin perms just PM me.

Any help is much appreciated Thank You Smile
Sounds like a possible issue with the JS. Can you make sure the JavaScript is in the headerinclude template?
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />

<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/ins/js/jquery-1.2.6.min.js"></script> 
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/ins/js/popup.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 = {$mybb->user['unreadAlerts']};
</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/myalerts.js"></script>
{$stylesheets}
<script type="text/javascript">
<!--
	var cookieDomain = "{$mybb->settings['cookiedomain']}";
	var cookiePath = "{$mybb->settings['cookiepath']}";
	var cookiePrefix = "{$mybb->settings['cookieprefix']}";
	var deleteevent_confirm = "{$lang->deleteevent_confirm}";
	var removeattach_confirm = "{$lang->removeattach_confirm}";
	var loading_text = '{$lang->ajax_loading}';
	var saving_changes = '{$lang->saving_changes}';
	var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
	var my_post_key = "{$mybb->post_code}";
	var imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}

I believe it is in there, but I could be wrong.
There seems to be something weird with the plugin, though $lang->myalerts_setting_post_tagging is set and is correct, the following returns an error message:
$tempKey = 'myalerts_setting_post_tagging';
$lang->$tempKey;

Fatal error: Cannot access empty property in /home/cosmox75/public_html/pokecosmo.com.ar/foros/inc/plugins/myalerts.php on line 959

Edit: The following also returns a weird error:
                    if (!isset($lang->$tempKey) AND !in_array($key, $baseSettings)) {
                        @$lang->load($tempKey);
                    }

/home/cosmox75/public_html/pokecosmo.com.ar/foros/inc/languages/espanol/.lang.php does not exist

$tempKey is not empty, I even verified. I had to modify the language class on the fly to ignore the error.