1

(17 replies, posted in PunBB 1.2 troubleshooting)

Solved the problem yourself:
In the file "header.php" before the

</ head> 

added script:

<script type="text/javascript">  
$(document).ready(function() {  
   $("a[href^=http]").each(  
   function(){  
   if(this.href.indexOf(location.hostname) == -1) {  
   $(this).attr('target', '_blank');  
   }  
   })  
});  
</script> 

2

(17 replies, posted in PunBB 1.2 troubleshooting)

Hello. Please tell me how to make so that only links to other sites open in a new window? A link to my forum to open in the same window.

Excuse me, this is a translation from Russian translator in Google.