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 03-20-2005 04:21 AM

Quote:

Originally Posted by esfron
eval('$activeusers .= ",' . fetch_template('forumhome_loggedinuser') . '";'); does'nt work for me.

you need to be more specific. Doesn't work HOW?

esfron 03-20-2005 04:27 AM

Sorry. Remove the space the space after the comma does'nt work for me. I got John , Pete , Barry.

amykhar 03-20-2005 04:33 AM

The code I gave you isn't for John, Pete and Barry. It is for Google, Yahoo, etc.

esfron 03-20-2005 04:41 AM

So sorry. I got Google , Yahoo , MSN , etc. How to remove the space ?

funkmeister 03-20-2005 05:09 AM

Quote:

Originally Posted by amykhar
To remove the space, Find this code in index.php:
Code:

eval('$activeusers .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
Remove the space after the comma there.

Nope, that isn't it. I tripled checked and tested, but the extra space is still shown, but thanks for the quick response.....any ideas?

Your response on my other request works great, thanks.

esfron 03-20-2005 05:29 AM

Quote:

Originally Posted by funkmeister
Nope, that isn't it. I tripled checked and tested, but the extra space is still shown, but thanks for the quick response.....any ideas?

Your response on my other request works great, thanks.

I have the same problem than you. IceFanatic too: https://vborg.vbsupport.ru/showpost....&postcount=125

amykhar 03-20-2005 12:35 PM

Quote:

Originally Posted by funkmeister
Nope, that isn't it. I tripled checked and tested, but the extra space is still shown, but thanks for the quick response.....any ideas?

Your response on my other request works great, thanks.

I guess I don't multitask too well at 1 a.m. I'll play with it now.

amykhar 03-20-2005 01:00 PM

Found it. The string needs to be trimmed in two places.

Code:

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

Code:

$loggedin['musername'] = trim(key($spiderlist));
I'll update the directions.

Acers 03-20-2005 01:10 PM

Quote:

Originally Posted by amykhar
I can't verify the problem because your online.php is not available for guests to view.

ummm i didn't get ya... how can i show the file? Should i mail that

Anyway see the problem in these screens
(My forumhome is always showing 0 spiders.... :ermm:

amykhar 03-20-2005 01:41 PM

Quote:

Originally Posted by Acers
ummm i didn't get ya... how can i show the file? Should i mail that

Anyway see the problem in these screens
(My forumhome is always showing 0 spiders.... :ermm:

When this has happened to others, they were missing the code edits that were supposed to be inserted ABOVE
Code:

// memory saving
Check that in your index.php.


All times are GMT. The time now is 04:37 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.01309 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
  • (4)bbcode_code_printable
  • (6)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