vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   How can I remove the main content? (https://vborg.vbsupport.ru/showthread.php?t=209074)

MarkFoster 03-22-2009 05:42 AM

How can I remove the main content?
 
I wish to remove everything above the games list accept for the tournaments, I can't seem to find any arcade templates so could anybody tell me where they are located?

Gemma 03-22-2009 10:08 AM

1 Attachment(s)
So you want to remove Latest Games, Newest Games, Latest Scores etc (something like the attached screenshot?)

Which arcade skin are you using - skin_Arcade.php or skin_v3arcade.php?

Either way you want to open either (or both skin files) and look for:

Code:

return <<<EOF
{$tourneyinfo['announcement']}<br />

You then want to start deleting the code that starts (it's just below {$tourneyinfo['announcement']}<br />):

Code:

<div class="tborder">
        <table width='100%' border="0" cellspacing="0" cellpadding="4">
                  <tr>
                        <td align="center" width="20%" nowrap="nowrap" class="tcat">&nbsp;</td>
                        <td align="center" width="60%" nowrap="nowrap" class="tcat">$totalstext</td>
                        <td align="center" width="20%" nowrap="nowrap" class="tcat">&nbsp;</td>
</tr>

Right the way dow to:

Code:

                                                        </tr>

                                                </table>
                                </div>

                </td>

                </tr>
</table>
    </div>

<br />

Which is just above the start of the tournament box code:

Code:

<div class="tborder">
        <table width='100%' border="0" cellspacing="1" cellpadding="4">
                        <tr>
                        <td align="center" width="100%" nowrap="nowrap" class="tcat">{$ibforums->lang['infobox_tourneytitle']}</td>
                        </tr>
            <tr>
                    <td class="alt1" colspan="2">
                                <table width="100%" border="1" cellspacing="1" cellpadding="1">
                                <tr>
                <td width='33%' align='center' nowrap='nowrap' class='alt1' valign='middle'>$attente<br />$actifs<br />$termine</td>
                <td width='33%' align='center' nowrap='nowrap' class='alt1' valign='middle'>{$mtinfo['participe']}<br />{$mtinfo['encourse']}<br />{$mtinfo['elimine']}<br />{$mtinfo['disqualifie']}</td>
                <td width='33%' align='center' nowrap='nowrap' class='alt1' valign='middle'><a href='{$ibforums->base_url}act=Arcade&amp;do=createtourney'><b>{$ibforums->lang['create_new_t']}</b></a></td>
                                </tr>
                                </table>
                </td>
            </tr>
    </table>
    </div>

Sorry I can't give the exact code to delete, my arcade skins are different from the original but look for

Code:

return <<<EOF
{$tourneyinfo['announcement']}<br />

and you will see where the rest of the 'main content' code follows. Remember to back-up any skins before editing :)


All times are GMT. The time now is 09:14 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.01120 seconds
  • Memory Usage 1,718KB
  • 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
  • (5)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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