Kod:
################################################## ################################### ## MOD Adı : Kişisel Mesaj Gonderme Limiti ## Surum : 1.0.0a (phpBB 2.0.x) ## Yazar : ALEXIS (Alexis Canver) http://www.canver.net ## Orj. Mod : Merlin Sythove (http://www.phpbb.com/phpBB/viewtopic.php?p=1412314) ## ## Acıklama : Uyelerin diğer uyelele ozel mesaj gonderebilmesi icin belirli bir mesaj ## sayısına sahip olmalıdır. Bu sayı yonetim panelinden ayarlanabilir. ## Yonetici ve moderatorler bu limitten etkilenmez. Uyeler gereken mesaj ## limitine sahip olmasalar dahi gelen mesaja cevap yazabilirler. ## ## ## Kurulum zorluğu : kolay ## Kurulum suresi : 5 dk. ## ## Duzenlenen dosyalar (6) : language/lang_turkish/lang_admin.php ## language/lang_turkish/lang_main.php ## admin/admin_board.php ## includes/usercp_email.php ## privmsg.php ## templates/subSilver/admin/board_config_body.tpl ## ################################################## #################################### ## ## Destek : http://www.canver.net ## Lisans : http://opensource.org/licenses/gpl-license.php GNU Public License v2 ## ################################################## #################################### ## Yazar Notları: ## ## Orjinal mod: Merlin Sythove ## http://www.phpbb.com/phpBB/viewtopic.php?p=1412314 ## ################################################## #################################### ## Mod Gecmişi: ## ## 11.01.2006|01.23 // v1.0.0a (Yayınlanmadı) ## - Deneme amaclı ilk surum ## ################################################## #################################### ## ## Bu modu eklemeden once lutfen dosyaların yedeğini alınız. ## ################################################## #################################### # # #------[ SQL SORGUSU ]---------------------------------------------------------------- # INSERT INTO phpbb_config (config_name, config_value) VALUES ('user_pm_limit', '20'); # ##----[ AC ]-------------------------------------------------------------------------- # language/lang_english/lang_admin.php # #-----[ BUL ]------------------------------------------------------------------------- # // // That's all Folks! // ------------------------------------------------- # #-----[ ONCESİNE EKLE ]--------------------------------------------------------------- # // PM Limit $lang['user_pm_limit'] = 'Minimum number of posts'; $lang['user_pm_limit_explain'] ='Enter the number of forum messages a new member must post before being allowed to contact other members by email or PM'; # ##-----[ AC ]------------------------------------------------------------------------- # language/lang_english/lang_main.php # #------[ BUL ]------------------------------------------------------------------------ # // // That's all Folks! // ------------------------------------------------- # #-----[ ONCESİNE EKLE ]--------------------------------------------------------------- # // PM Limit $lang['Limit_privmsg'] = 'You must have written a minimum of %d posts
before you can initiate contact with other members private message (PM). Sorry!'; # ##----[ AC ]-------------------------------------------------------------------------- # language/lang_turkish/lang_admin.php # #-----[ BUL ]------------------------------------------------------------------------- # // // That's all Folks! // ------------------------------------------------- # #-----[ ONCESİNE EKLE ]--------------------------------------------------------------- # // PM Limit $lang['user_pm_limit'] = 'Kişisel Mesaj Gonderme Limiti'; $lang['user_pm_limit_explain'] = 'Diğer kullanıcılara kişisel mesaj gondermek icin gereken mesaj sayısı'; # ##-----[ AC ]------------------------------------------------------------------------- # language/lang_turkish/lang_main.php # #------[ BUL ]------------------------------------------------------------------------ # // // That's all Folks! // ------------------------------------------------- # #-----[ ONCESİNE EKLE ]--------------------------------------------------------------- # // PM Limit $lang['Limit_privmsg'] = 'Uzugunuz, diğer uyelere kişisel mesaj yazabilmek icin panoda en az %d mesajınız olmalı.'; # ##----[ AC ]-------------------------------------------------------------------------- # admin/admin_board.php # #-----[ BUL ]------------------------------------------------------------------------- # "L_FLOOD_INTERVAL_EXPLAIN" => $lang['Flood_Interval_explain'], # #-----[ SONRASINA EKLE ]-------------------------------------------------------------- # //-- [+] MOD: PM Limit -------------------------------------------------- //-- add // "L_USER_PM_LIMIT" => $lang['user_pm_limit'], "L_USER_PM_LIMIT_EXPLAIN" => $lang['user_pm_limit_explain'], // //-- [-] MOD: PM Limit -------------------------------------------------- # #-----[ BUL ]------------------------------------------------------------------------- # "FLOOD_INTERVAL" => $new['flood_interval'], # #-----[ SONRASINA EKLE ]-------------------------------------------------------------- # //-- [+] MOD: PM Limit -------------------------------------------------- //-- add // "USER_PM_LIMIT" => $new['user_pm_limit'], // //-- [-] MOD: PM Limit -------------------------------------------------- # ##-----[ AC ]------------------------------------------------------------------------- # includes/usercp_email.php # #------[ BUL ]------------------------------------------------------------------------ # include($phpbb_root_path . 'includes/page_header.'.$phpEx); # #------[ ONCESİNE EKLE ]-------------------------------------------------------------- # //-- [+] MOD: PM Limit -------------------------------------------------- //-- add // $limit_pm_post = $board_config['user_pm_limit']; if (($userdata['user_posts']