The Arcive of vBulletin Modifications Site. |
|
Add editable Info to end of posts Details »»
|
|||||||||||||||||||||||||||||
tested on 4.08 not sure about others
Add editable Info to the end of your posts. - look at the attached pics. 1. Create a new User Profile field 2. take note of the field number of your newly created field (screen @3:46 on the vid above) eg. field20 3. goto postbit template 4. Find and add above this line Code:
<vb:if condition="$show['postedited']"> this Code:
<vb:if condition="$post['field20']"><br /><br /><br /><br /><SPAN STYLE="font-size: 8pt"><font color="#151B54"><b>Equip: </b></font>{vb:raw post.field20}</span></vb:if>
so it looks like this Code:
<vb:if condition="$post['field20']"><br /><br /><br /><br /><SPAN STYLE="font-size: 8pt"><font color="#151B54"><b>Equip: </b></font>{vb:raw post.field20}</span></vb:if>
<vb:if condition="$show['postedited']">
5. Change field20 in the above code (there are 2 Instances of field20) to your new field number eg. field8, field 12, field18 etc. 6. Change 'Equip' to whatever you want to show before editable info, also use html to change color etc. Done Screenshots
Show Your Support
|
|||||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Some Ideas for Information displayed could be Computer specs, youtube channel, website url, Map url, mods etc. etc.
edit* Some more features - Add extra line - Limit width of text on page To add an extra line, create another custom field, note the field number and use the code below, again replacing the field numbers with yours. To limit the width of text edit width:820px (820 pixels) with a size that suits you Code:
<vb:if condition="$post['field20']"><br /><br /><br /><br /> <div style="width:820px"><SPAN STYLE="font-size: 8pt"><font color="#2B3856"><b>Equip:</b></font> {vb:raw post.field20}</span></div></vb:if>
<vb:if condition="$post['field21']"><div style="width:820px"><SPAN STYLE="font-size: 8pt"><font color="#800517"><b>Equip2:</b></font> {vb:raw post.field21}</span></div></vb:if>
|
![]() |
|
|