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)

jw00dy 01-10-2007 06:03 AM

Thanks Paul, Nicely done.

Ricsca 01-10-2007 09:34 AM

Thanks! :)

red-dna 01-10-2007 10:26 AM

I check that set Enable Spider Display is allreadt set to 'Yes' in vBulletin Options
and i also visit the online.php page (and the spiders are displayed ok)
but i get:
Total guests that have visited the forum in the last 24 hours: 609
Visitors (609)


The previous version is worked ok, but with the update i got stuck with this problem.

Any help ?:(

MeMySelfNi 01-10-2007 01:48 PM

updated..........

Paul M 01-10-2007 05:34 PM

Quote:

Originally Posted by red-dna (Post 1155361)
Any help ?:(

As I have previously mentioned a few times, if you want me to look at a specific problem then unless you provide me with access to your forum (admin access, with the ability to run sql queries) then there is nothing I can do. I cannot investigate problems that are not reproducable on my system.

storpappa 01-11-2007 01:52 PM

Stats are showing visits from the 3 major search engines, but these do not show up in the visitors for the mod. Any suggestions on what to check?

Or a way to send a spoofed bot visit to the site and see what shows up?

As above, I am fine with that. Just PM me if you are interested in looking at the site - thanks

****turned this off, back on, changed a babies popy diaper and now it is working. Your mileage with or without the diaper may vary. Thanks for another great mod Paul

aciurczak 01-11-2007 03:46 PM

As much as I like the functionality of this mod, it had such a performance hit on my board I had to disable it. My board felt sluggish recently, so I paid closer attention to the Microstats at the bottom saying how many seconds & queries it took to create the page. With this plug-in enabled, it would sometimes take 4 or 5 seconds to display my forum home page, (with only 14 queries). It was never less than 3 seconds.

After disabling this hack, it is back down to between 0.4 and 1.0 seconds to create the home page, with 13 queries. This hack reported that I was getting about 2000 guests visiting per day (vast majority were spiders), and my server load never reports over 0.8, so it likely wasn't a server load problem.

Any suggestions on indexing certain tables to improve performance?

Paul M 01-11-2007 06:29 PM

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
    "
); 


aciurczak 01-11-2007 06:41 PM

That did it. Page load time is back under a second, with the mod enabled. Thx for the quick fix.

Paul M 01-11-2007 11:39 PM

Quote:

Originally Posted by aciurczak (Post 1156441)
That did it. Page load time is back under a second, with the mod enabled. Thx for the quick fix.

Good, I'll release that as an update tomorrow.

Investigating that has highlighted some index issues in a few other mods as well, so I've a few updates to issue ......

Paul M 01-12-2007 08:15 AM

v1.13 - as per posts #327 to #329, I have changed the SQL to force MySQL to use the index on forumhome - it wasn't being used - on forums with a large number of guests this will speed up the query this runs.

storpappa 01-12-2007 11:32 AM

downloaded, updated - thanks for the update

KURTZ 01-12-2007 12:07 PM

<font color="SeaGreen">UPDATED!</font>

PS. Paul just a question: the better way to update is first unistall the previous version and after this re-install the hack or simply overwrite?

Neutral Singh 01-12-2007 02:09 PM

why this isnt working with 3.6.2 :( ?

Mudvayne 01-12-2007 02:19 PM

Why are you using an older version of vB where there is a new & security bug fixed version available :S.

Shazz 01-12-2007 02:30 PM

/me updated thanx

firstrebel 01-12-2007 03:05 PM

I just upgraded this mod now I have this:
Quote:

Visitors (334), Yahoo! Slurp Spiders (853), MSNBot Spiders (9), Google Spiders (1)
I don't think so!!

Bob

Viper007Bond 01-12-2007 03:33 PM

All updated. Thanks. :)

Mudvayne 01-12-2007 03:51 PM

Updated. Works like charm..

Paul M 01-12-2007 04:52 PM

Quote:

Originally Posted by firstrebel (Post 1157123)
I just upgraded this mod now I have this:

I don't think so!!

Bob

That didn't upgrade properly I would say, do an uninstall/install to clear the table.

Shazz 01-12-2007 05:29 PM

I can't get it to display the yahoo bots etc.

It only says
Visitors (457)

I have all the the options checked to "yes" in the vBoptions

firstrebel 01-12-2007 06:08 PM

Quote:

Originally Posted by Paul M (Post 1157254)
That didn't upgrade properly I would say, do an uninstall/install to clear the table.

Got this when I tried to uninstall:
Quote:

Fatal error: Direct Instantiation of vB_Database_Alter class prohibited. in /includes/class_dbalter.php on line 106
Bob

firstrebel 01-12-2007 06:10 PM

Now I cannot access ther forum at all
Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT * FROM vb_guest FORCE INDEX (lastactive) WHERE lastactive > 1168560000;

MySQL Error : Table 'vb_forum.vb_guest' doesn't exist
Error Number : 1146
Date : Friday, January 12th 2007 @ 08:06:17 PM
Script : http://www.volvoclub.org.uk/forum/index.php
Referrer : http://www.volvoclub.org.uk/forum/ac...ex.php?do=head
IP Address : 80.168.254.234
Username : admin
Classname : vb_database
Bob

firstrebel 01-12-2007 06:15 PM

Paul,

I think one of the mods you updated today may have caused this. I disabled all them and now I have access to the forum again.

I'll try to reproduce it and see if I can tie it down to the problem.

Bob

firstrebel 01-12-2007 06:30 PM

I have the same problem on my dev site. I cannot uninstall this mod. I now cannot run with it enabled either as it causes the db error above. The only way I can now run the forum is with this disabled.

Bob

firstrebel 01-12-2007 07:32 PM

I have managed to sort this out. I suspect something went wrong importing the updated product. I manually removed the vb_guest table and then imported one from an earlier backup. Then did the uninstall and reinstall.

Time for a drink...

Bob

Shazz 01-12-2007 08:36 PM

Quote:

Originally Posted by Shazz (Post 1157290)
I can't get it to display the yahoo bots etc.

It only says
Visitors (457)

I have all the the options checked to "yes" in the vBoptions

I tried disabling it then putting it back on, didn't do anything :(

firstrebel 01-12-2007 09:02 PM

Something is not right here, after just over an hour after removing and reinstalling I have this:
Quote:

Visitors (158), Yahoo! Slurp Spiders (507), MSNBot Spiders (4), Google Spiders (1)
Bob

firstrebel 01-12-2007 09:16 PM

I have just tried to uninstall this again, guess what, again -
Quote:

Fatal error: Direct Instantiation of vB_Database_Alter class prohibited. in /includes/class_dbalter.php on line 106
And the forum was not accessible again, until I disabled the product. The table had been removed from the database but because I could not totally remove the product it generated lots of db errors.
Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT * FROM vb_guest FORCE INDEX (lastactive) WHERE lastactive > 1168560000;

MySQL Error : Table 'vb_forum.vb_guest' doesn't exist Error Number : 1146
Date : Friday, January 12th 2007 @ 11:01:37 PM
Script : http://www.volvoclub.org.uk/forum/index.php
Referrer : http://www.volvoclub.org.uk/forum/ac...ex.php?do=head
IP Address : 80.168.254.234
Username : admin
Classname : vb_database
Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:

REPLACE INTO vb_guest
(guestid, hostip, useragent, lastactive, spider, script, rdata)
VALUES
('023eeebea3b0ca22284bcda48e947451', '88.90.177.82', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)', 1168642897, '', '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 : Table 'vb_forum.vb_guest' doesn't exist Error Number : 1146
Date : Friday, January 12th 2007 @ 11:01:37 PM
Script : http://www.volvoclub.org.uk/forum/index.php
Referrer :
IP Address : 88.90.177.82
Username : Unregistered
Classname : vb_database
..to quote just a few.

I had to reimport the table from an earlier backup and then I could uninstall the product cleanly. I am not reinstalling this again as something is just not right.

Bob :mad:

Shazz 01-12-2007 09:17 PM

^You've posted about 7 times ina row :|

firstrebel 01-12-2007 09:22 PM

Yes, how observant. It is because I am getting a series of problems and as soon as I think it is fixed, it's not. It's called going round in circles. If you read them in sequence, and note the time stamps you may understand.

Bob

jw00dy 01-12-2007 10:25 PM

I had some trouble as well, and mine had to do with the spider watchers hack. I removed it, re-added, and now all is happy now.

Smoothie 01-12-2007 11:35 PM

So..... maybe I should wait to upgrade until this gets sorted out.

funkmeister 01-13-2007 12:00 AM

Works fine for me :)

