(Javascript) condition: new private message
4 posters
Page 1 of 1
(Javascript) condition: new private message
Hello
I would like to make a popup (not the forumotion one) appear when a member has a new private message
I have the toolbar active, but it seems that there are no variables concerning new private messages
Cna you help me?
I would like to make a popup (not the forumotion one) appear when a member has a new private message
I have the toolbar active, but it seems that there are no variables concerning new private messages
Cna you help me?
Last edited by Niko! on Wed 21 May - 22:55; edited 1 time in total
Re: (Javascript) condition: new private message
Members can set it in their profiles.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: (Javascript) condition: new private message
Hello Niko,
Are you wanting to alert new toolbar notifications, or just private messages. If it's just private messages are you using the default navbar ?
Thank you for providing the needed information.
Are you wanting to alert new toolbar notifications, or just private messages. If it's just private messages are you using the default navbar ?
Thank you for providing the needed information.
Re: (Javascript) condition: new private message
Thank you anyway, I managed to do it
- Code:
$(window).load(function() {
var pmnumber = document.getElementById("i_icon_mini_new_message").title.split(" ")[2];
if(Number(pmnumber) > 0 && _userdata["user_posts"] > 1){
$('#fa_toolbar').before('HTML CONTENT HERE');
}
});
Re: (Javascript) condition: new private message
Thank you for providing the answer, Niko.
Topic Locked & Solved.
Topic Locked & Solved.
Sir Chivas™- Helper
- Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum