vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   BUG - category table generation (https://vborg.vbsupport.ru/showthread.php?t=216144)

Gladius2007 06-14-2009 04:43 PM

BUG - category table generation
 
If you have 7 or more categories, the last categories in the categories row at arcade.php main get squished and not properly spaced out like the previous ones. Basically, the automatic generation of that table is messed up because it gives each cell a width of 15%. Here's hoping for a fix in the next version because it looks crappy right now.

Basically, up to 6 categories, it looks nice like:

Code:

[  Cat 1  ][  Cat 2  ][  Cat 3  ][  Cat 4  ][  Cat 5  ][  Cat 6  ]
add more and you get:

Code:

[  Cat 1  ][  Cat 2  ][  Cat 3  ][  Cat 4  ][  Cat 5  ][  Cat 6  ][Cat 7][Cat 8]
etc.

MrZeropage 07-05-2009 07:06 AM

by now you can change this here:

open /arcade/skins/skin_Arcade.php

search for
Code:

function cat_cell($cat) {
global $ibforums;
return <<<EOF
 <td width="15%" class="alt1" align="center" style="font-weight: normal;">


Gladius2007 07-05-2009 11:00 AM

Thanks.


All times are GMT. The time now is 10:04 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.00967 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete