PDA

View Full Version : Show Spiders Online on ForumHome


amykhar
07-02-2005, 10:00 PM
This is a port of my 3.0.x modification. It shows, on your forumhome page, any spiders that are present (ones that show as a spider on your who's online page)

NOTE: If you are using a portal that shows who's online, this mod will mess up your portal. As of this date, I do not know of any working portals for 3.5 and I do not have the code to fix portals.

Please understand what this mod does before you start crying that it doesn't work. This mod will show any spiders who show up as a spider on who's online as a spider on the forumhome page. It will NOT show a spider who shows up as a guest on who's online as a spider. It does not add additional spiders to the list either.

PLEASE DO NOT INSTALL THIS IF YOU ARE UNABLE TO ADJUST YOUR OWN PORTAL TEMPLATES SO THAT THE PHRASE DOES NOT CONTAIN AN ERROR.

Frenck
07-03-2005, 05:45 PM
Can't this be done with a plugin only?

amykhar
07-03-2005, 05:48 PM
Can't this be done with a plugin only?
Not that I know of because it has to change some existing code.

kall
07-04-2005, 08:06 AM
Typo in your FORUMHOME replace block: missing the $ from $numberspiders

:)

(otherwise, perfection.)

amykhar
07-04-2005, 01:19 PM
Thank you :)

Extreme John
07-13-2005, 12:27 AM
Im a bit of an amateur, but I like the idea of this, so does my current version of vBulletin which is 3.0.6 allow me to use this?? I know .. damn amateurs.. Just not sure if Im using a "Portal" to display my who's online.

amykhar
07-13-2005, 01:50 AM
Im a bit of an amateur, but I like the idea of this, so does my current version of vBulletin which is 3.0.6 allow me to use this?? I know .. damn amateurs.. Just not sure if Im using a "Portal" to display my who's online.
I released it for 3.0.x, you can find it in the forum home modification section of 3.0 mods. Just look at my profile page here and you'll see the link.

Rover416
07-31-2005, 11:47 AM
Thanks amy.

amykhar
07-31-2005, 09:53 PM
If you want to show them on your forumdisplay page, here's what you do.
In forumdisplay.php
Find:

'iconcache',


Add After:

'wol_spiders',


Find:

$numberguest = 0;


Add After:

$numberspiders = 0;
$spiderlist = array();


Find:

$forumusers = $db->query_read("
SELECT user.username, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, user.usergroupid, session.userid, session.inforum, session.lastactivity,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM " . TABLE_PREFIX . "session AS session
LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > $datecut
ORDER BY" . iif($vbulletin->options['showforumusers'] == 1, " username ASC,") . " lastactivity DESC
");


Replace with:

$forumusers = $db->query_read("
SELECT user.username, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, user.usergroupid, session.userid, session.inforum, session.lastactivity,session.useragent,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM " . TABLE_PREFIX . "session AS session
LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > $datecut
ORDER BY" . iif($vbulletin->options['showforumusers'] == 1, " username ASC,") . " lastactivity DESC
");


Find:

// this is a guest
$numberguest++;


Add Above:

if (!empty($vbulletin->wol_spiders))
{
if (preg_match('#(' . $vbulletin->wol_spiders['spiderstring'] . ')#si', $loggedin['useragent'], $agent))
{
$agent = strtolower($agent[1]);
$spider = $vbulletin->wol_spiders['agents']["$agent"];
$key = $spider['name'];
if(array_key_exists($key,$spiderlist))
{
$spiderlist[$key] = $spiderlist[$key] + 1;
}
else
{

$spiderlist[$key] = 1;

}

}
}
else
{


Find:

// this is a guest
$numberguest++;
$inforum["$loggedin[inforum]"]++;


Add After:

}


Find:

$totalonline = $numberregistered + $numberguest;


Replace with:

while ($spidername = current($spiderlist))
{
if ($spidername > 1)
{
$loggedin['musername'] = trim(key($spiderlist)) . "(" . $spidername.")";
}
else
{
$loggedin['musername'] = trim(key($spiderlist));
}
$loggedin['userid'] = 0;
eval('$activeusers .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
$numberspiders = $numberspiders + $spidername;
next($spiderlist);
}
$totalonline = $numberregistered + $numberguest + $numberspiders;


Now, in your forumdisplay template, Find:

(<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_y_guests]</phrase>)


Replace With:

(<phrase 1="$numberregistered" 2="$numberguest" 3="$numberspiders">$vbphrase[x_members_and_y_guests]</phrase>)


Let me know how these directions work for you. If they are good, I'll add them to the zip later.

Amy

amykhar
07-31-2005, 10:17 PM
And, if you want spiders to show up on your showthread.php, try these directions.

As above, let me know how they work. If they are good, I'll add them to the hack zip.

Snake
08-02-2005, 06:59 PM
Works on RC1?

amykhar
08-02-2005, 07:11 PM
Yes.

Snake
08-03-2005, 08:09 AM
Alright thanks.

Rich
08-03-2005, 11:54 PM
Hello,

As of this date, I do not know of any working portals for 3.5 and I do not have the code to fix portals.


VBadvanced CMPS portal works on RC1. :D

amykhar
08-03-2005, 11:59 PM
Now it does. It didn't when I wrote that sentence :D

Boofo
08-04-2005, 12:22 AM
Amy, can you please add all the modifications for the different areas this will work in the text file for this mod? ;)

amykhar
08-04-2005, 12:24 AM
Once I know they work on somebody else's machine, I will. ;)

Boofo
08-04-2005, 01:02 AM
Thank you, Amy. ;)

But if I know you, it works. ;)

theArchitect
08-07-2005, 11:50 PM
Can't this be done with a plugin only?

Any chance of an update for RC? I just upgraded to RC2 and this spider hack has stopped working. Which is a shame as I really like it.

amykhar
08-08-2005, 12:00 AM
The code is working as written for me on RC 2. Make sure you did all the steps.

theArchitect
08-08-2005, 12:10 AM
The code is working as written for me on RC 2. Make sure you did all the steps.

Cool. I will go back and have a look. I had a feeling that it was probably me missing something, but thought I ought to check. Thanks for your speedy responce.

Kirk Y
08-29-2005, 08:07 PM
Love this hack, I installed the vBRanking hack and decided I ought to be able to see what spiders are visiting my forum.

I do have a question though, is there any way I can change the html markup of the spiders displayed on forumhome? Like I want msnbot(1) to be msnbot(1)

amykhar
08-29-2005, 10:05 PM
You can do it at the point right before I do the template eval for the spiders. As they pop off the array, check for google, msn, or whatever and format it to your liking. I'm not doing it for release because everybody and their brother would be asking me how to change the colors or would want some sort of a admincp way to set them.

Amy

Kirk Y
08-30-2005, 02:42 AM
Sorry, I'm PHP illiterate and the fact that I have no way of making a spider go to my site for testing purposes doesn't help either. Could you perhaps show me?

Xplorer4x4
09-03-2005, 09:52 PM
For some reason my forum says: (2 members and 0 guests [ARG:3 UNDEFINED] spiders

Any suggestions?

peterska2
09-03-2005, 10:15 PM
/me clicks install

amykhar
09-03-2005, 11:36 PM
For some reason my forum says: (2 members and 0 guests [ARG:3 UNDEFINED] spiders

Any suggestions?

Yes. Go back and read the installation instructions. You missed a step.

Xplorer4x4
09-03-2005, 11:59 PM
I assume your talking about the phrase? Couldn't figure it out. And if that isn't the step which step are you referign to?
Thanks. :)

Andreas
09-04-2005, 12:14 AM
@amykhar
I played around a bit with this, and this what I came up with if you are interested.

Xplorer4x4
09-04-2005, 12:18 AM
@amykhar
I played around a bit with this, and this what I came up with if you are interested.

Ummm what are the differences?

Andreas
09-04-2005, 12:22 AM
- Does not cause Problems with other (Portal)Scripts
- Lighter Query
- Less Code
- Less File Edits

Xplorer4x4
09-04-2005, 12:24 AM
Yeah sorry i was going to come back and edit, so does this mean I can replace the edited php files to the stock files and just install the plug ins and templeate mods in your file??

Kirk Y
09-04-2005, 05:16 PM
Sorry, I'm PHP illiterate and the fact that I have no way of making a spider go to my site for testing purposes doesn't help either. Could you perhaps show me?

So I guess that's a no... :ermm:

Andreas
09-04-2005, 05:19 PM
You can just create a guest session and edit the Useragent in the session Table - or switch the Useragent in your Browser (if it does support doing so; Opera does out of the Box, Firefox with Extensions)

Kirk Y
09-04-2005, 06:13 PM
Oh okay... yeah... I have no idea what you just said.

Xplorer4x4
09-06-2005, 12:35 PM
Yeah sorry i was going to come back and edit, so does this mean I can replace the edited php files to the stock files and just install the plug ins and templeate mods in your file??

Anyone? And what about my other problem about the Spiders not being listed. They appear on the members list but not in the # of members and guests active.

amykhar
09-06-2005, 01:04 PM
Xplorer, if you are using Kirby's version, please contact him directly for support rather than confusing this thread.

Thanks

Xplorer4x4
09-06-2005, 01:10 PM
I thought that was agsint the rules? Technically I am using both of your hacks I guess. I am using your code mod and Kirby's plug in. Either way I will PM him.

Thanks.

Snort_2005
09-18-2005, 07:21 PM
Perfect! ^_^ I used KirbyDE's version and I only needed to edit one file. Perfect! ^_^

Snake
09-19-2005, 12:09 PM
Amy I got the vBaCMPS installed on my forums and for the Online Users module it says "2 members, 2 guests and [ARG:3 UNDEFINED] spiders"

What do I do to fix this?

Andreas
09-19-2005, 12:11 PM
NOTE: If you are using a portal that shows who's online, this mod will mess up your portal. As of this date, I do not know of any working portals for 3.5 and I do not have the code to fix portals.

PLEASE DO NOT INSTALL THIS IF YOU ARE UNABLE TO ADJUST YOUR OWN PORTAL TEMPLATES SO THAT THE PHRASE DOES NOT CONTAIN AN ERROR.


Guess it's your problem :)

TyleR
09-19-2005, 04:47 PM
@Kirby: I had installed your's on a fresh vB 3.5 RC3 and all it did was "Currently Active Users: 1 Members 3 Guests and Spiders"...note the missing zero since there wasn't :p

and sorry Amy for posting this in your thread as I cant seem to find Kirby's.

Brandon Sheley
09-30-2005, 08:16 AM
can we get an update on this ? seems its still causing problems ? still says beta 3..
thx for the mod

Snake
09-30-2005, 10:15 AM
It works fine on 3.5 Gold. ;)

Demo: http://forums.mgszone.com

Brandon Sheley
10-03-2005, 04:12 AM
It works fine on 3.5 Gold. ;)

Demo: http://forums.mgszone.com

what one ?
the one amy has ?
or kirby ?
or both ?
and i need to edit for vBa i see your post on the first thread,, can you help us with the vBa now ? i think alot of users would use this info..

ty, i can see spiders on my " online.php " but i'd like to show them as the mod is for..

thank you

-LM

VaaKo
10-03-2005, 03:57 PM
does it work with 3.5 Gold?

Dave-ahfb
10-03-2005, 04:25 PM
yes it does

makaveli420
10-05-2005, 01:50 AM
Nice hack, just installed on 3.5 gold

*clicks install*

TygerTyger
10-05-2005, 10:59 AM
In 3.5 Gold forumhome, this phrase:

<a href="online.php?$session[sessionurl]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest" 3="$numberspiders">$vbphrase[x_members_and_y_guests]</phrase>)

Is actually this phrase:

<a href="online.php?$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest" 3="$numberspiders">$vbphrase[x_members_and_y_guests]</phrase>)

Otherwise up and working fine in 3.5 Gold, no problem.

utw-Mephisto
10-07-2005, 11:43 PM
it doesn't matter which version (KirbDE or Amy) I always get 0 Spider displayed even I can see clearly the IP of an MSN Bot in "Who is online" ..

oh, and I am using 3.5 gold

ReadOrDie
10-08-2005, 04:24 AM
Kirby you should post yours in a different thread, I find amy's to be a bit confusing and not so clear. What do I do for the last step on amy's? Because I know where to go but how do I edit in the phrase manager? It says I'm cannot add text or anything.

2shae
10-09-2005, 10:37 AM
can u please port this as a plugin
PLEASE

utw-Mephisto
10-09-2005, 12:46 PM
I have installed it on a fresh board now and STILL : 0 Spiders . even though I can ping them and see that the IP IS indeed a spider ..

