The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Show Spiders Online on ForumHome Details »» | |||||||||||||||||||||||||
This one is a pretty easy hack to install. It shows any spiders that are indexing your site in the what's going on box on the forum home page. Please note. It will only show spiders as spiders and not as guests if it also shows them as spiders and not as guests on online.php.
This hack has been tested on 3.0.6 and 3.0.7. It's not hard to install, but it does have one drawback. If you have a portal page that shows online users, you will have to edit it yourself to incorporate the changes. Consider yourself warned. At this point, any problems reported are installation errors. If things don't work for you, make sure you have completed all the steps as written. As I have upgraded to 3.5, I am withdrawing support for this older version. All the bugs are gone and any issues are now installation errors. FAQ 1. I get this: [ARG:3 UNDEFINED] spiders on my portal page. As noted above, because of the large number of portals, you're on your own for integrating them into thie hack. 2. I get this: [ARG:3 UNDEFINED] spiders on other pages. 1. Make sure you have done all of the code changes correctly. 2. Make sure you have updated your style to use the modified templates. If not, that error will occor. German Translation provided by General. It can be found here: https://vborg.vbsupport.ru/showpost....&postcount=230 Here is the Advanced CMPS module that y'all have been clamoring for: https://vborg.vbsupport.ru/showthread.php?t=82339 Amy ------------- This hack will always be free, however your donations are kindly accepted and will help towards further development. If you donate, please leave me some info (either your forum site or username at vB.org) so that I can thank you. Show Your Support
|
Comments |
#47
|
||||
|
||||
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 ^^ |
#48
|
||||
|
||||
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. |
#49
|
||||
|
||||
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 |
#50
|
||||
|
||||
I still get this
"[ARG:3 UNDEFINED]" But I edited the phrase. |
#51
|
||||
|
||||
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. |
#52
|
||||
|
||||
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.
|
#53
|
||||
|
||||
Ok. I'll keep checking back.
|
#54
|
|||
|
|||
Quote:
however there is something wrong with the txt file PHP Code:
Mone' |
#55
|
||||
|
||||
Quote:
|
#56
|
|||
|
|||
Quote:
how are you boofo? long time no see you |
#57
|
|||
|
|||
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. |
#58
|
||||
|
||||
For the online.php glitch, in the template WHOSONLINE find:
Code:
2="$numberguests" Code:
3="$numspiders" |
#59
|
||||
|
||||
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 )
In index.php Find: Code:
$loggedin['musername'] = key($spiderlist) . "(" . $spidername.")"; Code:
if ($spidername > 1) { $loggedin['musername'] = key($spiderlist) . "(" . $spidername.")"; } else { $loggedin['musername'] = key($spiderlist); } |
#60
|
||||
|
||||
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; |
#61
|
||||
|
||||
Still getting this after those updates.
[ARG:3 UNDEFINED] |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|