![]() |
Kall, it won't work on the who's online page. I'll check your site to see what's going on.
|
ok. I see the problem with the code. I'll fix it and update the text file.
|
ok. The spiders are at my site and this seems to be working ok. I see there is a problem with the phrase on who's online. I will fix that either later tonight or tomorrow morning. I have to get ready for work now.
(Removed attachment and updated directions for the hack.) |
why do people ignore others with questions <_<
why can i not edit the phrase??? |
Eva, I don't know why you can't edit phrases. It's something you should probably post a separate thread on.
|
bah thanks anyways. didn't know if you would know or not. wasn't going to post a new thread if it could be answered here
thank-you ^^ |
OK. The online.php bug is fixed and I have updated the install instructions to include the requested features. I have also uploaded a new screen shot that reflects how the hack works now.
Finally, I am moving this out of beta. I believe it's done and all is well. |
hmm i am still getting that
"2 members and 0 guests and [ARG:3 UNDEFINED] spiders" don't know if you meant by fixing the online.php bug this or not.... everything else works great for it |
I still get this
"[ARG:3 UNDEFINED]" But I edited the phrase. |
I ran into a unique problem. If there are no spiders online it doesn't show a 0 for the spiders. It just says "and spiders".
I also added some code to not show a (1) if there is only one instance of a given spider. If there is more than one it will show (2) or however many there are. ;) |
Eva and Lifesource, I forgot to put the online template edit in the instructions. I'll post it in a sec. I'll also get the variable initialized to zero so that it shows "and 0 spiders" when they aren't around.
|
Ok. I'll keep checking back.
|
Quote:
however there is something wrong with the txt file PHP Code:
Mone' |
Quote:
|
Quote:
how are you boofo? long time no see you ;) |
anyone want to share the solution for "[ARG:3 UNDEFINED]?"
Thank you bunches. EDIT: Just read the posts again. Didnt realize they were from today, Ill go back to my hole. :) Also: Does vB already come with a spiderlist? How and from where is it queried? Im not very knowledgable about these things, so please be kind. |
For the online.php glitch, in the template WHOSONLINE find:
Code:
2="$numberguests" Code:
3="$numspiders" |
For Boofo's change that only shows the numbers if more than one spider is around (and shame on him for telling you that he did it without telling you how to do it if you want as well :D)
In index.php Find: Code:
$loggedin['musername'] = key($spiderlist) . "(" . $spidername.")"; Code:
if ($spidername > 1) { |
I have the problem with 0 spiders fixed I think. But, I can't test it until the spiders leave my site. Anyhow, this code should be in the file anyway for good form.
So, in index.php Find: Code:
$numberguest = 0; Code:
$numberspiders = 0; |
Still getting this after those updates.
[ARG:3 UNDEFINED] |
Did you do the template edit on the WHOSONLINE template? Did you make sure to get the space in?
|
Quote:
|
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.
|
Profile updated.
|
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 |
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? |
Quote:
:) |
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.
|
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; Code:
if ($numberguest > 0) |
Quote:
|
Quote:
Actually I just noticed on the VBAdvanced page I now get Quote:
|
All fixed now. The error mentioned above is gone :) Thank you once more for a great little mod :)
|
mine keeps showing zero spiders :(
but i see google in my online users forums.webrats.com |
Worked Great. Other then I have the Same Prob. where it says, 0 Spiders, but when you click current active users there is 4 online. *Click's Install*
|
Let me make sure I didn't hose something in the directions when I did the last update. I am at work right now; so it will be a while before I can look into it.
|
I may have to uninstall it for a bit until I can figure out the problem.
|
I love this hack amykhar its wonderful.
thank-you very much for creating it |
Quote:
|
Hmm, in index, why is it numberspiders, but in online.php, its numspiders?
|
Because I coded them in two different places at two different times.
|
All times are GMT. The time now is 04:20 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:
|