Anyone ?

vibe
10-09-2005, 10:35 PM
thank you

italks
10-10-2005, 11:10 AM
i use " Total members that have visited the forum section in last 24 hours." can the spiders be added on to that too.

utw-Mephisto
10-10-2005, 08:44 PM
I need to uninstall again since I always get 0 spider and amy seems to be vanished ...

PennylessZ28
10-10-2005, 10:08 PM
What if the who's online is turned off in the portal?

akanevsky
10-10-2005, 10:09 PM
Nice! Installed.

makaveli420
10-10-2005, 10:20 PM
yea workin fine here on 3.5 gold

utw-Mephisto
10-11-2005, 12:04 AM
So you guys see actually spiders ?

Brandon Sheley
10-11-2005, 05:10 AM
So you guys see actually spiders ?

yes, mine shows fine.
on the index, for which the mod was made to work on :)

I'm still praying for an answer on how to fix the vBa cms :D

but either way, they mod workds good on 3.5 and I have " users last 24 hrs" installed, no problems.

utw-Mephisto
10-11-2005, 05:12 AM
I reinstalled it several times, but I always get 0 spiders, so maybe some other plugin interfering or something - I dunno

italks
10-12-2005, 07:27 AM
Hey guys have you added the phrase over there.Coz if you dont add phrase you will get 0 spiders.

In your phrase manager, edit the phrase x_members_and_y_guests to use the third parameter, which is spiders.
Example:
{1} members and {2} guests and {3} spiders

utw-Mephisto
10-12-2005, 07:46 AM
Yes I did .. when I wouldn't have add the phrase I would rather say you get

Bla bla members and bla bla guests

only .. and not 0 spiders ..

But at the end it does not change, I have add the phrase but still not working :(

2shae
10-16-2005, 03:48 PM
Currently Active Users: 1 (0 members and 1 guests and spiders)
notice the missing 0 :P
please fix that

utw-Mephisto
10-16-2005, 03:51 PM
Dont excpect support here from Amy, according to her there is no need as it is working. / quote end

amykhar
10-16-2005, 04:00 PM
Amy has given lots of support for this mod. The problem is, your problem isn't related to this mod. A spider that shows as a guest on who's online isn't magically going to show up as a spider using this hack. As I told you, you have to use the instructions posted on vbulletin.com on increasing your spider list.

The mod works fine. If a spider shows as a spider on who's online, it shows as a spider on forumhome. That's all it was ever meant to do.

utw-Mephisto
10-16-2005, 04:03 PM
I know - I just posted your quote because he seems to have a different problem .. I am not talking about mine here ...

xtreme-mobile
10-18-2005, 05:23 PM
can any one supply the code edits to amke this work on vba cmps? i got this working great on my forum home but says the ARG3 crap on my portal :(

cheers

amykhar
10-18-2005, 05:49 PM
Which is why I warned people in the first post that it wouldn't work on portals. I wrote a fix for it in the 3.0 version, but really don't want to take the time to code, release and support it again for 3.5. I'm already overwhelmed with released code so as it is.

xtreme-mobile
10-18-2005, 05:51 PM
i wasnt complaining :(

just thought if someone else had coded it maybe they could add it here for everyone else and to help you out

amykhar
10-18-2005, 05:54 PM
I'm sorry. I'm just having one of those weeks where I'm about requested out.

xtreme-mobile
10-18-2005, 05:59 PM
I'm sorry. I'm just having one of those weeks where I'm about requested out.

no probs :) keep up the good work ;)

davidw
10-26-2005, 05:21 PM
* christianb clicks install

davidw
10-26-2005, 05:58 PM
When I get the edits for vbadvanced, I'll post back - so others can have it too.

Working on vbadvanced:

Edit 1: Go to adv_portal_onlineusers
Find:
<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]
Replace with:
<phrase 1="$numberregistered" 2="$numberguest" 3="$numberspiders">$vbphrase[x_members_and_y_guests]

That's the first part of it - have to look at second part.

Snake
10-26-2005, 07:04 PM
Yep works fine. Thanks for that. I hope you'll post up the second part real soon... :)

davidw
10-26-2005, 07:39 PM
It may be a day or two, I'm getting backlogged with computer systems. I've looked at some of the templates and php files, but have to put this on hold for now.

davidw
10-27-2005, 02:33 PM
Ok, just started back on this and I got the spiders to show up - but not the correct amount - should be an hour or two, give or take depending on what happens at work :D

davidw
10-27-2005, 04:08 PM
Here's what I've got so far (trying to figure out how to get spiders recognized while my mind is concertrating on other things).

Thanks to Amy for her code that I borrowed on this current topic.

Onlineusers.php

Find:
if ($db->num_rows($getonline))
Add Above:
$numberspiders = 0;
$numberguest = 0;
Find:
$totalonline = $numberregistered + $numberguest;
Replace With:
$numberguest = $numberguest - $numberspiders;
$totalonline = $numberregistered + $numberguest + $numberspiders;
Find:
$numberregistered = vb_number_format($numberregistered);
$numberguest = vb_number_format($numberguest);
Add After:
$numberspiders = vb_number_format($numberspiders);

dmva83
10-27-2005, 04:52 PM
You're putting together exactly the fix I need christianb, I figured out the first part before coming here to look through the thread hoping someone would have something down...it took me a few minutes to find that the onlineusers.php file resides in the modules directory...keep it comin! ;)

davidw
10-27-2005, 06:29 PM
I'm going to have to put this on hold for a while - I'll be away from my main system for a while so I won't have that much of a chance to work on it. If anyone else would like to pick up where I left off, please be my guest. I love to code and play with files and such, but if I don't have the time to work on it, I can't. I may just create a new phrase temporarily to show x members and y guests and spiders.

Snake
10-27-2005, 06:58 PM
Ouch I hope you (or anyone else) won't keep us waiting for a long time.

dmva83
10-27-2005, 07:52 PM
No rush or anything man, glad to see someone taking the initiative on it is all, I've gotten in everything you've posted, and now all the spiders still add to the guests on the front vbadvanced page, but at least the error is gone.

Snake
10-27-2005, 08:11 PM
Here's what I've got so far (trying to figure out how to get spiders recognized while my mind is concertrating on other things).

Thanks to Amy for her code that I borrowed on this current topic.

Onlineusers.php

