Hướng dẫn thu gọn ajax post thank you hack

Admin

AdminAdmin is verified member.

Well-Known Member
Staff member
Administrator
Vào Admincp > Search in Templates chọn chỉ tìm trong tiêu đề, nhập post_thanks_postbit
Tìm
HTML:
<a href="post_thanks.php?do=post_thanks_remove_user&amp;p={vb:raw post.postid}"<vb:if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_user({vb:raw post.postid}, <vb:if condition="$vboptions['post_groan_integrate']">true<vb:else />false</vb:if>);"</vb:if> rel="nofollow">{vb:rawphrase post_thanks_remove_user}</a>
Xóa tất cả và thay thành
HTML:
<a href="post_thanks.php?do=post_thanks_remove_user&amp;p={vb:raw post.postid}"<vb:if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_user({vb:raw post.postid}, <vb:if condition="$vboptions['post_groan_integrate']">true<vb:else />false</vb:if>);"</vb:if> rel="nofollow">{vb:rawphrase post_thanks_remove_user}</a>
<a class="collapse" id="collapse_post_thanks_bit_{vb:raw post.postid}" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_vbtopx_content_img}_40b.png" alt="{vb:rawphrase collapse_this_category}" /></a>
Lưu lại là xong
Chúc các bạn thành công!
Bài viết chỉ đăng duy nhất tại tuoitreit.vn, mọi sự sao chép phải ghi nguồn và liên kết đến bài viết gốc.
 

Facebook Comments

Similar threads

bunvocam9x
Replies
2
Views
999
AryNguyen
A
Admin
Replies
0
Views
623
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
K
Replies
0
Views
830
[King-Game]
K
Admin
Replies
0
Views
8K
AdminAdmin is verified member.
Admin
Back
Top