PDA

View Full Version : Howto track a special guest with spiderlist.xml?


skogen
05-20-2008, 10:45 AM
Hi!

I have searched booth here and vbulletin.com about how to configure the spiderlist to identify a guest that a wanna be able to see on the WOL-page.

I know the IP and tried the following

<spider ident="Testing">
<name>Foobar</name>
<addresses>
<address type="single">111.222.111.222</address>
</addresses>
</spider>

But it doesn't work.
I want the WOL-page to identify the guest with the IP only and not the ident. Is that possible?

Please help me.
Thanks!

/Fredrik

Marco van Herwaarden
05-20-2008, 10:49 AM
Spiders are always defined by their 'ident'.

skogen
05-20-2008, 11:24 AM
Okay...

But is it possible to modify the code so that WOL-page could identify guest only by IP?

or

Can I use the ident from a standard windows user together with the IP-range tags to identify a special guest? If so how can I get the ident from a user?


edit: Never mind. I got it to work now! (using the right ident)

Thanks! :)

--------------- Added 1211287143 at 1211287143 ---------------

But how will vb handle if I type "Mozilla" in the ident tag?
Does it then compare the IP found in the XML-file or?

--------------- Added 1211309944 at 1211309944 ---------------

I will try to explain what I wanna do.

First I add this into the spiders_vbulletin.xml



<spider ident="foo">
<name>Pals from my work</name>
<addresses>
<address type="single">83.188.189.89</address>
</addresses>
</spider>


and then in the online.php I wanna add a condition so that
if users host matches the address in the XML-file then print the name tag (as it works today)


I have tried to edit online.php so that a search bot is not being trigged by the ident by replacing $users['useragent'] to $users['host'] on row 414 and edit some other lines also but no luck so far.

Anyone here that wanna give me some help