Find:
if ($db->num_rows($getonline))
Add Above:
$numberspiders = 0;
$numberguest = 0;
Find:
$totalonline = $numberregistered + $numberguest;
Replace With:
$numberguest = $numberguest - $numberspiders;
$totalonline = $numberregistered + $numberguest + $numberspiders;
Find:
$numberregistered = vb_number_format($numberregistered);
$numberguest = vb_number_format($numberguest);
Add After:
$numberspiders = vb_number_format($numberspiders);

I coudn't find those edits in the online.php file. Something is weird going on in here.

dmva83
10-28-2005, 01:35 AM
I coudn't find those edits in the online.php file. Something is weird going on in here.

That is exactly what I was referring to in my first post in the thread..the onlineusers.php file is located inside the modules directory. :)

Snake
10-28-2005, 11:26 AM
Ah my bad. Thank you for that. :)

mfizzel
10-30-2005, 01:55 PM
wish there was a way to test if this works on my board without having to wait for a spider ;)

mfizzel
10-30-2005, 02:07 PM
that didn't take long...seems to be working great for me - FYI I used kirby's product

Boofo
10-31-2005, 01:47 AM
that didn't take long...seems to be working great for me - FYI I used kirby's product

But with Kirby's product, Spiders show as Guests on the forumhome and as Spiders in the Who's Onbline. ;)

Xplorer4x4
10-31-2005, 02:14 AM
I have not been able to produce a spider count period...using either Amys OR Kirby's hacks.

divided_by_fear
10-31-2005, 10:13 AM
has anyone got this to work with vBadvanced CMPS v2.0... cause this is what it shows 1 members and 0 guests and spiders

divided_by_fear
10-31-2005, 10:21 AM
ok nm i got it after messing with a few codes...

davidw
10-31-2005, 12:22 PM
I'm going to look at it some more today - but based on the issues I saw the other day, it is doubtful I can get this to work. I just don't have the time to devote to this at the present time.

My issue mainly stems from the fact that I have not worked with vbulletin code very much. I've worked with other platforms, but I've only had vbulletin for a month and a half and haven't had time to learn it.

divided_by_fear
10-31-2005, 12:27 PM
ahhh nah i got it to work with your fix and with adv_portal_onlineusers edited then it worked with vbadvanced it now shows up right
1 members and 0 guests and 0 spiders

davidw
10-31-2005, 12:29 PM
That's how mine shows too, but it always shows 0 spiders... It should reflect actual spiders. Or at least that's what it does on my site.

divided_by_fear
10-31-2005, 12:30 PM
yeah i just started my site so i dont have any spiders showing up yet lol but ill test it out when the pricks stop by lol... but hey at least your trying to make it work...

amykhar
10-31-2005, 12:57 PM
See gang, that's why the title of this was show spiders on forum home, not show spiders on portal pages ;). I don't show who's online on my portal and have no need to redo the code.

divided_by_fear
10-31-2005, 01:00 PM
well i guess that would help you out... but not the ones who want to show it on there portal... is there anyway you would be able to help? its a nice mod... but would be nice to see it working on there too...

Snake
10-31-2005, 06:47 PM
See gang, that's why the title of this was show spiders on forum home, not show spiders on portal pages ;). I don't show who's online on my portal and have no need to redo the code.

Well then I guess you should make a special hack for portal pages, too? ;)

divided_by_fear
10-31-2005, 07:17 PM
i figured she would have cause she made on before for it but it seems now she dont want to lol...

Snake
11-01-2005, 04:30 PM
What a shame...

