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 the forum (Today or last 24 hours). (https://vborg.vbsupport.ru/showthread.php?t=82769)

ThePimp 06-19-2005 03:15 AM

Installed... It worked fine for a while, then it died. Getting a 0 now. Any suggestions other than uninstalling it?

EDIT:
$cutoff = $now - 86400 ; // ## Uncomment this line if you want a rolling 24 hours display ## //

I uncommented that line and it came back up.

smokering 06-19-2005 04:03 AM

really like this one thank you very easy to install (I am not a coder)and it works perfectly

poolking 06-19-2005 08:28 AM

installed on Beta 2. :)

Paul M 06-19-2005 09:52 AM

Quote:

Originally Posted by ThePimp
Installed... It worked fine for a while, then it died. Getting a 0 now. Any suggestions other than uninstalling it?

EDIT:
$cutoff = $now - 86400 ; // ## Uncomment this line if you want a rolling 24 hours display ## //


I uncommented that line and it came back up.

You do realise the original version resets each midnight ?

taffy056 06-19-2005 04:15 PM

Hi,

This is not working for me as yet, I have done all the steps in the instructions, all I get is an empty table. Is this something to do with Hook Location? Does this need to be set at specific one?

thanks

Paul M 06-19-2005 04:25 PM

The hook location sets itself, are you sure you have plugins enabled ?

taffy056 06-19-2005 11:35 PM

Hi,

Just redone the plugin and all is working okay now, just need to get used to doing something slightly different from previously.

taffy

ThePimp 06-20-2005 03:05 AM

Quote:

Originally Posted by Paul M
You do realise the original version resets each midnight ?

I figured that, however, at the reset, I logged out and in under a few different usernames, and it didn't log it. The rolling list will work just fine though, it's what I was looking for anyhow.

Thanks again.

grundybin 06-20-2005 03:14 AM

I was looking for it to display users who have logged in since MIDNIGHT (00:00) Free games on the same day...

Paul M 06-20-2005 11:39 AM

It works on the members last activity time, which is updated when ever they move from one area of the forum to another, I would have thought logging in updates this as well.

The display is actually calculated before your own activity is updated, so if you logged directly into the homepage, you would actually need to refresh the page before you saw yourself listed.

Chris M 06-20-2005 01:35 PM

Quote:

Originally Posted by Paul M
It works on the members last activity time, which is updated when ever they move from one area of the forum to another, I would have thought logging in updates this as well.

The display is actually calculated before your own activity is updated, so if you logged directly into the homepage, you would actually need to refresh the page before you saw yourself listed.

Indeed - I expected it to show me as a user who visited today, but then realised that it had already calculated it, then i refreshed and I appeared ;)

Satan

mangacars 06-20-2005 02:33 PM

thanks worked perfect

pauloo 06-20-2005 06:06 PM

THank you Mr Paul !

Johannes de Le?n 06-23-2005 09:33 AM

Working like a charm here (vB 3.5.0 Beta 2).

kylek 06-24-2005 06:36 AM

Quote:

Originally Posted by Paul M
Okay - I applied a slightly different fix (uploaded).

I'll take a proper look tomorrow at the timezone stuff and see which is the best method. :)

I have a problem with the time on this, it seems to reset its midnight time at 9 pm forum time, other than that everything is and works great.

Paul M 06-24-2005 12:27 PM

Quote:

Originally Posted by kylek
I have a problem with the time on this, it seems to reset its midnight time at 9 pm forum time, other than that everything is and works great.

What timezone do you have set in your profile ?

Edit: Actually, try the version I have just uploaded (v3.20) - it uses a slightly different TZ calculation.

Roxie 06-24-2005 11:29 PM

Hmm. I'm getting a blank table as well.

Paul M 06-25-2005 12:07 AM

Quote:

Originally Posted by Roxie
Hmm. I'm getting a blank table as well.

Can you be more specific, or provide a working link to your site. Also, have you turned the plugin system on (in vb options) ?

Roxie 06-25-2005 01:23 AM

I'm sorry. I did all the steps in the install. The plugin is active and the system is on. It shows on the bottom of the page, however, the lists does not show any names.

Paul M 06-25-2005 01:36 AM

Quote:

Originally Posted by Roxie
I'm sorry. I did all the steps in the install. The plugin is active and the system is on. It shows on the bottom of the page, however, the lists does not show any names.

Okay, perhaps I should have been clearer, a blank table does not tell me what I need to know - the bit that says "Total members that have visited today: 2" - what number does it show at the end, after the colon ?

Roxie 06-25-2005 01:38 AM

It says 0. And there have been many visitors today.
Thanks.

Paul M 06-25-2005 01:40 AM

Can you please post a link to your site, and confirm that you are using version 3.20.

Paul M 06-25-2005 02:22 AM

