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)

binkuang 02-28-2008 05:25 PM

i install the guest track hack...but why it doesn't show up on my forum page. it that i have to disable the whole modification to prevent this?

Paul M 02-28-2008 06:31 PM

Quote:

Originally Posted by binkuang (Post 1453043)
i install the guest track hack...but why it doesn't show up on my forum page.

No idea, maybe you have a custom style.

Quote:

Originally Posted by binkuang (Post 1453043)
it that i have to disable the whole modification to prevent this?

Sorry I dont really understand what your saying.

Realbigsource 03-06-2008 06:05 PM

Hello forum mates...

I'm having a little problem with this mode, I installed everything ok but no stat is showing on the home page...the instatlltion instruction state I should do the follloing below but i'm not sure what to do in the usergrup manager. any help?

Set your required permissions in the usergroup manager.

Realbigsource 03-06-2008 07:05 PM

I'm not seeing the below in the usergroup permission:

* Can View the Guests Visited Display - Members can view the guests visited display on Forumhome.
* Can View Guest IP Addresses - Members can see the ip addresses of visiting guests.
* Can View Guest Visits List - Members can view the list of guest visits page.
* Can View Guest Tracking Data - Members can view the individual guest visit tracking page.

mark|3 03-07-2008 08:18 AM

is there anyway to track member's visits?

Kadi 03-07-2008 12:10 PM

Hi,

I had v1.16 installed and it's been working just fine. I just updated to the latest v. and now its diappeared from the forum.

What am I missing?

Paul M 03-07-2008 06:28 PM

Did you follow the install instructions in the main post ?

Kadi 03-08-2008 05:55 AM

Quote:

Set your required permissions in the usergroup manager.
Found the permissions. Working perfectly. Thanks. :)

SuperNissans 04-07-2008 10:34 PM

I am a super n00b. Please help.

Installed this on 3.6.8

Cannot see it anywhere. I am sorry, I must be dumb, but I am not sure what settings I am supposed to set on this. I went to VBOptions and set it up correctly there, but what permissions exactly do I need to change in the usergroups?

Goomzee 04-08-2008 04:48 AM

wow nice Mod

Paul M 04-08-2008 06:55 AM

Quote:

Originally Posted by SuperNissans (Post 1485556)
but what permissions exactly do I need to change in the usergroups?

The Guest Tracking permissions.

bluidkiti 04-08-2008 11:56 PM

What if I wanted to put this somewhere else besides the What's Going On box - let's say inaa left side column on my board. How would I do that?

bluidkiti 04-10-2008 12:28 AM

Quote:

Originally Posted by bluidkiti (Post 1486337)
What if I wanted to put this somewhere else besides the What's Going On box - let's say inaa left side column on my board. How would I do that?

Never mind - I figured it out myself. :up:

steveneff 04-14-2008 09:08 PM

Thanks Paul very nice mod
Couple of questions about the following setting

"Change this if you want this modifications code to run on all vb pages, not just the forum homepage."

Just wanted to check, does this option if set to No not count visitors that land in a thread and not visit the Forum Home?

If set to yes does it use up much bandwidth/cpu and all that stuff.

Paul M 04-14-2008 09:47 PM

That option actually refers to the display code only. All visitors are counted, no matter where they visit.

transpetaflops 04-16-2008 11:41 AM

Where is the value for "most guests online over 24 hours" stored? I've blocked Yahoo Slurp now and would like to reset it. Search through this thread but couldn't find anything mentioned. Anything special to consider before I do the reset?

transpetaflops 04-16-2008 11:59 AM

Replying to myself here. Not a mysql expert but trying to learn... I found this:

Code:

mysql> select * from datastore where title = 'maxloggedin';
+-------------+----------------------------------------------------------------------------------------------------------------------+-------------+
| title      | data                                                                                                                | unserialize |
+-------------+----------------------------------------------------------------------------------------------------------------------+-------------+
| maxloggedin | a:4:{s:13:"maxguestzdate";i:1208349349;s:9:"maxguestz";i:233;s:9:"maxonline";i:2;s:13:"maxonlinedate";i:1208350033;} |          1 |
+-------------+----------------------------------------------------------------------------------------------------------------------+-------------+
1 row in set (0.01 sec)

