The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
PS - Boxed Postbit Information & Centered Postbit Details »» | |||||||||||||||||||||||||||
PS - Boxed Postbit Information & Centered Postbit
Developer Last Online: Apr 2014
Please Mark As Installed!
Hello Everybody, I thought I would share this here for everybody. This template modification will involve editing your postbit_legacy template. This will place the information displayed in the postbit such as the Post Count, Location, Join Date etc into boxes beneath the avatar to give the postbit a more professional look. Live Demo Below is how to do it. 1) In your AdminCP > Styles & Templates > Style Manager > Main CSS Options > Additional CSS place the following code: Code:
.postinfo { border-top: solid 1px #E0E0E0; border-left: solid 1px #E0E0E0; border-right: solid 1px #D7D7D7; border-bottom: solid 1px #D7D7D7; margin: 3px 5px; padding: 2px; color: #808080; background: #d2dee3; font-size: 10px; } 3) In your AdminCP > Styles & Templates > Style Manager > Edit Templates > postbit_legacy find the following code: For Join Date: (other Examples At The Bottom!) Code:
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> Code:
<if condition="$post['joindate']"><div class="postinfo">$vbphrase[join_date]: $post[joindate]</div></if> Other Examples. Code:
For Total Posts: Find: <div> $vbphrase[posts]: $post[posts] </div> Replace With: <div class="postinfo"> $vbphrase[posts]: $post[posts] </div> Code:
For Post Thank You Hack: Find: <tr><td class="alt1" colspan="3"><div>$post[post_thanks_bit]</div></td></tr> Replace With: <tr><td class="alt1" colspan="3"><div class="postinfo">$post[post_thanks_bit]</div></td></tr> Update: I have added another file "centered postbit" to help make everything appear centralised like shown in the demo. Show Your Support
|
Comments |
#12
|
|||
|
|||
I have updated the the modification post and the download file for the post count.
Thanks, Paul. |
#13
|
|||
|
|||
can u share how u get the location info on this ?
i try to find in the acp no success so far :erm: |
#14
|
|||
|
|||
In order for the location to appear in the postbit you have to edit your profile and make sure their is a value in the location field.
Have you done this? Thanks, Paul. |
#15
|
|||
|
|||
will it box the thanks count etc as well ?
THX |
#16
|
|||
|
|||
It should yes if you edit the correct DIV tag for the Thanks Count.
Thanks, Paul. |
#17
|
|||
|
|||
this is very simple n nice mod .
just add " div class="postinfo" " for the correct info need to be boxed. |
#18
|
|||
|
|||
Thanks, I got all of my items with backgrounds, but I can't seem to find the coding for the thank system. Does anyone know where this is?
|
#19
|
|||
|
|||
would this be the same idea/template edits for standard horizontal postbit style?
|
#20
|
|||
|
|||
thx
|
#21
|
|||
|
|||
Paul Sonny,
Here is the template which controls the post-bit for the Post Thanks hack. Can you tell me where to insert the coding in here? Code:
<div style="padding:$stylevar[cellpadding]px 0px 0px 0px"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="alt2" style="padding:0px"> <if condition="$post['post_thanks_amount'] == 1"> <strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong> <else /> <strong><phrase 1="$post[post_thanks_amount_formatted]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong> </if> </td> <if condition="$bbuserinfo['usergroupid'] == 6"> <td class="alt2" style="padding:0px" align="right" nowrap="nowrap"> <a href="post_thanks.php?do=post_thanks_remove_all&p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="post_thanks_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>); return false;"</if> rel="nofollow">$vbphrase[post_thanks_remove]</a> </td> </if> <if condition="$post['show_thanks_remove_option']"> <td class="alt2" style="padding:0px" align="right" nowrap="nowrap"> <a href="post_thanks.php?do=post_thanks_remove_user&p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="post_thanks_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>); return false;"</if> rel="nofollow">$vbphrase[post_thanks_remove_user]</a> </td> </if> </tr> <tr><td class="alt1" colspan="3"><div>$post[post_thanks_bit]</div></td></tr> </table> </div> |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|