💡 MPGH Forum Notifier

Posts 1–15 of 17 · Page 1 of 2
💡 MPGH Forum Notifier
Hi guys,

Many of you keep reloading the browser page to see if any new PM or Post quote arrived.

well, I am using add-on call "X-Notifier" in Firefox, exist on Chrome and Safari and Opera.



You can check automatically your Emails and Facebook and more and more, without opening them.

Recently I make a request for the MPGH forum, and the developer made it.

You can find the script list here, and this is MPGH Forum script.

I did some modification to the script, when you press on your account, you go to the settings page.
this is my script for MPGH forum.
(Open the original script with Notpad and replace it with the code blow )
 
MPGH - Modified.JS
Code:
/***********************************************************MPGH Edit by YoucefHam*************************************************/
var name="MPGH";
var ver="2015-03-16";
var hostString="";
function init()
{
  this.loginData=["http://www.mpgh.net/forum/login.php?do=login","vb_login_username","vb_login_password","do=login"];
  this.dataURL="http://www.mpgh.net/forum/usercp.php";
  this.viewURL="http://www.mpgh.net/forum/usercp.php";
  this.cookieDomain="mpgh.net";
}
function getCount(aData)
{
  var fnd=aData.match(/"notifications-number"><strong>(\d+)/);
  return fnd?fnd[1]:-1;
}


How to set it up: (Follow the pictures)














That's it GOOD LUCK.


Check this new script for MPGH Forum

Don't forget to press thanks
No it's not problem to me, but it's help the admins members. (Approve request, Unpacked hack, ......)
good thread youcef
Thank you for this.

- - - Updated - - -

Thank you for this.
Quality post!

Thank you for putting your time into this, I will definitely be using this.
New script.
Hello again,

I made a new script,

You can now check your Subscribed Threads and Notifications.

If you check the "Notify inbox only", you will receive "Notifications" only.



And if you uncheck the "Notify inbox only", you will receive "Notifications" and "Subscribed Threads with New Posts"





↓↓↓↓↓ THIS IS THE CODE ↓↓↓↓↓
 
MPGH Forum.JS
Code:
/*******************MPGH Forum Edit by YoucefHam*************/

var name="MPGH Forum";
var ver="2015-03-22";
var supportInboxOnly=true;
var hostString="";

function init()
{
  this.loginData=["http://www.mpgh.net/forum/login.php?do=login","vb_login_username","vb_login_password","do=login"];
  this.dataURL="http://www.mpgh.net/forum/usercp.php";
  this.viewURL="http://www.mpgh.net/forum/usercp.php";
  this.cookieDomain="mpgh.net";
}
function getCount(aData)
{
   var  fnd=aData.match(/"notifications-number"><strong>(\d+)[\s\S]+?"blockhead">Subscribed  Threads with New Posts: \((\d+)\)/);
  if(!this.inboxOnly){
    fnd[3] = +fnd[1] + +fnd[2]
    return fnd?fnd[3]:-1;
  }else{
    return fnd?fnd[1]:-1;
  }
}
I'll try it out. Seems legit.
Thanks for sharing. This will be very useful for all staff
+Rep. This should really help out all the Staff members.
yep i should totally log in with my info on an extension made by some dudes friend
Quote Originally Posted by Jov View Post
yep i should totally log in with my info on an extension made by some dudes friend
Thank god someone said it.
I never get any pm's
Quote Originally Posted by 71c View Post
I never get any pm's
Cuz no one likes you, duh.
Quote Originally Posted by Hunter View Post


Cuz no one likes you, duh.
Best comeback EU
Posts 1–15 of 17 · Page 1 of 2

Post a Reply

Similar Threads

Talk with us