PDA

View Full Version : Mini Mods - Two Column Postbit Legacy


MattIS
07-24-2009, 10:00 PM
I seen this being asked for in another mod, and I liked it so I am releasing it here for everyone to enjoy. This is my first ever mod so please go easy on me. I have tested it on all versions of 3.7.x and it worked.

What Will This Do?
This Mod will give your Postbit two columns making it cleaner, and professional.

LIVE DEMO (http://absolutegamenetwork.com/forums/showthread.php?p=106#post106) or See Screen shot below!

Instructions

Step 1:

Find in Postbit Legacy:

<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>


Replace With:

<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="vb_postbit"><if condition="$post['joindate']"><div>$vbphrase[join_date]:</td>
<td class="vb_postbit">$post[joindate]</div></if></font></td>
</tr>
<tr>
<td class="vb_postbit"><if condition="$post['field2']"><div>$vbphrase[location_perm]:</td>
<td class="vb_postbit">$post[field2]</div></if></td>
</tr>
<tr>
<td class="vb_postbit">$vbphrase[posts]:</td>
<td class="vb_postbit">$post[posts]</td>
</tr>
<tr>
<td class="vb_postbit"><if condition="$post['age']"><div>$vbphrase[age]:</td>
<td class="vb_postbit"> $post[age]</div></if></td>
</tr>
</tr>
</table>


Find and delete.

$vbphrase[posts]: $post[posts]


Step Two

Add this too your styles main CSS in the Advanced CSS Definitions

.vb_postbit {
color:#000000;
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
text-decoration:none;
}



Mark as Installed please!

Screenshot
https://vborg.vbsupport.ru/

webnsn
11-07-2015, 03:38 PM
Demo is not working

Here the demo, i have install in my site

www.wikinewforum.com

GREAT HACK