MyBB Community Forums

Full Version: Messed up template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Here is the problem:

[Image: 30wnfye.jpg]

I looked at some other forum's with the game section plugin, and they were all perfect... Here is what they look like:

[Image: eb3ons.jpg]

Would it be possible for someone to fix up my template?

Here it is:

<br />
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['search_bar']}.gif" id="search_bar_img" class="expander" alt="[-]" /></div>
<strong>{$lang->search}</strong>
</td>
</tr>
</thead>
<tbody style="{$collapsed['search_bar_e']}" id="search_bar_e">
<tr>
<td class="trow1" valign="top">
<form method="get" action="games.php">
<input type="hidden" name="action" value="do_search" />
<strong>{$lang->name}: </strong>
<input type="text" class="textbox" name="s" value="" />
<strong>{$lang->description}: </strong>
<input type="text" class="textbox" name="des" value="" />
<strong>{$lang->category}: </strong>
<select name="cid">
<option value="">{$lang->all}</option>
{$search_cats}
</select>
<input type="submit" class="button" value="{$lang->search}" />
</form>
</td>
</tr>
</tbody>
</table>
Is your theme different from the theme on the other forum?
(2009-04-27, 01:28 AM)Snowman01 Wrote: [ -> ]Is your theme different from the theme on the other forum?

Yes it is but i don't know why that matters...?

I tried to view mine through the default theme and compare it to another forum using the default theme and there's was perfect while mine wasn't.
Have you tried updating the templates?

What is your forum URL?
(2009-04-27, 01:38 AM)Snowman01 Wrote: [ -> ]Have you tried updating the templates?

What is your forum URL?

http://flamesofsorrow.com/games.php

There is no option to update the game templates.
Try this:
<br />
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['search_bar']}.gif" id="search_bar_img" class="expander" alt="[-]" /></div>
<strong>{$lang->search}</strong>
</td>
</tr>
</thead>
<tbody style="{$collapsed['search_bar_e']}" id="search_bar_e">
<tr>
<td class="trow1" valign="top">
<form method="get" action="games.php">
<input type="hidden" name="action" value="do_search" />
<strong>{$lang->name}: </strong>
<input type="text" class="textbox" name="s" value="" style="margin-right: 10px" />
<strong>{$lang->description}: </strong>
<input type="text" class="textbox" name="des" value="" style="margin-right: 10px" />
<strong>{$lang->category}: </strong>
<select name="cid">
<option value="">{$lang->all}</option>
{$search_cats}
</select>
<input type="submit" class="button" value="{$lang->search}" style="margin-left: 10px" />
</form>
</td>
</tr>
</tbody>
</table>
(2009-04-27, 03:32 AM)Dennis Tsang Wrote: [ -> ]Try this:
<br />
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['search_bar']}.gif" id="search_bar_img" class="expander" alt="[-]" /></div>
<strong>{$lang->search}</strong>
</td>
</tr>
</thead>
<tbody style="{$collapsed['search_bar_e']}" id="search_bar_e">
<tr>
<td class="trow1" valign="top">
<form method="get" action="games.php">
<input type="hidden" name="action" value="do_search" />
<strong>{$lang->name}: </strong>
<input type="text" class="textbox" name="s" value="" style="margin-right: 10px" />
<strong>{$lang->description}: </strong>
<input type="text" class="textbox" name="des" value="" style="margin-right: 10px" />
<strong>{$lang->category}: </strong>
<select name="cid">
<option value="">{$lang->all}</option>
{$search_cats}
</select>
<input type="submit" class="button" value="{$lang->search}" style="margin-left: 10px" />
</form>
</td>
</tr>
</tbody>
</table>

That worked Big Grin