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 07-22-2007, 07:26 PM
Arkidas Arkidas is offline
 
Join Date: Sep 2006
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Set width for thead ( Forum, Last Post, Threads etc )

Can I set this to a fixed width? Every one of them?
Reply With Quote
  #2  
Old 07-23-2007, 06:31 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you using separated categories?
Reply With Quote
  #3  
Old 07-23-2007, 12:43 PM
Arkidas Arkidas is offline
 
Join Date: Sep 2006
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes I am. Would you like me to post any of my templates here, to make sure it's done according to that?
Reply With Quote
  #4  
Old 07-24-2007, 10:25 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should edit the 'forumhome_level1_nopost' template. I could help you through that if you posted it up.
Reply With Quote
  #5  
Old 07-24-2007, 01:05 PM
Arkidas Arkidas is offline
 
Join Date: Sep 2006
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here I need to be able to set each one of them to a fixed width that is the very same pixels on every monitor because I need to put a background in each of the boxes.

HTML Code:
<table width="100%" border="0" cellpadding="0" cellspacing="0"  class="tcat">
  <tr>
    <td width="100%" align="left" valign="middle" class="tcat">
	
			
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><div style="margin-bottom:0x; padding-left:7px">$forum[title]</div></a>
			
			<if condition="$show['forumdescription']"><span class="smallfont">&nbsp; $forum[description]</span></if>
			<if condition="$show['subforums']"><span class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</span></if>
		
	
	</td>
     <td width="19" height="19" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="19" height="19" alt=" " border="0" /></td>
  </tr>
</table>

        
        
        

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
	  <td class="thead">&nbsp;</td>
	  <td class="thead" width="100%" align="$stylevar[left]"><img src="$stylevar[imgdir_misc]/forum.gif" alt="Forum"></td>
          <td class="thead" width="200"><img src="$stylevar[imgdir_misc]/last.gif" alt="Last Post"></td>
          <td class="thead"><img src="$stylevar[imgdir_misc]/threads.gif" alt="Threads"></td>
	  <td class="thead"><img src="$stylevar[imgdir_misc]/posts.gif" alt="Posts"></td>
	  <if condition="$vboptions[showmoderatorcolumn]">
	  <td class="thead">$vbphrase[moderator]</td>
	  </if>
	</tr>
$childforumbits
</tbody>
</if>
</table>
        <div class="spacer"></div>
Reply With Quote
  #6  
Old 07-25-2007, 05:34 PM
Arkidas Arkidas is offline
 
Join Date: Sep 2006
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump.
Reply With Quote
  #7  
Old 07-28-2007, 05:58 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm, did you manually apply the separated categories? Or did you use the hack?
Reply With Quote
  #8  
Old 07-28-2007, 11:08 PM
Arkidas Arkidas is offline
 
Join Date: Sep 2006
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The hack was used but I've done many edits. It'd be funny just to know how to apply it using the default hack version of this template. It's just that the values don't seem to really set the tables to a certain width, they always seem to go over the width when I measure a screenshot of my board. E.g. if I set the "last post" table to 175, it is in fact 195 pixels.
Reply With Quote
  #9  
Old 07-31-2007, 03:15 PM
Arkidas Arkidas is offline
 
Join Date: Sep 2006
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still need help bump.
Reply With Quote
  #10  
Old 08-01-2007, 06:02 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doing it the manual way would allow you easier control and it's possibly faster than using plugins.

http://www.vbulletin.com/forum/showthread.php?t=156783
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:27 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.04502 seconds
  • Memory Usage 2,256KB
  • Queries Executed 11 (?)
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
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (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_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