Paul M 01-13-2007 03:54 AM

Quote:

Originally Posted by firstrebel (Post 1157488)
I have just tried to uninstall this again, guess what, again -
And the forum was not accessible again, until I disabled the product. The table had been removed from the database but because I could not totally remove the product it generated lots of db errors.


..to quote just a few.

I had to reimport the table from an earlier backup and then I could uninstall the product cleanly. I am not reinstalling this again as something is just not right.

Bob :mad:

Whatever you uninstall problem is/was, it's related to your forum setup, I can happily uninstall/install this on my forum.

I can't even imagine what's calling the db alter class.

I'm still puzzled why you thought this was odd ;

Quote:

Visitors (158), Yahoo! Slurp Spiders (507), MSNBot Spiders (4), Google Spiders (1)
I can't see anything wrong with them

Shazz 01-13-2007 04:00 AM

Quote:

I can't get it to display the yahoo bots etc.

It only says
Visitors (457)

I have all the the options checked to "yes" in the vBoptions
Help would be appreciated :(

Viper007Bond 01-13-2007 12:31 PM

Quote:

Originally Posted by firstrebel (Post 1157479)
Something is not right here, after just over an hour after removing and reinstalling I have this:

Bob

Nothing unusual about that. Yahoo enjoys sending a TON of bots at sites. When I changed subdomains after first installing vB, I literally had around 200 bots at once crawling the site.

funkmeister 01-13-2007 04:50 PM

See below for my current visitor list, what you see is not unusual, as has been stated earlier.

I do have one question - is a Visitor (or "Lurker" in my setup) - simply a non-member who's hit the forum or can it also include an undefined spider? If so - it could only be those 2 types of visitors that make up the total visitor number, right?

Thanks and keep up the good work.

Nathan2006 01-13-2007 06:33 PM

Thanks Paul

Updated

Paul M 01-13-2007 06:42 PM

@funkmeister - "Visitor" is any guest not specifically listed (detected) as a spider.


All times are GMT. The time now is 05:25 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.02614 seconds
  • Memory Usage 1,830KB
  • 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
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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