[MOD] URL Censorer / Kelime Sansürleme

[url=http://www.phpbbturkey.com/mods.html:34cnv4ga]phpBB 2.0.x MOD Veritabanımızda[/url:34cnv4ga] yayınlanan ve tarafınızca eklenen tüm yeni phpBB 2.0.x sürümleri için MODların duyuruları buradan yapılmaktadır. MODlar hakkında ihtiyacınız olan desteği lütfen [b:34cnv4ga]2.0.x MOD Destek[/b:34cnv4ga] forumuna başlık açarak sorunuz.
Kilitli
zirve
Kayıtlı Kullanıcı
Mesajlar: 474
Kayıt: 28.04.2006, 10:26
İletişim:

[MOD] URL Censorer / Kelime Sansürleme

Mesaj gönderen zirve »

bu mod mesala birisi reklam yaptı

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>' : '&nbsp;';
$www = ( $profiledata['user_website'] ) ? '<a href="' . $profiledata['user_website'] . '" target="_userwww">' . $profiledata['user_website'] . '</a>' : '&nbsp;';



#
#-----[ 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>' : '&nbsp;';
$www = ( $webcensored ) ? '<a href="' . $webcensored . '" target="_userwww">' . $webcensored . '</a>' : '&nbsp;';


#
#-----[ 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
Kullanıcı avatarı
Mirach
Destek Ekibi Lideri
Destek Ekibi Lideri
Mesajlar: 1664
Kayıt: 27.03.2006, 01:06
Konum: İstanbul

Mesaj gönderen Mirach »

Başlığınız Mod tanıtımlarına uygun hale getirildi..
teşekkürler..
Profilinde phpBB forumunun adresini girmemiş üyelere ve kurallara aykırı şekilde açılmış başlıklara destek verilmez.
Resim Resim Resim
Kullanıcı avatarı
RoyaLTurK
Kayıtlı Kullanıcı
Mesajlar: 271
Kayıt: 05.12.2006, 02:07
Konum: Antalya
İletişim:

Re: [MOD] URL Censorer / Kelime Sansürleme

Mesaj gönderen RoyaLTurK »

dediğin gibi olmuyor defalarca denedim
Kullanıcı avatarı
melihonline
Kayıtlı Kullanıcı
Mesajlar: 436
Kayıt: 19.08.2006, 18:48
Konum: Tokat
İletişim:

Re: [MOD] URL Censorer / Kelime Sansürleme

Mesaj gönderen melihonline »

diyelim bi programın indirilme adresini verdik o zaman ne olacak? Linki o hale getirdiği zaman o programı nasıl indirecek üyeler?
FORUM | FORUM 2 | İki insan açtır. Biri bilimi arayan, diğeri ise parayı...
Kilitli

“2.0.x MOD Duyuruları” sayfasına dön

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 1 misafir