vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Track Guest Visits (https://vborg.vbsupport.ru/showthread.php?t=131314)

afmarko99 01-01-2008 03:32 PM

I had an older version installed just fine but the new version I am having trouble with.

What setting in usergroups do I need to set to yes? I can't find any new options in my adminstrator group and I currently don't see the stats on my forum. Also what is the bitfield_track-guests.xml file for? Do I need to upload this file somewhere?

Paul M 01-01-2008 04:00 PM

The instructions are in the main post, just above the history. It won't work without the bitfield file.

SEOvB 01-01-2008 09:24 PM

workd good on 3.7b3 if you change the max version in the product xml :)

afmarko99 01-01-2008 09:54 PM

Quote:

Originally Posted by Paul M (Post 1413237)
The instructions are in the main post, just above the history. It won't work without the bitfield file.

Sorry for the durka durka jihad move on my part.

Thanks, it works as advertised now.

Snake 01-01-2008 10:05 PM

Thanks for the release, but is there a possibility to integrate this hack with the Members Online Today? I mean, merge both of the hacks to have them as a one single product.

Paul M 01-01-2008 10:48 PM

Nope.

vNew 01-09-2008 03:57 PM

Hi, Paul:

I just installed your guest-tracking vB mod on my new vB. Thanks for making it available.

After installing the guest-tracking mod, I found:

vB's What's going on says: 1 member, 1 guest. [This is correct]

But your vB Mod says:
Total guests that have visited the forum in the last 24 hours: 0 [This is not correct].

I wonder if the discrepancy is due to the fact that the time frame is different.

Ideally, the two should agree,
i.e. Total guests during the last 24 hours should be >= 1 in this case.

Regards,
vNew

Paul M 01-09-2008 05:32 PM

Guests will not be counted (by this) until they actually view something. Your guest had not looked at anything yet (only before you installed this).

voter 01-23-2008 08:31 PM

Quote:

Originally Posted by Paul M (Post 1156435)
Hmm, looking at this on my homepage, mysql is not using the index for some reason, even though it exists. By forcing it the query is quicker.

Change the SQL call (in Plugin 3) to this and let me know what happens ;

PHP Code:

    $todaysguests $vbulletin->db->query_read_slave("
        SELECT * FROM "
.TABLE_PREFIX."guest FORCE INDEX (lastactive) WHERE lastactive > $cutoff
    "
); 


This query takes sometime 25 seconds in my forum? Any idea what it could be or better how I can solve the problem?

Paul M 01-24-2008 10:41 AM

Not without full access to our forum and database to run test queries.


All times are GMT. The time now is 05:01 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.02082 seconds
  • Memory Usage 1,741KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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