Msjları Saklama
Msjları Saklama
Arkadasalar Misafirlerden Msjları Saklayabilecegimiz Bir mod Varmı Demek İstedigim 5 konu 10 msj yerine kayıtllılara ozel yazıcak anasayfada
Php En İyi Site Olmak İcin Geliyoruz
http://www.rakipforum.com
Kayyo vb. Sİtelere Php Kuramayanlar Ulasın YArdımcı Olurum Yes Pm Or sitem
http://www.rakipforum.com
Kayyo vb. Sİtelere Php Kuramayanlar Ulasın YArdımcı Olurum Yes Pm Or sitem
forum izinlerinden okuma izinlerini kayıtlı yaparsın veya misafire konunun bir bölümünü gösteren mod var onu kurabilirsin. mod forumda mevcut.
okuma izinlerini kayıtlı yaparsan arama botları siteni tarayamazlar.
okuma izinlerini kayıtlı yaparsan arama botları siteni tarayamazlar.
Site Kuralları | Mod Kurulum Makalesi | MODX Formatlı Modların Kurulumu
Lütfen özel mesaj ile yardım istemeyiniz, kurallarımız gereği özel mesajlara cevap vermiyoruz.
Lütfen özel mesaj ile yardım istemeyiniz, kurallarımız gereği özel mesajlara cevap vermiyoruz.
tesekkurler arama motorları giremiyosa bu olsun ozaman
- Dosya ekleri
-
- viewtopic.rar
- viewtopic
- (10.82 KiB) 148 kere indirildi
Php En İyi Site Olmak İcin Geliyoruz
http://www.rakipforum.com
Kayyo vb. Sİtelere Php Kuramayanlar Ulasın YArdımcı Olurum Yes Pm Or sitem
http://www.rakipforum.com
Kayyo vb. Sİtelere Php Kuramayanlar Ulasın YArdımcı Olurum Yes Pm Or sitem
sadece linkleri saklamak istiyorsan bu modu kuracaksın :
ama ben mesajın bir kısmını saklayacağım diyorsan bunu kur :40 karakterden sonrasını kimse göremez kendi sitemde kullanıyorum 40 karakter sınırı sana bağlı deiştirebilirsin..40 ları bul değiştir..
Kod: Tümünü seç
#-----[ OPEN ]-----
includes/bbcode.php
#-----[ FIND ]-----
function bbencode_second_pass($text, $uid)
{
global $lang, $bbcode_tpl;
#-----[ REPLACE WITH ]-----
function bbencode_second_pass($text, $uid)
{
global $lang, $bbcode_tpl, $userdata;
#-----[ FIND ]-----
// matches a [url]xxxx://www.phpbb.com[/url] code..
$patterns[] = "#\[url\]([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*?)\[/url\]#is";
$replacements[] = $bbcode_tpl['url1'];
// [url]www.phpbb.com[/url] code.. (no xxxx:// prefix).
$patterns[] = "#\[url\]((www|ftp)\.[\w\#$%&~/.\-;:=,?@\[\]+]*?)\[/url\]#is";
$replacements[] = $bbcode_tpl['url2'];
// [url=xxxx://www.phpbb.com]phpBB[/url] code..
$patterns[] = "#\[url=([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*?)\]([^?\n\r\t].*?)\[/url\]#is";
$replacements[] = $bbcode_tpl['url3'];
// [url=www.phpbb.com]phpBB[/url] code.. (no xxxx:// prefix).
$patterns[] = "#\[url=((www|ftp)\.[\w\#$%&~/.\-;:=,?@\[\]+]*?)\]([^?\n\r\t].*?)\[/url\]#is";
$replacements[] = $bbcode_tpl['url4'];
#-----[ REPLACE WITH ]-----
// matches a [url]xxxx://www.phpbb.com[/url] code..
$patterns[] = "#\[url\]([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*?)\[/url\]#is";
if (!$userdata['session_logged_in'] )
{
$replacements[] = $lang['BBCode_NO_LINK'];
}
else
{
$replacements[] = $bbcode_tpl['url1'];
}
// [url]www.phpbb.com[/url] code.. (no xxxx:// prefix).
$patterns[] = "#\[url\]((www|ftp)\.[\w\#$%&~/.\-;:=,?@\[\]+]*?)\[/url\]#is";
if (!$userdata['session_logged_in'] )
{
$replacements[] = $lang['BBCode_NO_LINK'];
}
else
{
$replacements[] = $bbcode_tpl['url2'];
}
// [url=xxxx://www.phpbb.com]phpBB[/url] code..
$patterns[] = "#\[url=([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*?)\]([^?\n\r\t].*?)\[/url\]#is";
if (!$userdata['session_logged_in'] )
{
$replacements[] = $lang['BBCode_NO_LINK'];
}
else
{
$replacements[] = $bbcode_tpl['url3'];
}
// [url=www.phpbb.com]phpBB[/url] code.. (no xxxx:// prefix).
$patterns[] = "#\[url=((www|ftp)\.[\w\#$%&~/.\-;:=,?@\[\]+]*?)\]([^?\n\r\t].*?)\[/url\]#is";
if (!$userdata['session_logged_in'] )
{
$replacements[] = $lang['BBCode_NO_LINK'];
}
else
{
$replacements[] = $bbcode_tpl['url4'];
}
#-----[ FIND ]-----
function make_clickable($text)
{
#-----[ ADD AFTER ]-----
global $lang, $userdata;
#-----[ FIND ]-----
$ret = preg_replace("#(^|[\n ])([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*)#is", "\\1<a href=\"\\2\" target=\"_blank\">\\2</a>", $ret);
#-----[ REPLACE WITH ]-----
if (!$userdata['session_logged_in'] )
{
$ret = preg_replace("#(^|[\n ])([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*)#is", "\\1".$lang['BBCode_NO_LINK'], $ret);
}
else
{
$ret = preg_replace("#(^|[\n ])([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*)#is", "\\1<a href=\"\\2\" target=\"_blank\">\\2</a>", $ret);
}
#-----[ FIND ]-----
$ret = preg_replace("#(^|[\n ])((www|ftp)\.[\w\#$%&~/.\-;:=,?@\[\]+]*)#is", "\\1<a href=\"http://\\2\" target=\"_blank\">\\2</a>", $ret);
#-----[ REPLACE WITH ]-----
if (!$userdata['session_logged_in'] )
{
$ret = preg_replace("#(^|[\n ])((www|ftp)\.[\w\#$%&~/.\-;:=,?@\[\]+]*)#is", "\\1".$lang['BBCode_NO_LINK'], $ret);
}
else
{
$ret = preg_replace("#(^|[\n ])((www|ftp)\.[\w\#$%&~/.\-;:=,?@\[\]+]*)#is", "\\1<a href=\"http://\\2\" target=\"_blank\">\\2</a>", $ret);
}
#-----[ OPEN ]-----
language/xxx/lang_main.php
#-----[ FIND ]-----
?>
#-----[ BEFORE, ADD ]-----
$lang['BBCode_NO_LINK'] = '[<a href="profile.php?mode=register">Linki görmek için üye olmanız gerekmektedir</a>]';
#-----[ SAVE ]-----
ama ben mesajın bir kısmını saklayacağım diyorsan bunu kur :40 karakterden sonrasını kimse göremez kendi sitemde kullanıyorum 40 karakter sınırı sana bağlı deiştirebilirsin..40 ları bul değiştir..
Kod: Tümünü seç
########################################################
##
## MOD Title: Guest_See_Part_Message
## MOD Version: 1.0.5
## Author: Wicher (http://www.detecties.com/phpbb2018)
##
## Description:
## Displays only a part of a full posting if the user is a guest.
##
##
## Installation Level: easy
## Installation Time: 1 minutes
##
## Files To Edit: 2
## - viewtopic.php
## - language/lang_main.php
##
## Included Files: None
##
########################################################
## Guest_See_Part_Message
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
## Before installing this version you should first uninstall previous versions of this mod.
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$user_sig_bbcode_uid = $postrow[$i]['user_sig_bbcode_uid'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lettercount = (strlen($message));
if (($userdata['username'] == 'Anonymous') && ($lettercount > 40))
{
$path = __FILE__;
$file = basename ($path);
if ($file != 'portal.php')//needed for portal support, otherwise portal layout will breakout when clips are played.
{
//first check if message has quote in it or a ot, quote box breaks forums layout.
$message = strtolower($message);
$message = str_replace("[quote", "[ quote", $message);
$message = substr(($message), 0, 40).'... <b><a href="http://'.$board_config['server_name'].$board_config['script_path'].'profile.php?mode=register">'.$lang['Register'].'</a> '.$lang['or'].' <a href="http://'.$board_config['server_name'].$board_config['script_path'].'login.php?redirect=viewtopic.php?t='.$postrow[$i]['topic_id'].'">'.$lang['Login'].'</a> '.$lang['GuestWantReadAll'].'</b>';
}
}
#
#-----[ OPEN ]------------------------------------------
#
language/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ ADD, BEFORE ]------------------------------------------
#
//Guest read part
$lang['GuestWantReadAll'] = 'Mesajın Tamamını Görmek İstiyorsan Üye Olmalısın Emeğe Saygı';
$lang['or'] = 'Veya';
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
http://www.bilginlerboard.com yeni çağın en genç sitesi
- egeliaslanlar
- Kayıtlı Kullanıcı
- Mesajlar: 18
- Kayıt: 13.01.2007, 13:06
- İletişim:
- Most Wanted
- Kayıtlı Kullanıcı
- Mesajlar: 132
- Kayıt: 03.05.2007, 15:17
- İletişim:
Aynen yaptim hatta 4-5 defa yaptim.aykarama yazdı:
ama ben mesajın bir kısmını saklayacağım diyorsan bunu kur :40 karakterden sonrasını kimse göremez kendi sitemde kullanıyorum 40 karakter sınırı sana bağlı deiştirebilirsin..40 ları bul değiştir..
ortaya böyle bisey cikiyor
Forum kurallarini oku... <b><a href="http://www.helalboard.com/profile.php?m ... ter">Kayıt ol</a> Yada <a href="http://www.helalboard.com/login.php?red ... 14">Oturum Aç</a> Mesajin Hepsini Görebilmek icin</b>
Mesajin Hepsini Görebilmek icin Kayıt ol yada oturum ac yap.
Bu sekilde cikmasi icin ne yapmak lazim yardimci olurmusunuz??

- mc_kelleci
- Kayıtlı Kullanıcı
- Mesajlar: 626
- Kayıt: 01.09.2006, 19:51
- Konum: Konya
- İletişim:
Buyur ArkadaşımMesajin Hepsini Görebilmek icin Kayıt ol yada oturum ac yap.
Bu sekilde cikmasi icin ne yapmak lazim yardimci olurmusunuz??

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'] = 'Sitemizdeki linkleri sadece kayıtlı üyeler görebilmektedir!';
$lang['Get_Registered'] = 'Lütfen %sKAYIT%s olun yada ';
$lang['Enter_Forum'] = '%sÜYE GİRİŞİ%s yapınız.';
#
#-----[ TÜM DOSYALARDAKİ DEĞŞİKLİKLERİ YAP VE KAYDET - MOD KURULMUŞTUR ]--------------------------
#
#EoM
aklı olan okumasın sanayide iyi para veriyorlar 

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