Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Show Spiders Online on ForumHome Details »»
Show Spiders Online on ForumHome
Version: 1.00, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.0.6 Rating:
Released: 02-07-2005 Last Update: 03-19-2005 Installs: 119
 
No support by the author.

This one is a pretty easy hack to install. It shows any spiders that are indexing your site in the what's going on box on the forum home page. Please note. It will only show spiders as spiders and not as guests if it also shows them as spiders and not as guests on online.php.

This hack has been tested on 3.0.6 and 3.0.7.

It's not hard to install, but it does have one drawback. If you have a portal page that shows online users, you will have to edit it yourself to incorporate the changes. Consider yourself warned.

At this point, any problems reported are installation errors. If things don't work for you, make sure you have completed all the steps as written.

As I have upgraded to 3.5, I am withdrawing support for this older version. All the bugs are gone and any issues are now installation errors.

FAQ
1. I get this: [ARG:3 UNDEFINED] spiders on my portal page.
As noted above, because of the large number of portals, you're on your own for integrating them into thie hack.

2. I get this: [ARG:3 UNDEFINED] spiders on other pages.
1. Make sure you have done all of the code changes correctly.
2. Make sure you have updated your style to use the modified templates. If not, that error will occor.

German Translation provided by General. It can be found here:
https://vborg.vbsupport.ru/showpost....&postcount=230

Here is the Advanced CMPS module that y'all have been clamoring for:
https://vborg.vbsupport.ru/showthread.php?t=82339


Amy

-------------
This hack will always be free, however your donations are kindly accepted and will help towards further development. If you donate, please leave me some info (either your forum site or username at vB.org) so that I can thank you.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #47  
Old 02-15-2005, 12:46 AM
eva01_'s Avatar
eva01_ eva01_ is offline
 
Join Date: Aug 2004
Location: Plymouth
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bah thanks anyways. didn't know if you would know or not. wasn't going to post a new thread if it could be answered here

thank-you ^^
Reply With Quote
  #48  
Old 02-15-2005, 02:07 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK. The online.php bug is fixed and I have updated the install instructions to include the requested features. I have also uploaded a new screen shot that reflects how the hack works now.

Finally, I am moving this out of beta. I believe it's done and all is well.
Reply With Quote
  #49  
Old 02-15-2005, 03:09 AM
eva01_'s Avatar
eva01_ eva01_ is offline
 
Join Date: Aug 2004
Location: Plymouth
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm i am still getting that
"2 members and 0 guests and [ARG:3 UNDEFINED] spiders"

don't know if you meant by fixing the online.php bug this or not....

everything else works great for it
Reply With Quote
  #50  
Old 02-15-2005, 08:11 AM
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I still get this
"[ARG:3 UNDEFINED]"

But I edited the phrase.
Reply With Quote
  #51  
Old 02-15-2005, 08:52 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I ran into a unique problem. If there are no spiders online it doesn't show a 0 for the spiders. It just says "and spiders".

I also added some code to not show a (1) if there is only one instance of a given spider. If there is more than one it will show (2) or however many there are.
Reply With Quote
  #52  
Old 02-15-2005, 10:13 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Eva and Lifesource, I forgot to put the online template edit in the instructions. I'll post it in a sec. I'll also get the variable initialized to zero so that it shows "and 0 spiders" when they aren't around.
Reply With Quote
  #53  
Old 02-15-2005, 12:39 PM
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok. I'll keep checking back.
Reply With Quote
  #54  
Old 02-15-2005, 01:12 PM
Mone' Mone' is offline
 
Join Date: May 2002
Location: Australia
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amykhar
Eva and Lifesource, I forgot to put the online template edit in the instructions. I'll post it in a sec. I'll also get the variable initialized to zero so that it shows "and 0 spiders" when they aren't around.
nice hack :up:

however there is something wrong with the txt file

PHP Code:
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}{\f1\fnil\fcharset0 Courier New;}}
\
viewkind4\uc1\pard\f0\fs20 This hack displays on your forum home page the search engine spiders that are browsing your site.\par
\par
In index
.php\par 
Cheers

Mone'
Reply With Quote
  #55  
Old 02-15-2005, 01:16 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mone'
nice hack :up:

however there is something wrong with the txt file

PHP Code:
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}{\f1\fnil\fcharset0 Courier New;}}
\
viewkind4\uc1\pard\f0\fs20 This hack displays on your forum home page the search engine spiders that are browsing your site.\par
\par
In index
.php\par 
Cheers

Mone'
She did it in wordpad.
Reply With Quote
  #56  
Old 02-15-2005, 01:31 PM
Mone' Mone' is offline
 
Join Date: May 2002
Location: Australia
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
She did it in wordpad.
heheh
how are you boofo? long time no see you
Reply With Quote
  #57  
Old 02-15-2005, 02:23 PM
Salient Salient is offline
 
Join Date: Jan 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone want to share the solution for "[ARG:3 UNDEFINED]?"

Thank you bunches.

EDIT: Just read the posts again. Didnt realize they were from today, Ill go back to my hole.

Also: Does vB already come with a spiderlist? How and from where is it queried? Im not very knowledgable about these things, so please be kind.
Reply With Quote
  #58  
Old 02-15-2005, 05:04 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For the online.php glitch, in the template WHOSONLINE find:
Code:
2="$numberguests"
Add After:
Code:
 3="$numspiders"
Make sure you get the space in there. I'll update the text file as soon as I get the 0 spiders problem fixed.
Reply With Quote
  #59  
Old 02-15-2005, 05:13 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 )

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);
	   }
Reply With Quote
  #60  
Old 02-15-2005, 05:17 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the problem with 0 spiders fixed I think. But, I can't test it until the spiders leave my site. Anyhow, this code should be in the file anyway for good form.

So, in index.php Find:
Code:
$numberguest = 0;
Add After:
Code:
$numberspiders = 0;
I'll update the text file now (and get it into notepad instead of wordpad.)
Reply With Quote
  #61  
Old 02-15-2005, 05:55 PM
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still getting this after those updates.

[ARG:3 UNDEFINED]
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:23 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10402 seconds
  • Memory Usage 2,375KB
  • Queries Executed 30 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete