Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-14-2009, 04:21 AM
stardotstar stardotstar is offline
 
Join Date: May 2008
Location: SYD, AU
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default quick postbit hints please

Hi guys,

I am struggling to get my postbit to do exactly what I want it to and am wrangling custom user profile fields mapped to images. What I want to be able to do is create a block based on their selections (or lack thereof)

The attachment shows four images on the right two columns of two rows. They are 120x90 and 120x30 per column so each column is 120x120. I will change these values as I get closer to my idea fit for the graphics but in the mean time I want to be able to get rid of the gutter between the columns.

When playing around I have been having much confusion about how rows and columns work in the postbit and I am far from comfortable with the html that implements it.

Here is what puts what I have:

Code:
$template_hook[postbit_userinfo_left]
<td width="100%">
<!-- / helis and modes start -->
<if condition="$post[field10]"><img src="images/helicopters/$post[field10].gif"></if>
<if condition="$post[field7]"><img src="images/modes/$post[field7].gif"></if>
<!-- / helis and modes end -->
</td>
<td width="100%">
<!-- / motors start -->
<div>
<if condition="$post[field11]"><img src="images/motors/$post[field11].gif"></if>
</div>
<!-- / motors end -->
<!-- / radios start -->
<div>
<if condition="$post[field9]"><img src="images/radios/$post[field9].gif"></if>
</div>
<!-- / radios end -->
</td>
<td width="100%">
Note that I have a div between motors and radios but I have to remove it for helis and modes or the layout falls apart - I have no idea why (I am really groping around in the dark )

Do I call a different table type or set the tdclass, border or something within that code?
When they are hard up against each other I can form the graphics so that they weld and use blanks to ensure that the layout works if the user has not selected.

Thanks for help guys.
Will
Attached Images
File Type: jpg postbit.jpg (16.3 KB, 0 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:17 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.03201 seconds
  • Memory Usage 2,220KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_threadedmode.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete