vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Who was online last X hours Dynamic (https://vborg.vbsupport.ru/showthread.php?t=62796)

VBDev 03-21-2004 10:00 PM

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.

Owen 03-22-2004 07:16 PM

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.

VBDev 03-22-2004 07:23 PM

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

Rampag33 03-22-2004 07:53 PM

LOL small addition but I do like it.

Preds 03-22-2004 08:57 PM

Installed, very nice. I had to do some modifications to make it work with the Welcome hack but I figured it out!

Thanks!

Gio Takahashi 03-22-2004 10:43 PM

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?

enginethatcan't 03-23-2004 12:24 AM

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: **.***.***.****

VBDev 03-23-2004 04:06 AM

@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:

Originally Posted by enginethatcan't
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: **.***.***.****

if you have already install my who was online last 24h dynamic you must run first the uninstall process

enginethatcan't 03-23-2004 08:58 AM

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: ***.**.****.****.**

VBDev 03-23-2004 09:02 AM

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

enginethatcan't 03-23-2004 07:11 PM

Got it, but now it looks like this :confused:

VBDev 03-23-2004 07:40 PM

you didn't installed the phrase

enginethatcan't 03-23-2004 08:01 PM

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?

VBDev 03-24-2004 09:15 AM

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

enginethatcan't 03-24-2004 05:31 PM

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.

enginethatcan't 03-24-2004 05:33 PM

like this../

nineball 03-24-2004 06:39 PM

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.

VBDev 03-24-2004 08:35 PM

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 :)

enginethatcan't 03-24-2004 09:39 PM

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?

VBDev 03-24-2004 09:46 PM

template problem in my opinion

Ghostspy 04-07-2004 03:49 AM

i cant find the option on my cpanel whats it under.

sammyman 04-09-2004 04:27 PM

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....

Virtex-II 04-11-2004 02:51 PM

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

Red Blaze 04-29-2004 04:29 PM

Works great, thanks. :)

Cold Steel 05-05-2004 08:38 PM

[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.

jons5150 05-21-2004 11:00 AM

Installed,and it shows, but now my AdminCP wont load.


Help!!!

jons5150 05-21-2004 11:55 AM

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...

jons5150 05-21-2004 12:20 PM

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/

tHe Rk 05-26-2004 09:20 PM

Quote:

Originally Posted by enginethatcan't
Got it, but now it looks like this :confused:

Anyone having names show up duplicate like this need to fix the forumhome template. I either misread the template mod instructions or it was wrong, but you just have to move <hr> and hacked info below active users tag like this:

<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>

Cold Steel 06-18-2004 08:59 PM

Quote:

Originally Posted by Cold Steel
[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.

http://webmaster.asiansinc.com/whosonline.GIF

Tried attaching it, but it didn't work.

Is anyone else getting this problem? Usergroups with HTML markup in their titles are getting it stripped.

Except for me, the admin.

budlite74 07-06-2004 11:09 PM

nope ... didnt get that msg ... mine works great .. thanks guys

engquist 07-22-2004 05:50 PM

It says:

Quote:


You have successfully finished the uninstallation of the who was online last X hours dynamic hack...

as I finished installing. It says I "uninstalled" I'm guessing that is a typo.

anyway nice hack

clicks *install*

180967 07-24-2004 06:57 AM

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:

180967 07-25-2004 04:37 AM

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:

RetroDreams 08-21-2004 02:47 PM

Installed and working so far on 3.0.3.

Good work.

ashley53680 08-21-2004 09:03 PM

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?

Widey 08-30-2004 08:18 PM

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

Widey 09-04-2004 10:38 AM

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

Tayeb 09-11-2004 03:52 PM

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?

Mosh 09-23-2004 10:37 AM

* 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
  • Page Generation 0.01396 seconds
  • Memory Usage 1,818KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete