vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   allow spider(s) to login to forum (https://vborg.vbsupport.ru/showthread.php?t=74664)

H@K@N 01-19-2005 05:02 PM

allow spider(s) to login to forum
 
Hi @ll,

on my Forums, only registered User can see the Forums and Threads.
In this case the Spiders cannot join the Forum ...

Before i came to vb3, i had wbb2 and there was a hack, (googlebot-hack), where the bots could login automatically and spiders the Forum.

Is there a possiblity in vb3 to make a similar hack ?

the code was as follows :

Code:

/* get host */
$googlebot_userid=4711;
$remote_host=gethostbyaddr($_SERVER['REMOTE_ADDR']);
if(@preg_match("/(.*)googlebot\.com/i", $remote_host)){
        $wbbuserdata['userid']=$googlebot_userid;
        $db->unbuffered_query("UPDATE bb".$n."_sessions SET userid = '".$googlebot_userid."' WHERE sessionhash = '$sid'",1);
        $wbbuserdata=getwbbuserdata($googlebot_userid,"userid",1);


th@nks

AN-net 01-19-2005 05:18 PM

i guess you could set it so guests have permissions when the guest is a spider but y not just turn on viewing then?since they will be able to view content via cached pages etc.

H@K@N 01-19-2005 05:51 PM

i will agree that they see the content via the cached pages, i think nobody will hangle via google cached pages to search my forums.

anyway, how can i tell vb3, that guests have permissions if the guest is a spider ?

gr33tz

Andreas 01-19-2005 05:55 PM

It is possible to adapt the code you posted, but I would not recommend to do so.

What you are trying to do is cloaking, and if this is discovered by Google you will moste likely be penalized with a lower PR or removed from their index.

Gain users with content, not with tricks.

neocorteqz 01-19-2005 06:15 PM

Quote:

Originally Posted by H@K@N
i will agree that they see the content via the cached pages, i think nobody will hangle via google cached pages to search my forums.

anyway, how can i tell vb3, that guests have permissions if the guest is a spider ?

gr33tz

it's in the forum permissions section of the admin panel.

Guy G 01-19-2005 06:17 PM

Enable Archive.....


All times are GMT. The time now is 08:17 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
  • Page Generation 0.00974 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete