External link - it`s a minus to PR rating(some sink in seo).
2 2009-04-21 09:07
Re: Hook requests (151 replies, posted in PunBB 1.3 extensions)
Need hook to punbb 1.3.3 :
1. adapt and put old script to auto update in extentions .
Some :
a) Easy bb code
b) Reputation system(wery neeeded!!!)
c) Hide link whith post count.
Senks
3 2009-04-21 04:25
Re: Relise : nofollow & noindex link. (8 replies, posted in PunBB 1.3 additions)
If you wont safe you internal link - you can put in this source one if { }, + return ...:D
4 2009-04-20 21:55
Topic: Relise : nofollow & noindex link. (8 replies, posted in PunBB 1.3 additions)
So, i create easy hack (mod) to punbb 1.3.3 - nofollow & noindex link (it`s to seo friend). Follow my step.
1. Open /include/parser.php
Find :
else
return '<a href="'.$full_url.'">'.$link.'</a>';
Change to :
else
return '<noindex><a href="/go.php?'.$full_url.'" target="_blank" rel="nofollow">'.$link.'</a></noindex>';
Find :
if ($alt == null)
$alt = $url;
$img_tag = '<a href="'.$url.'"><'.$lang_common['Image link'].'></a>';
change to :
if ($alt == null)
$alt = $url;
$img_tag = '<noindex><a target="_blank" href="/go.php?'.$url.'"><'.$lang_common['Image link'].'></a></noindex>';
2. In general derectory (main, some "/") create file : go.php , and write to hime :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Подождите.</title>
<meta http-equiv="refresh" content="5; url=<?=$_SERVER['QUERY_STRING']?>">
<script type="text/javascript">
//<![CDATA[
// Fix Mozilla bug: 209020
if ( navigator.product == 'Gecko' )
{
navstring = navigator.userAgent.toLowerCase();
geckonum = navstring.replace( /.*gecko\/(\d+)/, "$1" );
setTimeout("moz_redirect()",1500);
}
function moz_redirect()
{
var url_bit = "<?=$_SERVER['QUERY_STRING']?>";
window.location = url_bit.replace( new RegExp( "&", "g" ) , '&' );
}
//>
</script>
</head><body>
<div id="redirectwrap">
<h4><b>Forum say : </b></h4>
<p>You go out from our board ... wait plz .. 5 second</p>
<p class="redirectfoot">(<a href="<?=$_SERVER['QUERY_STRING']?>">Or put here if you don`t gone wait ... </a>)</p>
</div>
</body></html>
authon hack : zenn (c) , test this : http://board.100nt.ru . senk me