vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Postbit field designs (https://vborg.vbsupport.ru/showthread.php?t=148137)

killa101 05-25-2007 10:26 PM

Postbit field designs
 
1 Attachment(s)
Hey guys.

How do I make my postbit so that each field is in a separate coloured box? I have attached an image to show how I want my fields to look. How do I do this?

Thanks,
Jordan

kennethsia 05-25-2007 10:47 PM

depends on the skin and version i guess. i have that on auto coz of the skin. u can check at my forums as an Example. lol not advertising here. www.chaospixels.net/forum.

killa101 05-25-2007 10:50 PM

Yea. You have a skin made by extremepixels. This is something they do to all of their skins and is a nice touch. I want to know how to do it on mine.

kennethsia 05-25-2007 10:53 PM

get an extremepixels skin i guess. im sure its got something to do with the CSS. adding a small box or something.

Brandon Sheley 05-25-2007 11:19 PM

it's actually pretty easy

there are a few postbit mods around that will help you
I thought one was called "better looking postbit" but I couldn't find it.
it's either here or www.vbhackers.com

cheers

killa101 05-26-2007 12:09 AM

Thanks Loco. I found the "better looking postbit"

https://vborg.vbsupport.ru/showthread.php?t=124241

Unfortunately its not exactly what I wanted but I will keep looking.

Brandon Sheley 05-26-2007 12:32 AM

ya actually, that wasn't the one I was thinking of. Guess the name was something else..lol

There is a hack somewhere that has the postbit setup with the boxes around each field and I think it would work for what you want.

happy searching ey :p

Jibba Jabbas 05-26-2007 04:22 PM

Im also really in need of this "hack". I just want a plan an simple box around them like in that picture.

BrianGarcia 05-26-2007 05:26 PM

Quote:

Originally Posted by Jibba Jabbas (Post 1255066)
Im also really in need of this "hack". I just want a plan an simple box around them like in that picture.

Well what you can do is go to your Advanced CSS and add something like this:

#avatarboxbg {
background: #0000ff;
border: 1px solid #000;
}


You can add width, height, padding, and margin to get exactly what you want.

Then you find the code that you want a 'simple box' around and put this before it

<div id="avatarboxbg"> and then </div> at the end of the code.

Jibba Jabbas 05-26-2007 09:28 PM

Thanks ill give that a go now!

Edit: Ok it turned out aweful :(

Could someone maybe have a go at recreating the on in the picture on the first post, i would very much appreciate it!

Demon Child 05-27-2007 01:52 AM

yea.. an easier way would be to add a table to your post bit with out the tcat or with it.. then put the feild phrase inside the table there is a code for creating a table on this site

Jibba Jabbas 05-27-2007 08:29 AM

https://vborg.vbsupport.ru/showthrea...highlight=tags

Just change the background colour to what you want :D

sonichero 05-27-2007 01:54 PM

or....

Go into the postbit_legacy template, find all the if condition and then do as follows:

<if condition="$post['age']>
<tr>
<td class="thread">$vbphrase[age] : $post[age]</td>
</td>
</tr></if>

and just keep doing it for every if statement...

killa101 05-28-2007 08:43 PM

The one Jibba Jabbas posted did the trick. Easy to install, easy to modify. But you should change the border-right and border-bottom attributes to 2px. This will get it to look exactly like the one I posted above. (and of course you will need to change the colours to suit your boards).

ok this raised a new problem. I put the messenger icons in the boxes as well. But if a member does not have any messenger information filled out, it shows a blank box. I think the problem is that for the messenger icons, there is no <if> statement to say to hide this box if there are no messengers filled out. What to do?

Code:

<div class="postdata">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>

Dismounted 05-29-2007 08:16 AM

Code:

<if condition="$post[icqicon] OR $post[aimicon] OR $post[msnicon] OR $post[yahooicon] OR $post[skypeicon]"><div class="postdata">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div></if>


All times are GMT. The time now is 05: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
  • Page Generation 0.03077 seconds
  • Memory Usage 1,742KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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