Forumotion Notification box
5 posters
Page 1 of 1
Forumotion Notification box
Hello. I would like to have the forumotion notification box,
=> the box that appears when someone sends a pm, or when someone posts in a thread you posted etc <=
i want to add it where this bell is on my forum.
I don't want to change the icon. I only want to add this function to it.
Is this possible?
=> the box that appears when someone sends a pm, or when someone posts in a thread you posted etc <=
i want to add it where this bell is on my forum.
I don't want to change the icon. I only want to add this function to it.
Is this possible?
Re: Forumotion Notification box
Hi,
You're talking about the notifications of the toolbar?
Regards,
Sir Chivas.
You're talking about the notifications of the toolbar?
Regards,
Sir Chivas.
Re: Forumotion Notification box
Good morning!
Yes i am talking about the notification box that appears below the toolbar.
Yes i am talking about the notification box that appears below the toolbar.
Re: Forumotion Notification box
Hello,
you just have to add this html code where you want to display the "bell-icon" if there are new pms in your inbox
Explanation
the first part with the image is the box with the icon that is on your forum;
with the second code (a javascript code) if the code finds the id i_icon_mini_message (stands for: no new pms) it will hide the box with the image
Hope it works
I used that on my forum with the previous theme
you can customize the box with:
you can customize the image with:
you just have to add this html code where you want to display the "bell-icon" if there are new pms in your inbox
- Code:
<div id="newpm" style=" "><div><img src="http://www.skinbox.net/demo/public/style_images/elegant/clear.gif"></div></div>
<script>if(document.getElementById('i_icon_mini_message')) {document.getElementById('newpm').style.display = 'none'; }</script></div>
Explanation
the first part with the image is the box with the icon that is on your forum;
with the second code (a javascript code) if the code finds the id i_icon_mini_message (stands for: no new pms) it will hide the box with the image
Hope it works
I used that on my forum with the previous theme
you can customize the box with:
- Code:
#newpm {
//* code here
}
you can customize the image with:
- Code:
#newpm img {
//* code here
}
Re: Forumotion Notification box
Ηello Niko!,
At first, thanks for the codes and your time, but i mostly want the notification for the post. The pms i have a counter that appears a box on the screen that says that you have a pm.
The post notifications, i cannot see them anywhere..
At first, thanks for the codes and your time, but i mostly want the notification for the post. The pms i have a counter that appears a box on the screen that says that you have a pm.
The post notifications, i cannot see them anywhere..
Re: Forumotion Notification box
Actually, I don't get the issue
we already have this function, it is the notifications box in the toolbar
can you explain it better?
we already have this function, it is the notifications box in the toolbar
can you explain it better?
Re: Forumotion Notification box
Yes ofc.
That notification that forumotion toolbar has, i want it to display somewhere on the screen, even if the forumotion toolbar is switched off.
I actually have it off and those notifications, don't come anywhere now.
That notification that forumotion toolbar has, i want it to display somewhere on the screen, even if the forumotion toolbar is switched off.
I actually have it off and those notifications, don't come anywhere now.
Re: Forumotion Notification box
Actually it isn't possible to have notifications if the toolbar is switched off,
i'm sorry
i'm sorry
Re: Forumotion Notification box
hi try this in javascripts
dont forget to change the image url to what ever you like
hope you like it
- Code:
var sec_inter= 60;
function cook_no_new_message() { my_setcookie("new_message",-new Date(),1,0); no_new_message(); }
function no_new_message() { $('#new_message').remove(); }
function cook_new_message() { my_setcookie("new_message",+new Date(),1,0); new_message(); }
function new_message() { $("body").append('<div id="new_message"
style="position:fixed;bottom:0;left:0"><a
href="/privmsg?folder=inbox" onClick="cook_no_new_message();return
true;"><img
src="http://i46.servimg.com/u/f46/15/46/85/43/arnewm10.png"
/></a></div>'); }
function new_message_update() {
var dnew_message= my_getcookie("new_message");
var enew_message= dnew_message>0;
if(($('#new_message').length>0)==enew_message)
{
if(!enew_message) dnew_message*=-1;
if(dnew_message<+new Date()-1000*sec_inter)
$.get('http://script-error.www?mode=newpm',function(data){
if(!data.match("No new private messages are waiting for you")!=enew_message)
{
if(enew_message) cook_no_new_message();
else cook_new_message();
}
});
}
else
{
if(enew_message) new_message();
else no_new_message();
}
}
$(function(){
if($('#i_icon_mini_new_message').length) cook_new_message();
else cook_no_new_message();
setInterval("new_message_update()",5000);
});
dont forget to change the image url to what ever you like
hope you like it
Michael_vx- Forumember
- Posts : 664
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: Forumotion Notification box
Also this script is for new messages. i am looking for post notifications.
I will specify it to a new post.
Thanks for your replies.
SOLVED
I will specify it to a new post.
Thanks for your replies.
SOLVED
Re: Forumotion Notification box
Problem solved & topic archived.
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.
Similar topics
» FORUMOTION CLOSE MY SITE....WHY?NO E-MAIL...NO NOTIFICATION BEFORE THAT
» How to make Notification drop down without using Forumotion toolbar?
» Hacking of PMs on one Forumotion site being posted on another
» Import phpBB20 exiting non-Forumotion forum to a Forumotion one
» How to Delete Forumotion Link to Forumotion next to search box on my site
» How to make Notification drop down without using Forumotion toolbar?
» Hacking of PMs on one Forumotion site being posted on another
» Import phpBB20 exiting non-Forumotion forum to a Forumotion one
» How to Delete Forumotion Link to Forumotion next to search box on my site
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum