Thread Rating:
  • 4 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ajax PM Notification
#91
(2014-10-10, 04:51 AM)NomanProdhan Wrote: Can I use it on MyBB 1.8.0 ??

UP!

have the same question....

THX
blongso
Reply
#92
https://forum.mybboard.pl/watek-mybb-pm-...-1-8_56482
My Plugins

PM only paid support
Reply
#93
(2014-11-05, 09:29 AM)Supryk Wrote: https://forum.mybboard.pl/watek-mybb-pm-...-1-8_56482

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

Got it.............Its working fine................. thanks..........
Reply
#94
Please I need english version or updated file for 1.8
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#95
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
My Plugins

PM only paid support
Reply
#96
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
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#97
Add it in your PM temps?
[Image: tdlfbanner.png]
Reply
#98
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.
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#99
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 ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)