2011-07-26, 04:39 PM
Hi all
I was trying to merge the portal boxes to one box I have managed to add private messages,today's posts, new posts to portal_Welcome no problem but the search and whose online boxes appear to be more difficult
Regards Jim
I was trying to merge the portal boxes to one box I have managed to add private messages,today's posts, new posts to portal_Welcome no problem but the search and whose online boxes appear to be more difficult
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<if $mybb->user['uid'] then>
<td class="thead"><strong>At a Glance</strong></td>
</if>
</tr>
<tr>
<td class="trow1">
{$welcometext}<br>
<if $mybb->user['uid'] then>
<span class="smalltext">
<a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 350, 350);">{$lang->welcome_open_buddy_list}</a><br>
<a href="{$mybb->settings['bburl']}/private.php"><span class="smalltext">{$lang->welcome_pms} </a><span class="smalltext">{$lang->welcome_pms_usage}<br>
</if>
</td>
</tr>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->search_forums}</strong></td>
</tr>
<tr>
<td class="trow1" align="center">
<form method="post" action="{$mybb->settings['bburl']}/search.php">
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="showresults" value="threads" />
<input type="text" class="textbox" name="keywords" value="" />
{$gobutton}
</form><br />
<span class="smalltext">
(<a href="{$mybb->settings['bburl']}/search.php">{$lang->advanced_search}</a>)
</span>
</td>
</tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->online}</strong></td>
</tr>
<tr>
<td class="trow1">
<span class="smalltext">
{$lang->online_users}<br /><strong>»</strong> {$lang->online_counts}<br />{$onlinemembers}
</span>
</td>
</tr>
</table>
<br />
from this mod you get the search box but no go button and the online section just shows the variable names and not the variable contents I guess I have not closed a tag or something .. but I just can not see it, so if anyone can help it would be good ... to see the problem look at my poor effortRegards Jim