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 06:12 PM

Did you do the template edit on the WHOSONLINE template? Did you make sure to get the space in?

lifesourcerec 02-15-2005 06:23 PM

Quote:

Originally Posted by amykhar
Did you do the template edit on the WHOSONLINE template? Did you make sure to get the space in?

Yes on both questions.

amykhar 02-15-2005 06:26 PM

Without seeing your site, I can't see what might be going on. The url you have listed in your profile comes up as not found.

lifesourcerec 02-15-2005 06:28 PM

Profile updated.

amykhar 02-15-2005 06:38 PM

Ah. You have the problem on your index page. You are missing the template edit on the FORUMHOME template. I can't see your online.php page because that's disabled for guests.

Amy

Salient 02-15-2005 06:49 PM

Im not sure if you do, but if you have a portal you will need to make the same changes for the templates used for whatever module you have it showing. I believe the template is adv_portal_onlineusers.

Oh, and thanks for the great enhancement, Amy.

Quick question, shouldnt MSNbot showup as a spider?

kall 02-15-2005 07:11 PM

Quote:

Originally Posted by amykhar
Ah. You have the problem on your index page. You are missing the template edit on the FORUMHOME template. I can't see your online.php page because that's disabled for guests.

Amy

Your online.php edit refers to numspiders .. changing each instance of that to numberspiders is what makes the online work.

:)

amykhar 02-15-2005 07:47 PM

Actually, I just had the template edit wrong in the directions. Change that to use numspiders instead of numberspiders. :D I fixed the text file.

amykhar 02-15-2005 08:28 PM

Taking things a step further. If you want guest or guests(12), etc. to show on your list as well,

In index.php Find:
Code:

$numberguest = $numberguest - $numberspiders;
Add After:
Code:

        if ($numberguest > 0)
        {
          if ($numberguest > 1)
          {
              $loggedin['musername'] = "guests(".$numberguest.")" ;
          }
          else
          {
              $loggedin['musername'] = "guest";
          }
          $loggedin['userid'] = 0;
            eval('$activeusers .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
        }


lifesourcerec 02-15-2005 08:57 PM

Quote:

Originally Posted by amykhar
Ah. You have the problem on your index page. You are missing the template edit on the FORUMHOME template. I can't see your online.php page because that's disabled for guests.

Amy

Just went through the script top to bottom and still same thing. Dunno what it is.


All times are GMT. The time now is 09:14 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.01238 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_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