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)

Shackbase 03-20-2005 06:23 PM

Why is it looking right on the front page: www.talkshack.com but looks like this:

1 members and 1 guests and [ARG:3 UNDEFINED] spiders3="0" on page:

http://www.talkshack.com/online.php?...age=1&who=&ua=

--Tone

amykhar 03-20-2005 06:36 PM

Shack, please read the thread. That question has been asked and answered many times. When I look at your site, It doesn't look right on any page. This suggests to me that you haven't had it update to all styles.

Shackbase 03-20-2005 08:56 PM

oops - i thought i had changed to my new template - but the default was still the.. default.. thats fixed now..

damn - that online editor makes it look like there is a space between the ] and the 3= but in reality there isn't... i did not realize that til I just cut'n paste that portion in this post that I just edited.. in shame...

EXCELLENT mod - thanks guy!

--Tone

caislander 03-20-2005 10:46 PM

Quote:

Originally Posted by amykhar
Just remove this:
Code:

        while ($spidername = current($spiderlist))

        {

            if ($spidername > 1) {

              $loggedin['musername'] = trim(key($spiderlist)) . "(" . $spidername.")";

          }

          else

          {

              $loggedin['musername'] = trim(key($spiderlist));

          }

          $loggedin['userid'] = 0;
          $loggedin['musername'] = trim($loggedin['musername']);

          eval('$activeusers .= ",' . fetch_template('forumhome_loggedinuser') . '";');

          next($spiderlist);

        }


Thanks much, does exactly what I want :cool:

amykhar 03-20-2005 10:51 PM

Quote:

Originally Posted by amykhar
Let me think on it a bit.

I'm not the sharpest tool in the shed today. Just grab the
Code:

$numberguest = $numberguest - $numberspiders;
line as well and move it up above that chunk. It will work then. I have it that way on my site now.

Shackbase 03-20-2005 11:26 PM

Quote:

Originally Posted by amykhar
I'm not the sharpest tool in the shed today. Just grab the
Code:

$numberguest = $numberguest - $numberspiders;
line as well and move it up above that chunk. It will work then. I have it that way on my site now.

uhm.. what chunk? :ermm:

--Tone

funkmeister 03-21-2005 03:10 AM

Quote:

Originally Posted by amykhar
I'm not the sharpest tool in the shed today. Just grab the
Code:

$numberguest = $numberguest - $numberspiders;
line as well and move it up above that chunk. It will work then. I have it that way on my site now.

Thanks, it's working perfectly now and just the way I want it - really appreciate the great support and impressive response times.

intrigue 03-21-2005 01:21 PM

Any idea why i would be getting this?
Code:

Users Online: 1
1 members and 0 guests and [ARG:3 UNDEFINED] spiders

.matt

amykhar 03-21-2005 01:51 PM

Yes Matt. Read the thread and you'll find your answer.

intrigue 03-21-2005 01:55 PM

ok sorry i will trawl through the 13 pages now :p
.matt


All times are GMT. The time now is 09:10 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.01603 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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