vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   Category layout problem when few games in category. (https://vborg.vbsupport.ru/showthread.php?t=143371)

Black Tiger 03-28-2007 12:20 AM

Category layout problem when few games in category.
 
Have a problem when there are just 1 or 2 games in a category. Maybe it happens with 3 also I don't know.
You can have a look how at it here: http://www dot satellitefun dot org/bbs/arcade.php?&act=Arcade&cat=4

How more games come into that category, how better it looks, but is there no way to fix this layout problem when having only few games in a category?

MrZeropage 03-28-2007 05:46 AM

you can setup in the arcade main settings how many games to show per row. If there are less at all to show, this is a problem. Maybe you try the alternative v3-style as this one shows the games in rows (one per row)

Black Tiger 03-28-2007 02:25 PM

I don't like the v3-Style very much. The ibpro style is much better.
In that case I have to put more games in the puzzle section to fix the problem.

However I discovered 1 other little problem with the layout.
Alle text is centered even when only 1 game is present.
But 1 line "add to favorites" is centered in relation to the whole block, not like the "play game" and "show High scores" text.

It would be nicer if it was possible the center this "add to favorites" too in the same way as the other 3 lines instead of how it is centered now.
Is that possible?

MrZeropage 03-28-2007 06:07 PM

edit /arcade/skin/skin_Arcade.php ;)

Black Tiger 03-28-2007 06:14 PM

Thanks but i'm a noob in php, what should I change exactly?

MrZeropage 03-28-2007 06:32 PM

it's HTML you need to change :)


Sorry, not enought time by now to get through the skin and do cosmetical adaptions, maybe somebody else can help here ?

Black Tiger 03-28-2007 06:53 PM

Well when i do a search in that file the only thing responding to "favo" (from favorite) is the following:
Quote:

function favorites($game_list,$stylecolumns) {
global $ibforums;
return <<<EOF
<div class="tborder">
<table cellpadding="$stylecolumns" cellspacing="1" border="0" width="100%">
<tr>
<td class="thead" align="center" colspan="$stylecolumns">{$ibforums->lang['my_favs']}</td>
</tr>
{$game_list}
</table>
</div><br />
Does not really look html to me, but then again, I'm not that good in html either.:)

Would be nice if anybody else could help indeed, if you don't have time, it's not that big an issue.


All times are GMT. The time now is 10:46 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.01060 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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