vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Members who have visited today (with last 24 hours option). (https://vborg.vbsupport.ru/showthread.php?t=71533)

Paul M 02-28-2005 09:31 AM

Hi jozo1 - I notice that you (and smokering, and a few odd others) have not clicked the "Install this Modification" link (just above the download link).

Being new to the site I expect you are not really aware of this - but clicking on this adds you to a list of people who have the hack installed - which helps the writer see how many people have the code, and also allows you to receive any notes sent out about updates. Please could you spare 30 seconds to do this - thanks.

KanyeWest 03-01-2005 06:14 PM

paul please help im stupid i dontn o how to read it to make 24 hours help help

Paul M 03-01-2005 06:27 PM

Sorry but I don't see what else I can tell you - the hack clearly tells you to uncomment a line to switch to the rolling 24 hours - I don't see how I could make it any plainer than it already is.

eva01_ 03-01-2005 06:37 PM

i think the instructions are pretty simple don't see what your problem is o_O

KanyeWest 03-01-2005 07:43 PM

Quote:

Originally Posted by Paul M
Sorry but I don't see what else I can tell you - the hackclearly tells you to uncomment a line to switch to the rolling 24 hours- I don't see how I could make it any plainer than it alreadyis.

see i haev add i dont understand like most people i dont no if i shoulduncomment the line before and after and which line im sorry

do i take out this line .? please highlite in quote in ur post what line i shold take out im sorry im stupid llol
PHP Code:

$now TIMENOW ;
require_once(
'./includes/functions_misc.php');
$cutoff vbmktime(000vbdate('m'$nowfalsefalse), vbdate('d'$nowfalsefalse), vbdate('Y'$nowfalsefalse));
//$cutoff = $now - 86400 ;  // Uncomment this line if you want a rolling 24 hours display.
$todaysusers $DB_site->query("SELECT userid, lastactivity, options, username, opentag, closetag
FROM " 
TABLE_PREFIX "user as user
LEFT JOIN " 
TABLE_PREFIX "usergroup as usergroup ON(user.usergroupid = usergroup.usergroupid)
WHERE lastactivity > " 
.$cutoff" ORDER BY username" ); 


Paul M 03-01-2005 07:54 PM

I'm really not sure if this is a wind up ....

Which bit of " uncomment this line " are you finding hard to understand ?

(apart from which, only one line is commented out anyway).

and you should not be quoting the hack for all to see either.


If you really don't understand it then I suggest you either find someone to install it for you, or don't bother. I cannot help you any further.

eva01_ 03-01-2005 07:56 PM

just take out the "//" in
Code:

//$cutoff = $now - 86400 ;
since // means comment after

KanyeWest 03-01-2005 08:10 PM

i dont wanna piss off paul eva can u please help me out of desperasion i no im very stupid but i cant help it my aim is idenonfire or pm me pelase thanks
my site is idenonfire.com

KanyeWest 03-01-2005 08:22 PM

wow thank you eva helped me out and thanks paul for helpin me im just stupid

well thanks again works like a charm

Vampyre 03-02-2005 03:30 AM

Work like a charm!!
Thanks for the nice work, Paul M. :)

Mechanical Mind 03-02-2005 04:28 PM

* clicks install *

Worked flawlessly. I love this hack because it shows that the forums are busy, without having to up your "cookie timeout" time and lie about how many people are actually online. Like some people do, no names of course.

Great job Paul! :classic:

JAYEMULE 03-03-2005 02:50 PM

I uninstalled this mod because I could not fix it. It showed all my members been on line that day when it was not so. I liked the idea and was sure easy enough to add but I just couldn't get to work showing ONLY the actual members that visited, not the entire member list.
I will watch for new working versions.

Jaye

Paul M 03-03-2005 03:20 PM

Quote:

Originally Posted by JAYEMULE
I uninstalled this mod because I could not fix it. It showed all my members been on line that day when it was not so. I liked the idea and was sure easy enough to add but I just couldn't get to work showing ONLY the actual members that visited, not the entire member list.
I will watch for new working versions.

Jaye

Well 300 odd other people seem to think it works perfectly. :)

Which version number did you install (or what date did you download it). There was a small error that seemed to cause this problem on mainly pre 3.0.3 versions of vB - it was fixed on Feb 15th.

JAYEMULE 03-03-2005 03:48 PM

Quote:

Originally Posted by Paul M
Well 300 odd other people seem to think it works perfectly. :)

Which version number did you install (or what date did you download it). There was a small error that seemed to cause this problem on mainly pre 3.0.3 versions of vB - it was fixed on Feb 15th.

I did not mean be speaking poorly of the mod. Not what I meant at all. I just installed it 2 days ago and got the file at same time. I read the posts here but did not see that there had been a fix so I just uninstalled it. If this is fixed that would be great. I do like this mod for sure. Should I try to do it again and see if it works out better ? You say this is all starightend out now ? I am have vb 3.7 working at this time.

Jaye

Paul M 03-03-2005 04:33 PM

So you have 3.0.7 and you downloaded it two days ago - this doesn't sound promising TBH - can you just make sure that the code you have is version 1.35 - if it is then you already have the code with what I hoped was the potential fix.

My problem is I cannot make it fail - it is the vbdate() function that fails on some servers, and I don't know why. Can you confirm what your server OS and PHP versions are ?

The rolling 24 hour version still works on these servers - just uncomment the relevant line.

JAYEMULE 03-03-2005 06:32 PM

Yes, I had version 1.35 of wh was online today. I would sure love to use this mod. I will keep watching for the fix.
Sorry forgot the rest.
I use win XP pro and the latest version of php and my sql

Paul M 03-03-2005 08:32 PM

The fix is to use the rolling 24 hours option - there will be no other fix as I have no way to reproduce the problem.

Mike54 03-03-2005 09:28 PM

I just added ericgtr's module for the CMPS and it works great. Many thanks!

Mike

AmpSul 03-04-2005 01:06 AM

worked like a charm!
(i've been running vb for less than a week and this is my first installed hack!)

keep up the good work!!!

Agent Jones 03-05-2005 04:06 PM

I have doubles of everyone, how to fix it?

Paul M 03-05-2005 04:55 PM

Quote:

Originally Posted by Agent Jones
I have doubles of everyone, how to fix it?

Link ?

sportsoutlaw 03-07-2005 02:03 AM

just upgraded from 3.0.5 to 3.0.7 and modifed the index.php.

Still works great, thanks Paul for your efforts in this little hack.

zaon 03-07-2005 08:14 PM

Love the hack.. but think I discovered one minor bug...

It DOES display special formatting/colors as assigned by usergroup so that names appear same in the 24 hr list as they do for currently active users.. BUT.. only if that formatting is from the primary user group. I have a couple members with a secondary usergroup which has the option set to override formatting, and it does override (causing name to appear in bold) in the currently active list but appears without formatting in the 24 hr list.

Is this fixable?

The one active member i have now is 'dejong' if you happen to catch him online at www.zaon.org then you can see how his formatting is special in currently active but unmodified in 24 hr list. His name should be bolded in both lists like our Moderators are (whose formatting is specified in our primary usergroup).

Took me a while to figure that one out, but seems to be what's going on here.

MickDoneDee 03-07-2005 08:46 PM

This question was also raised here: https://vborg.vbsupport.ru/showthrea...lor#post582864

I think Paul said somewhere that it was too complicated to make colors work for Secondary usergroup. So that feature is not available for this hack.

zaon 03-07-2005 08:55 PM

Awww... gotcha.. Ok.

Paul M 03-07-2005 10:24 PM

Quote:

Originally Posted by zaon
Awww... gotcha.. Ok.

Yep, sorry, as MickDoneDee says - it would add a load of extra code - and I want this hack to be as simple as possible. :)

See https://vborg.vbsupport.ru/showpost....0&postcount=64

wildondallas 03-09-2005 08:24 AM

Installed and works great.

wildondallas, clicked install:up:

Moncal 03-11-2005 01:10 AM

Great Hack!

Perfect in every way.

scottm 03-12-2005 12:05 AM

great and easy, thanks. :)

Jeremy_Dallas 03-12-2005 03:37 AM

I'm getting the following when I try to save my changes to the FORUMHOME template:

The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/content/a/l/t/altirisadmin/html/vbulletin/includes/adminfunctions_template.php(3096) : eval()'d code on line 195

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

Any Ideas?

Paul M 03-12-2005 12:22 PM

Yes, you have made an error editing the template - revert it and try again.

Antivirus 03-12-2005 08:17 PM

Great hack, and my first one I have ever installed, great instructions, went off without a hitch!

(clicked install)

hendri 03-13-2005 07:47 AM

Quote:

Originally Posted by RaZor Edge
yes... it's impossible that all my members (100% of 1899) have come today at 11:31!! :nervous:

I will look at this.

cool !!!!!!!!

Paul M 03-17-2005 07:25 AM

Quote:

Originally Posted by hendri
cool !!!!!!!!

That's a very old quote in your post, I'm not quite sure why you have posted it - but there have been a few updates since then, and I believe that problem should no longer exist. :)

lefthome 03-17-2005 03:56 PM

I installed this hack and it is very nice, but I have a question. Is it possible to add a code to show, not the name or as in other hacks, guest, guest, guest, but just the total number of visitors who visited the board today?

Dalvosaber 03-17-2005 04:46 PM

How do I restrict to a certain usergroup please detail it carefully for me cos im not sure

Paul M 03-17-2005 05:37 PM

Quote:

Originally Posted by lefthome
I installed this hack and it is very nice, but I have a question. Is it possible to add a code to show, not the name or as in other hacks, guest, guest, guest, but just the total number of visitors who visited the board today?

It already shows the number of members who have visited. It is not possible to add the number of guests.

Quote:

Originally Posted by Dalvosaber
How do I restrict to a certain usergroup please detail it carefully for me cos im not sure

I don't understand what you mean - restrict what exactly ?

eva01_ 03-17-2005 05:43 PM

i believe Paul M that he wants the members online today to only show a single usergroup a the online today...maybe

lefthome 03-17-2005 08:47 PM

On my board I have installed hacks showing the total number of members that have posted today. The board also shows the total number of members who visited today, but what I want is to show the total number of visitors who visited today. I understand that current visitors are shown in the ?currently active users? (members, guests and spiders) but when they leave the numbers are gone and I want to keep those without using the scripts that I?ve located here that list each visitor as; guest1, guest2, guest3, and so on. I just want to retain the total number of visitors.

Paul M 03-18-2005 06:50 AM

Quote:

Originally Posted by lefthome
I understand that current visitors are shown in the ?currently active users? (members, guests and spiders) but when they leave the numbers are gone and I want to keep those without using the scripts that I?ve located here that list each visitor as; guest1, guest2, guest3, and so on. I just want to retain the total number of visitors.

Yes, I understood what you want, but this hack cannot do that (nor will it be changed).


All times are GMT. The time now is 08:22 AM.

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.01696 seconds
  • Memory Usage 1,831KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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