![]() |
PS - Boxed Postbit Information & Centered Postbit
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 { 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: Code:
For Post Thank You Hack: Update: I have added another file "centered postbit" to help make everything appear centralised like shown in the demo. |
thnks.nice.
|
Nice hack.
need more sample on other div as well. thank you. |
how to get the exact same look like the demo ? its nice.
what item need to enable at the acp ? i am at default settings. thanks |
Quote:
If not can you please explain further? Thanks, Paul. |
Quote:
yes . everything in center and how to get the join date, locations, post, in position , is there some div to add in or select options in acp ? thanks |
In order to make everything in the postbit_legacy to appear centre i'm afraid it is not as simple of selecting an option in the AdminCP, you will have to edit the postbit_legacy.
I will put together another tutorial file to help make everything central and add it on. Thanks, Paul. |
Quote:
thanks Paul.:) |
I have added the centralised postbit file.
If you need any further help then please feel free to post. Thanks, Paul. |
Quote:
i could not get the post count in the list. whats the code ? the code u provide for join date only i guess? |
I have updated the the modification post and the download file for the post count.
Thanks, Paul. |
can u share how u get the location info on this ?
i try to find in the acp no success so far :erm: |
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. |
will it box the thanks count etc as well ?
THX |
It should yes if you edit the correct DIV tag for the Thanks Count.
Thanks, Paul. |
this is very simple n nice mod .
just add " div class="postinfo" " for the correct info need to be boxed. :) |
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?
|
would this be the same idea/template edits for standard horizontal postbit style?
|
thx
|
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"> |
yes it does work the same...lol
|
Quote:
find : Code:
<div>$post[post_thanks_bit]</div> Code:
<div class = "postinfo">$post[post_thanks_bit]</div> |
Please Mark As Installed
I have updated the modification and the download file to include the Post Thanks Hack. Thanks, Paul. |
Dude... i don't wanna be a jerk or something... but this is pretty much basic, don't ya' think?
I mean, 90% of the skins (except for the default one) have this. |
Yes this is very basic, I agree.
But not everyone, including me is not that advanced in coding and this provides a set by set walkthrough on how to do it which I think most people would appreciate. Unless you have more constructive comments I would suggest not posting in future. Thanks, Paul. |
I, for one, am glad there's finally a simple way to organize a post-bit. I'll click install right away. ;)
|
*installed*
thx, but who can i modify "Blog-Entries" in postbit_legacy? I cant´t found it, help me please. |
Quote:
|
Quote:
Quote:
Thanks for your support. Thanks, Paul. |
Very kewl, thanks for the neato hack :)
|
Sorry to be such a pain but the code change takes care of where it would say how thanked a post still nothing in the postbit
|
how can I get this box to the right side?When I activate legacy it is on the left side in the Forum. I found it better for readers if they could first see the content of the message and then the profile of the writer.
|
Quote:
|
How about images. The default vb skin will show images count from PhotoPost vBGallery any way to add this as well? http://www.localracechat.com/forums/...38&postcount=1
|
Quote:
Quote:
Thanks, Paul. |
Quote:
Code:
$template_hook[postbit_start] |
Images nor Thank you seems to be in that postbit_legacy. Can you please paste the postbit template instead i'll try that one.
Thanks, Paul. |
Here is my Postbit
Code:
$template_hook[postbit_start] Single Post http://www.localracechat.com/forums/...60&postcount=2 |
Are you sure that postbit_legacy and postbit is for that style?
Just their is nothing in their to suggest images or thank you. Thanks, Paul. |
Quote:
Code:
$template_hook[postbit_start] |
All times are GMT. The time now is 04:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|