Marquee quote under Avatar

vollebregt

New Member
First
Log in to AdminCP
User Profile Fields > Add New User Profile Field
Nothing real specific after this part. Just remember that your members need to know that whatever is put in the box will scroll under their avatar, or whatever you deside to put the code in the next step under.
Next
Log into AdminCP
Styles & Templates > Style Manager > Edit Templates > posbit_legacy
Find:

Code:
<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><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>
</div>
</if>

Below that add:


Code:
<if condition="$post['field5']"><MARQUEE bgcolor="#CCCCCC" loop="-1" scrollamount="2" width="100%"><div class="smallfont">$post[field5]</div></MARQUEE></if>


Change red to profile field number.
Change light green to background color.
Change light blue to how many times it loops. (-1) is unlimited.
Change dark green to change the speed.

Small preview:


Code:
http://i31.tinypic.com/nlwuwz.png
 
Top