Chợ thông tin Cà phê Việt Nam

Chợ thông tin Cà phê Việt Nam (http://caphe.sangnhuong.com/index.php)
-   Nghiệp Vụ Giao Nhận - Vận Tải (http://caphe.sangnhuong.com/forumdisplay.php?f=44)
-   -   Phụ ph� li�n liệu - BAF (Bunker Adjustment Factor) (http://caphe.sangnhuong.com/showthread.php?t=12337)

longdatautovol 24-09-2012 08:46 AM

Phụ ph� li�n liệu - BAF (Bunker Adjustment Factor)
 
Hey all,

This small modification will add a small button to your postbit. This small modifications will put a button in the postbit to the Myspace page of the user.

Bratzer

1. Make a profile field
Profile field type = Single-line text box
Title: Myspace account
Description: Type your Myspace ID.
You can leave the rest to default.

**Note down the number of the field! Example: field16. You need to replace the X in the next code with the number!**


2. Template changes - In postbit_lecacy & Postbit

Find:
PHP Code:

<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]

After ad:
PHP Code:

<!-- Myspace start -->
<if
condition="$post[fieldX]"><a href="http://www.myspace.com/$post[fieldx]" alt="View my myspace" target="_blank">
<
img src="images/misc/myspace.gif" border="0"></a>
</if>
<!--
Myspace end -->

3. Button upload

Upload it in your: images/misc folder!

Bratzer
http://www.bratz-designs.com

Currently i am working to get this integrated with the messenger fields, when this is updated you will hear from me asap!!


Múi giờ GMT +7. Hiện tại là 05:45 PM

© 2008 - 2026 Nhóm phát triển website và thành viên SANGNHUONG.COM.
BQT không chịu bất cứ trách nhiệm nào từ nội dung bài viết của thành viên.