Phpbb2 Quick Reply Türkçe (Hızlı Cevap)

+ Yorum Gönder
Webmaster ve Scriptler Bölümünden Phpbb2 Quick Reply Türkçe (Hızlı Cevap) ile ilgili Kısaca Bilgi
  1. 1
    Small_Devil
    Özel Üye
    Reklam

    Phpbb2 Quick Reply Türkçe (Hızlı Cevap)

    Reklam



    Phpbb2 Quick Reply Türkçe (Hızlı Cevap)

    Forum Alev
    ##################################################
    ############
    ## MOD Title: Quick Reply
    ## MOD Author: Smartor (Hoang Ngoc Tu)
    ## MOD Description: This will add a quick-reply form below every topics
    ## It will only display when user has the Reply access
    ## MOD Version: 1.0.5
    ##
    ## Installation Level: Kolay
    ## Installation Time: 5 Dakika
    ## Files To Edit: 3
    ## viewtopic.php,
    ## language/lang_english/lang_main.php
    ## templates/subSilver/viewtopic_body.tpl
    ## Included Files: N/A
    ##################################################
    ############
    ## This MOD is released under the GPL License.
    ## Intellectual Property is retained by the MOD Author(s) listed above
    ##################################################
    ############
    ## Author Notes:
    ##
    ##################################################
    ############
    ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
    ##################################################
    ############

    #
    #-----[ OPEN ]------------------------------------------
    #
    viewtopic.php

    #
    #-----[ FIND ]------------------------------------------
    #
    $template->pparse('body');

    include($phpbb_root_path . 'includes/page_tail.'.$phpEx);

    #
    #-----[ BEFORE, ADD ]------------------------------------
    #
    //
    // Quick Reply Mod
    //
    if ( ((!$is_auth['auth_reply']) or ($forum_topic_data['forum_status'] == FORUM_LOCKED) or ($forum_topic_data['topic_status'] == TOPIC_LOCKED)) and ($userdata['user_level'] != ADMIN) )
    {
    $quick_reply_form = "";
    **
    else
    {
    $notify_user = (( $userdata['session_logged_in'] ) ? $userdata['user_notify'] : 0) ? '1' : '';
    $attach_sig = (( $userdata['session_logged_in'] ) ? $userdata['user_attachsig'] : 0) ? '1' : '';
    $quick_reply_form = "
    ******** language='JavaScript' type='text/javascript'>
    ******** checkForm() {
    formErrors = false;
    if (document.post.message.value.length < 2) {
    formErrors = '" . $lang['Boş Mesaj'] . "';
    **
    if (formErrors) {
    alert(formErrors);
    return false;
    ** else {
    return true;
    **
    **
    ***********
    <form action='".append_sid("posting.$phpEx")."' method='post' name='post' onsubmit='return checkForm(this)'>
    <span class='genmed'><b>".$lang["Hızlı Cevapla"].":</b><br /><br />
    ";

    if (!$userdata['session_logged_in'])
    {
    $quick_reply_form .= $lang['Kullanıcı Adı'] . ":&nbsp;<input class='post' type='text' name='username' size='25' maxlength='25' value='' /><br />";
    **

    $quick_reply_form .= "
    <textarea class='post' name='message' rows='10' cols='50' wrap='virtual'></textarea><br />
    <input type='hidden' name='attach_sig' value='" . $attach_sig . "' />
    <input type='hidden' name='mode' value='reply' />
    <input type='hidden' name='sid' value='" . $userdata['session_id'] . "' />
    <input type='hidden' name='t' value='" . $topic_id . "' />
    <input type='hidden' name='notify' value='" . $notify . "' /><br />
    <input type='submit' name='preview' class='liteoption' value='".$lang['&#214;n İzleme']."' />&nbsp;
    <input type='submit' name='post' class='mainoption' value='".$lang["G&#246;nder"]."' />
    </form></span>
    ";
    **

    $template->assign_vars(array(
    'QUICK_REPLY_FORM' => $quick_reply_form)
    );
    //
    // END Quick Reply Mod
    //

    #
    #-----[ OPEN ]------------------------------------------
    #
    lang_main.php

    #
    #-----[ FIND ]------------------------------------------
    #
    //
    // That's all Folks!

    #
    #-----[ BEFORE, ADD ]------------------------------------
    #
    // Quick Reply MOD
    $lang['Quick_Reply'] = 'Hızlı Cevapla';

    #
    #-----[ OPEN ]------------------------------------------
    #
    viewtopic_body.tpl

    #
    #-----[ FIND ]------------------------------------------
    #
    {S_TOPIC_ADMIN**

    #
    #-----[ AFTER, ADD ]------------------------------------
    #
    {QUICK_REPLY_FORM**

    #
    #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
    #

    Not:Değişiklikleri yapmadan &#246;nce dosyaların kopyasını alın...



  2. 2
    kezman16
    Yeni Üye

    --->: Phpbb2 Quick Reply Türkçe (Hızlı Cevap)

    Reklam



    kardeş bunu sitemize nasıl ekliyoruz bana bir çözüm yolu göstersene resimli olarak mümkünse ;)







  3. 3
    za1234
    Yeni Üye
    bu kod nereye atcaz acıklarmmısın







+ Yorum Gönder
5 üzerinden 5.00 | Toplam : 1 kişi