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)

amykhar 02-15-2005 10:13 AM

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.

lifesourcerec 02-15-2005 12:39 PM

Ok. I'll keep checking back.

Mone' 02-15-2005 01:12 PM

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'

Boofo 02-15-2005 01:16 PM

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

Mone' 02-15-2005 01:31 PM

Quote:

Originally Posted by Boofo
She did it in wordpad. ;)

heheh
how are you boofo? long time no see you ;)

Salient 02-15-2005 02:23 PM

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.

amykhar 02-15-2005 05:04 PM

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.

amykhar 02-15-2005 05:13 PM

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


amykhar 02-15-2005 05:17 PM

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.)

lifesourcerec 02-15-2005 05:55 PM

Still getting this after those updates.

[ARG:3 UNDEFINED]


All times are GMT. The time now is 09:32 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.01841 seconds
  • Memory Usage 1,748KB
  • 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
  • (6)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)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
  • (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