Arrgggg - nevermind - I have just realised I made a stupid mistake on this latest upload (and possibly yesterdays as well) which may explain it. I have forgotten to convert $bbuserinfo to $vbulletin->userinfo on the user tz options. Delete the plugin you have and try the 3.25 version now uploaded. :)

kylek 06-25-2005 02:40 AM

Thanks Paul M,
Had me there for a minute, uploaded last version and had blank for members visited like Roxie, reuploaded new version and visitor numbers and names are back.

I will see if this new time zone calculation fixes my old problem.

MentaL 06-28-2005 01:17 PM

gr8



Total users that have visited today: 2688
!!Jin!!, ....2685 membernames removed (MarcoH64).... ~GMkyle~, ~~Cash~~
RaGEZONE : The Ultimate MMOG Resource Statistics

Paul M 06-28-2005 01:53 PM

um ??

Chris M 06-28-2005 02:19 PM

Quote:

Originally Posted by Paul M
um ??

Lol - He posted all those names :p

Satan

Marco van Herwaarden 06-28-2005 03:19 PM

It was an almost endless list of membernames, i needed to scroll for 5 minutes to get to the end of his post, and i didn't find any usefull information, hence i reduced it a 'bit'.

MentaL 06-28-2005 05:56 PM

Quote:

Originally Posted by hellsatan
Lol - He posted all those names :p

Satan

^__^


I would use tho if say it only showed the number of members who visted today, rather than just the names or say the number of amount of members who visited today and youc lick the nnumber and boom it opens a window of the member names..

Since i get 4000+ a day my page would be kinda full :ermm:

Paul M 06-28-2005 06:12 PM

Simply modify the template to show what you want (the list is collapsable as well ...).

flup 06-28-2005 06:24 PM

Nice

/me clicked install

MentaL 06-28-2005 06:38 PM

Quote:

Originally Posted by Paul M
Simply modify the template to show what you want (the list is collapsable as well ...).

Still loads it though in the html and im using stats and i noticed it added an extra 800miliseconds of loading time.

flup 06-28-2005 06:42 PM

Metalrz;

Try this code instead of the one in the text file:
Code:

<!-- Todays active users -->
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_todayusers')"><img id="collapseimg_forumhome_todayusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_todayusers].gif" alt="" border="0" /></a>
                        Total users that have visited today
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_todayusers" style="$vbcollapse[collapseobj_forumhome_todayusers]">
        <tr>
                <td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="Users online today" border="0" /></td>
                <td class="alt1" width="100%"><div class="smallfont">$totaltoday Members have visited us today</div></td>
        </tr>
</tbody>
<!-- Todays active users -->

Add that one after:
<!-- end logged-in users -->

This will only show the number.

MentaL 06-28-2005 08:56 PM

Quote:

Originally Posted by flup
Metalrz;

Try this code instead of the one in the text file:
Code:

<!-- Todays active users -->
<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_todayusers')"><img id="collapseimg_forumhome_todayusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_todayusers].gif" alt="" border="0" /></a>
                        Total users that have visited today
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_todayusers" style="$vbcollapse[collapseobj_forumhome_todayusers]">
        <tr>
                <td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="Users online today" border="0" /></td>
                <td class="alt1" width="100%"><div class="smallfont">$totaltoday Members have visited us today</div></td>
        </tr>
</tbody>
<!-- Todays active users -->

Add that one after:
<!-- end logged-in users -->

This will only show the number.

ta!!

Paul M 06-28-2005 11:55 PM

Quote:

Originally Posted by mentalrz
ta!!

If the count is all you want, then I suggest you use this cut down plugin as most of the original code is for building the list. :)

Chris M 07-01-2005 12:03 AM

Quote:

Originally Posted by Paul M
If the count is all you want, then I suggest you use this cut down plugin as most of the original code is for building the list. :)

Paul - The list has broken on Beta 3 - Fix it :p

Shows up as empty table now :ermm:

Satan

Paul M 07-01-2005 12:09 AM

Quote:

Originally Posted by hellsatan
Paul - The list has broken on Beta 3 - Fix it :p

Shows up as empty table now :ermm:

Satan

Which list ? It's working fine on my beta 3.

Chris M 07-01-2005 12:26 AM

This one ;)

Satan

MentaL 07-01-2005 12:42 AM

Quote:

Originally Posted by hellsatan
This one ;)

Satan

Works fine here bud, i only got that when i didnt active the plugin :rolleyes:


http://forum.ragezone.com/index.php?

Chris M 07-01-2005 12:47 AM

Quote:

Originally Posted by mentalrz
Works fine here bud, i only got that when i didnt active the plugin :rolleyes:


http://forum.ragezone.com/index.php?

My plugin is active, and it was working when I installed the hack yesterday ;)

It just stopped working for some reason :p

Satan


All times are GMT. The time now is 08:15 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.01933 seconds
  • Memory Usage 1,827KB
  • 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
  • (2)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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