| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
Darth Pincho PR1

Joined: 22 Sep 2006 Posts: 141
|
Posted: Thu Mar 20, 2008 6:57 pm Post subject: Any mod for disable profile links to bots |
|
|
| 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/ |
|
| Back to top |
|
 |
|
 |
HB phpBB SEO Team

Joined: 16 Oct 2006 Posts: 795
|
Posted: Fri Mar 21, 2008 4:10 am Post subject: Re: Any mod for disable profile links to bots |
|
|
No, but I think it wouldn't be difficult. This is completely untested, but will give you the idea. Open viewtopic_body.html:
| Code: | <!-- 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> </dd> |
Replace with:
| Code: | <!-- 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> </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 |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |