kusanagi
11-19-2007, 01:18 AM
This is simple modify to help you insert flash avatar in your vbulletin forum :p
Open posbit template (or posbit_legency) find:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
Replace with
<td class="alt2">
<a href="member.php?$session[sessionurl]u=$post[userid]">
<if condition="$post['fieldX']">
<object width="100" height="100">
<param name="movie" value="$post[fieldX]">
<embed src="$post[fieldX]" width="100" height="100">
</embed>
</object>
<else />
<if condition="$show['avatar']">
<img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" />
<else />
<img src="images/noavatar.gif" alt="No Avatar" border="0" />
</if>
</if>
</a>
</td>
Do you see fieldX ? X = number and you must make a new field
In APC > User Profile Fields > Add New User Profile Field
-Profile Field Type :choose Single-Line text box => next
-Fill with my info:
Title: Flash avatar
Description:Insert flash avatar
Private Field: Yes
Field Searchable on Members List: No
Show on Members List: No
In User Profile Field Manager find your field and remember it and fill in my code
Save this template
http://img514.imageshack.us/img514/5682/noavatarwu4.gif
Save my avatar and upload it to images/
Go to your usercp and edit your avatar
-Flash avatar
http://img57.imageshack.us/img57/2389/s1jv2.jpg http://img159.imageshack.us/img159/7357/s2jz6.jpg
-Normal avatar
http://img240.imageshack.us/img240/4548/s4rf2.jpg
-No avatar
http://img159.imageshack.us/img159/3606/s3nf3.jpg
Have fun and good luck :)
By Kusanagi - http://kusanagivn.com/
Open posbit template (or posbit_legency) find:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
Replace with
<td class="alt2">
<a href="member.php?$session[sessionurl]u=$post[userid]">
<if condition="$post['fieldX']">
<object width="100" height="100">
<param name="movie" value="$post[fieldX]">
<embed src="$post[fieldX]" width="100" height="100">
</embed>
</object>
<else />
<if condition="$show['avatar']">
<img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" />
<else />
<img src="images/noavatar.gif" alt="No Avatar" border="0" />
</if>
</if>
</a>
</td>
Do you see fieldX ? X = number and you must make a new field
In APC > User Profile Fields > Add New User Profile Field
-Profile Field Type :choose Single-Line text box => next
-Fill with my info:
Title: Flash avatar
Description:Insert flash avatar
Private Field: Yes
Field Searchable on Members List: No
Show on Members List: No
In User Profile Field Manager find your field and remember it and fill in my code
Save this template
http://img514.imageshack.us/img514/5682/noavatarwu4.gif
Save my avatar and upload it to images/
Go to your usercp and edit your avatar
-Flash avatar
http://img57.imageshack.us/img57/2389/s1jv2.jpg http://img159.imageshack.us/img159/7357/s2jz6.jpg
-Normal avatar
http://img240.imageshack.us/img240/4548/s4rf2.jpg
-No avatar
http://img159.imageshack.us/img159/3606/s3nf3.jpg
Have fun and good luck :)
By Kusanagi - http://kusanagivn.com/

