|
»Forumlar »SE ? Core Labs
»Üyelerin Konu Açabilmesi İçin Mesaj Limiti Belirleme
https://seditio.com.tr/eski1/forums.php?m=posts&q=64 |
| Author: qharez, Posted: 2009-11-26 02:02 GMT. |
|
?yelerin Konu A?abilmesi ??in Mesaj Limiti Belirleme Haz?rlayan: Dvdbil System/common.php'yi a??n ve alttakini aray?n: Kod: $usr['newpm'] = $row['user_newpm']; Alt?na alttakini ekleyin Kod: $usr['user_postcount'] = $row['user_postcount']; system/core/forums/forums.newtopic.inc.php'yi a??n ve alttakini aray?n Kod: if (!defined('SED_CODE')) { die('Wrong URL.'); } Alt?na alttakini ekleyin: Kod: if($usr['user_postcount']<10) { header("Location: message.php?msg=931"); exit; } system/message/message.inc.php'yi a??n ve alttakini aray?n Kod: case '930': $type = $L['msg_Message']; $message = $L['msg930_0']; $body = $L['msg930_1']; if ($usr['id']==0) { $rd = 2; $ru = "users.php?m=auth"; $ru .= (!empty($redirect)) ? "&redirect=".$redirect : ''; } break; Alt?na alttakini ekleyin: Kod: case '931': $type = $L['msg_Message']; $message = $L['msg930_0']; $body = "Konu a?abilmeniz i?in mesaj say?n?z?n 10 olmas? gerekmektedir."; $rd = 2; $ru = "forums.php"; break; |
| Author: kralmage, Posted: 2011-09-27 17:18 GMT. |
| Eski s?r?m i?in 130'da ?al??m?yor yeni s?r?mler i?in varm? b?yle bir corehack ar?yorumda yard?mc? olursan?z sevinirim. |
| Author: Kaan, Posted: 2011-09-27 18:57 GMT. |
| T?m versionlarda sorunsuz ?ekilde ?al???yor yanl?? ekleme yaparsan?z ?al??maz tabiki.. |
| Powered by Seditio | Print version |