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 |
#172
|
|||
|
|||
Quote:
Sorry. It does'nt work for me. I get always the space: user , google , etc. . . Code:
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); } |
#173
|
|||
|
|||
OK fixed it.
I don't undertand why but remove all spaces in template forumhome_loggedinuser fixed it. FROM: 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> 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. |
#174
|
|||
|
|||
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 |
#175
|
||||
|
||||
Quote:
Just remove this: Code:
while ($spidername = current($spiderlist)) { if ($spidername > 1) { $loggedin['musername'] = trim(key($spiderlist)) . "(" . $spidername.")"; } else { $loggedin['musername'] = trim(key($spiderlist)); } $loggedin['userid'] = 0; $loggedin['musername'] = trim($loggedin['musername']); eval('$activeusers .= ",' . fetch_template('forumhome_loggedinuser') . '";'); next($spiderlist); } |
#176
|
|||
|
|||
Quote:
|
#177
|
|||
|
|||
Quote:
|
#178
|
|||
|
|||
Quote:
Thanks. |
#179
|
||||
|
||||
Move that chunk of code up above the chunk of code that displays the spiders. I quoted the spider code in post 174.
|
#180
|
|||
|
|||
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. |
#181
|
||||
|
||||
Let me think on it a bit.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|