Share code tổng số bài viết và tổng số thanks trong forum wapka

Admin

AdminAdmin is verified member.

Well-Known Member
Staff member
Administrator
Về mức độ vip, độc đáo & hiếm có thì khỏi nói. Dạo quanh mấy forum wapka hầu hết chả mấy ai có, nay post lại code để anh em được rõ.
1. Code đếm số bài viết trong forum
- tạo site mới tên là
Code:
database of %user%
, ghi nhớ id site.
trong ví dụ này, tôi lấy id site là 5.
- tiếp theo, post code này vào site 5
Code:
:eprofile-0: ::var-9999(':user-fmsg:'>'database cập nhật thanks')::@@xác nhận:/eprofile:
- quay ra trang chủ, vào site đăng nhập, sửa :login-0: thành :login-5:
- vào trang chứa các forum
- vào wap2 / style for content forum chat / chọn forum (ở đây, tôi ví dụ là fo:123456) / set own style for: messager
- thêm vào ở ô thứ nhất code sau, đặt code ở giữa tên và status cho đẹp
Code:
[<a href="forum2_0.xhtml?u=::tuser::">::prvar-9999::</a>]
- như vậy là xong rồi đó, khi thành viên đăng nhập, update database thì số bài viết sẽ update vào var
2. Code tổng thank trong forum
- tạo site mới, change title thành site_database
- up code sau
Code:
:eprofile-0: ::var-9998(':userstats:d=ru,o=n,l=1,x=u::%vote%:: :get-user: :/userstats:'>'database cập nhật thanks')::@@xác nhận:/eprofile:
- vẫn trong site đấy, vào user / item visibility / chọn code trên / nhấp vào g u c t l
- sau khi nhấp, tìm link [OFF] cell phone nhấp vào đó
- viết vào khung Cell phone
Code:
Opera Mini, Mozilla, firefox, Chrome, safari
rồi save
- vào trang chứa các forum
- vào wap2 / style for content forum chat / chọn forum (ở đây, tôi ví dụ là fo:123456) / set own style for: messager
- thêm vào ở ô thứ nhất code sau, đặt ở dưới code đếm bài viết
Code:
[::prvar-9998::]
- quay ra trang chủ, post code sau vào wml/xhtml code, post sao cho code này dính liền với cá nhân, thư mới, thoát & có dạng
cá nhân - thư - thoát - DB
Code:
<a href="site_database.xhtml:admin-hash-qm:&get-user=:user-tname:&cellphone=opera">DB</a>
- vào user / item visibility / chọn g u c t cho code trên / chọn [OFF] cell phone / sửa y như trên
xong rồi, khi user update thì thông tin trong forum cũng sẽ update.
Ghi chú: mã 1 = mã 2 (viết liền)
24 = : : p
158 = : : @
Demo :D http://gocblog.biz/forum2_theme_853923.xhtml?tema=60
 

Facebook Comments

Similar threads

Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Admin
Replies
2
Views
1K
boy94
boy94
Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Admin
  • Locked
Replies
0
Views
749
AdminAdmin is verified member.
Admin
Admin
Replies
2
Views
1K
Cuongstyleyb
Cuongstyleyb
Admin
Replies
37
Views
20K
Myrnahurst88
M
Ten.Nhu.Vay.No.Moi.Ngan
Replies
1
Views
1K
AdminAdmin is verified member.
Admin
Back
Top