The "maxguestz" value of 233 is probably the one I need to reset. What puzzles me is that I used the following command to reset the regular max users statistics:

Code:

UPDATE datastore SET data = '' WHERE title = 'maxloggedin'
But I fail to see how this command was able to successfully reset only the "maxonline" value since I see no references to it. I would assume that command would wipe the complete record which it didn't do obviously. I'd be most grateful for an explanation and a pointer to how I can modify the command to reset the Guest Tracking stats.

transpetaflops 04-16-2008 12:05 PM

The UPDATE command actually DOES empty the record as expected but something restores the data a few seconds later... now I'm completely confused ;-)

transpetaflops 04-16-2008 01:28 PM

Ah, I guess the data is being restored by the information in the guest table so I have to wait 24 hours before I clear that field. Sorry for the noise.

Hawaiian-TV 04-19-2008 03:26 AM

First of all, thanks for this hack. If it's really working right, we love it.

I hope this hasn't been answered before...

I can't tell right now when the 24 hour "day" begins and ends. It seems at times like the number of visitors in 24 hours goes DOWN in a day rather than up. Please explain!

Paul M 04-19-2008 11:05 AM

The 24 hours is real time, 24 hours back from when you load the page.

JKatz 04-26-2008 01:33 AM

Love it! Thank you!

reverse1312 05-07-2008 06:50 PM

Hello Paul,

It's a very nice hack !!

Would it be possible to add manually some new spiders IDs ?
I'm in France and we have some spiders that are not among the listed SE spiders...
It would be great to be able to add them manually.

Thank you

Paul M 05-07-2008 07:23 PM

The only way to do that is to edit the spiders file, make sure you keep a copy if you do (for when you upgrade vb).

reverse1312 05-07-2008 07:32 PM

Thanks I'll try that ;-)

Nice job !!!

reverse1312 05-10-2008 04:44 PM

I clicked "installed" ;-)

Edited the spider xml file as you said it's really cool now I can trace more precisely spider real activity :-)

Something I try to understand :

When a visitor is unlogged (cookie erased) he counts as an unlogged guest.
If he logs in. He counts as a logged in visitor and as a guest (he was).
If he erases cookie again, He counts as 1 logged in visitor + 1 guest (same IP)

Correct ?

I wonder how is it possible that Google Bot can be logged and not logged at the same time ?. It has no account on vB... (see attached img)
What doest it mean in that case ?
If it's just the fact that the request of any page has been recorded on the apache access log, I think every visit is logged anyway in that particular sense.
So I'm a bit confused about that...

Thank you

Paul M 05-10-2008 07:28 PM

Logged means the detailed visits logged, only visits to the homepage, forums and threads are logged, anything else is not.

ArnyVee 05-15-2008 12:40 AM

Works great on 3.6.8! :)

I took a quick glance at the add'l list of spider definitions and noticed that all of them (I went through about 50) were all listed in my xml file. If I were to add the whole list, will the duplicates just work their way out or will I have the same spider showing up twice as a duplicate?

Paul M 05-15-2008 06:50 AM

They should only be counted once.

voter 06-02-2008 02:57 PM

Quote:

Originally Posted by karel1985 (Post 1261975)
today i had a really major vbulletin database error,

suddenly nothings works anymore and i about one hour i got 200 error messages in my mailbox



the last line 'scipt' is always different, login, forum.php, etc...

for solving the prob i disabled all my producthacks and then enabled one by one
everything is working til the last one was this hack and when i enable it, again vb errors

any suggestion what happened???

Same staff happen to me not once.

Quote:

