Go Back   Forums > Abandonia.com > Community News & Feedback > Old Suggestions > Online Indicator
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

Thread: Online Indicator Reply to Thread
Your Username: Click here to log in
Image Verification
Please enter the six letters or digits that appear in the image opposite.

Title:
  
Message:
Post Icons
You may choose an icon for your message from the following list:
 

Additional Options
Miscellaneous Options

Topic Review (Newest First)
12-04-2005 09:33 AM
auhsor This is actually really easy to implement. I've got it on my forum that you can find in my sig. You jsut do a search on the invision forums and you should find it.

I'm not sure about this forum as it's not the free version, but in mine in the Board Wrappers section under Header & Body, I have:

<script>//Online/Offline Legend v2 - By Markup
dir="http://webpost.net/ma/markup/"
home=location.href.lastIndexOf("/")>26?location.href.substr(0,location.href.lastInd exOf("/")):location.href
names=[]
if(top.location==location)
document.write("<IFRAME id=index name=index src="+home+" width=0 height=0 border=0 frameBorder=0></IFRAME>")
else
{
div=document.body.getElementsByTagName("DIV")
for(i=0;i<div.length;i++)
if(div[i].className=="thin")
break
a=div[i].getElementsByTagName("A")
for(i=0;i<a.length;i++)
names[i]=a[i].innerHTML.replace(/<[^>]+>/g,"")
parent.updateStatus()
}
function updateStatus()
{
td=document.body.getElementsByTagName("TD")
for(i=0;i<td.length;i++)
if((td[i].className=="post1"||td[i].className=="post2")&&td[i].innerHTML.match("Posts: ")&&td[i].width!="100%")
{
found=false
sPost=td[i].getElementsByTagName("SPAN")[0]
names=parent.frames['index'].names
for(a=0;a<names.length;a++)
if(td[i-2].innerHTML.replace(/<[^>]+>/g,"")==names[a])
{
sPost.innerHTML+="Status: <font color='green'>Online</font>"
found=true
}
if(!found)
sPost.innerHTML+="Status: <font color='red'>Offline</font>"
}
}
</script>

It works for me. Originally it got a pic from a site, but I just have it displaying Offline or Online in where it has the post count etc. I like it very much , and it would be nice on this fourm.
12-04-2005 12:42 AM
BeefontheBone a "last login" indicator would be easier to implement I'd imagine and convey much the same information
11-04-2005 11:02 PM
Tom Henrik That is shown in the Board Statistics at the bottom of the forum page.
11-04-2005 11:01 PM
NrmMyth It would be great to have an Online indicator near avartar so you can know when someone is on the forum. Don't really know if it could be done?!

That was my suggestion if it could be done in some way.

Posting Rules
You may post new threads
You may 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

The current time is 04:31 PM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.