vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Mini Mods - Two Column Postbit Legacy (https://vborg.vbsupport.ru/showthread.php?t=219403)

MattIS 07-24-2009 10:00 PM

Two Column Postbit Legacy
 
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 or See Screen shot below!

Instructions

Step 1:

Find in Postbit Legacy:
Quote:

<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:
Quote:

<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.
Quote:

$vbphrase[posts]: $post[posts]
Step Two

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

.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


All times are GMT. The time now is 09:13 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01971 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete