MyBB Community Forums
Ajax PM Notification - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Releases (https://community.mybb.com/forum-102.html)
+---- Thread: Ajax PM Notification (/thread-47416.html)

Pages: 1 2 3 4 5 6 7 8 9 10


RE: Ajax PM Notification - blongso - 2014-10-17

(2014-10-10, 04:51 AM)NomanProdhan Wrote: Can I use it on MyBB 1.8.0 ??

UP!

have the same question....

THX
blongso


RE: Ajax PM Notification - Supryk - 2014-11-05

https://forum.mybboard.pl/watek-mybb-pm-notification-pod-mybb-1-8_56482


RE: Ajax PM Notification - NomanProdhan - 2014-11-07

(2014-11-05, 09:29 AM)Supryk Wrote: https://forum.mybboard.pl/watek-mybb-pm-notification-pod-mybb-1-8_56482

I didn't understand.... Sad Is there any English version ???
Thanks.

Got it.............Its working fine................. thanks..........


RE: Ajax PM Notification - Eldenroot - 2014-11-07

Please I need english version or updated file for 1.8


RE: Ajax PM Notification - Supryk - 2014-11-07

in inc/plugins/ajaxpmnotice.php find

    new Ajax.Request
    (
        \''.$mybb->settings['bburl'].'/pm.php\',
        {
            method:\'get\',onComplete:function(request)
            {
                $(\'ajaxpmnotice\').innerHTML=request.respons​eText;
            }
        }
    );

replace to
new $.ajax({url:\''.$mybb->settings['bburl'].'/pm.php\',type:\'get\',success:function(result){
    $("#ajaxpmnotice").html(result);
  }});

all in all done Smile


RE: Ajax PM Notification - Eldenroot - 2014-11-15

OK, is there any way how to add a close button and notification sound when new pm arrived? I can add html code but I dont know where. Thank you


RE: Ajax PM Notification - Saint Francis - 2014-11-15

Add it in your PM temps?


RE: Ajax PM Notification - Eldenroot - 2014-11-16

OK, thx. I fixed my issue and it is working fine Smile

One more thing:
What about these suggestions? First would be nice.
1) Try to add a "x" button on top-right corner or the message box. When the user clicks it, it just closes the notification.
2) How to play notification sound only one time?
3) Instead of showing "you have one unread private message", it should be the mybb default. which is "You have one unread private message titled xxxxx from yyyyy"

xxx = title of the PM
yyy = Sender's username
Click on the link should take you to the exact message, not the private.php link.


RE: Ajax PM Notification - Ronshaan - 2014-11-20

GREAT THIS IS GOOD
thanks allot

is there a version for 1.8?

hello
i have installed this on my forum
it works on all themes but not on 1point8 theme
i wonder how to make it work on it
what code is needed to make it work on it as well ?