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

Reply
 
Thread Tools Display Modes
  #1  
Old 11-18-2005, 10:12 AM
G-Force 199's Avatar
G-Force 199 G-Force 199 is offline
 
Join Date: Nov 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Top & Bottom Category Table ?

I want to make a top & bottom category table. I tried hard but always display noncorrectly. How can I do this ?
Attached Images
File Type: jpg tnbcat.JPG (261.4 KB, 0 views)
Reply With Quote
  #2  
Old 11-18-2005, 11:59 AM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

In order to have the spacing, you need to use Zacharys forum space mod (unless another one has been released.)

That can be found here: https://vborg.vbsupport.ru/showthrea...tegory+Spacing

Install that First!

After that modification is installed, we need to create 2 custom class definitions:

ACP > Styles and Templates > Style Manager > Hit "GO"

Scroll down to the bottom where it says "Additional CSS Definitions". Edit the following code to meet your needs then add it and save it.

Code:
.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-->
Still in forumhome_forumbit_level1_nopost find: <div style="padding: 5px 5px 5px 5px;"></div>
(If you installed the "Spacing Contrib" that will be there!)

Add above:

Code:
<!--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 -->
Make sure you edit the above code to reflect the class name you created and the images name, height, and width.

Hope that helps.
Reply With Quote
  #3  
Old 11-18-2005, 12:23 PM
G-Force 199's Avatar
G-Force 199 G-Force 199 is offline
 
Join Date: Nov 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank for your help.
I tried it & it's alright.

But it's a space between the category table and the forum navigator.
How can I remove it ?
Attached Images
File Type: gif needhelp.GIF (9.6 KB, 0 views)
Reply With Quote
  #4  
Old 11-19-2005, 04:08 AM
krvaricp krvaricp is offline
 
Join Date: Oct 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look good. Thank iguanairs.
But i'm having a same problem withe G-Force 199
Reply With Quote
  #5  
Old 12-11-2005, 07:38 PM
Ryder620 Ryder620 is offline
 
Join Date: Nov 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have an extremely large space (the size of another category) between my header and forums... any suggestions?
Reply With Quote
  #6  
Old 12-13-2005, 09:30 AM
agiacosa agiacosa is offline
 
Join Date: Dec 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone? I'm having the same trouble.
Reply With Quote
  #7  
Old 12-20-2005, 10:05 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

To remove the space, scroll below the top images and look for a <br> or <br /> statement and remove it. That is most likely causing the space. If you cannot find one, you might have an extra <td> or</td> somewhere that isn't needed.

If you still have the problem, PM me on the site with an admin username and password and i will see what I can do about correcting it for you.
Reply With Quote
  #8  
Old 01-29-2006, 05:28 AM
Ryder620 Ryder620 is offline
 
Join Date: Nov 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,
Non of this is working
I have the same image below the cat image as I did before, It does load but above the table that was already there making two titles and two different cat tables...
When I remove the tbody, that goes away, and so does my forum spacing and there is still a good 5-10 pixels between the cat header and the actual forums.

Any help is much appreciated.
Attached Images
File Type: jpg catproblem.jpg (571.2 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 06:48 PM.


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.04277 seconds
  • Memory Usage 2,255KB
  • 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
  • (3)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
  • (3)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete