[RC] AOS Tag User BBCode ส่งข้อความถึง user หรือ ผู้ดูแลระบบ

แนะนำ Mod ต่างๆ ของ PHPBB3 แนะนำความสามารถ ของ mod การติดตั้ง การเข้ากันได้กับเวอร์ชั่น

Moderator: mindphp

ภาพประจำตัวสมาชิก
M004
PHP VIP Members
PHP VIP Members
โพสต์: 1323
ลงทะเบียนเมื่อ: 01/01/1970 7:00 am

[RC] AOS Tag User BBCode ส่งข้อความถึง user หรือ ผู้ดูแลระบบ

โพสต์ที่ยังไม่ได้อ่าน โดย M004 »

รายละเอียดเกี่ยวกับ [RC] AOS Tag User BBCode ส่งข้อความถึง user หรือ ผู้ดูแลระบบ

พัฒนาโดย : Alorse
Version : 1.0.0
phpBB Version(s) : phpBB 3.0.10 3.0.11
ดาวน์โหลดได้ที่ :https://www.phpbb.com/community/viewtop ... &t=2137650
tag.jpg
tag.jpg (27.41 KiB) Viewed 797 times
tag2.jpg
tag2.jpg (26.87 KiB) Viewed 797 times
tag3.jpg
tag3.jpg (21.75 KiB) Viewed 797 times
ขั้นตอนติดตั้ง
เปิดไฟล์ common.php
ค้นหา

โค้ด: เลือกทั้งหมด

require($phpbb_root_path . 'includes/functions_content.' . $phpEx); 
เติมหลังคำค้นหา

โค้ด: เลือกทั้งหมด

require($phpbb_root_path . 'includes/functions_tag_user.' . $phpEx); 
เปิดไฟล์ posting.php
ค้นหา

โค้ด: เลือกทั้งหมด

            // The last parameter tells submit_post if search indexer has to be run
            $redirect_url = submit_post($mode, $post_data['post_subject'], $post_data['username'], $post_data['topic_type'], $poll, $data, $update_message, ($update_message || $update_subject) ? true : false); 
เติมหลังค้นหา

โค้ด: เลือกทั้งหมด

            
            // Start - Tag User MOD - Alorse
            $aos_tub = new aos_tag_user();
            if ($redirect_url && ($mode == 'post' || $mode == 'reply'))
            {
                $message = $aos_tub->atub_obtain_users_i($data['message']);
            }
            // End - Tag User MOD - Alorse  
เปิดไฟล์ viewtopic.php
ค้นหา

โค้ด: เลือกทั้งหมด

    // Parse the message and subject
    $message = censor_text($row['post_text']); 
เติมก่อน

โค้ด: เลือกทั้งหมด

    
    // Start - Tag User MOD - Alorse
    $aos_tub = new aos_tag_user();
    $message = $aos_tub->atub_use_tag_user($message);
    // End - Tag User MOD - Alorse  
เปิดไฟล์ includes/constants.php
ค้นหา

โค้ด: เลือกทั้งหมด

// Additional tables  
เติมหลัง

โค้ด: เลือกทั้งหมด

//-- MOD : AOS Tags User BBCode - Start -----------------------------------------------//
define('TAGS_TABLE',        $table_prefix . 'tags');
//-- MOD : AOS Tags User BBCode - End -------------------------------------------------//  
เปิดไฟล์ includes/message_parser.php
ค้นหา

โค้ด: เลือกทั้งหมด

        // Replace naughty words such as farty pants
        $this->message = censor_text($this->message); 
เติมหลัง

โค้ด: เลือกทั้งหมด

        
        // Start - Tag User MOD - Alorse
        $aos_tub = new aos_tag_user();
        $this->message = $aos_tub->atub_use_tag_user($this->message);
        // End - Tag User MOD - Alorse  
เปิดไฟล์ includes/ucp/ucp_prefs.php
ค้นหา

โค้ด: เลือกทั้งหมด

            case 'post': 
เติมหลัง

โค้ด: เลือกทั้งหมด

                
            // Start - Tag User MOD - Alorse
                $aos_tub = new aos_tag_user();
                $aos_tub->atub_type_method_select();    
            // End - Tag User MOD - Alorse
 
ค้นหา

โค้ด: เลือกทั้งหมด

                    'notify'    => request_var('notify', (bool) $user->data['user_notify']), 
เติมหลัง

โค้ด: เลือกทั้งหมด

                // Start - Tag User MOD - Alorse
                    'post_tag'    => request_var('post_tag', (!empty($user->data['user_tag_type'])) ? $user->data['user_tag_type'] : 0),
                // End - Tag User MOD - Alorse  
ค้นหา

โค้ด: เลือกทั้งหมด

                            'user_notify'    => $data['notify'], 
เติมหลัง

โค้ด: เลือกทั้งหมด

                        // Start - Tag User MOD - Alorse
                            'user_tag_type'    => $data['post_tag'],
                        // End - Tag User MOD - Alorse  
เปิดไฟล์ styles/prosilver/template/ucp_prefs_post.html
ค้นหา

โค้ด: เลือกทั้งหมด

	</fieldset>
	
	<span class="corners-bottom"><span></span></span></div>
เติมก่อน

โค้ด: เลือกทั้งหมด

<!-- Start - Tag User MOD - Alorse -->
	<!-- IF S_ATUB_ENABLE and S_ATUB_ENABLE_NOTY -->
	<dl>
		<dt><label>{L_ATUB_NOTY_METHOD_UCP}:</label><br /><span>{L_ATUB_NOTY_METHOD_UCP_EXPLAIN}</span></dt>
		<dd>{S_ATUB_OPTIONS}</dd>
	</dl>
	<!-- ENDIF -->
<!-- End - Tag User MOD - Alorse -->
ติดตั้งไฟล์

โค้ด: เลือกทั้งหมด

aos_tag_user_bbcode_install.php
  • Similar Topics
    ตอบกลับ
    แสดง
    โพสต์ล่าสุด

ผู้ใช้งานขณะนี้

สมาชิกกำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และบุคลทั่วไป 62