The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Boxes around user info
How does vBT get the boxes around the user information in the postbit?
Thanks. |
#2
|
||||
|
||||
I'm guessing tables.
|
#3
|
|||
|
|||
no you can use DIV :This is example:
Class: Quote:
Quote:
|
#4
|
||||
|
||||
Yep, it's done using a div class. This is the best way to do tables like that.
|
#5
|
||||
|
||||
*Ryan smacks hisself*
I'm an idiot. I forgot about div. |
#6
|
||||
|
||||
hmm i think this would be ok also..
hmm i think this would be ok also.. HTML Code:
.postbit { border: 1px solid #000000; background-color: #ffffff; } |
#7
|
|||
|
|||
Quote:
I just upgraded from vB2, so this something I havn't seen before. |
#8
|
||||
|
||||
DIV is used for many things, but for this, it is used to call a CSS class you have pre-set in your style settings. So putting something like <div class="postbit"> calls the CSS options for 'postbit'
You'd put the DIV code (as skinvb has posted above) in your postbit template. You'd put the code around each of the variables which call something like Join Date, or posts etc. placing the variable inbetween the code. |
#9
|
|||
|
|||
Quote:
|
#10
|
||||
|
||||
Sorry I wordered it like that. Skinvb gave an example of how it should look in the postbit template:
<div class="postbit">$vbphrase[join_date]: $post[joindate]</div> That is only for Join Date though. For something else, you'd take out: $vbphrase[join_date]: $post[joindate] and replace it with another profile field you'd like to put a box around. So, for example, posts. Hope that made it a little more clearer. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|