Offline/online - preCharge Forums
It shows that you are unregistered. Please register with us by clicking Here
preCharge Forums


Nav Green LeftNav Right
preCharge Forums > Website Design & Development > Site and Server Administration > Forum Management » Offline/online


Closed Thread
Tcat Right
 
LinkBack Thread Tools Display Modes Tcat Right
Old 11-26-2005   #1 (permalink)
DestinyTheBlackAngel
Junior Member
 
DestinyTheBlackAngel's Avatar
 
Join Date: Nov 2005
Posts: 10
Default

What is the code for the Online/Offline thing. It shows on the left where your member stuff is like your posts. A lot of boards have it like IF Styles

Example

Look to your left.
DestinyTheBlackAngel is offline  


Old 11-26-2005   #2 (permalink)
Shadow
Senior Member
 
Shadow's Avatar
 
Join Date: Sep 2005
Location: U.S.A. CA.
Age: 16
Posts: 277
Send a message via AIM to Shadow Send a message via MSN to Shadow Send a message via Yahoo to Shadow
Default

Quote:
Put this after your <% BOARD %> / RPG Hack:

It will add to the side of posts whether the member is currently online.

version 2 (compatible with mozilla).

Possible conflicts: portal index page, remove post count from posts
This code will always show your members viewing the board index. //M

Footer:

Code:
<script>//Online/Offline Legend v2 - By Markup
dir="http://webpost.net/ma/markup/"
home=location.href.lastIndexOf("/")>26?location.href.substr(0,location.href.lastIndexOf("/")):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+="<P align=center><IMG SRC="+dir+"online.gif"+"></P>"
 Â* Â*	found=true
 Â* Â*}
 Â*	if(!found)
 Â* Â*sPost.innerHTML+="<P align=center><IMG SRC="+dir+"offline.gif"+"></P>"
 Â*}
}
</script>

I diden't code it but this should work...(Also i'm not to shure this is the right code....so sorry if it isn't)
Shadow is offline  

Old 11-27-2005   #3 (permalink)
Jay J
Member
 
Join Date: Nov 2005
Location: United States
Age: 25
Posts: 82
Send a message via MSN to Jay J
Default

not every one wants that code u know.
Jay J is offline  

Old 11-27-2005   #4 (permalink)
Xome
Senior Member
 
Join Date: Sep 2005
Location: United States
Posts: 1,750
Send a message via AIM to Xome Send a message via MSN to Xome Send a message via Yahoo to Xome
Default

<div align=center>Question Answered
Your question has been answered. If you feel it hasn't been answered correctly you can feel free to start a new topic.</div>
__________________
http://www.mechmuse.com
Xome is offline  

Closed Thread



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Offline Marketing kconnections Marketing 7 08-02-2006 09:14 PM
Offline or online business kconnections General Business Issues 2 08-01-2006 11:57 PM
Have Board Online/Offline Jarett. Forum Management 1 04-13-2006 03:50 PM
GFX Requests Offline Xome All Things General 4 02-14-2006 12:32 AM
Online/offline Code Did Not Work DestinyTheBlackAngel Forum Management 2 11-27-2005 08:33 PM


footer left
All times are GMT. The time now is 10:56 PM.

DISCLAIMER: preCharge Risk Management is not responsible for any opinions, advice or comments expressed on the preCharge Community Forums.
preCharge® is a registered trademark of preCharge Risk Management | chargeback protection | Merchant Account Blog

Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC6

Mortgage Loans | Bad Credit Loans | Loan | Buy Cheap Cell Phone | Internet Advertising

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49