
Admin
Well-Known Member
Staff member
Administrator
Demo: click
vipcgteam/123456
**Tốt nhất nên Backup trước khi cài nhé ( Lỗi chỗ nào thì khổ )
Cái này dài lắm, làm lâu lắm, ai thích thì làm còn ko thì thui
Download(bản fix): gunnyfix.zip
Up lên host 7 file php và 1 file .swf
Tạo 7 cái field: Áo, tóc, mũ, cánh, trang sức, mặt, kính. ( Để giá trị mặc định là 1 nhé, không cho thành viên tự sửa )
Nhớ mã số file của 7 cái đó và vào 7 cái file .php sửa lại số field cho đúng.
- gunnycanh.php : Sửa field19 thành field cánh của bạn
- gunnytoc.php : Sửa field16 thành field tóc của bạn
- gunnymat.php : Sửa field15 thành field mặt của bạn
- gunnymu.php : Sửa field18 thành field mũ của bạn
- gunnyao.php : Sửa field22 thành field áo của bạn
- gunnyeff.php : Sửa field23 thành field trang sức của bạn
- gunnykinh.php : Sửa field20 thành field kính của bạn
Chèn phần này vào postbit
PHP Code:
*Thay x1 = field *********
x2 = field mặt
x3 = field tóc
x4 = field áo
x5 = trang sức
x6 = field mũ
x7 = field kính
x8 = field cánh
Tiếp đến phần tạo SHOP:
Tạo 4 cái BBcode:
1, Tiêu đề : Iteamm
BBcode Tag Name: gnitemm
Replacement:
Use {option}: Yes
Hình ảnh để trống
2, Itemf
BBcode Tag Name: gnitemf
Replacement:
Use {option}: Yes
Hình ảnh để trống
3, Tiêu đề: mua
BBcode Tag Name: mua
Replacement:
PHP Code:
PHP Code:
Use {option}: Yes
Hình ảnh để trống
4, Tiêu đề: Wing
Replacement:
PHP Code:
PHP Code:
Còn lại để nguyên
Hình ảnh để trống
( Nếu chưa có BBcode SPOILER VÀ BBcode tạo bảng thì thêm vào nhé - đã share rùi đấy )
Tiếp theo là tạo topic Shop
Tạo 7 cái topic với nội dung:
Đã có trong file Zip
------------------------
Ai nào xài mod thu nhỏ ảnh thì copy lại cài bbcode "mua" nhé
vipcgteam/123456
**Tốt nhất nên Backup trước khi cài nhé ( Lỗi chỗ nào thì khổ )
Cái này dài lắm, làm lâu lắm, ai thích thì làm còn ko thì thui
Download(bản fix): gunnyfix.zip
Up lên host 7 file php và 1 file .swf
Tạo 7 cái field: Áo, tóc, mũ, cánh, trang sức, mặt, kính. ( Để giá trị mặc định là 1 nhé, không cho thành viên tự sửa )
Nhớ mã số file của 7 cái đó và vào 7 cái file .php sửa lại số field cho đúng.
- gunnycanh.php : Sửa field19 thành field cánh của bạn
- gunnytoc.php : Sửa field16 thành field tóc của bạn
- gunnymat.php : Sửa field15 thành field mặt của bạn
- gunnymu.php : Sửa field18 thành field mũ của bạn
- gunnyao.php : Sửa field22 thành field áo của bạn
- gunnyeff.php : Sửa field23 thành field trang sức của bạn
- gunnykinh.php : Sửa field20 thành field kính của bạn
Chèn phần này vào postbit
PHP Code:
PHP:
<font color=red size=3>Nhân vật của $post[username] </font> <br/><if condition="$post['fieldx1']=='Nam'"><embed src="profile.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" play="true" loop="true" scale="showall" wmode="transparent" name="gnAvatar" menu="true" allowfullscreen="false" allowscriptaccess="always" salign="" flashvars="_face=equip/m/face/face$post[fieldx2]/&_hair=equip/m/hair/hair$post[fieldx3]/&_cloth=equip/m/cloth/cloth$post[fieldx4]/&_eff=equip/m/eff/eff$post[fieldx5]/&_hat=equip/m/head/head$post[fieldx6]/&_glass=equip/m/glass/glass$post[fieldx7]/&_hide1=2&_hide2=1&_hide4=1&_hidewings=&_wing=wing$post[fieldx8]&_cng=cng1&_zing=&_circle=cap3" type="application/x-shockwave-flash" height="200px" width="250px"></embed> <else />
<embed src="profile.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" play="true" loop="true" scale="showall" wmode="transparent" name="gnAvatar" menu="true" allowfullscreen="false" allowscriptaccess="always" salign="" flashvars="_face=equip/f/face/face$post[fieldx2]/&_hair=equip/f/hair/hair$post[fieldx3]/&_cloth=equip/f/cloth/cloth$post[fieldx4]/&_eff=equip/f/eff/eff$post[fieldx5]/&_hat=equip/f/head/head$post[fieldx6]/&_glass=equip/f/glass/glass$post[fieldx7]/&_hide1=2&_hide2=1&_hide4=1&_hidewings=&_wing=wing$post[fieldx8]&_cng=cng1&_zing=&_circle=cap3" type="application/x-shockwave-flash" height="200px" width="250px"></embed> </if> <div> <div>
x2 = field mặt
x3 = field tóc
x4 = field áo
x5 = trang sức
x6 = field mũ
x7 = field kính
x8 = field cánh
Tiếp đến phần tạo SHOP:
Tạo 4 cái BBcode:
1, Tiêu đề : Iteamm
BBcode Tag Name: gnitemm
Replacement:
PHP:
[img]http://img.zing.vn/union/armory/gunny/equip/m/{param}/{param}{option}/icon_1.png[/img]
Hình ảnh để trống
2, Itemf
BBcode Tag Name: gnitemf
Replacement:
PHP:
[IMG]http://img.zing.vn/union/armory/gunny/equip/f/%7Bparam%7D/%7Bparam%7D%7Boption%7D/icon_1.png[/IMG]
Hình ảnh để trống
3, Tiêu đề: mua
BBcode Tag Name: mua
Replacement:
PHP Code:
PHP Code:
PHP:
<a target="_blank" href="http://domain.com/gunny{param}.php?bd={option}">Mua </a>
Hình ảnh để trống
4, Tiêu đề: Wing
Replacement:
PHP Code:
PHP Code:
PHP:
[IMG]http://teenlynhan.com/diendan/cngavst/union/wings/images/wing{param}.png[/IMG]
Hình ảnh để trống
( Nếu chưa có BBcode SPOILER VÀ BBcode tạo bảng thì thêm vào nhé - đã share rùi đấy )
Tiếp theo là tạo topic Shop
Tạo 7 cái topic với nội dung:
Đã có trong file Zip
------------------------
Ai nào xài mod thu nhỏ ảnh thì copy lại cài bbcode "mua" nhé