vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   postibit_legacy box (https://vborg.vbsupport.ru/showthread.php?t=287622)

SPEEDKILLZ 09-08-2012 07:20 PM

postibit_legacy box
 
can some one tell me what you have to do to put a box around info in postbit legacy. here is the code

Code:

<vb:if condition="$post['field8']">
        <img src="images/icons/prestige/cod4/{vb:raw post.field8}.png"> <img src="images/icons/prestige/waw/{vb:raw post.field9}.png"> <img src="images/icons/prestige/mw2/{vb:raw post.field10}.gif"> <img src="images/icons/prestige/bo/{vb:raw post.field11}.png"> <img src="images/icons/prestige/mw3/{vb:raw post.field12}.png">
</vb:if>

website is www.chronicgamerz.com

stoute 09-08-2012 07:22 PM

you could always use a "table"

Code:

<vb:if condition="$post['field8']">
<table>
<tr>
<td>       
<img src="images/icons/prestige/cod4/{vb:raw post.field8}.png"> <img src="images/icons/prestige/waw/{vb:raw post.field9}.png"> <img src="images/icons/prestige/mw2/{vb:raw post.field10}.gif"> <img src="images/icons/prestige/bo/{vb:raw post.field11}.png"> <img src="images/icons/prestige/mw3/{vb:raw post.field12}.png">
</td>
</tr>
</table>
</vb:if>


SPEEDKILLZ 09-12-2012 07:10 AM

Thanks but that didn't work

qpurser 09-12-2012 07:48 AM

1 Attachment(s)
I did the following

used in the postbit_legacy:

Code:

<div class="bppostbit">
your code
</div>

added this to the additional.css:

Code:

.bppostbit {
margin-top: 2px;
padding: 3px;
background: url(images/SeamusLight/gradients/back6.png) top left repeat;
border: 1px solid #c4c4c4;
}

the background code is a small image I used to create a background inside each box. You can use also a color instead of a picture of course.
If you don't want any background just delete the "background" code.


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.00950 seconds
  • Memory Usage 1,717KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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