vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Show Spiders Online on ForumHome (https://vborg.vbsupport.ru/showthread.php?t=75986)

lifesourcerec 02-16-2005 01:20 AM

Ok :). Just trying to track down the problem, but everything is as stated in the directions. So, dunno what it is.

Twigz 02-16-2005 01:27 AM

Not sure either as I;m still having the same Problem have gone over everything Twice and matches to the T of the install Directions.. All I can think it is, is when I edited the Phrase, I dont think it updated correctly.. If you would like you could check it out for me when you have time. Just let me know, I can give ya access..
Here's the site so you can see yourself for now. www.wckediden.com/forums/index.php

lifesourcerec 02-16-2005 01:29 AM

Quote:

Originally Posted by Twigz
Not sure either as I;m still having the same Problem have gone over everything Twice and matches to the T of the install Directions.. All I can think it is, is when I edited the Phrase, I dont think it updated correctly.. If you would like you could check it out for me when you have time. Just let me know, I can give ya access..
Here's the site so you can see yourself for now. www.wckediden.com/forums/index.php

Yeah, when editting the phrase, you can only put in English (US) translation.

amykhar 02-16-2005 01:34 AM

If it's the phrase giving you grief, you can get around that by using the variables in the forumhome and online templates instead of passing them into the phrase as a parameter. I just used the phrase to try to be more correct in the formatting of the hack.

lifesourcerec 02-16-2005 01:40 AM

Quote:

Originally Posted by amykhar
If it's the phrase giving you grief, you can get around that by using the variables in the forumhome and online templates instead of passing them into the phrase as a parameter. I just used the phrase to try to be more correct in the formatting of the hack.

Which variables to use? on forumhome and who's online? I'll try that and see if that's the problem.

amykhar 02-16-2005 01:43 AM

Lifesourcerec, try doing the forumhome one first. Use the
Code:

$numberspiders
variable. If that works, you can do the online one using the numspiders variable.

lifesourcerec 02-16-2005 01:52 AM

Found the problem and it was between the keyboard and the seat :(.

I put the code in the parent file which the style file inherit, but it didn't. Works like a charm now :)

amykhar 02-16-2005 01:54 AM

Quote:

Originally Posted by lifesourcerec
Found the problem and it was between the keyboard and the seat :(.

I put the code in the parent file which the style file inherit, but it didn't. Works like a charm now :)

Yay!

amykhar 02-16-2005 02:14 AM

OK. Found Twigz problem too. He was missing a code chunk in his index.php file.

I realize there will be issues with portal pages that show who's online. There are a couple of ways you can resolve them.
1. change the portal templates so the phrase isn't used. Spiders are not calculated by the portal code. So, the phrase will throw errors.
2. change the portal code to find the spiders and count them. You're on your own because there are too many portals for me to do the code for each one.

Amy

Twigz 02-16-2005 02:17 AM

Thanks Amy for the Quick help and Fix.. Great Hack and Keep up the Good work.

amykhar 02-16-2005 02:21 AM

Quote:

Originally Posted by Twigz
Thanks Amy for the Quick help and Fix.. Great Hack and Keep up the Good work.

No problem :)

BocaDev 02-16-2005 02:39 PM

Amy this hack its great and no problems with the install. Keep up the good work.

Again many thanks :)

nathanaus 02-16-2005 10:05 PM

Quote:

Originally Posted by BocaDev
Amy this hack its great and no problems with the install. Keep up the good work.

Again many thanks :)

Yep I agree, great hack Amy! You da man! errr woman!

Boofo 02-17-2005 12:27 AM

Quote:

Originally Posted by amykhar
For Boofo's change that only shows the numbers if more than one spider is around (and shame on him for telling you that he did it without telling you how to do it if you want as well :D)

In index.php Find:
Code:

$loggedin['musername'] = key($spiderlist) . "(" . $spidername.")";
Replace with:
Code:

if ($spidername > 1) {
        $loggedin['musername'] = key($spiderlist) . "(" . $spidername.")";
        }
        else
        {
        $loggedin['musername'] = key($spiderlist);
        }


I was going to post the code but I didn't want to step on any toes doing it. ;)

Boofo 02-17-2005 12:29 AM

Quote:

Originally Posted by Mone'
heheh
how are you boofo? long time no see you ;)

Doing ok. ;)

Where have you been? You know where I am at. Stop by and say hello. ;)

VAN 02-17-2005 04:20 PM

Works great! Thanks!

Now how 'bout updating it to work with Forumdisplay and Showthread. ;)

Crank 02-17-2005 07:41 PM

i have installed the hack and am still showing 200+ guest on my site. it shows 1 spider and list google. i have been adding some other spiders to the board list in the vb options. although im not sure if everything is working correctly

amykhar 02-18-2005 12:38 AM

I can't verify if things are working or not Crank because you don't have your forums listed in your profile page. To verify any problems I need the url and also need your online.php to be visible to guests.

Amy

amykhar 02-18-2005 12:38 AM

Quote:

Originally Posted by VAN
Works great! Thanks!

Now how 'bout updating it to work with Forumdisplay and Showthread. ;)

Maybe. :D

kall 02-18-2005 06:17 AM

Quote:

Originally Posted by amykhar
Maybe. :D

Woohoo!

Ow. Yahoo is a-visiting.

Quote:

Currently Active Users: 460 (2 members and 12 guests and 446 search engine spiders)