REPLACE INTO vbguest
(guestid, hostip, useragent, lastactive, spider, script, rdata)
VALUES
('27afa7c9d161e4eadc7ee2bfda9d874b', '91.103.25.142', 'Opera/9.27
(Windows NT 5.1; U; ru)', 1212415507, '', 'adv_index',
'a:6:{s:1:\"s\";s:0:\"\";s:6:\"postid\";i:0;s:8:\" threadid\";i:0;s:7:\"forumid\";i:0;s:6:\"pollid\"; i:0;s:1:\"a\";s:0:\"\";}');

MySQL Error : Duplicate entry '27afa7c9d161e4eadc7ee2bfda9d874b' for
key 1

I found out that it happen at same time as I was backuping my database. Seems for host server it was to much staff to do all databse replacements read etc staff at once.

Paul could it be that one escpae such errors when Duplicate entry escaped by generating the ids for guest more randomly or just escape the usage of REPLACE. INSERT will be ok and it is in not important to replace the information of already existing guests. Sure one will count them same guest more than once, but at least the error will not come out.

Paul M 06-02-2008 11:25 PM

Thats some sort of mysql problem/bug - it should be impossible to get a duplicate key error using RELACE INTO - the whole point is that it updates the found key - I would suggest you run a repair on the guest table, it may be corrupt in some way.

voter 06-03-2008 07:38 AM

Quote:

Originally Posted by Paul M (Post 1539218)
Thats some sort of mysql problem/bug - it should be impossible to get a duplicate key error using RELACE INTO - the whole point is that it updates the found key - I would suggest you run a repair on the guest table, it may be corrupt in some way.

Sure the reason was corrupted guest table, and after repairing SQL everything is ok.
My thought was to find a way to escape such a situation again.

I think the scenario is - during database backup, which is hard staff for server, the REPLACE comes and mysql starts to writes the data, but it do not mark it as finished and send any answer to your script for a long time and same request comes once more. Then one have same REPLACE query doubble in query.

Paul M 06-03-2008 05:19 PM

Replace just does an Insert, or Delete & Insert if the key exists.

If vb3.7 required mysql 4.1 or above then I could look at the "Insert ... On Duplicate Key Update" for the 3.7 version - however it only required 4.0.16 or above, this version needs to run on any mysql 4.0.x (and even mysql 3.xx) as well.

fpattberg 06-08-2008 06:55 AM

Hello.

I know that there is limited support on this plugin now but I have had the situation that suddenly (since yesterday) somehow there are now spiders shown next to my regular visitors.

My site: http://www.sustainabilityforum.com/forum

Has anyone an idea why that could be the case? Have I missed something? Are there no more spiders visiting my site?

I am using 3.6.7 PL1 but that should not be a problem right?

Please help.

Thanks.

Fabian

Paul M 06-08-2008 11:46 AM

Maybe your spiders cache has got corrupted, try running this and then waiting a few hours ;

[sql]DELETE FROM datastore WHERE title = 'wol_spiders'[/sql]

fpattberg 06-08-2008 12:14 PM

Okay.

I am getting a not allowed message. Do I have to get permission from my hosting provider?

In the vbseo forum they said that I had a robots.txt problem.
But I have no robots.txt on my ftp root and still it shows up:
http://www.sustainabilityforum.com/robots.txt

What is wrong with this?

Please help.

Thanks.
Fabian

Dean C 07-05-2008 10:55 PM

Hi,

Just installed this. Does it take a few hours to begin showing on the forumhome? I installed it, checked everything was turned on in the vB options and the block isn't showing up on forumhome. Note: I am running a completely stock vBulletin style.

Ack: permissions for admin were all set to no :) Nm

Philster 07-05-2008 11:58 PM

Dean, have you enabled spider display and guests in 'who's online' options of your admincp? Also have you ftp'd the latest spider.xml file to your forum?

Phil.

Welshy2008 08-06-2008 10:59 PM

Great Hack - Thank You Paul.

ggregg13 08-22-2008 10:38 AM

how do l do this exacly lam new to this Upload the bitfields file to your ../includes/xml folder thanks ggregg13


All times are GMT. The time now is 01:56 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.02157 seconds
  • Memory Usage 1,826KB
  • 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
  • (8)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