The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#182
|
|||
|
|||
i'm using it with v2.0.1, i think it works pretty well
|
#183
|
|||
|
|||
Then please tell us which code parts you replaced and which not!
Thx! |
#184
|
|||
|
|||
i installed on 2.0.1 with no problems just in logedin users template had to add in : $totalonline other than that there was nothing diffrent
www.r-music.net/forums |
#185
|
||||
|
||||
I downloaded the hack from the first page and get the same problem than many others in this posting
Users (same Username) are shown more than 1 times ( http://www.the-afterburner.com/vbulletin/online.php ) Anyone ? I am running the newest version of VB |
#187
|
|||
|
|||
Here are the corrected lines for (unedited) sessions.php in vB 2.0.1:
########################################## Around line 175, find Code:
$DB_site->query("INSERT INTO session (sessionhash,userid,host,useragent,lastactivity".$styleupf.") VALUES ('".addslashes($session['sessionhash'])."','$bbuserinfo[userid]','".addslashes($session['host'])."','".addslashes($session['useragent'])."','".time()."'".$styleupv.")"); Code:
$DB_site->query("INSERT INTO session (sessionhash,userid,host,useragent,lastactivity,location".$styleupf.") VALUES ('".addslashes($session['sessionhash'])."','$bbuserinfo[userid]','".addslashes($session['host'])."','".addslashes($session['useragent'])."','".addslashes($scriptpath)."','".time()."'".$styleupv.")"); Code:
$DB_site->query("UPDATE session SET lastactivity=".time()."$styleup WHERE sessionhash='".addslashes($session['sessionhash'])."'"); Code:
$DB_site->query("UPDATE session SET lastactivity=".time().",location='".addslashes($scriptpath)."'$styleup WHERE sessionhash='".addslashes($session['sessionhash'])."'"); Code:
$shutdownqueries[]="UPDATE session SET lastactivity=".time()."$styleup WHERE sessionhash='".addslashes($session['sessionhash'])."'"; Code:
$shutdownqueries[]="UPDATE session SET lastactivity=".time().",location='".addslashes($scriptpath)."'$styleup WHERE sessionhash='".addslashes($session['sessionhash'])."'"; Code:
$DB_site->query("INSERT INTO session (sessionhash,userid,host,useragent,lastactivity".$styleupf.") VALUES ('".addslashes($session['sessionhash'])."',0,'".addslashes($session['host'])."','".addslashes($session['useragent'])."','".time()."'".$styleupv.")"); Code:
$DB_site->query("INSERT INTO session (sessionhash,userid,host,useragent,lastactivity,location".$styleupf.") VALUES ('".addslashes($session['sessionhash'])."',0,'".addslashes($session['host'])."','".addslashes($session['useragent'])."','".time()."','".addslashes($scriptpath)."'".$styleupv.")"); Code:
$DB_site->query("UPDATE session SET lastactivity=".time()."$styleup WHERE sessionhash='".addslashes($sessionhash)."'"); Code:
$DB_site->query("UPDATE session SET lastactivity=".time().",location='".addslashes($scriptpath)."'$styleup WHERE sessionhash='".addslashes($sessionhash)."'"); Code:
$shutdownqueries[]="UPDATE session SET lastactivity=".time()."$styleup WHERE sessionhash='".addslashes($sessionhash)."'"; Code:
$shutdownqueries[]="UPDATE session SET lastactivity=".time().",location='".addslashes($scriptpath)."'$styleup WHERE sessionhash='".addslashes($sessionhash)."'"; Code:
$DB_site->query("UPDATE session SET lastactivity=".time()."$styleup WHERE sessionhash='".addslashes($session['sessionhash'])."'"); Code:
$DB_site->query("UPDATE session SET lastactivity=".time().",location='".addslashes($scriptpath)."'$styleup WHERE sessionhash='".addslashes($session['sessionhash'])."'"); Code:
$shutdownqueries[]="UPDATE session SET lastactivity=".time()."$styleup WHERE sessionhash='".addslashes($session['sessionhash'])."'"; Code:
$shutdownqueries[]="UPDATE session SET lastactivity=".time().",location='".addslashes($scriptpath)."'$styleup WHERE sessionhash='".addslashes($session['sessionhash'])."'"; |
#188
|
||||
|
||||
thx
great hack and works fine congratulation |
#189
|
|||
|
|||
I am using v2.0.0 the hack works ok if I go to http://www.carponline.com/Forum/online.php
I cant get the link to work?? My forumhome_loggedinusers template read as below. <tr id="cat"> <td bgcolor="#606096" colspan="6"><normalfont color="#FFF788"><b>Currently Active Users: $totalonline</b></normalfont></td> </tr> <tr> <td bgcolor="#F1F1F1" colspan="6"><smallfont> <nobr>There are currently $numberregistered members and $numberguest guests on the boards.</nobr> | <nobr>Most users ever online was $recordusers on $recorddate at $recordtime.</nobr><br> $activeusers $birthdaybits</smallfont></td> </tr> Where dose the link <b><a href="online.php?s=$session[sessionhash]">Currently Active Users</a></b> go in this script????????? Thanks Mark |
#190
|
|||
|
|||
in your forumhome_loggedinusers template
FIND: Currently Active Users REPLACE IT WITH: <a href="online.php?s=$session[sessionhash]">Currently Active Users</a> |
#191
|
|||
|
|||
Thank You Works well.
Mark |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|