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.
Glad you've found the time to finish this release up. I am going to update all my MyAlerts-related plugins as soon as possible.
(2015-06-01, 01:51 PM)Shade Wrote: [ -> ]Glad you've found the time to finish this release up. I am going to update all my MyAlerts-related plugins as soon as possible.

fb plugin work fine in my board :Big Grin thankyou for the plugin ( sorry for my bad english :Big Grin)


@Euan T , can you add sound for new notification ? just ask
Any new features like that will not be appearing until 2.1.0. At the minute, I'm concentrating on fixing any bugs Smile
are in old versions have turtor to make like this ??
[attachment=34371]

i'm just very happy with a new update of MyAlerts  Big Grin
When i click myalert it doesnt do anything, it's supposed to dropdown.


Can you guys please check my headerinclude?




<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" />

<link rel="stylesheet" href="images/df/font/font-awesome.min.css">

<link rel="stylesheet" href="images/df/font/font-awesome-ie7.min.css">


<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']}/jscripts/popup_menu.js?ver=1600"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>

<script type="text/javascript">if(typeof jQuery=='undefined')
{document.write(unescape("%3Cscript src='images/df/js/jquery-1.8.1.min.js' type='text/javascript'%3E%3C/script%3E"));}</script>

<script type="text/javascript" src="images/df/js/df.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" src="{$mybb->settings['bburl']}/jscripts/myalerts.js"></script>


<script type="text/javascript">
    var unreadAlerts = {$mybb->user['unreadAlerts']};
</script>

{$stylesheets}<!-- UNREADPOSTS_CSS -->


<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}

<script type="text/javascript">
  jQuery.noConflict();
  jQuery(document).ready(function($){
    $('.dropDownHook span').on('click',function(){
      $(this).parents('.dropDownHook').children('.dropDownContent').stop(true,true).slideToggle('fast',function(){
        if($('.dropDownContent').is(':visible')){
          $('.dropDownHook span').html('Welcome {$mybb->user['username']} &#9650');
        }
        else{
          $('.dropDownHook span').html('Welcome {$mybb->user['username']} &#9660');
        }}
                                                                                               );
    });
    $('html').on('click',function(){
      $('.dropDownContent:visible').slideToggle('fast');
    });
    $('.dropDownHook > *').on('click',function(event){
      event.stopPropagation();
    });
  });
</script>

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


{$myalerts_js}
(2015-06-01, 05:57 PM)HumanError Wrote: [ -> ]are in old versions have turtor to make like this ??


i'm just very happy with a new update of MyAlerts  Big Grin

Hi,

That would require several changes to the JavaScript and the templates. It would be possible, but would be very difficult for me to support.

(2015-06-01, 06:03 PM)pandabb Wrote: [ -> ]When i click myalert it doesnt do anything, it's supposed to dropdown.


Can you guys please check my headerinclude?




<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" />

<link rel="stylesheet" href="images/df/font/font-awesome.min.css">

<link rel="stylesheet" href="images/df/font/font-awesome-ie7.min.css">


<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']}/jscripts/popup_menu.js?ver=1600"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>

<script type="text/javascript">if(typeof jQuery=='undefined')
{document.write(unescape("%3Cscript src='images/df/js/jquery-1.8.1.min.js' type='text/javascript'%3E%3C/script%3E"));}</script>

<script type="text/javascript" src="images/df/js/df.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" src="{$mybb->settings['bburl']}/jscripts/myalerts.js"></script>


<script type="text/javascript">
    var unreadAlerts = {$mybb->user['unreadAlerts']};
</script>

{$stylesheets}<!-- UNREADPOSTS_CSS -->


<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}

<script type="text/javascript">
  jQuery.noConflict();
  jQuery(document).ready(function($){
    $('.dropDownHook span').on('click',function(){
      $(this).parents('.dropDownHook').children('.dropDownContent').stop(true,true).slideToggle('fast',function(){
        if($('.dropDownContent').is(':visible')){
          $('.dropDownHook span').html('Welcome {$mybb->user['username']} &#9650');
        }
        else{
          $('.dropDownHook span').html('Welcome {$mybb->user['username']} &#9660');
        }}
                                                                                               );
    });
    $('html').on('click',function(){
      $('.dropDownContent:visible').slideToggle('fast');
    });
    $('.dropDownHook > *').on('click',function(event){
      event.stopPropagation();
    });
  });
</script>

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


{$myalerts_js}

Hi,

Please try replacing your headerinclude with the following:

<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" />

<link rel="stylesheet" href="images/df/font/font-awesome.min.css">

<link rel="stylesheet" href="images/df/font/font-awesome-ie7.min.css">


<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']}/jscripts/popup_menu.js?ver=1600"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>

<script type="text/javascript">if(typeof jQuery=='undefined')
{document.write(unescape("%3Cscript src='images/df/js/jquery-1.8.1.min.js' type='text/javascript'%3E%3C/script%3E"));}</script>

<script type="text/javascript" src="images/df/js/df.js"></script>

{$stylesheets}<!-- UNREADPOSTS_CSS -->


<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}

<script type="text/javascript">
  jQuery.noConflict();
  jQuery(document).ready(function($){
    $('.dropDownHook span').on('click',function(){
      $(this).parents('.dropDownHook').children('.dropDownContent').stop(true,true).slideToggle('fast',function(){
        if($('.dropDownContent').is(':visible')){
          $('.dropDownHook span').html('Welcome {$mybb->user['username']} &#9650');
        }
        else{
          $('.dropDownHook span').html('Welcome {$mybb->user['username']} &#9660');
        }}
                                                                                               );
    });
    $('html').on('click',function(){
      $('.dropDownContent:visible').slideToggle('fast');
    });
    $('.dropDownHook > *').on('click',function(event){
      event.stopPropagation();
    });
  });
</script>

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

{$myalerts_js}

If that does not work, I will need your forum URL and a test account.
(2015-06-01, 06:38 AM)hkkp Wrote: [ -> ]thank you.

next problem.

http://www.xxx.com/private.php?action=read&pmid=1155 ---> okay

myalerts --->http://www.xxx.com/alerts.php?action=view&id=8 ---> invalid pm

Hi,

Can you run the following SQL query in phpMyAdmin and send me the results please?

SELECT * FROM mybb_alerts WHERE id = 8;
(2015-06-01, 01:31 PM)Euan T Wrote: [ -> ]
(2015-06-01, 08:47 AM)nollidnosnhoj Wrote: [ -> ]When I moved the files to the appropriate places, I get a blank forum.

http://www.tripulse.net/forum/
Hi,

Please check your server error log to see if there any details. It's very hard to debug otherwise.

I checked the error log and got this:
[01-Jun-2015 08:39:37 UTC] PHP Fatal error:  Class MyProfileCommentsMyAlertsFormatter contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (MybbStuff_MyAlerts_Formatter_AbstractFormatter::buildShowLink) in /home/kopaceti/public_html/forum/inc/plugins/myprofile/myprofilecomments.class.php on line 67
Hi,

Looks like an issue with the "MyProfileComments" plugin, which integrates with MyAlerts. It's not been updated for the final MyAlerts 2.0.0 release and will have to be modified by the author.
(2015-06-01, 07:21 PM)Euan T Wrote: [ -> ]Hi,

Looks like an issue with the "MyProfileComments" plugin, which integrates with MyAlerts. It's not been updated for the final MyAlerts 2.0.0 release and will have to be modified by the author.

I uninstalled MyProfile, and it worked. Thanks.