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 10-19-2007, 08:43 PM
mm00re mm00re is offline
 
Join Date: Oct 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Some template help please

Hi,

I am in the process of making a new skin for my forum which is migrating to vb after this weekend.

I am trying to re-arrange the locations of the user's join date, name, avatara, etc... when you are viewing a post. can anyone point me in the correct place to make such changes?

I am not afraid of html I just need a nudge in the right direction.

Thanks in advance!
Reply With Quote
  #2  
Old 10-19-2007, 08:54 PM
dyna88 dyna88 is offline
 
Join Date: Dec 2006
Location: Wisconsin
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The postbit or postbit legacy template
Reply With Quote
  #3  
Old 10-20-2007, 05:34 PM
mm00re mm00re is offline
 
Join Date: Oct 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that was just what I needed!

Is there a way for me to use an image as a border instead of just making it a single color?
Reply With Quote
  #4  
Old 10-20-2007, 06:07 PM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure. Where exactly did you want to have the image border?
Reply With Quote
  #5  
Old 10-20-2007, 07:49 PM
mm00re mm00re is offline
 
Join Date: Oct 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok in picture #1 here is my forum the way it currently stands and is in smf, I am moving it to vb as soon as I have my vb theme completed. picture #2 has the vb theme so far and I need to know how to put these left and right border images that are about 10-12 pixels wide on each side of the "page background"





Image #3 shows where I am at so far, but I am unsure of the way to get the border_left.gif file to show up.


Reply With Quote
  #6  
Old 10-21-2007, 03:37 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is your style fixed or fluid layout?
Reply With Quote
  #7  
Old 10-21-2007, 01:48 PM
mm00re mm00re is offline
 
Join Date: Oct 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The old layout was a fixed width, the new one is fluid.

I know that I can just use something like border-left: #000000;
Reply With Quote
  #8  
Old 10-21-2007, 08:50 PM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, there are several ways to do it but for fluid width try this:

In spacer_open template find:

Code:
<else />
<div align="center">
 <div class="page" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">

Add after:

Code:
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
                <td width="20px" nowrap="nowrap" style="background:#000000"></td>
                <td>

Save. Then go to spacer_close template and find:

Code:
<else />
  </div>

Add after:

Code:
                </td>
                <td width="20px" nowrap="nowrap" style="background:#000000"></td>
</tr>
</table>

Change "width="20px" to whatever you want. Also change the background value to:

Code:
background:#000000 url(path/to/background/image/.gif) repeat-y top left

Change the .gif to whatever image extension you're using.

Chances are that you'll have extra outborder width (space between border images and forum frame) so go to StyleVars and the 3rd option "Outer Border Width (pixels)" change the value to something smaller.

I tested it and it should work but you never know. Let me know how it goes.
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 06:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.15751 seconds
  • Memory Usage 2,230KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (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_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • 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
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete