PDA


View Full Version : Was online today hack


dreck
03-05-2005, 05:34 PM
I can not find the thread where I got this code from..
It shows the members on line today.
I love this hack, but Internet Explorer gets an error icon in the lower left hand corner. (line 662)
What is wrong with the code I am using?

Template - adv_portal_todayloggedinuser
<a href="member.php?$session[sessionurl]u=$userid" title="<phrase 1="$lastactivetime">$vbphrase[last_online_at_x]</phrase>">$username</a>$invisibleuser
Template - adv_portal_todayloggedinusers
<table border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbullet] Members Online Today: $todayonline</b></span></td>
</tr>
<tr>
<td class="alt1"><span class="smallfont">
</td>
</tr>
<tr>
<td class="alt2" colspan="0"><span class="smallfont">
<phrase 1="$todayrecordusers" 2="$todayrecorddate">$vbphrase[most_users_ever]</phrase></span>
</td>
</tr>
<tr><td class="alt1" colspan="0" align="center" width="100%">
<!--[if IE]>

<IE:Download ID="marqueedata" STYLE="behavior:url(#default#download)" />
<marquee id="externalmarquee" direction=up scrollAmount=2 style="width:100%;height:150px" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=2" src="update.htm">
<span class="smallfont">$todayloggedinuser</span></marquee>


<script language="JavaScript1.2">


function downloaddata(){
marqueedata.startDownload(externalmarquee.src,disp laydata)
}

function displaydata(data){
externalmarquee.innerHTML=data
}

if (document.all)
window.onload=downloaddata


</script>

<![endif]-->
</td>
</tr>
</table>
<BR>

dreck
03-05-2005, 05:35 PM
By the way you can see the error at www.thisdarncar.com

Alderwazeh
03-05-2005, 06:15 PM
great module ...members online today in your site..could you give instruction how did you made it .?

dreck
03-05-2005, 06:54 PM
It gets an error like i said...

But here is the file i downloaded from a thread somewhere on this site? The zip file does not scroll, but the code above does. (with an error)

Vevina
03-06-2005, 04:04 AM
http://www.vbadvanced.com/forum/showthread.php?t=5533