Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Ajax notification of a new personal message Details »
Ajax notification of a new personal message
Mod Version: 1.1, by pedigree (Coder) pedigree is offline
Developer Last Online: Nov 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.5 Rating: (3 votes - 5.00 average) Installs: 60
Released: 19 Jul 2007 Last Update: 19 Jul 2007 Downloads: 357
Not Supported Uses Plugins Template Edits Additional Files Is in Beta Stage  

A small mod that puts a flashing envelope in the top right corner of your screen when you get a new personal message, even if youre sitting idle. You dont have to open / reload any pages to see the notification

My default, it checks once per minute but its configurable in the javascript

PLEASE - Read the instructions, anything in there that is asked here will be ignored or simply a RTFM reply.

Ive tried it with FF2 / IE6 and Opera 9.21. Ive tried it on two forums running 3.6.5 but it should work on 3.6.0-3.6.7

Edit footer template, add this to the very bottom

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Edit headerinclude and add this to the bottom

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Edit template navbar

Find this

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And below that, add this

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

NOTICE : If you have the New PM Notification mod installed (http://www.vbulletin.org/forum/showthread.php?t=124056) you will need to remove it by searching for and deleting this text in the navbar template

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you want the floating notifier on a new page load and not the ajax checking, edit the JS file and delete


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Youll need to:
Upload 1 GIF file
Upload 1 Javascript file
Import 1 XML product

Makes 1 plugin hook into misc.php (adds ajaxchecknewpm function)

History 19 July 2007
Version 1.1
  • Bug fix, IE complains when a guest gets a permission denied response when it expects XML. Removed Guests from checking for PMs via Ajax
  • Added options to have the Notification in the navbar as well as floating.

if you have 1.0 installed, youll need to upload the Jaavscript file again, uninstall / reinstall the XML product and make the template changes to footer (not headerinc) and add 1 to navbar

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	ajaxpm.jpg
Views:	2066
Size:	8.2 KB
ID:	67190   Click image for larger version

Name:	note1.jpg
Views:	1527
Size:	5.4 KB
ID:	67230  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini Mods GS - Visitor Message Private Message Notification 1.0 ForumsMods vBulletin 3.7 Add-ons 10 27 Oct 2011 11:56

Comments
  #2  
Old 19 Jul 2007, 00:59
pedigree pedigree is offline
 
Join Date: Jul 2005
First post reserved
__________________
My mods vbRosterMaster | Ajax New PM Notifier | vbStopForumSpam
Reply With Quote
  #3  
Old 19 Jul 2007, 03:22
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Aug 2005
now this seems really usefull.. I'm going to try it out

great hack!
Reply With Quote
  #4  
Old 19 Jul 2007, 03:34
Yours Yours is offline
 
Join Date: Jun 2007
I shall test this out!

Thanks mate!
Reply With Quote
  #5  
Old 19 Jul 2007, 05:41
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
Cool, something similar to what vb.org has but ajax ^^ i like
Reply With Quote
  #6  
Old 19 Jul 2007, 10:53
Mecho's Avatar
Mecho Mecho is offline
 
Join Date: Aug 2006
as i read the instruction , it check the pm box each X min ( we can change it ) . is there anyway that JUST when we get a new pm it works and it inform us that we get new pm ? i think it s better for load the server in each X min or ..

Thanks
Reply With Quote
  #7  
Old 19 Jul 2007, 13:34
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Real name: Jacquii Cooke
Now this seems nice! Question though - I've already installed New PM Notification - would love to implement the ajax feature... Anyway - that I could have the blinking notification of your hack appear in the navbar like the New PM Notification mod?

Thanx,

Jacquii.
Reply With Quote
  #8  
Old 19 Jul 2007, 16:58
Invalid ID's Avatar
Invalid ID Invalid ID is offline
 
Join Date: Apr 2006
Real name: Wahab Hameed
Good work
Reply With Quote
  #9  
Old 19 Jul 2007, 19:09
pedigree pedigree is offline
 
Join Date: Jul 2005
You can put the hack anywhere you like. most of the template change is to have it float but will I was working on the code, it did actually start in the navbar

Ill give people a couple of options, floating or in the navbar, you can pick in the options for it. Poet - Ill do that but it looks a bit strange "You have no new PMs" and then a flashing envelope

I did find a bug this morning though, after posting this of course If youre a guest, it still asks the server for your PM count. As youre a guest, you get permission denied that causes two things. Firstly, IE borks on it if you have Microsoft Script Debugger installed (go figure, IE sucks) and it ups your bandwidth bill.

Ill upload v1.1 tonight that will fix all that.

If you dont want it to hit the server but still want the flashing floating icon, set the timer to 5 million or something insane. It still checks everytime the page is loaded.
__________________
My mods vbRosterMaster | Ajax New PM Notifier | vbStopForumSpam

Last edited by pedigree; 20 Jul 2007 at 15:54.
Reply With Quote
  #10  
Old 19 Jul 2007, 22:00
pedigree pedigree is offline
 
Join Date: Jul 2005
As promised, 1.1 attached.
__________________
My mods vbRosterMaster | Ajax New PM Notifier | vbStopForumSpam
Reply With Quote
  #11  
Old 21 Jul 2007, 09:59
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Real name: Steve
More AJAX is always a good thing! Thanks.
__________________
Reply With Quote
  #12  
Old 22 Jul 2007, 05:47
ssslippy's Avatar
ssslippy ssslippy is offline
 
Join Date: Jan 2006
When you click logout the icon hovers in the up right corner of your page.
__________________
Immortal Guild - My Guilds Website
Reply With Quote
  #13  
Old 22 Jul 2007, 11:25
pedigree pedigree is offline
 
Join Date: Jul 2005
Oh, Ill look at that one.
__________________
My mods vbRosterMaster | Ajax New PM Notifier | vbStopForumSpam
Reply With Quote
  #14  
Old 12 Nov 2007, 07:40
SemperFideles's Avatar
SemperFideles SemperFideles is offline
 
Join Date: Oct 2006
Real name: Rich
Nice mod. I just found out from a user and confirmed this problem.

When the user logs out, the mailbox icon appears in the upper right hand corner immediately following log out. This makes them think there is a PM when, in fact, there is no PM but it is somehow appearing during logout.
__________________
Rich
LtCol, USMC
PuritanBoard
Reply With Quote
  #15  
Old 10 Dec 2007, 06:31
ibuddy ibuddy is offline
 
Join Date: May 2006
how can we make it so it just flashes red text, I dont like this lil graphic to the right, would rather have blinking red font saying "New Private Message"
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 14:15.

Layout Options | Width: Wide Color: