พัฒนาโดย : Alorse
Version : 1.0.0
phpBB Version(s) : phpBB 3.0.10 3.0.11
ดาวน์โหลดได้ที่ :https://www.phpbb.com/community/viewtop ... &t=2137650 ขั้นตอนติดตั้ง
เปิดไฟล์ common.php
ค้นหา
โค้ด: เลือกทั้งหมด
require($phpbb_root_path . 'includes/functions_content.' . $phpEx);
โค้ด: เลือกทั้งหมด
require($phpbb_root_path . 'includes/functions_tag_user.' . $phpEx);
ค้นหา
โค้ด: เลือกทั้งหมด
// 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
ค้นหา
โค้ด: เลือกทั้งหมด
// 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
ค้นหา
โค้ด: เลือกทั้งหมด
// Additional tables
โค้ด: เลือกทั้งหมด
//-- MOD : AOS Tags User BBCode - Start -----------------------------------------------//
define('TAGS_TABLE', $table_prefix . 'tags');
//-- MOD : AOS Tags User BBCode - End -------------------------------------------------//
ค้นหา
โค้ด: เลือกทั้งหมด
// 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
ค้นหา
โค้ด: เลือกทั้งหมด
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
ค้นหา
โค้ด: เลือกทั้งหมด
</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