wattieuk 02-18-2005 12:35 PM

I dont get any spiders visiting although I know they are there. Was trying to add the identifyers into the AdminCP WHos online but dont know what part of the file I have to add where.
Any help much appreciated.

Francisco 02-19-2005 07:04 AM

Quote:

Originally Posted by amykhar
Maybe. :D


I am a supporter of this idea :)

Installed it works great. One question, on My VB config I have the MSN and Google bots description as "MSNbot" and "Google" but in my forumhome I see:

Most users ever online was 356, 01-29-2005 at 07:33 PM.
Me , google , msnbot

How can I change those names?

Also, it would be sweet to have each bot to have a different color :)

amykhar 02-19-2005 01:13 PM

I have it set to change the names to lowercase to make matching the names more accurate. You can always remove the call to strtolower in my code to keep it from changing to lower case.

Francisco 02-19-2005 04:46 PM

Quote:

Originally Posted by amykhar
I have it set to change the names to lowercase to make matching the names more accurate. You can always remove the call to strtolower in my code to keep it from changing to lower case.


I am not a php guy, could you tell me exactly how?

Sorry, thanks

Francisco 02-19-2005 08:59 PM

also, works with .7 ?

amykhar 02-20-2005 02:41 AM

Quote:

Originally Posted by Francisco
also, works with .7 ?

Yes. I just installed it on 3.0.7 and it works fine.

amykhar 02-20-2005 02:44 AM

Quote:

Originally Posted by Francisco
I am not a php guy, could you tell me exactly how?

Sorry, thanks

Replace this in index.php
Code:

$key = strtolower($datastore['wol_spiders']['spiderarray']["$agent[1]"]);
With this:
Code:

$key = $datastore['wol_spiders']['spiderarray']["$agent[1]"];
I haven't tested this, but it should do what you want.

amykhar 02-20-2005 02:45 AM

Quote:

Originally Posted by wattieuk
I dont get any spiders visiting although I know they are there. Was trying to add the identifyers into the AdminCP WHos online but dont know what part of the file I have to add where.
Any help much appreciated.

Adding more spiders is a question better asked in a separate thread in the General Vbulletin Questions. If you do a search, you will find people have already compiled large lists of spiders that aren't already installed by default. I believe some directions for adding them are posted as well.

wattieuk 02-20-2005 10:01 PM

Quote:

Originally Posted by amykhar
Adding more spiders is a question better asked in a separate thread in the General Vbulletin Questions. If you do a search, you will find people have already compiled large lists of spiders that aren't already installed by default. I believe some directions for adding them are posted as well.

Cheers - found it here: http://www.vbulletin.com/forum/showthread.php?t=76662 in case anyone else is interested.

lifesourcerec 02-21-2005 10:00 AM

Hmm.. seems mine not working correctly. It always says "0 spiders" and never shows any online, yet when looking at vB statistics, it shows a lot of hits by spider/crawlers.

amykhar 02-21-2005 12:37 PM

Lifesource, when that happens, you probably missed a chunk of the code edits on index.php. Triple check that file.

lifesourcerec 02-21-2005 03:32 PM

Just quadriple checked and everything is as stated in textfile. It may just be v3.0.3.

dethfire 02-23-2005 12:36 AM

Quote:

Originally Posted by lifesourcerec
Just quadriple checked and everything is as stated in textfile. It may just be v3.0.3.

I am on 3.0.3 too and it worked great for a day, but now it doesn't show any spiders either even though I know they come on everday.

amykhar 02-23-2005 02:06 AM

I never said it worked on 3.0.3 gang. Sorry, but I am only supporting this one from 3.0.6 up. If you want to use newer hacks on older versions, you're going to have to take it upon yourselves to figure out how to make that work.

Amy

BigCheeze 02-24-2005 07:34 PM

Never mind... fixed my problem. Thanks for the hack!!!!!

venomx 02-26-2005 07:10 AM

I have vBadvanced CMPS v1.0.1 installed. Since I installed this hack I get this in the stats on the CMPS index...

1 members and 4 guests and [ARG:3 UNDEFINED] spiders
How do I fix this?

amykhar 02-26-2005 01:40 PM

Quote:

Originally Posted by venomx
I have vBadvanced CMPS v1.0.1 installed. Since I installed this hack I get this in the stats on the CMPS index...

1 members and 4 guests and [ARG:3 UNDEFINED] spiders
How do I fix this?

https://vborg.vbsupport.ru/showpost....3&postcount=89

Schwarze Katze 03-01-2005 09:19 PM

I love the hack, but I've got a problem.

Example:
Right now I've got 50 members, 43 guest and 18 spiders.
On who's online it works for "all" and shows the right numbers.
When I choose "members" it says 50 members, -18 guest and 18 spiders.
When I choose "guests" it says 0 members, 25 guests and 18 spiders.
When I choose "spiders" it says 0 members, 0 guest and 18 spiders.

Can anyone confirm this?

amykhar 03-01-2005 09:32 PM

You're probably right. I'll look into the bug. I've never played with those dropdowns before.

Amy

Onkel_Tom 03-01-2005 10:54 PM

I'm waiting for this Mod since vB3 was released!
Many thanks for your great work amykhar ;)


All times are GMT. The time now is 04:21 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.01553 seconds
  • Memory Usage 1,828KB
  • 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
  • (5)bbcode_code_printable
  • (18)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