Any mod for disable profile links to bots

Support for the phpBB3 SEO mods released in the phpBB3 SEO Toolikt forum.

Moderator: Moderators

Any mod for disable profile links to bots

Postby Darth Pincho » Thu Mar 20, 2008 6:57 pm

Hi im interested in disable all profile links to bots. Any mod available for this SEO goal???
Webmaster at:
http://www.tupincho.net
Discussion board at:
http://www.tupincho.net/foro/
Darth Pincho
PR1
PR1
 
Posts: 154
Joined: Fri Sep 22, 2006 8:37 pm

Advertisement

Postby HB » Fri Mar 21, 2008 4:10 am

No, but I think it wouldn't be difficult. This is completely untested, but will give you the idea. Open viewtopic_body.html:

Code: Select all
      <!-- IF not postrow.S_IGNORE_POST -->
         <dl class="postprofile" id="profile{postrow.POST_ID}">
         <dt>
            <!-- IF postrow.POSTER_AVATAR -->
               <!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF --><br />
            <!-- ENDIF -->
            <!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->
         </dt>

         <!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->

      <dd>&nbsp;</dd>


Replace with:

Code: Select all
      <!-- IF not postrow.S_IGNORE_POST -->
         <dl class="postprofile" id="profile{postrow.POST_ID}">
         <dt>
            <!-- IF postrow.POSTER_AVATAR -->
               <!-- IF postrow.U_POST_AUTHOR and not S_IS_BOT --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF --><br />
            <!-- ENDIF -->
            <!-- IF not S_IS_BOT -->            
            <!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->
            <!-- ELSE -->
            <!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR}</strong><!-- ELSE -->{postrow.POST_AUTHOR}<!-- ENDIF -->            
            <!-- ENDIF -->
         </dt>

         <!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->

      <dd>&nbsp;</dd>


In a nutshell, test for S_IS_BOT and use POSTER_AUTHOR (no profile link) or POSTER_AUTHOR_FULL (includes profile link) as desired. See get_username_string(...) in functions_content.php for more details.
Dan Kehn
HB
phpBB SEO Team
phpBB SEO Team
 
Posts: 1517
Joined: Mon Oct 16, 2006 2:25 am

Postby dcz » Mon Mar 24, 2008 2:10 pm

It's what phpBB3 does by default, directly playing with the auth settings, take a look at the bots auth.

Now problem is, this is technically cloaking, and even if it's a very light one, it's cloaking. So my advice would be to as well get rid of these links for guests (still playing with auth) to take no risk at all.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21407
Joined: Fri Apr 28, 2006 9:03 pm


Return to phpBB SEO MODS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 4 guests