[MOD] Hide Links / Link Gizlemek

[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.
Kullanıcı avatarı
Most Wanted
Kayıtlı Kullanıcı
Mesajlar: 132
Kayıt: 03.05.2007, 15:17
İletişim:

Mesaj gönderen Most Wanted »

yasinozen yazdı:Peki Arkadaşlar Bu Gizli link işini nasıl yapacagız ya hangi dosyayı indirecegiz siz hazırlasanız buraya verseniz indirsek hangi dosyanın içine atılacaksa atsak olmazmı arkadaşlar ben okudum okjudum anlamadım bi zahmet ya çok teşekkür ediyorum.


kardes sen öyle demissin de herkesin hangi modlari kurulu oldugunu anlamak mümkün olmaz sifir phpbb dosyalarina yüklenir sen onu ftp ye atarsin ve daha sonra senin kurdugun modlardan o dosyalara editleme yaptiysan onlar gider onun icin dedigin anlamsiz

sen o iki dosyayi ekle bakalim madem en iyisi bu
yasinozen
Kayıtlı Kullanıcı
Mesajlar: 45
Kayıt: 17.06.2007, 00:55
Konum: İzmir
İletişim:

Mesaj gönderen yasinozen »

Kardeş Teşekkür ederim ama şu messenger adresini bi eklesen ben sana açık açık anlatsam sende bana söylesen bi zahmet : YasinKurset@hotmail.com
Kullanıcı avatarı
devilcnr
Kayıtlı Kullanıcı
Mesajlar: 42
Kayıt: 14.05.2007, 06:22
İletişim:

Mesaj gönderen devilcnr »

CmlTRN yazdı:Arkadaşlar bu gizleme işini
code
arasına yazılanlar için de yapabilir miyiz?Yani

Kod: Tümünü seç

bu yazının üye olmayanlara görünmemesini sağlayabilir miyiz?
Link gizleme modunda oynama yaparaktan
Yoqmu bu soruya cevap verebilecek??? Benimde ihtiyacım var...
Kullanıcı avatarı
serkan_u19911
Kayıtlı Kullanıcı
Mesajlar: 261
Kayıt: 05.11.2006, 15:11
Konum: İstanbul
İletişim:

Re: [MOD] Hide Links / Link Gizlemek

Mesaj gönderen serkan_u19911 »

NEFRİT yazdı:
ÖNEMLİ NOT ; BU MOD PHP PLUS a kurulurken zorluk çıkartabilir mod kurulum seviyeniz yüksek değilse plus a kurmayınız.
acaba bu sorunlar nelerdir
hiç anlamadım ben yükledim ve sorunsuz çalışıyor, acaba modu yükledinkten sonra bazı yerlerindemi sorun var
FriDeN_2
Kayıtlı Kullanıcı
Mesajlar: 41
Kayıt: 08.06.2007, 09:55
İletişim:

Re: [MOD] Hide Links / Link Gizlemek

Mesaj gönderen FriDeN_2 »

diger modlarla cakışması olacagını sanmıyorum..
ben plus a kurdum pekte zor olmadı.. ve sorun yok suan..
gncturk
Kayıtlı Kullanıcı
Mesajlar: 30
Kayıt: 09.10.2007, 11:06

Re: [MOD] Hide Links / Link Gizlemek

Mesaj gönderen gncturk »

teşekkürler, kurdum ve çalışıyor fakat giriş yaptığımız zaman forum anasayfasına gidiyor. Böyle olunca linki görmek isteyen ziyaretçi tekrardan o linkli bulmak zorunda, ben kendim bile sinir oldum :lol: Acaba giriş yaptıktan sonra direk linkli sayfaya dönse nasıl olur? Nasıl yaparız?
streamin
Kayıtlı Kullanıcı
Mesajlar: 6
Kayıt: 04.05.2007, 19:20
İletişim:

Re: heLp

Mesaj gönderen streamin »

yalovali yazdı:[hide:d2dfd7a26d]http://******.net/[/hide:d2dfd7a26d]

bu sekilde cikiyor yardimci olabilecekmisiniz acaba ?

beyler bu sorun bende de mevcut .Acaba bu sorun sadece vistabb portallarda olan bir sorun mu yoksa tüm IMportallarda doğan bir sorun mu ?.Çözümünü bulan arkadaş bizlerler paylaşabilirlerse çok sevinirim.
emre Mr erol
Kullanıcı avatarı
blogcu forum
Kayıtlı Kullanıcı
Mesajlar: 262
Kayıt: 25.03.2008, 19:05

Re: [MOD] Hide Links / Link Gizlemek

Mesaj gönderen blogcu forum »

bu modu 3.0.0 için de kullanabılır mıyız? denedım ama bırsey farketmedı

bırde ben ızınlerden "mısafırler dosya indiremesin"i işaretlıyorum ama hıcbırsey degısmıyor. ıcınlerı tekrar duzenlıyorum gene yanı. sinir bir durum yani :evil:
blogcu
Kullanıcı avatarı
dlxattack
Uzaklaştırıldı
Mesajlar: 198
Kayıt: 06.01.2008, 18:16
Konum: Ankara
İletişim:

Re: [MOD] Hide Links / Link Gizlemek

Mesaj gönderen dlxattack »

O farklı bir sistem bu farklı bir sistem phpbb2 nin modu 3' e olmaz ;)
PhpBB 2 Ye Devam...!!!!
Kullanıcı avatarı
blogcu forum
Kayıtlı Kullanıcı
Mesajlar: 262
Kayıt: 25.03.2008, 19:05

Re: [MOD] Hide Links / Link Gizlemek

Mesaj gönderen blogcu forum »

evet bızzat denedım gordum :D

bende şu lıktekını 3.0.0 için yaptım oldu sonunda :wink:
blogcu
cihan232
Kayıtlı Kullanıcı
Mesajlar: 5
Kayıt: 16.01.2009, 14:55

Re: [MOD] Hide Links / Link Gizlemek

Mesaj gönderen cihan232 »

NEFRİT yazdı:Üye olmayanların forumunuza girip mesajlardaki linkleri görmeleri hoşunuza gitmiyor mu ?

Üye olmayana linkte göstermek istemiyorsanız işte aradığınız MOD budur ;

ÖNEMLİ NOT ; BU MOD PHP PLUS a kurulurken zorluk çıkartabilir mod kurulum seviyeniz yüksek değilse plus a kurmayınız.

Kod: Tümünü seç

#################################################################
## Mod İsmi: Hide Links
## Mod Yapımcısı: Nome < nome@bk.ru > 162783614
## Mod Versiyonu: 2.1.0
## Mod Tanımı: This mod will prevent links from being shown
## 		    to unregistered users. Instead they'll be 
##		    advised to register or login.
## Mod Özellikleri:
##		- hide http links and email from unregistered users
##
## Kurulum seviyesi : KOLAY
## Kurulum süresi    : 5 DK
##
## Files To Edit: 2
##	includes/bbcode.php
##	language/lang_english/lang_main.php
##
#################################################################
## Author's notes: 
##	In order to change the thing you get instead of a link
##	edit $replacer. By default there is a quotelike box. 
##	Pay attention to the fact that the second block of $replacers
##	has a space in the first line, it's a must there :) 
#################################################################
#################################################################
## History
## - 2.1.0 - Updated with latest bugfixes from phpbb groupe
## - 2.0.0 - Fixed a bug with [url] links
## - 1.0.0 - First released
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################

#
#-----[ AÇ ]------------------------------------------
#
includes/bbcode.php

#
#-----[ BUL ]------------------------------------------
#
function bbencode_second_pass($text, $uid)
{
	global $lang, $bbcode_tpl;

#
#-----[ DEĞİŞTİR ]------------------------------------
#
function bbencode_second_pass($text, $uid)
{
	global $lang, $bbcode_tpl, $userdata, $phpEx, $u_login_logout;

	// The thing we replace links with. I like using a quote like box
	$replacer = '<table width="40%" cellspacing="1" cellpadding="3" border="0"><tr><td class="quote">';
	$replacer .= $lang['Links_Allowed_For_Registered_Only'] . '<br />';
	$replacer .= sprintf($lang['Get_Registered'], "<a href=\"" . append_sid('profile.' . $phpEx . '?mode=register') . "\">", "</a>");
	$replacer .= sprintf($lang['Enter_Forum'], "<a href=\"" . append_sid($u_login_logout) . "\">", "</a>");
	$replacer .= '</td></tr></table>';

#
#-----[ BUL ]------------------------------------------
#
	// matches a [url]xxxx://www.phpbb.com[/url] code..
	$patterns[] = "#\[url\]([\w]+?://[^ \"\n\r\t<]*?)\[/url\]#is";
	$replacements[] = $bbcode_tpl['url1'];

	// [url]www.phpbb.com[/url] code.. (no xxxx:// prefix).
	$patterns[] = "#\[url\]((www|ftp)\.[^ \"\n\r\t<]*?)\[/url\]#is";
	$replacements[] = $bbcode_tpl['url2'];

	// [url=xxxx://www.phpbb.com]phpBB[/url] code..
	$patterns[] = "#\[url=([\w]+?://[^ \"\n\r\t<]*?)\]([^?\n\r\t].*?)\[/url\]#is"; 
	$replacements[] = $bbcode_tpl['url3'];

	// [url=www.phpbb.com]phpBB[/url] code.. (no xxxx:// prefix).
	$patterns[] = "#\[url=((www|ftp)\.[^ \"\n\r\t<]*?)\]([^?\n\r\t].*?)\[/url\]#is";
	$replacements[] = $bbcode_tpl['url4'];

	// [email]user@domain.tld[/email] code..
	$patterns[] = "#\[email\]([a-z0-9&\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+)\[/email\]#si";
	$replacements[] = $bbcode_tpl['email'];



#
#-----[ DEĞİŞTİR ]------------------------------------
#
	// matches a [url]xxxx://www.phpbb.com[/url] code..
	$patterns[] = "#\[url\]([\w]+?://[^ \"\n\r\t<]*?)\[/url\]#is";
	if ( !$userdata['session_logged_in'] )
	{
		$replacements[] = $replacer;
	}
	else
	{
		$replacements[] = $bbcode_tpl['url1'];
	}

	// [url]www.phpbb.com[/url] code.. (no xxxx:// prefix).
	$patterns[] = "#\[url\]((www|ftp)\.[^ \"\n\r\t<]*?)\[/url\]#is";
	if ( !$userdata['session_logged_in'] )
	{
		$replacements[] = $replacer;
	}
	else
	{
		$replacements[] = $bbcode_tpl['url2'];
	}

	// [url=xxxx://www.phpbb.com]phpBB[/url] code..
	$patterns[] = "#\[url=([\w]+?://[^ \"\n\r\t<]*?)\]([^?\n\r\t].*?)\[/url\]#is";
	if ( !$userdata['session_logged_in'] )
	{
		$replacements[] = $replacer;
	}
	else
	{
		$replacements[] = $bbcode_tpl['url3'];
	}

	// [url=www.phpbb.com]phpBB[/url] code.. (no xxxx:// prefix).
	$patterns[] = "#\[url=((www|ftp)\.[^ \"\n\r\t<]*?)\]([^?\n\r\t].*?)\[/url\]#is";
	if ( !$userdata['session_logged_in'] )
	{
		$replacements[] = $replacer;
	}
	else
	{
		$replacements[] = $bbcode_tpl['url4'];
	}

	// [email]user@domain.tld[/email] code..
	$patterns[] = "#\[email\]([a-z0-9&\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+)\[/email\]#si";
	if ( !$userdata['session_logged_in'] )
	{
		$replacements[] = $replacer;
	}
	else
	{
		$replacements[] = $bbcode_tpl['email'];
	}

#
#-----[ BUL ]------------------------------------------
#
function make_clickable($text)
{

#
#-----[ ARDINA EKLE ]------------------------------------
#
	global $userdata, $lang, $phpEx, $u_login_logout;

#
#-----[ BUL ]------------------------------------------
#
		// matches an "xxxx://yyyy" URL at the start of a line, or after a space.
		// xxxx can only be alpha characters.
		// yyyy is anything up to the first space, newline, comma, double quote or <
		$ret = preg_replace("#(^|[\n ])([\w]+?://[^ \"\n\r\t<]*)#is", "\\1<a href=\"\\2\" target=\"_blank\">\\2</a>", $ret);

		// matches a "www|ftp.xxxx.yyyy[/zzzz]" kinda lazy URL thing
		// Must contain at least 2 dots. xxxx contains either alphanum, or "-"
		// zzzz is optional.. will contain everything up to the first space, newline, 
		// comma, double quote or <.
		$ret = preg_replace("#(^|[\n ])((www|ftp)\.[^ \"\t\n\r<]*)#is", "\\1<a href=\"http://\\2\" target=\"_blank\">\\2</a>", $ret);

		// matches an email@domain type address at the start of a line, or after a space.
		// Note: Only the followed chars are valid; alphanums, "-", "_" and or ".".
		$ret = preg_replace("#(^|[\n ])([a-z0-9&\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)#i", "\\1<a href=\"mailto:\\2@\\3\">\\2@\\3</a>", $ret);

#
#-----[ DEĞİŞTİR ]------------------------------------
#
//
// Hide links from unregistered users mod
//
	if ( !$userdata['session_logged_in'] )
	{
		// The thing we replace links with. I like using a quote like box
		$replacer = ' <table width="40%" cellspacing="1" cellpadding="3" border="0"><tr><td class="quote">';
		$replacer .= $lang['Links_Allowed_For_Registered_Only'] . '<br />';
		$replacer .= sprintf($lang['Get_Registered'], "<a href=\"" . append_sid('profile.' . $phpEx . '?mode=register') . "\">", "</a>");
		$replacer .= sprintf($lang['Enter_Forum'], "<a href=\"" . append_sid($u_login_logout) . "\">", "</a>");
		$replacer .= '</td></tr></table>';

		// matches an "xxxx://yyyy" URL at the start of a line, or after a space.
		// xxxx can only be alpha characters.
		// yyyy is anything up to the first space, newline, comma, double quote or <
		$ret = preg_replace("#(^|[\n ])([\w]+?://[^ \"\n\r\t<]*)#is", $replacer, $ret);

		// matches a "www|ftp.xxxx.yyyy[/zzzz]" kinda lazy URL thing
		// Must contain at least 2 dots. xxxx contains either alphanum, or "-"
		// zzzz is optional.. will contain everything up to the first space, newline, 
		// comma, double quote or <.
		$ret = preg_replace("#(^|[\n ])((www|ftp)\.[^ \"\t\n\r<]*)#is", $replacer, $ret);

		// matches an email@domain type address at the start of a line, or after a space.
		// Note: Only the followed chars are valid; alphanums, "-", "_" and or ".".
		$ret = preg_replace("#(^|[\n ])([a-z0-9&\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)#i", $replacer, $ret);

	}
	else
	{
		// matches an "xxxx://yyyy" URL at the start of a line, or after a space.
		// xxxx can only be alpha characters.
		// yyyy is anything up to the first space, newline, comma, double quote or <
		$ret = preg_replace("#(^|[\n ])([\w]+?://[^ \"\n\r\t<]*)#is", "\\1<a href=\"\\2\" target=\"_blank\">\\2</a>", $ret);

		// matches a "www|ftp.xxxx.yyyy[/zzzz]" kinda lazy URL thing
		// Must contain at least 2 dots. xxxx contains either alphanum, or "-"
		// zzzz is optional.. will contain everything up to the first space, newline, 
		// comma, double quote or <.
		$ret = preg_replace("#(^|[\n ])((www|ftp)\.[^ \"\t\n\r<]*)#is", "\\1<a href=\"http://\\2\" target=\"_blank\">\\2</a>", $ret);

		// matches an email@domain type address at the start of a line, or after a space.
		// Note: Only the followed chars are valid; alphanums, "-", "_" and or ".".
		$ret = preg_replace("#(^|[\n ])([a-z0-9&\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)#i", "\\1<a href=\"mailto:\\2@\\3\">\\2@\\3</a>", $ret);
	}
//
// Hide links from unregistered users mod
//

#
#-----[ AÇ ]------------------------------------------
#
(NOT; Türkçe dil paketimizie gireceğiz ingizlice pakjete değil)

language/lang_english/lang_main.php

#
#-----[BUL ]------------------------------------------
#
$lang['A_critical_error'] = 

#
#-----[ ARDINA EKLE ]------------------------------------
#

//
// Hide links from unregistered users mod
//
$lang['Links_Allowed_For_Registered_Only'] = 'Only registered users can see links on this board!';
$lang['Get_Registered'] = 'Get %sregistred%s or ';
$lang['Enter_Forum'] = '%senter%s the forums!';

#
#-----[ TÜM DOSYALARDAKİ DEĞŞİKLİKLERİ YAP VE KAYDET - MOD KURULMUŞTUR ]--------------------------
#
#EoM

Iyi hos diyorsun ama bunu tam olarak nerden ve nereye kurucaz yada nereye yapistiracaz sana zahmet soylermisin.
Kullanıcı avatarı
VSaBaH
Kayıtlı Kullanıcı
Mesajlar: 2493
Kayıt: 09.02.2006, 16:58
Konum: Denizli
İletişim:

Re: [MOD] Hide Links / Link Gizlemek

Mesaj gönderen VSaBaH »

cihan232 yazdı: Iyi hos diyorsun ama bunu tam olarak nerden ve nereye kurucaz yada nereye yapistiracaz sana zahmet soylermisin.
Merhaba,

Sanırım MOD kurmayı bilmiyorsunuz.

:idea: phpBB'de MOD kurulumu yapabilmeniz için phpBB Mod Kurulum makalesini okumalısınız.

Makaleyi okuduktan sonra MOD kurulumunun gayet kolay olduğunun farkına varacaksınız... :wink:
Kilitli

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

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Google [Bot] ve 3 misafir