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.

Template Questions


 
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: Fri May 29, 2009 6:50 pm 
Post subject: Template Questions

Currently this is my site template!
http://rupturedcolors.com/the-forums/index.php

I want to be able to make the forums side-by side and to have categories apart from each other.

Another thing I really want is to be able to show a user's avatar on the side of the forum with the currencies they have.
Back to top
dogs and things
Board Member



Joined: 18 Nov 2008

Posts: 628
Location: Spain


flag
PostPosted: Sat May 30, 2009 1:59 am 
Post subject: Re: Template Questions

The other things I don't know but heere's how to separate categories:
Code:
#################################################################
## Mod Title: Separate Categories in index
## Mod Author: GHS - www.gamesmax.org
## Mod Version: 1.0.0
## Mod Description: MOD que separa as categorias de seu fórum deixando-as diferente do padrão usado no template subSilver
##
## Installation Level: Very Easy
## Installation Time: 2 minutes
##
## Files To Edit: 1
##   templates/subSilver/index_body.tpl
##
#################################################################

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/index_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr>
   <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
   <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
  <!-- BEGIN catrow -->
  <tr>
   <td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
   <td class="rowpic" colspan="3" align="right">&nbsp;</td>
  </tr>
  <!-- BEGIN forumrow -->
  <tr>
   <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
   <td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
     </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
     </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
   <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
   <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
   <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- END forumrow -->
  <!-- END catrow -->

#
#-----[ REPLACE WITH ]------------------------------------
#
  <!-- BEGIN catrow -->
  <center>
  <table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
    <tr>
   <th colspan="2" class="thTopForum" height="24" nowrap="nowrap">&nbsp;<a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a>&nbsp;</th>
   <th class="thTopForum" width="50" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
   <th class="thTopForum" width="50" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
   <th class="thTopForum" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
  <!-- BEGIN forumrow -->
<tr>
   <td class="row1" align="center" valign="middle" height="50">&nbsp;&nbsp;<img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="30" height="30" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />&nbsp;&nbsp;</td>
   <td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
     </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
     </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
   <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
   <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
   <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
<!-- END forumrow -->
</table></center>
<br />
  <!-- END catrow -->

#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------
#
#EoM


Possibly you will have to adapt this a bit for your template but that shouldn´t be difficult.

_________________
phpBB2 will never die, I hope!
Back to top
Rigged
Board Member



Joined: 29 May 2009

Posts: 11



PostPosted: Sat May 30, 2009 7:39 pm 
Post subject: Re: Template Questions

Thank you! icon_biggrin.gif
I guess I'll be patient for the other thing.
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 - 4 Hours
 
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.0380 seconds using 16 queries. (SQL 0.0079 Parse 0.0006 Other 0.0296)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo