phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

Forums Side by Side and a Side-Bar?


 
Search this topic... | Search General Support... | Search Box
Register or Login to Post    Index » General Support  Previous TopicPrint TopicNext Topic
Author Message
Rigged
Board Member



Joined: 29 May 2009

Posts: 11



PostPosted: Tue Jul 07, 2009 5:31 am 
Post subject: Forums Side by Side and a Side-Bar?

I've been wanting to do this for AWHILE but don't know enough HTML.
Just please.. Help me?

Here's my index_body.tpl html.

Code:
<table width="100%" cellspacing="1" cellpadding="1" border="0">
  <tr valign="top">
   <td nowrap="nowrap"><img src="templates/DAJ_Glass/images/nav.gif" border="0"></td>
   <td width="100%"><a href="{U_INDEX}" class="mainmenu">{L_INDEX}</a></td>
   <!-- BEGIN switch_user_logged_out -->
   <td align="right" nowrap="nowrap">
     <table cellspacing="0" cellpadding="0" border="0">
        <tr><form method="post" action="{S_LOGIN_ACTION}">
        <td align="center" nowrap="nowrap">
        <span class="gensmall">{L_USERNAME}:
        <input class="post" type="text" name="username" size="10" />  {L_PASSWORD}:
        <input class="post" type="password" name="password" size="10" maxlength="32" /> 
        <!-- BEGIN switch_allow_autologin --> 
        <input type="hidden" checked="checked" name="autologin" />
        <!-- END switch_allow_autologin -->
        <input type="submit" class="newsbutton" name="login" value="{L_LOGIN}" /></span></td>
      </form></tr>
     </table>
   </td>
   <!-- END switch_user_logged_out -->
  </tr>
</table>

<!-- BEGIN switch_user_logged_out -->
<br />
<!-- END switch_user_logged_out -->

<table width="100%" cellspacing="1" cellpadding="1" border="0">
  <tr valign="bottom">
   <td><span class="gensmall">
   <!-- BEGIN switch_user_logged_in -->
   {LAST_VISIT_DATE}<br />
   <!-- END switch_user_logged_in -->
   {CURRENT_TIME}</span></td>
   <td align="right">
   <!-- BEGIN switch_user_logged_in -->
   <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
   <!-- END switch_user_logged_in -->
   <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
  </tr>
</table>

<table width="100%" cellspacing="0" cellpadding="0" class="forumline">
  <tr>
   <td height="25" nowrap="nowrap" class="row4"><span class="cattitle"> {SITE_DESCRIPTION}</span></td>
  </tr>
  <tr>
     <td colspan="3">
     <table width="100%" cellspacing="1" cellpadding="4" border="0">
        <tr align="center">
        <td height="20" nowrap="nowrap" class="row6"></td>
        <td width="100%" nowrap="nowrap" align="left" class="row6"><span class="mainmenu">{L_FORUM}</span></td>
        <td nowrap="nowrap" class="row6"><span class="mainmenu">  {L_TOPICS}  </span></td>
        <td nowrap="nowrap" class="row6"><span class="mainmenu">  {L_POSTS}  </span></td>
        <td nowrap="nowrap" align="right" class="row6"><span class="mainmenu">{L_LASTPOST}</span></td>
      </tr>
      <!-- BEGIN catrow -->
      <tr>
        <td height="20" colspan="2" nowrap="nowrap" class="row1"><a href="{catrow.U_VIEWCAT}" class="mainmenu">{catrow.CAT_DESC}</a></td>
        <td class="row1"></td>
        <td class="row1"></td>
        <td class="row1"></td>
      </tr>
      <!-- BEGIN forumrow -->
      <tr align="center" valign="middle">
        <td height="30" class="row7" nowrap="nowrap"><span class="mainmenu"> <img src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /> </span></td>
        <td align="left" class="row2"><span class="forumlink"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a></span><br />
        <span class="genmed">{catrow.forumrow.FORUM_DESC}</span><br />
        <span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
        </td>
        <td nowrap="nowrap" class="row7"><span class="gensmall"> {catrow.forumrow.TOPICS} </span></td>
        <td nowrap="nowrap" class="row7"><span class="gensmall"> {catrow.forumrow.POSTS} </span></td>
        <td nowrap="nowrap" align="right" class="row2"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
      </tr>
      <!-- END forumrow -->
        <!-- END catrow -->
     </table>
   </td>
  </tr>
</table>

<table width="100%" cellspacing="1" border="0" cellpadding="1">
  <tr>
   <td>
   <!-- BEGIN switch_user_logged_in -->
   <a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a>
   <!-- END switch_user_logged_in -->
   </td>
   <td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
  </tr>
</table>

<table width="100%" cellspacing="0" cellpadding="0" class="forumline">
  <tr>
   <td height="25" width="100%" nowrap="nowrap" class="row4"><span class="cattitle"> <a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
  </tr>
  <tr>
     <td>
     <table width="100%" cellspacing="1" cellpadding="3" border="0">
        <tr valign="middle">
        <td rowspan="2" align="center" nowrap="nowrap" class="row2"><span class="mainmenu"> <img src="templates/DAJ_Glass/images/whosonline.gif" border="0" alt="{L_WHO_IS_ONLINE}" /> </span></td>
        <td width="100%" class="row2"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span></td>
      </tr>
      <tr>
        <td class="row2"><span class="gensmall">{TOTAL_USERS_ONLINE}   [ {L_WHOSONLINE_ADMIN} ]   [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
      </tr>
     </table>
   </td>
  </tr>
</table>

<table width="100%" cellpadding="1" cellspacing="1" border="0">
  <tr>
   <td valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
  </tr>
</table>

<br clear="all" />

<table cellspacing="1" border="0" align="center" cellpadding="3">
  <tr>
   <td width="20" align="center"><img src="templates/DAJ_Glass/images/folder_new_big.gif" border="0" alt="{L_NEW_POSTS}" /></td>
   <td><span class="gensmall">{L_NEW_POSTS}</span></td>
   <td>  </td>
   <td width="20" align="center"><img src="templates/DAJ_Glass/images/folder_big.gif" border="0" alt="{L_NO_NEW_POSTS}" /></td>
   <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
   <td>  </td>
   <td width="20" align="center"><img src="templates/DAJ_Glass/images/folder_locked_big.gif" border="0" alt="{L_FORUM_LOCKED}" /></td>
   <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
  </tr>
</table>


I want to have forums showing SIDE BY SIDE

This has been done on a phpBB2 file called "Greentech
http://www.phpbbhacks.com/download/5418
Although I was it to be a LITTLE more customizable so I can edit some things like the CSS to make round corners and such.
Basically I want the forum's name and desc. under one div and then 2 more div images by thereselves, one for the top, and another for the bottom.

ALSO I want to have a sidebar where I can add basically anything!
I don't want it looking sloppy is all, I know how to add in php things into there myself, I just need to add in the user currency counts, avatars and post count. icon_biggrin.gif
Back to top
Acaria
Board Member



Joined: 20 Feb 2009

Posts: 238



PostPosted: Tue Jul 07, 2009 7:28 am 
Post subject: Re: Forums Side by Side and a Side-Bar?

See my post in this thread:

Link
Back to top
Display posts from previous:   
Register or Login to Post    Index » General Support  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0269 seconds using 15 queries. (SQL 0.0014 Parse 0.0008 Other 0.0246)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo