vb.org Archive

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

MattIS 07-24-2009 10:00 PM

Two Column Postbit Legacy
 
1 Attachment(s)
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 do not have 3.8.x myself however my buddy tested it on 3.8.0 and it worked fine.

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!


Screenshots

Before:
http://www.absolutegamenetwork.com/images/before.jpg

After:
http://www.absolutegamenetwork.com/images/postbit.jpg

s-p0k 07-25-2009 02:13 AM

nice mod..........................

MattIS 07-25-2009 02:28 AM

Quote:

Originally Posted by s-p0k (Post 1854966)
nice mod..........................

Thanks

lazydesis 07-25-2009 01:39 PM

I could not understand what is the difference between this mod and the postibit_legacy that comes with vBulletin?

Eitherways nice to see new people releasing mods :) Thanks.

MattIS 07-25-2009 05:46 PM

Quote:

Originally Posted by lazyindian (Post 1855183)
I could not understand what is the difference between this mod and the postibit_legacy that comes with vBulletin?

Eitherways nice to see new people releasing mods :) Thanks.

I put up a before and after picture of the Postbit. Should have thought of that sooner. Hope it helps.

htscpl 07-26-2009 09:36 AM

Hey, cool ! Thanks ! *** installs ***

GSeybold 07-26-2009 10:01 PM

Hello,
I don't see any change. I went to your demo as well. Where should I be looking? thank you

MattIS 07-26-2009 10:05 PM

Quote:

Originally Posted by GSeybold (Post 1856156)
Hello,
I don't see any change. I went to your demo as well. Where should I be looking? thank you

Hi,

Look at the above posted screen shots for a before and after.

ShawneyJ 07-28-2009 02:14 AM

Quote:

Originally Posted by MattIS (Post 1856157)
Hi,

Look at the above posted screen shots for a before and after.

i dont think you are explaining your self clearly enough for some members to understand.
basically you have evened up the (font/writing) in a nice even strait line (vertical) going down.
where the old post bit legacy was un-even.
good job.


All times are GMT. The time now is 09:14 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.01090 seconds
  • Memory Usage 1,735KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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