MyBB Community Forums

Full Version: MyAlerts v2.0.4
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
^ file should be in php format. this is its content.

actually MyAlerts plugin pack should be having all required files. not sure how you missed it.
if direct help required, you may PM me temporary access to forum admin panel & files (FTP)
(2016-05-07, 02:18 AM).m. Wrote: [ -> ]^ file should be in php format. this is its content.

actually MyAlerts plugin pack should be having all required files. not sure how you missed it.
if direct help required, you may PM me temporary access to forum admin panel & files (FTP)

Only the download on the mods site contains the ClassLoader, the GitHub version has it as a submodule so it can be missed if you're not used to GitHub Smile
(2016-05-07, 02:18 AM).m. Wrote: [ -> ]^ file should be in php format. this is its content.

actually MyAlerts plugin pack should be having all required files. not sure how you missed it.
if direct help required, you may PM me temporary access to forum admin panel & files (FTP)

(2016-05-07, 09:11 AM)Euan T Wrote: [ -> ]
(2016-05-07, 02:18 AM).m. Wrote: [ -> ]^ file should be in php format. this is its content.

actually MyAlerts plugin pack should be having all required files. not sure how you missed it.
if direct help required, you may PM me temporary access to forum admin panel & files (FTP)

Only the download on the mods site contains the ClassLoader, the GitHub version has it as a submodule so it can be missed if you're not used to GitHub Smile


thanks a lot i get it now, but how do i remove the drop down, i don't need the drop down, i want it to go direct to alert page when click.
Hi,


You can change the myalerts_headericon template to:

<li class="alerts {$newAlertsIndicator}">
    <a href="{$mybb->settings['bburl']}/alerts.php" class="myalerts">
        {$lang->myalerts_alerts} ({$mybb->user['unreadAlerts']})
    </a>
</li>
Question: is there a way to restrict the plugin just to certain usergroups?
(2016-05-07, 08:20 PM)ShadowOne Wrote: [ -> ]Question: is there a way to restrict the plugin just to certain usergroups?

Not at the minute I'm afraid. It's currently an all or nothing approach.
Euan,

I haven't updated myalerts in months, I don't believe. any updates worth running?
There have been a few, such as the most recent patch that should allow guest posting. There was also a fix for an issue with links in the ModCP (and elsewhere) which sometimes got broke by MyAlerts.
I am looking for 2.1.0 with improvements for read/unread alerts and ajax deleting Smile I hope you will find some spare time
Can someone tell me how to fix an issue with the myalerts popup, after adding this tabbed profile and the last script mentioned that is supposed to work for 1.8, and it does but not for myalerts popup. This:

http://community.mybb.com/thread-146284-...pid1221109

It must be something about the script, maybe they are conflicting. Would appreciate a solution without having to remove the tabbed profile, because it looks so great.

This is how the popup on myalerts looks like. There appears a reload thing on the mid of the screen and then this:
http://img.prntscr.com/img?url=http://i....Du6GCs.png       < that whole window, so it looks like you are in the user profile.

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->asset_url}/jscripts/jquery.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1806"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js">
</script>

{$stylesheets}

<script type="text/javascript">
	lang.unknown_error = "{$lang->unknown_error}";

	lang.select2_match = "{$lang->select2_match}";
	lang.select2_matches = "{$lang->select2_matches}";
	lang.select2_nomatches = "{$lang->select2_nomatches}";
	lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
	lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
	lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
	lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
	lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
	lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
	lang.select2_loadmore = "{$lang->select2_loadmore}";
	lang.select2_searching = "{$lang->select2_searching}";

	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 rootpath = "{$mybb->settings['bburl']}";
	var imagepath = "{$theme['imgdir']}";
  	var yes_confirm = "{$lang->yes}";
	var no_confirm = "{$lang->no}";
	var MyBBEditor = null;
	var spinner_image = "{$theme['imgdir']}/spinner.gif";
	var spinner = "<img src='" + spinner_image +"' alt='' />";
	var modal_zindex = 9999;

</script>{$myalerts_js}

<script type="text/javascript">
jQuery(document).ready(function($) {
   $(".tab_content").hide(); 
   $("ul.tabs li:first").addClass("active").show();
   $(".tab_content:first").show(); 
   $("ul.tabs li").click(function() {
       $("ul.tabs li").removeClass("active"); 
       $(this).addClass("active"); 
       $(".tab_content").hide(); 
       var activeTab = $(this).find("a").attr("href"); 
       $(activeTab).fadeIn();
       return false;
   });
});
</script>