
24-09-2012, 08:46 AM
|
|
|
|
Tham gia ngày: Jun 2012
Bài gửi: 138
|
|
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!!
|