john_robot
11-02-2005, 12:39 PM
is this really working? I checked when the msn bot on our site but this didnt show me the msn bot :(

amykhar
11-02-2005, 12:59 PM
First question. When you look at your online.php, do you know it's a bot because the username says its a spider, or do you know it's a bot based on the ip address?

funkmeister
11-04-2005, 08:45 PM
How do I correct the guest count? In otherwords, it's adding 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.

Thanks in advance.

funkmeister
11-04-2005, 10:55 PM
How do I correct the guest count? In otherwords, it's adding 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.

Thanks in advance.After some experimentation I was able to figure it out....just the change the code in index.php in this chunk....to this, if you want the same desired effect:


$spiderlist = array();
while ($spidercand = $db->fetch_array($spiders))
{
$userid = $spidercand['userid'];
if (!empty($vbulletin->wol_spiders))
{
if (preg_match('#(' . $vbulletin->wol_spiders['spiderstring'] . ')#si', $spidercand['useragent'], $agent))
{
$agent = strtolower($agent[1]);
$spider = $vbulletin->wol_spiders['agents']["$agent"];
$key = $spider['name'];
if(array_key_exists($key,$spiderlist))
{
$spiderlist[$key] = $spiderlist[$key] + 1;
}
else
{

$spiderlist[$key] = 1;

}


$numberspiders++;

}
}
}

$numberguest = $numberguest - $numberspiders;

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

while ($spidername = current($spiderlist))
{
if ($spidername > 1) {
$loggedin['musername'] = key($spiderlist) . " (" . $spidername.")";
}
else
{
$loggedin['musername'] = key($spiderlist);
}
$loggedin['userid'] = 0;
eval('$activeusers .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
next($spiderlist);
}

// memory saving
unset($userinfos, $loggedin);

$activeusers = substr($activeusers, 2); // get rid of initial comma

$db->free_result($forumusers);

$totalonline = $numberregistered + $numberguest + $numberspiders;
$numberinvisible = $numberregistered - $numbervisible;

Snake
11-05-2005, 04:33 PM
Hey is there anyone who could fix the issue for the vBadvanced Portal please?

divided_by_fear
11-07-2005, 09:04 AM
bro i been asking the same thing... but it seems amykhar dont care to work on it for vBadvanced.... she had said it in her previous post... so it seems were left high and dry...

amykhar
11-07-2005, 12:02 PM
No. You are not left high and dry. You were warned before you ever installed the mod. It's in the very first post. You decided to install the mod anyway. That is not nearly the same as me leaving you high and dry.

Snake
11-07-2005, 03:34 PM
christian have figured it out to make it to work on vBa, but as you may know he's not fully done with it. The spiders shows up but it doesn't count up the number of spiders that is currently online on a board.

Have a look: http://mgszone.com

kall
11-07-2005, 05:11 PM
Umm... is anyone else experiencing weirdness on 3.5.1?

Currently Active Users: 127 (2 members and -103 guests and 114 spiders)
View Who's Online

Most users ever online was 608, 07-Jun-2005 at 01:24 AM.
kall, vobbi, WiseNut(2), Yahoo! Slurp(108), Google AdSense, MSNBot, Gigabot, e-Society, Yahoo! Slurp (108), WiseNut (2), Google AdSense, MSNBot, Gigabot, e-Society
The spider names are doubled-up, and the number of guests is negative.

I double-checked my code edits..

davidw
11-07-2005, 06:03 PM
I'm going to have to reinstall the spider hack as it changed due to 3.5.1

Xplorer4x4
11-07-2005, 06:46 PM
I installed Kirby's version on 3.5.1 with no problems.

davidw
11-07-2005, 06:53 PM
Wasn't aware Kirby had a version.

divided_by_fear
11-07-2005, 06:56 PM
yeah me either... i wonder if it works with vBadvanced and shows the right things ?

amykhar
11-07-2005, 11:55 PM
Kirby's is in this thread and from what Bob said, it doesn't show the spiders on forumhome - just counts them on online.php. I don't know cause I haven't looked at it.

I no longer use this version because I have one running on my site that reduces the code size and kills the extra query. Given the difficulty y'all have installing even this simple code, I have decided against releasing my new version. It's not worth the headaches.

Amy

divided_by_fear
11-08-2005, 12:11 AM
well no clue why you think people are having a hard time installing this... i dont see no one complaining about it being a hard install... i just simple see people asking if you could get this to work with vBadvanced... and im glad you didnt release another one... since you couldnt help people with the first one you released... every other coder on this forum is willing to help... hard to believe you couldnt even try to... guess that just shows what kinda coder you truely are... and what kinda person you truely are... only person i would give credit to is christianb there trying to help...

Boofo
11-08-2005, 12:35 AM
Kirby's is in this thread and from what Bob said, it doesn't show the spiders on forumhome - just counts them on online.php. I don't know cause I haven't looked at it.

Amy

It shows them as guests on the forumhome. I would be forever grateful for a fix for this issue. ;)

amykhar
11-08-2005, 12:43 AM
well no clue why you think people are having a hard time installing this... i dont see no one complaining about it being a hard install... i just simple see people asking if you could get this to work with vBadvanced... and im glad you didnt release another one... since you couldnt help people with the first one you released... every other coder on this forum is willing to help... hard to believe you couldnt even try to... guess that just shows what kinda coder you truely are... and what kinda person you truely are... only person i would give credit to is christianb there trying to help...

I DID release a vbadvanced version for the first one. The problem is, I keep getting weird counts with the little I played with the 3.5 version of Vbadvanced. Because I'm not using who's online on my portal page, it's just not worth anymore of my time to figure out what's going on with it.

Regards to the problems installing it, I get oodles of PMs from people who don't understand what the hack does or who have messed up the installation. The version I'm using is trickier because it modifies a query. I am just totally burned out on supporting people right now.

Amy

Snake
11-08-2005, 10:23 AM
So you're going to give up or what?

davidw
11-08-2005, 10:24 AM
Personally, one reason I stopped persuing it for the portal, aside from the reasons I gave, is that most people have no clue what a spider is, let alone the need to know. Yes, it is nice for an admin, however, it really isn't worth all the effort put into it. I have bigger and better fish to fry at the moment. I've already created two more important (than the portal part) hacks and plan for more. Maybe one day I'll share - if I can see if people wanting my types of hacks. Thanks for all you have done Amy. It is appreciated.

TygerTyger
11-08-2005, 10:54 AM
Well, there's nothing to stop you releasing an 'as is' version. Unsupported, basically. Plenty do the same. It says quite clearly what it's for and what it doesn't work with, if people are too stupid to read first and/or do a backup that's their problem. They have nobody to blame except themselves.

I'm sure everyone is very grateful for whatever you could give, if you have a little more in you that would be very nice :)

Snake
11-08-2005, 11:00 AM
Personally, one reason I stopped persuing it for the portal, aside from the reasons I gave, is that most people have no clue what a spider is, let alone the need to know. Yes, it is nice for an admin, however, it really isn't worth all the effort put into it. I have bigger and better fish to fry at the moment. I've already created two more important (than the portal part) hacks and plan for more. Maybe one day I'll share - if I can see if people wanting my types of hacks. Thanks for all you have done Amy. It is appreciated.

christain can't you do it yourself man? I know you can do it.

Xplorer4x4
12-06-2005, 10:27 PM
Looks like this isn;t going to work in 3.5.2, atleast not using Kirbys plug in and the one file edit. Amy is yours working in 3.5.2?

amykhar
12-07-2005, 12:13 AM
I haven't upgraded my forum yet. Won't be doing so until tomorrow.

Boofo
12-07-2005, 12:52 AM
Looks like this isn;t going to work in 3.5.2, atleast not using Kirbys plug in and the one file edit. Amy is yours working in 3.5.2?

Why won't Kirby's plug-in work for 3.5.2? It should work fine.

Xplorer4x4
12-07-2005, 01:07 AM
Why won't Kirby's plug-in work for 3.5.2? It should work fine.

When I make the index.php edit I get:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /public_html/forums/index.php on line 31

Boofo
12-07-2005, 01:13 AM
When I make the index.php edit I get:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /public_html/forums/index.php on line 31

PM me the edit you are making in the index file.

Xplorer4x4
12-07-2005, 01:26 PM
Ahh I forgot to add the coma.

I also used the file edit Boofo recomended. I placed this in config.php right above the clossing:
/*================================================= =====================*\
tags.

tidy_boy
12-10-2005, 11:00 AM
Hi there you hack worked fine but I have a slight problem with my online users block on my vbadvanced cmps

What does ARG Undefined mean?

see image attached

Snake
12-10-2005, 11:21 AM
This hack does NOT work with any portals out here.

tidy_boy
12-10-2005, 11:48 AM
Does anyine no how i can fix this problem then please :D

kall
12-10-2005, 05:08 PM
Does anyine no how i can fix this problem then please :D

To quote the first post: "PLEASE DO NOT INSTALL THIS IF YOU ARE UNABLE TO ADJUST YOUR OWN PORTAL TEMPLATES SO THAT THE PHRASE DOES NOT CONTAIN AN ERROR."

bashy
12-13-2005, 09:03 PM
Hi peeps

I can confirm that this does work fine on VB 3.5.2

Well apart from
2 members and 0 guests and [ARG:3 UNDEFINED] spiders 3="1"
Showing in the Who's Online page (nowt to do with a portal before ya start shouting)

Apart from that its working fine..showing the spiders no problem...

Bashy

Exernon
12-16-2005, 02:48 PM
Installed and works great!

Thanks!

bashy
12-16-2005, 06:33 PM
Hi

I know how to do stuff, but what i do need is to know where and what to adjust to what....

Please advise as this Welcome to the [ARG:3 UNDEFINED] forums. comes up on the popup to welcome my guests... and also shows up in the Whos Online... This is nothing to do with my Portal this is the main forum issue....

Bashy


To quote the first post: "PLEASE DO NOT INSTALL THIS IF YOU ARE UNABLE TO ADJUST YOUR OWN PORTAL TEMPLATES SO THAT THE PHRASE DOES NOT CONTAIN AN ERROR."

Sooner95
12-17-2005, 07:36 PM
heh, I am slow, jus installed this., Works like a charm! Thx!

The Lore Master
12-18-2005, 02:36 PM
I have an idea on how to use displaying spiders to enhance the atmosphere on my site, and I think it would be relatively easy to do and hope someone will point me in the right direction. I have a role-playing forum based on dungeons and dragons and would love to display the spiders as creatures found in my forums setting. For example: Instead of displaying Yahoo Slurp (8) when there are 8 Yahoo spiders I would like it to display Tundra Yeti (8), and a Googlebot could be displayed as White Dragon, etc.

These bots are going to be visitng anyways so why not take advantage of it to enhance the atmosphere :)

I can code anything in php and have done so on my phpbb forum, but I am just learning how vBulletin 3.5 works so this will be a good learning opportunity for me as well. Thanks in advance.

Vierie
12-18-2005, 09:10 PM
You would have to change the names of the bots in the spiders_vbulletin.xml file. <spider ident="METATAG INFO">
<name>SpiderName of Your Desire</name>
</spider>

The Lore Master
12-18-2005, 10:15 PM
Thanks, that is too easy :) The more I learn of vBulletin the easier it seems to be compared to phpbb. :)

The Lore Master
12-21-2005, 12:18 AM
You would have to change the names of the bots in the spiders_vbulletin.xml file. <spider ident="METATAG INFO">
<name>SpiderName of Your Desire</name>
</spider>

That worked well for the forum home page, it displays for example Tundra Yeti, but on the Who Is Online page it shows: Tundra Yeti spider. How would I remove the 'spider' word? I searched the phrases for spider and none is found except for the plural 'spiders'. Thanks again.

Vierie
12-21-2005, 11:16 AM
That worked well for the forum home page, it displays for example Tundra Yeti, but on the Who Is Online page it shows: Tundra Yeti spider. How would I remove the 'spider' word? I searched the phrases for spider and none is found except for the plural 'spiders'. Thanks again.

Search for x_spider_searchspider. That should be the one.

The Lore Master
12-23-2005, 04:13 PM
Search for x_spider_searchspider. That should be the one.

That's it, thanks. :)

I didn't mean to "take over" this thread, but it does give users a way to take advantage of Spiders showing up. They can change the names to what ever they choose to enhance their sites atmosphere.

Thanks Again.

divided_by_fear
12-23-2005, 05:07 PM
this is a nice hack but if it only worked on vbadvanced it would be alot better

hotwheels
12-28-2005, 05:49 PM
thanks for your hard work amy, another great hack..... hotwheels clicks *install*

GamerJunk.net
12-30-2005, 08:42 AM
Just gotta wait for some spiders....installed

Snake
01-24-2006, 07:43 PM
This is weird! Why are spiders linking to their profile link (http://forums.philosopherslegacy.net/member.php?u=0)? :S

bashy
01-24-2006, 07:51 PM
Yeah ya right that is weird, it cant cant server lol

This is weird! Why are spiders linking to their profile link (http://forums.philosopherslegacy.net/member.php?u=0)? :S

amykhar
01-24-2006, 07:56 PM
This is weird! Why are spiders linking to their profile link (http://forums.philosopherslegacy.net/member.php?u=0)? :S

Sounds like you didn't make the required template change which takes care of that.

Snake
01-24-2006, 08:11 PM
Whoops my bad. Yeah you're right. I've missed a template edit. Thanks Amy!

amykhar
02-03-2006, 01:23 PM
I've tweaked the install instructions to use the version I use that saves the added query. If you are the first to install this using the new directions, please let me know if there are any problems with the instructions.

Mudvayne
02-03-2006, 02:24 PM
amykhar.. I just downloaded the zip file.. No upgrading instruction thr.. :S.. Or i hav to redo the all modification from begginin?

MioTraGusa
02-03-2006, 06:13 PM
thanks for update the nice hack ... but there are many errors in the number of guest ... see pictures...

amykhar
02-03-2006, 06:23 PM
Did the codeblock that displays the spiders get pasted in twice? It looks fine in the count, but is displaying the spiders more than once.

Check this chunk:

while ($spidername = current($spiderlist))
{
if ($spidername > 1) {
$loggedin['musername'] = trim(key($spiderlist)) . "(" . $spidername.")";
}
else
{
$loggedin['musername'] = trim(key($spiderlist));
}
$loggedin['userid'] = 0;
eval('$activeusers .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
next($spiderlist);
}

MioTraGusa
02-04-2006, 08:17 AM
Not, the codeblock alone this hit a single time, I have tried the modificacion several times and always is obtained the same result, so much in forumhome as in online :disappointed:, so that I have opted for returning to the previous version of your hack which functions correctly. Thanks again

rrokdoka
02-07-2006, 06:36 PM
Where do i find index.php in the ACP? It sounds like a newbie question because im somewhat of a newbie to this! lol

bashy
02-07-2006, 06:37 PM
You dont...login to your ftp and its in forum root

rrokdoka
02-07-2006, 06:40 PM
hmmmmm.... i logged in to my ftp a while ago and i opened it up and i cant find eventcache. So i was wondering if there was a place in ACP?

amykhar
02-07-2006, 06:41 PM
rrokdoka,
I think you should skip this mod for a while until you've had a bit more experience. It's a more advanced install and not for the faint of heart.

Also, given that your site is already throwing errors and I have no way of even seeing if you are running vbulletin or what version it is, I'm not even sure you have 3.5 running.

bashy
02-07-2006, 06:45 PM
As a clue though m8...

Where it says in the instructions..

1. In index.php

Find:
----------------------
'eventcache',
----------------------

Add After:
----------------------
'wol_spiders',
----------------------

Find:
----------------------
$numberguest = 0;
----------------------

Add after:
----------------------
$numberspiders = 0;
$spiderlist = array();
----------------------


An so on....... Index.php is your index file that should be in your forums/forums folder on your ftp....

The edits are made in this file....

There are also other files to edit as well such as online.php..
Please have another good read of the instructions

If this does not makes sense then as amy says, leave this for a while untill you have installed a few easier 1's

Good luck....

hmmmmm.... i logged in to my ftp a while ago and i opened it up and i cant find eventcache. So i was wondering if there was a place in ACP?

rrokdoka
02-07-2006, 07:29 PM
hehehe well that wasnt my website amy. I dont know how that got in there you can visit my website here.... www.rrokdoka.org

and i really would like to add this mod but like i said i open up the index.php and there isnt a 'eventcache' to be found!

rrokdoka
02-16-2006, 06:35 AM
Can someone please help me with this...

quanvo81
02-18-2006, 07:14 AM
Edited !

I was asking for a solution, but I figured it out, thanks anyway !

catocom2
02-25-2006, 04:31 PM
reinstalled for 3.5.4 :)

CoreIssue
02-25-2006, 09:35 PM
I began installing on 3.5.4 and hit a snag.

Find:
----------------------
$forumusers = $db->query_read("
SELECT
userfield.*,user.username, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, user.usergroupid,
session.userid, session.inforum, session.lastactivity,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM " . TABLE_PREFIX . "session AS session
LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = session.userid)
LEFT JOIN " . TABLE_PREFIX . "userfield AS userfield ON(user.userid = userfield.userid)
WHERE session.lastactivity > $datecut
" . iif($vbulletin->options['displayloggedin'] == 1, "ORDER BY username ASC") . "
");

At a minimum userfiled.* is no longer there.

$forumusers = $db->query_read("
SELECT
user.username, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, user.usergroupid,
session.userid, session.browser, session.inforum, session.lastactivity,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM " . TABLE_PREFIX . "session AS session
LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > $datecut
" . iif($vbulletin->options['displayloggedin'] == 1, "ORDER BY username ASC") . "
");

amykhar
02-25-2006, 09:50 PM
The key to changing the query is to get session.useragent into the query. That's the field that tells us if it's a spider or not.

Amy

CoreIssue
02-25-2006, 09:56 PM
Thanks. I was hoping it was something that simple.

On phpBB I was use to find, inline find and after add. That made it easier to figure out what the need changes were as work arounds.

I have to get use to the way Vb does it.:ermm:

CoreIssue
02-25-2006, 10:40 PM
Well I cannot find the following two but the spiders are showing on the forumhome.

4. In your forumhome template,
Find:
----------------------
<a href="online.php?$session[sessionurl]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
----------------------

Replace with:
----------------------
<a href="online.php?$session[sessionurl]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest" 3="$numberspiders">$vbphrase[x_members_and_y_guests]</phrase>)
----------------------

I template searched for forumhome template, forumhome_template, forumhome then template and template.

Just got a debug error.
DEBUG MESSAGES (1) Querying master template idstemplate.php, CVS v1.240

SQL Queries (10)



And
5. In your phrase manager, edit the phrase x_members_and_y_guests to use the third parameter, which is spiders. Example:
{1} members and {2} guests and {3} spiders

In phrase search for x_members_and_y_guests

vBulletin Message
No Phrases Matched Your Query



Since they are showing just not worry about it?

TomasDR
02-28-2006, 11:52 AM
You can do it at the point right before I do the template eval for the spiders. As they pop off the array, check for google, msn, or whatever and format it to your liking. I'm not doing it for release because everybody and their brother would be asking me how to change the colors or would want some sort of a admincp way to set them.

Amy

I have a related question but I am not looking to change them but ask why.

I have this hack and the Coloured User Groups Legend/Key hack installed.
https://vborg.vbsupport.ru/showthread.php?t=104785

Occassionally the spiders appear in different colors, red & orange concern me the most since those are the colors for Admins & SupMods. I also made some colors for Custom groups and occasionally the spiders show up in those colors too.

Any ideas?

Zia
03-06-2006, 04:53 PM
Cant it show all the spider/bot listed in vbulletin_spider.xml in forum home?
any way show them in Members That Have Visited Today: block?

we are on vb 3.5.4.

Thnx.

Zia
03-09-2006, 03:46 PM
I have a related question but I am not looking to change them but ask why.Any ideas?

HELLO man..

mybe need time to get the anser

amykhar
03-09-2006, 04:13 PM
I have a related question but I am not looking to change them but ask why.

I have this hack and the Coloured User Groups Legend/Key hack installed.
https://vborg.vbsupport.ru/showthread.php?t=104785

Occassionally the spiders appear in different colors, red & orange concern me the most since those are the colors for Admins & SupMods. I also made some colors for Custom groups and occasionally the spiders show up in those colors too.

Any ideas?

I haven't seen this behavior before. I don't think it can be an interaction of the two mods because many of us have installed both with no complications. Make sure you have the template mod correct and make sure the code that sets the bot's userid to 0 is in the index.php file as well.

Logikos
03-20-2006, 06:42 AM
Thanks Amy for this hack. I think it's great. Though I have a small request. Would it be hard to have spiders show up at the end of the user list? I see in your SS they are at the end. Here is my screeny. Thanks! :)

TomasDR
04-01-2006, 07:58 PM
I haven't seen this behavior before. I don't think it can be an interaction of the two mods because many of us have installed both with no complications. Make sure you have the template mod correct and make sure the code that sets the bot's userid to 0 is in the index.php file as well.

Sorry for the delayed response but had some family issues. I checked your instructions again and my files that I had to change, all is correct with one exception. I didn't want to "inflate" the total users online so I left the following line the same:

$totalonline = $numberregistered + $numberguest;

See attached the bots appear as BOD members.

Logikos
04-02-2006, 02:39 AM
Thanks Amy for this hack. I think it's great. Though I have a small request. Would it be hard to have spiders show up at the end of the user list? I see in your SS they are at the end. Here is my screeny. Thanks! :)
quite bump. ;)

amykhar
04-02-2006, 06:58 PM
I'm confused, Livewire. The way the mod is written, they will always show at the end because they are processed after the online members.

Logikos
04-02-2006, 10:59 PM
Not sure what I did wrong. :( I'll just reinstall it when I have some time, not sure what I did. :p

TomasDR
04-03-2006, 05:48 AM
Just so you know I am not making this up or dreaming. Attached are pictures of spiders in various colors that match my color schemes, plus one pic showing them normal.

amykhar
04-03-2006, 09:41 AM
Thomas, For some reason, you seem to be missing the code that gives them a userid of 0 ($loggedin['userid'] = 0;) OR you never made the template edit to the forumhome_loggedinuser template, which ensures that any user with a userid of 0 is not a link, but is plain text.

Bhuwan
04-03-2006, 01:09 PM
bhuwan installs -- thx!

TomasDR
04-04-2006, 02:53 AM
Checked my index.php and it's right, so is the template forumhome_loggedinuser according to your instructions.

I will pose the same question on the thread about the color schemes.

As you can see from the attached pics, they are definitely not clickable links/users.

amykhar
04-04-2006, 02:52 PM
Which color scheme mod did you use? If you used mine, it won't help to post in the other thread ;) And, i use both mods with no problem on my site. If you use one of the other color scheme ones, it could be a compatibility issue.

TTG
04-06-2006, 08:11 PM
this work on 3.5.4 ?

Snake
04-07-2006, 07:54 PM
Yes it works just fine on v3.5.4.

Blue-Inc
04-10-2006, 06:28 PM
5. In your phrase manager, edit the phrase x_members_and_y_guests to use the third parameter, which is spiders. Example:
{1} members and {2} guests and {3} spiders


Ok in this last step of the readme.txt file, it says the above (Yep I'm a genius) well I looked in my phrase manager, and if you look at my screen shot below I cannot find "phrase x_members_and_y_guests".

Eek, so what should I do, I have done all necessary php & template edits, it's just this last thing I am stuck on. And when it comes to vBulletin I come quite a noob, so bare with me here.

So any help would be appreciated. ;)

Also thanks amy for the awesome hack.

I am running vBulletin v3.5.4.



5. In your phrase manager, edit the phrase x_members_and_y_guests to use the third parameter, which is spiders. Example:
{1} members and {2} guests and {3} spiders

Also that last step, how would I edit "x_members_and_y_guests" to use a third parameter?

fabianv
04-17-2006, 09:45 PM
Great hack!

I just installed it and it says : Currently Active Users: 3 (2 members and 1 guests and spiders) on forumhome

I find it quite peculiar that its not saying 0 spiders.. just says... spiders >_<

Weird...

fabianv
04-17-2006, 10:24 PM
OMG haha sorry my bad! I just checked my ftp program and it was still prompting for overwrite! hahahaha... it works like a dream! Thanks!

kurtbarker
05-03-2006, 10:53 PM
Hey Amy, awesome hack :D

been using it for a little while, but just realised that 2 of my 5 skins are showing the arg3:undefined error on forum home in current active users. the statement is fine in whos online, it's only forum home that this is happening...

I did all the template edits on the vBulletin default skin, and I have 4 skins as childs of that... so I figured that all the skins would have picked up the template changes...

i'll include screenshots of that section on 3 of my skins, the default [that the template edits were made on, 1 child where the error didn't come up, and a child where it did...]

I also thought that maybe it was skins I added after the original template changes, but 1 of 2 skins added later have the error, and 1 skin that I had before the changes...

any suggestions?

Thanks,
Kurt

my url is http://www.commodorelife.com/forums/ if you wish to have a look

vBulletin Defailt > fine
Heavy Metal > fine
formBasics light > error
Red 2 Black > error
Fireball > fine

peterska2
05-03-2006, 10:56 PM
Hey Kurt,

It could be something as simple as that the styles in which it is not working have not inherited the changes from the parent style due to other changes in the forumhome template that are localised to those styles. I suggest checking each style in turn and making the changes manually.

I hope this helps.

kurtbarker
05-03-2006, 11:04 PM
now that was fast...

lol, does this mean I have to check all the template changes in the txt file and compare them to 2 styles???

stupid damn styles, lol

thanks mate

peterska2
05-03-2006, 11:06 PM
Yeah, or at least the ones for the forumhome template as that is where it is not working. The ones for the whos online templates you can ignore as you have already said that they are working ok.

CP,
06-04-2006, 01:07 PM
ok on the index file i cannot find:

$forumusers = $db->query_read("
SELECT
userfield.*,user.username, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, user.usergroupid,
session.userid, session.inforum, session.lastactivity,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM " . TABLE_PREFIX . "session AS session
LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = session.userid)
LEFT JOIN " . TABLE_PREFIX . "userfield AS userfield ON(user.userid = userfield.userid)
WHERE session.lastactivity > $datecut
" . iif($vbulletin->options['displayloggedin'] == 1, "ORDER BY username ASC") . "
");

I also cannot find:

<a href="online.php?$session[sessionurl]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)

in the forumhome template??

im using 3.5.4

4yBak
07-19-2006, 05:20 PM
Installed this product(thx for your work) and have small problem: at Who's Online don't displayed count fo spiders (vB - 3.5.4). See an attachments.

4yBak
07-21-2006, 04:01 PM
updated my forum to 3.6.0 RC2 and install product for this forum version and haven't problem, that I type in previous post

zeroality
07-31-2006, 09:54 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=112877" target="_blank">This hack</a> seems much better than this one as it is only a plugin and is supported by the author.

Anyone have any thoughts on that?

davidw
08-01-2006, 01:32 AM
Thoughts? If it is that much better, then use it. No one is saying not to, but then again, no one is suggesting to come in here and discount another author's modification, whether it is supported or not. Also, although it is not officially supported, the author has come in from time to time and helped people out.

ntock
12-20-2006, 03:32 PM
This hack (https://vborg.vbsupport.ru/showthread.php?t=112877) seems much better than this one as it is only a plugin and is supported by the author.

Anyone have any thoughts on that?

Yeah, easy install there. Not discrediting the past mod, just pointing out ease of use for potential vB'rs who are not so adept or comfortable with altering templates (such as myslef :) ). Thanks for linking it.

Muellmann
04-21-2007, 11:49 PM
Exactely what I need. I have more spiders than users :p

rjmjr69
05-27-2007, 10:36 PM
ok my spiders are named on forum home but for the whos online page they all get listed as Guests?