![]() |
Who was online last X hours Dynamic
Who was online last X hours Dynamic
This hack is an evolution of my who was online last 24H dynamic. It shows the username of the users that have been online in the last X hours. You can now set the number of hours that are used for the who was online (1,2...). This hack is dynamic,it means that it's updated at each user connection. In the zip file there is an installer provided in French and English as weel (you just have to change the language of the installer in the first page of it. |
How is that different from the other hack? How does it count members?
Sound pretty nifty, but I'd like to know the difference regarding the counting. |
The difference is that you can set the number of hours
For example if you want a who was online last 2 hours or 3 hours (as you want) And it doesn't update at midnight like the other version of who was online last 24h do |
LOL small addition but I do like it.
|
Installed, very nice. I had to do some modifications to make it work with the Welcome hack but I figured it out!
Thanks! |
Thinking about installing this, although theres almost no need for it since I got last 24 hours and currently online. I assume this may take up a query?
|
Database error in vBulletin 3.0.0 Release Candidate 4:
Invalid SQL: CREATE TABLE usersonline (userid int(5) DEFAULT '0' NOT NULL, date varchar(10) DEFAULT '0' NOT NULL, datevraie DATETIME NOT NULL) mysql error: Table 'usersonline' already exists mysql error number: 1050 Date: Monday 22nd of March 2004 07:21:32 PM Script: http://www.musclemorpheus.com/forum/...pe=1&langue=en Referer: Username: ******* IP Address: **.***.***.**** |
@Gio_Takashi
Yes it take more than a query while it checks at each connection if the user has already been online during the last x hours and then it delete the member from the useronline table that have been online since more than the x hours. Quote:
|
I uninstalled it and got this message on every page now
Database error in vBulletin 3.0.0 Release Candidate 4: Invalid SQL: SELECT userid FROM usersonline WHERE userid=2 mysql error: Table 'vb_musclemorpheus_com.usersonline' doesn't exist mysql error number: 1146 Date: Tuesday 23rd of March 2004 03:57:44 AM Script: http://www.musclemorpheus.com/forum/...ine24h_rc2.php Referer: Username: ******* IP Address: ***.**.****.****.** |
if you uninstalled it then ou must remove all the modifications from the file
this error comes from the fact that you didn't remove the modification from the sessions.php file |
Got it, but now it looks like this :confused:
|
you didn't installed the phrase
|
yes I did...what was I supposed to change the 1 and 2 to? I assume change the 2 to how many hours? I want 48, so I put 48 instead....what do I put for the 1?
|
no you don't have to change the value in the phrase !
They are automatically set regarding the value you set in the option within the vbulletin options in the admincp |
ok...I got it but the names are showing up double in the "visitors who have visited the past 48 hours" who are on line, and who aren't but just visited are single.
|
like this../
|
I had the same problem. It's because you still have the original hack code in your index.php. It's double loading some names in the array. You need to make sure you only have the one query in your index.php.
|
Our team has opened its support forum.
So if you want better support on our hacks go on our forum: http://www.vbulletindev.net/ There are not a lot of hacks for the moment but it will come. Cya soon on our forum :) |
I changed everything back. Now it shows who is online, but double still. What is responsible for this? is it a template problem? file problem?
|
template problem in my opinion
|
i cant find the option on my cpanel whats it under.
|
This hack sucks because it sometimes does not separates the names with commas. EX: sometimes it says "sammyman, rad rocker, slam" and other times it is like "sammymanradrockerslam" . I don't know what the deal is....
|
This is a great hack but I was wondering if is it possible to edit it so that if an user has some html to personalize the nick (like for example <b>Admin</b>) can the box show the name in bold or italic or whatever?
Thanks |
Works great, thanks. :)
|
[high]* Cold Steel installs.
[/high] However, invisible users (me) show up, and members that are supposed to be in bold, red, and italics, aren't. https://vborg.vbsupport.ru/ Tried attaching it, but it didn't work. |
Installed,and it shows, but now my AdminCP wont load.
Help!!! |
It's getting worse:
Database error in vBulletin 3.0.1: Invalid SQL: SELECT userid FROM usersonline WHERE userid=3 mysql error: Table 'vb3.usersonline' doesn't exist mysql error number: 1146 Date: Friday 21st of May 2004 05:53:12 AM Script: http://www.soberrecovery.com/forums/...xh_install.php Referer: Username: Jon IP Address: 66.74.43.190 Need a little help here... |
I have been able to get the forums and admin back up, but I cannot seem to get a clean un-install of this hack so that I can start over.
Please see: http://soberrecovery.com/forums/ |
Quote:
<div>$activeusers</div> <hr> <span class="smallfont"> <center><b><phrase 1="$nbusers" 2="$vboptions[wwolxh]">$vbphrase[connectes_dernieres_xh]</phrase></b></center><br> $usernameonline </span> </div> |
Quote:
Except for me, the admin. |
nope ... didnt get that msg ... mine works great .. thanks guys
|
It says:
Quote:
anyway nice hack clicks *install* |
Ok guys I installed this one, I believe exactly doing as the installer ask, but all I get is the below part of the who was online, see attched picture. It says no-one has been online in the last 24 hours. Which is wrong. Or do I have to wait for it to update, like wait 24 hours after I have installed it for it too start working.
Hoping you can help, as this has me stumped. I have circled in PINK the area I am talking about. Why does it not show any number of members in the last 24 hours, plus who it was (The members names) etc? I have also asked this question at the coders board. Many thanks Paul :ermm: |
Is anyone able to help me? I believe the problem is with the editing the installer says to do in the sessions.php file. I dont think it is working for me?
Please, anyone? :rolleyes: |
Installed and working so far on 3.0.3.
Good work. |
I *had* this installed perfectly, but I just upgraded to the newest version of VB.... well now I can't get it to install again. :(
It comes up with the error 1050 Any ideas? |
Installed perfectly first time, just one slight error. Some member names aren't being seperated by a ,
It looks like the last 2 members aren't being seperated. e.g. member1, member2, member3, member4member5 Any suggestions would really be appreciated. Thanks |
OK the , promblem seemed to sort itself out after a few hours.
I have a few groups where members online are identified with different markup (Bold, red etc) This highlighting shows up in the who's online now, but not in the who's been online in the last X hours. Any Ideas what I need to change to show the highlighting in the online in last x hours section? Thanks Widey |
Hello:
I am getting email with following error report: Database error in vBulletin 3.0.3: Invalid SQL: SELECT attachmentid, COUNT(*) AS views FROM attachmentviews GROUP BY attachmentid mysql error: Can't find file: 'attachmentviews.YMD' (errno: 2) mysql error number: 1017 Date: Saturday 11th of September 2004 05:41:47 PM Script: http://www.myiwc.com/forums/cron.php?&rand=862497 Referer: http://www.myiwc.com/forums/forumdisplay.php?f=35 Username: xxxxxxxx IP Address: xx.xx.xx.xxx And of similar nature. Any idea? |
* jd clicks install *
I have been testing this for a while, it is great just installed it on my live forum. I have changed the FORUMHOME template part of your hack to make it look better on my forum. Thank you. JD. :) |
All times are GMT. The time now is 04:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|