The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
Here is the long awaited (yeah right ) Online Users hack as shown at http://www.baseballboards.com/boards/
and referenced in kevinho's post. Anyway, I stuck it in its own php file for ease of installing when vB updates are released. To Do List:
Known Bugs:
To install you need two things:
Create the aforementioned PHP file or feel free to open member.php and pick a nice place. Paste the following into your file of choice: Code:
Matt 8-29-00 Look at the code a few messages down!! /Matt 8-29-00 Create a template called whoisonline and fill it with: Code:
<HTML> <HEAD> <title>$bbtitle - Online Now!</title> </HEAD> <body bgcolor="#ffffff" text="#000000" id=all> <table border="0" width="100%"><tr> <td valign="top" align="left"></td> <td valign="middle" align="center" nowrap> </td></tr></table> <a href="javascript:location.reload( )"><FONT SIZE="2" FACE="arial, helvetica">Refresh</font></a> <table border=0 cellpadding=4 border=0 cellspacing=1 width=100%> <tr bgcolor="#113274"><TD COLSPAN=2> <table width="100%" border=0 cellpadding=0 cellspacing=0> <tr><td align="left" valign="middle"> <FONT SIZE="2" FACE="arial, helvetica" color="#FFFFFF"><B>Online Users</B></font></td> <td align="right" valign="middle"> <FONT SIZE="2" FACE="arial, helvetica" color="#FFFFFF"><B>Location</B></font></td> </td></tr></table> </td></tr> $whoisonlinebits </table> Code:
<tr><td bgcolor="#C3C3EB"><FONT SIZE="2" FACE="arial, helvetica"><a href="member.php?action=getinfo&userid=$userid">$username</a> <a href="private.php?action=newmessage&toid=$userid" target="_blank"><img src="images/pm1.gif" border=0></img></a></font></td> <td bgcolor="#AAAAE6"><FONT SIZE="2" FACE="arial, helvetica"><a href="$locationLink" target="_blank">$location</a></font></td> </tr> NOTE: If you do not have private messaging installed (why not???!?!) then remove this line: Code:
<a href="private.php?action=newmessage&toid=$userid" target="_blank"><img src="images/pm1.gif" border=0></img></a> I would appreciate help on cleaning / optimizing the code and any URLs that I forgot cases for. Thanks!! -- Matt [Edited by mrogish on 08-29-2000 at 10:32 PM] Show Your Support
|
Comments |
#42
|
|||
|
|||
Any word on if a new version of this exists?
|
#43
|
|||
|
|||
Thanks It works!
[Edited by Scaramanga_gold on 12-16-2000 at 10:05 AM] |
#44
|
|||
|
|||
im gettin a Error if im trying to click the location of a user if he is currently at the Private Messaging:
Database error in vBulletin: Invalid SQL: SELECT msgid,toid,fromid,title,UNIX_TIMESTAMP(datetime) AS datetime,iconid,text,signature FROM privatercvdmsgid=11 WHERE msgid= AND fromid=1 mysql error: You have an error in your SQL syntax near '11 WHERE msgid= AND fromid=1' at line 1 mysql error number: 1064 Date: Monday 18th of December 2000 10:18:59 AM Script: /private.php?action=show&table=privatercvdmsgid=11 Referer:/whoisonline.php?action=onlineusers |
#45
|
|||
|
|||
It seems that the URLs being generated by whoisonline.php are not working as they should be for me. For example, sometimes the weirdest link is thrown out there. I have a link to a specific thread and it takes me to a reply page for that thread. Or... I have a link to a specific thread and it will look for the domain showthread.php as opposed to the file showthread.php on my domain. Have I done something incorrect?
Please advise. Thanks, Cygnus |
#46
|
|||
|
|||
another question. anyone can tell me what do I need to add to see where are the guests ?(guest1,guest2,guest3...)
|
#47
|
|||
|
|||
Help?
Cygnus |
#48
|
|||
|
|||
<a href="http://www.vbulletin.com/forum/showthread.php?threadid=5007" target="_blank">http://www.vbulletin.com/forum/showt...?threadid=5007</a>
|
#49
|
|||
|
|||
That's great but that doesn't fix my problem and it has added a new one.
I am trying to get one of these links to /forumdisplay.php?forumid=11 and it is taking me to /?forumid=11 The new problem is that the first person listed has no name though they have a location. For the time being, I am going to pull all of the hrefs out of the code in your hack. I hope that you fix your hack so that it delivers what you said it would. Hacks that don't work are useless. Promises to revise hacks and leaving people hanging for months without so much as a peep on your progress is pretty lame. I don't mean to be a ++++ but as a developer, we already have a shitty enough reputation as slackers that I hate to see that furthered - even if it is among other developers. Cygnus |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|