Current time: 03-28-2024, 05:37 PM Hello There, Guest! (LoginRegister)


Announcement
We have the biggest collection of MyBB Plugins here on the Net. We have currently 175+ MyBB Exclusive Plugins, 80+ MyBB Compatible MyCodes and 16+ MyBB 1.4.x Themes (Some are still under construction...) Thus, we provide you the largest MyBB Stuff on the net including tutorials. Stay with us, you will find out some more to come.
Now you can easily create your own buttons set for MyBB! Click here to have a look...
*** You cannot do your registration behind any Proxies anymore! ***
Welcome Guest[34.204.177.148], connected from Ashburn, Virginia United States
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tip&Trick] Receive a pop up notification when receiving new pm''s
11-29-2009, 05:51 PM
Post: #1
[Tip&Trick] Receive a pop up notification when receiving new pm''s
I took the idea from the below thread.
http://community.mybboard.net/thread-46747-page-1.html

I will post it as a tip/trick kind of thing rather then a plugin as it is easier this way.

This will make it so any time you get a new pm, you will get a pop up alert.

here we go:

Go to your Acp-Templates & Style-Your theme''s Templates-Global Templates-global_pm_alert. Replace all the code in there with the following code:

<div class="pm_alert" id="pm_notice">
    <div class="float_right"><script type="text/javascript"><!--
window.alert("You have recieved a new message!")
// -->
</script><a href="private.php?action=dismiss_notice&amp;my_post_key={$mybb->post_code}" title="{$lang->dismis_notice}"  MyBB.dismissPMNotice()"><img src="{$theme['imgdir']}/dismiss_notice.gif" alt="{$lang->dismis_notice}" title="[x]" /></a></div>
    <div>{$privatemessage_text}</div>
</div><br />

You can replace the text that will alert you for a new message by replacing:

You have recieved a new message!

with your own text.

Enjoy it.

babjusi's signature
Find all posts by this user
Quote this message in a reply
12-16-2009, 06:52 AM
Post: #2
RE: [Tip&Trick] Receive a pop up notification when receiving new pm''s
Can u post Demo plz or Screenshot..
Visit this user's website Find all posts by this user
Quote this message in a reply
12-16-2009, 10:30 AM
Post: #3
RE: [Tip&Trick] Receive a pop up notification when receiving new pm''s
You will just receive a popup when you get new PM... No need of SS.

skiilz's signature
[Image: signature.php]
Find all posts by this user
Quote this message in a reply
0 member(s) viewed this thread in the last 365 days :
Post Reply 


Was This Thread Useful ?
Please Link To Us
URL
BBCode
HTML

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Tip&Trick]Hide Board Statisctic from guests! babjusi 14 5,182 05-23-2011 09:00 PM
Last Post: Gpizzle
  [Tip&Trick]Spice up your Admin on postbits and the online list babjusi 5 2,724 05-23-2011 08:59 PM
Last Post: Gpizzle
  [Tip&Trick] Show the Topic Lists on no permissions forums. babjusi 4 2,348 01-11-2010 11:11 AM
Last Post: babjusi
  [Tip&Trick] Default Groups Avatar babjusi 2 1,849 12-12-2009 10:12 AM
Last Post: skiilz
  [Tip&trick]Hide the members in the online list from guests babjusi 1 1,513 11-29-2009 05:38 PM
Last Post: babjusi

Forum Jump:

 
New To Site ?
Some Useful Links
  • Help

  • You Might Need To Register

  • Forum Statistics

  • Mark All Forums Read

  • Forum Staff

  • Log Out
  • Contact Us

  • Mybbcodes

  • Return to Top

  • Return to Content

  • Lite (Archive) Mode

  • RSS Syndication
  • Powered By MyBB, © 2002-2024 MyBB Group.
    Golden Crown - Designed and Published by ghazal & exdiogene of MyBBCodes.
    Hosting provided by WWWHostingServer.com