The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Notification for new PM

View previous topic View next topic Go down

Notification for new PM

Post by koolkat96 on January 26th 2013, 2:38 pm

Hello!

Is there any option/way/code to receive a notification when a PM has arrived in your inbox?


koolkat96
Forumember

Female Posts : 584
Reputation : 7
Language : English
Location : Bangalore, India

http://houkago-tea-time.forumakers.com/

Back to top Go down

Re: Notification for new PM

Post by runawayhorses on January 26th 2013, 3:54 pm

In your profile is an option to "Display a pop-up window for new private messages". Every member has the option to receive them or not receive them. Understand though that members using a popup blocker or Ad blocker may not see the pop-ups if they have it enabled on your forum.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Re: Notification for new PM

Post by koolkat96 on January 26th 2013, 4:45 pm

Oh! So is there any way to do it in the admin panel, I want it for all memebrs!

koolkat96
Forumember

Female Posts : 584
Reputation : 7
Language : English
Location : Bangalore, India

http://houkago-tea-time.forumakers.com/

Back to top Go down

Re: Notification for new PM

Post by runawayhorses on January 26th 2013, 6:12 pm

Yes but you have to go to each of your members profiles one by one and set it manually, but they can reset it back to not receive a pop-up if they so choose, you can't force a pop-up on anyone.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Re: Notification for new PM

Post by The Lone Ranger on January 26th 2013, 6:24 pm

Your best way is to make a "New message" button for the Navbar that is in a contrasting colour to your forum. That way it is easily seen by all members when they get a new message.

The Lone Ranger
Forumember

Male Posts : 438
Reputation : 37
Language : English
Location : Scotland

http://www.tenerifesforumoffun.com

Back to top Go down

Re: Notification for new PM

Post by koolkat96 on January 29th 2013, 10:00 am

I do have a "New PM" button for my navbar!

koolkat96
Forumember

Female Posts : 584
Reputation : 7
Language : English
Location : Bangalore, India

http://houkago-tea-time.forumakers.com/

Back to top Go down

Re: Notification for new PM

Post by levy on January 29th 2013, 10:07 am

Code:
$(function(){
  if(document.getElementById('i_icon_mini_new_message')) {
    $('body').prepend('<div id="newPM"><a href="/privmsg">You have new private messages in your inbox.</a></div>');
  }
});

Javascript

Code:
#newPM {
  position: fixed;
  top: 5%;
  left: 10%;
  padding: 10px;
  font-size: 1.2em;
  background: #EEE;
  border: 1px solid #CCC;
  color: #666;
  text-shadow: 0px 1px #FFF;
  box-shadow: 5px 5px 15px #888;
  -moz-box-shadow: 5px 5px 15px #888;
  -webkit-box-shadow: 5px 5px 15px #888;
}

CSS

If you know to search... Wink

levy
Hyperactive

Male Posts : 2566
Reputation : 344
Language : Romanian, English
Location : Romania | Feel free to tag me into your topic if you have a problem

http://help.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum