![]() |
Quote:
|
Sorry. Remove the space the space after the comma does'nt work for me. I got John , Pete , Barry.
|
The code I gave you isn't for John, Pete and Barry. It is for Google, Yahoo, etc.
|
So sorry. I got Google , Yahoo , MSN , etc. How to remove the space ?
|
Quote:
Your response on my other request works great, thanks. |
Quote:
|
Quote:
|
Found it. The string needs to be trimmed in two places.
Code:
$loggedin['musername'] = trim(key($spiderlist)) . "(" . $spidername.")"; Code:
$loggedin['musername'] = trim(key($spiderlist)); |
Quote:
Anyway see the problem in these screens (My forumhome is always showing 0 spiders.... :ermm: |
Quote:
Code:
// memory saving |
Quote:
Sorry. It does'nt work for me. I get always the space: user , google , etc. . . Code:
while ($spidername = current($spiderlist)) |
OK fixed it.
I don't undertand why but remove all spaces in template forumhome_loggedinuser fixed it. FROM: Code:
<if condition="$loggedin[userid]"> Code:
<if condition="$loggedin[userid]"><a href="member.php?$session[sessionurl]u=$loggedin[userid]">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]<else />$loggedin[musername]</if> Thanks amykhar Nice hack Click Install. |
Amy,
I hate to ask this after all the work it looks like you went throught to get it right but I want to remove the spider from showing in the member list, is that possible? I just want the count in the "currently Active User" line, then if they want to know what bot(s) let them run whois online.. BTW, this is a great hack and works fine, in my case it just provide more info than is needed.. Thanks |
Quote:
Just remove this: Code:
while ($spidername = current($spiderlist)) |
Quote:
|
Quote:
|
Quote:
Thanks. |
Move that chunk of code up above the chunk of code that displays the spiders. I quoted the spider code in post 174.
|
When I do that, it does place the 'guest' where I want it, BUT, it also adds the total number of guests and spiders together and places that total in the parentheses for the guests. So it looks like guests (6), MSNbot (4) when in fact there are are only 2 guests and 4 spiders. It doesn't effect the spider reporting, so in other words, in this example, MSNbot (4), is shown correctly.
Any ideas? Thanks. |
Let me think on it a bit.
|
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 |
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.
|
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 |
Quote:
|
Quote:
Code:
$numberguest = $numberguest - $numberspiders; |
Quote:
--Tone |
Quote:
|
Any idea why i would be getting this?
Code:
Users Online: 1 |
Yes Matt. Read the thread and you'll find your answer.
|
ok sorry i will trawl through the 13 pages now :p
.matt |
Quote:
|
Actually, his answer is in the first post of the thread ;)
|
for what it does amykhar its quite a nifty hack - thanks and clicked installed
|
It amuses me to no end that this has become my most popular hack. I've written others that were much more useful and others that were much more elaborate. Go figure :D
Amy |
Its the best because we all like to see what bots are visiting us.. :)
Thanks! Hey someone want to make this for vBadvanced CMPS? :P |
I actually use that portal, Venom. So, if I get time I'll do it later today. Others, feel free to post the fixes for other portals.
|
wow thanks Amy! :)
|
This wouldn't work for CMPS? bummmer. i was thinking about installing it.
--Tone |
does it affect the load in any way?
|
There's one extra query on the forumhome page.
|
All times are GMT. The time now is 10:03 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|