http://www.siteadresi.com bunu bu modu kurmadan önce bu kelimeyi banladığımızda linke tıklandığında gerçek linke gidiyor.
ama bu mod sayesinde tamamen cevirdiğiniz linke gidiyor.
http://www.siteadresi.com reklam yaptı http://www.****.com oluyor.kendi sitemde kullanıyorum yararlı bi mod
Kod: Tümünü seç
## MOD Title: URL Censorer for Posting, Memberlist, PMs and Profile
## MOD Author: CBACK < webmaster@cback.de > (Christian Knerr) http://www.community.cback.de
## MOD Description: Zensiert beispielsweise auch URLs oder verbotenen
## Text in den Webseiten, die die Benutzer im Profil
## angegeben hat und entfernt bei der Wortzensur auch
## Links aus Profil, Mitgliederliste, PMs und Beiträgen.
##
## Verwendet wird hierbei die Wortzensur von phpBB, es
## können also die Filterwörter über das bekannte ACP
## Modul verwaltet werden.
## MOD Version: 1.0.1
##
## Installation Level: Easy
## Installation Time: 4 Minutes
## Files To Edit: 4
## includes/usercp_viewprofile.php
## memberlist.php
## viewtopic.php
## privmsgs.php
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MODs not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
memberlist.php
#
#-----[ FIND ]------------------------------------------
#
$www_img = ( $row['user_website'] ) ? '<a href="' . $row['user_website'] . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';
$www = ( $row['user_website'] ) ? '<a href="' . $row['user_website'] . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : '';
#
#-----[ REPLACE WITH ]------------------------------------------
#
//
// CBACK WebSite Censor Mod
//
$orig_word = array();
$replacement_word = array();
obtain_word_list($orig_word, $replacement_word);
$webcensored = $row['user_website'];
if ( count($orig_word) )
{
$webcensored = preg_replace($orig_word, $replacement_word, $webcensored);
}
$www_img = ( $webcensored ) ? '<a href="' . $webcensored . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';
$www = ( $webcensored ) ? '<a href="' . $webcensored . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : '';
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$post_subject = ( $postrow[$i]['post_subject'] != '' ) ? $postrow[$i]['post_subject'] : '';
$message = $postrow[$i]['post_text'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
//
// CBACK WebSite Censor Mod
//
if ( count($orig_word) )
{
$message = preg_replace($orig_word, $replacement_word, $message);
}
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_viewprofile.php
#
#-----[ FIND ]------------------------------------------
#
$www_img = ( $profiledata['user_website'] ) ? '<a href="' . $profiledata['user_website'] . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : ' ';
$www = ( $profiledata['user_website'] ) ? '<a href="' . $profiledata['user_website'] . '" target="_userwww">' . $profiledata['user_website'] . '</a>' : ' ';
#
#-----[ REPLACE WITH ]------------------------------------------
#
//
// CBACK WebSite Censor Mod
//
$orig_word = array();
$replacement_word = array();
obtain_word_list($orig_word, $replacement_word);
$webcensored = $profiledata['user_website'];
if ( count($orig_word) )
{
$webcensored = preg_replace($orig_word, $replacement_word, $webcensored);
}
$www_img = ( $webcensored ) ? '<a href="' . $webcensored . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : ' ';
$www = ( $webcensored ) ? '<a href="' . $webcensored . '" target="_userwww">' . $webcensored . '</a>' : ' ';
#
#-----[ OPEN ]------------------------------------------
#
privmsgs.php
#
#-----[ FIND ]------------------------------------------
#
$www_img = ( $privmsg['user_website'] ) ? '<a href="' . $privmsg['user_website'] . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';
$www = ( $privmsg['user_website'] ) ? '<a href="' . $privmsg['user_website'] . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : '';
#
#-----[ REPLACE WITH ]------------------------------------------
#
//
// CBACK WebSite Censor Mod
//
$orig_word = array();
$replacement_word = array();
obtain_word_list($orig_word, $replacement_word);
$webcensored = $privmsg['user_website'];
if ( count($orig_word) )
{
$webcensored = preg_replace($orig_word, $replacement_word, $webcensored);
}
$www_img = ( $webcensored ) ? '<a href="' . $webcensored . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';
$www = ( $webcensored ) ? '<a href="' . $webcensored . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : '';
#
#-----[ FIND ]------------------------------------------
#
$post_subject = $privmsg['privmsgs_subject'];
$private_message = $privmsg['privmsgs_text'];
#
#-----[ REPLACE WITH ]------------------------------------------
#
//
// CBACK Censoring System
//
$subj = $privmsg['privmsgs_subject'];
$pmscens = $privmsg['privmsgs_text'];
if ( count($orig_word) )
{
$subj = preg_replace($orig_word, $replacement_word, $subj);
}
if ( count($orig_word) )
{
$pmscens = preg_replace($orig_word, $replacement_word, $pmscens);
}
$post_subject = $subj;
$private_message = $pmscens;
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM