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 04-21-2009, 10:19 PM
sicSRT8's Avatar
sicSRT8 sicSRT8 is offline
 
Join Date: Apr 2009
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Custom layout coding questions. Example Attached

I have some things i am trying to get clarified for my VB...

I made an example of what im trying to get done.

1. I am trying to make it so that the login box appears in top right over the image background header. I get this to work after replicating the code in the example but not sure if I have to change Javascript or if im placing my code in the wrong place. Will i need to edit and php files to make this happen?

I want to be able to login and still have my screen name and user cp, and posts links appear in this box once logged in.

2. I am trying to also replicate the table box with rounded corner images and bars. however again im not excatly sure where the code is supposed to be to appear for all tables. There is an image for each corner and an image for the bar going across. I can figure out how to place the corner images th bars are the easy part.

3. the girl image is actually a splice image and apears for each table. Obviously this is my example as Im piecing aspects of other forums together to get what i what with my design.
Im not new to coding but the whole vb editing and such is somewhat new but have done many updates and the like.

I can see the code on the example forums and tried figuring out where its placed but see foggy on how exactly and where its placed knowing that php with throw you off in view source.

Any help on these would be much appreciated and already have images I just dont know where to put code specifically in template css to make these things happen.
Attached Images
File Type: jpg example.jpg (59.9 KB, 0 views)
Reply With Quote
  #2  
Old 04-26-2009, 07:11 PM
napy8gen napy8gen is offline
 
Join Date: Jan 2006
Location: port ++++son
Posts: 519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can take out the login code from navbar template and place it in your desired place in your html layout.
style manager> style name> edit template>navbar & breadcrumb templates> navbar>

the category is using category spacing hack which you must first implement in 2 location in forumhome templates.Follow the mods here:
https://vborg.vbsupport.ru/showthread.php?t=204013
Reply With Quote
  #3  
Old 06-12-2009, 09:59 PM
sicSRT8's Avatar
sicSRT8 sicSRT8 is offline
 
Join Date: Apr 2009
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the attached image I am trying to get what I think is referred to as fluid design. From the posts I was reading thru it seems to be located in the Posbit Legacy area. When I look at a site that I am using as an example i can see this code for the area I am describing.

Code:
<table style="background: transparent url(/forums/images/topc2.gif) repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" border="0" cellpadding="0" cellspacing="0" width="100%">
  <tbody><tr>
    <td align="left" valign="top" width="73" height="19"><img src="/forums/images/misc/topc.gif" alt="" border="0" width="73" height="19"></td>
	
     <td align="right" valign="top" height="19"><img title=" " src="/images/catr.gif" alt=" " border="0" width="14" height="19"></td>
  </tr>
</tbody></table>
<table class="tcat" border="0" cellpadding="0" cellspacing="0" width="100%">
  <tbody><tr>
    <td align="left" valign="top" width="92" height="32"><img src="/images/catleft.gif" alt="" border="0" width="73" height="32"></td>
    <td class="tcat" align="left" valign="middle" width="100%">
That covers the category rounded edges and center stretch image. When I look at posbit I am not exactly sure where I should or how to edit this to work for all categories properly. Can you point me in the right direction or help me with it? To be more clear its the 3 images that make up the cheerleader bar area.
Reply With Quote
  #4  
Old 06-14-2009, 04:06 AM
sicSRT8's Avatar
sicSRT8 sicSRT8 is offline
 
Join Date: Apr 2009
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone?
Reply With Quote
  #5  
Old 06-16-2009, 01:53 AM
reas0n reas0n is offline
 
Join Date: Aug 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry i dont have an answer for you but im also having an issue in this area where do i put that code you posted?
Reply With Quote
  #6  
Old 06-16-2009, 02:48 AM
sicSRT8's Avatar
sicSRT8 sicSRT8 is offline
 
Join Date: Apr 2009
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to do the spacing mod first scroll up to Napy's post do those first then you enter the code in the templates section. I am posting a full guide on how once i get it figured out. I am having some gapping issues but once i resolve ill post the guide for everyone since there really isnt a full explanation to it.
Reply With Quote
  #7  
Old 06-16-2009, 04:10 AM
reas0n reas0n is offline
 
Join Date: Aug 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i know your gunna post a guide but in which templates section do i post that code?
Reply With Quote
  #8  
Old 06-16-2009, 03:39 PM
sicSRT8's Avatar
sicSRT8 sicSRT8 is offline
 
Join Date: Apr 2009
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What your asking for is here: Style Manager/edit templates/forum display templates/forumhome_forumbit_level1_nopost

Thats where I am editing mine. However it doesn't replace category topic image bar but just pushes it down. (Unless im coding this wrong)

Here is an example of what I am trying to recreate is http://www.chefclub.net I have the spacing down and working on the login area but cant for the life of me get the rounded look to my categories. I have the same number of images and trying to duplicate code to work for me but still having no luck.

Surely someone knows how to do this on this site. Where ever you are please help...
Reply With Quote
  #9  
Old 06-16-2009, 06:31 PM
reas0n reas0n is offline
 
Join Date: Aug 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got a code working on my forum only problem is, is the code i "borrowed" has html elements in it so i cant get MY forum stuff(category titles, last post, etc. etc.) to show up it only shows what i borrowed from the other page... which is making me kinda mad


this is the code i used if you want to take a look at it maybe you can figure out whats going on so the right scripts can be called up i put this in the FORUMHOME template

Code:
<!-- main -->
<!-- Categoty Top -->
<table border="0" cellpadding="0" cellspacing="0"  width="100%"  align="center">
  <tr>
    <td width="21" height="31" align="left" valign="top" style="background-image: url(images/IStv/cat/top_bg.png)"><img border="0" src="images/IStv/cat/top_left.png" width="21" height="31" alt="" /></td>
    <td  height="31" width="60%" align="left" valign="bottom" style="background-image: url(images/IStv/cat/top_bg.png)"><div class="category_title"><a href="forumdisplay.php?f=1"><b>Main Category</b></a>    </div></td>
    <td width="19" align="left" valign="middle"><img src="images/IStv/cat/top_end.png" alt="" width="19" height="31" border="0" /></td>
    <td  align="right" valign="top" style="background-image: url(images/IStv/cat/top_center.png)"><a style="float:right; padding-top: 9px;" href="#top" onclick="return toggle_collapse('forumbit_1')"><img id="collapseimg_forumbit_1" src="images/IStv/cat/collapse_tcat.gif" alt="" border="0" /></a></td>
    <td width="14" height="31" align="right" valign="top"><img border="0" src="images/IStv/cat/top_right.png" width="14" height="31" alt="" /></td>
  </tr>
</table>
<!-- /Categoty Top -->


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">


<tbody id="collapseobj_forumbit_1" style="">
<tr align="center">
      <td class="thead">&nbsp;</td>
      <td class="thead" width="100%" align="left">Forum</td>
      <td class="thead">&nbsp;&nbsp;&nbsp;Threads&nbsp;&nbsp;&nbsp;</td>
      <td class="thead">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Posts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
          </tr>
<tr align="center">
    <td class="alt2"><img src="images/IStv/statusicon/forum_old.gif" alt="" border="0" id="forum_statusicon_2" /></td>
    <td class="alt1Active" align="left" id="f2">
        <div>
        
<a style="float:right; padding-top: 9px;" href="#top" onclick="return toggle_collapse('forumbit_2')"><img id="collapseimg_forumbit_2" src="images/aria/buttons/collapse_lastpost.gif" alt="" border="0" /></a><a style="float:right; padding-top: 9px;" href="showthread.php?p=2139#post2139"><img  src="images/IStv/statusicon/lastpost_home.gif" alt="Go to last post" border="0" /></a>
            <a href="forumdisplay.php?f=2"><strong>Main Forum</strong></a>
            <span class="smallfont">(4 Viewing)</span>
        </div>
        <div class="smallfont">Main Forum Description</div>
        
        
         <div><div class="lastpost_spacer"></div>
<table width="100%"  border="0" cellpadding="4" cellspacing="0"  id="collapseobj_forumbit_2" class="lastpost_border" style=";">
     <tr>
    <td class="lastpost_inner_border"><div class="smallfont" align="left">
    <div style="float:right"> Today - 06:46 PM</div>
<div style="float:left; vertical-align: middle;"><img class="inlineimg" src="images/icons/icon1.gif" alt="" border="0" /> &nbsp;</div>




    
</div></td>
  </tr>
</table></div>
    </td>
<td class="alt1" width="80">1,906</td>
<td class="alt2" width="80">2,044</td>
</tr>




</tbody>
</table>



<!-- Bottom -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="12" align="left" valign="top"><img src="images/IStv/cat/blc.png" width="12" height="13" alt="" border="0" /></td>
        <td  width="100%" style="background-image:url(images/IStv/cat/bottom.png)"><img src="images/IStv/cat/clear.gif" width="100%" height="13" alt="" border="0" /></td>
        <td width="12" align="right" valign="top"><img src="images/IStv/cat/brc.png" width="12" height="13" alt="" border="0" /></td>
      </tr>
    </table>
 
  <!-- Bottom -->

<!-- /main -->

the stuff in red is what was inherited from the borrowed code

HERE is what it looks like on my page im assuming theres strings that should be calling in those parameters and not html or text
Reply With Quote
  #10  
Old 06-16-2009, 08:04 PM
sicSRT8's Avatar
sicSRT8 sicSRT8 is offline
 
Join Date: Apr 2009
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is what I am using to get the Forum info to show up. In the .css addition it contains the <PHP> trigger. So when you use the html code in the template forumhome/... it pulls from the css and the trigger. I am wondering if I should just house the info in the html... You are further along than me so when i get home later this evening Im going to re look at it.

.Your_Name_Top
{
background: #FFFFFF url(/path/to/pic.gif) repeat-x top left;
color: #000000;
font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}

.Your_Name_Bot
{
background: #FFFFFF url(/path/to/pic.gif) repeat-x top left;
color: #000000;
font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}

Next:

ACP > Styles and Templates > Style Manager > then click the "<<>>" and scroll down to "Forum Home Templates" > Forumhome_forumbit_level1_nopost.

(Edit the below code to reflect the class name you created and the image names, height, and width.)

At the top of forumhome_forumbit_level1_nopost add:

<code>
<!--Top Table Code-->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="" valign="top" width="" ><img src="/images/leftimage.gif" alt="" width="" height="" /> </td>
<td align="center" class="Your_Name_Top"><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<td width="" valign="top"><img src="/images/rightimage.gif" alt="" width="" height="" /></td>
</tr>
</table>
<!--/End Top Table Code-->
<code>

Still in forumhome_forumbit_level1_nopost find:

<div style="padding: 0px 0px 0px 0px;"></div> <----Located on the bottom.

Add Lower Table above the <div style:

<!--Lower Table -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="" height=""><img src="/images/leftbotimage.gif" alt="" width="" height="" /></td>
<td align="center" class="Your_Name_Bot">Text can go here or nothing at all.</td>
<td width="" height=""><img src="/images/rightbotimage.gif" alt="" width="" height="" /></td>
</tr>
</table>
<!--/End Lower Tables -->
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 05:19 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.04549 seconds
  • Memory Usage 2,298KB
  • Queries Executed 14 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete