FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  • Welcome
  • Guest

  • Sticky Articles
The free forums are now under new ownership, a full announcement will be made shortly
Better sub forum cosmetics
Page 1, 2  Next
 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> PhpBB2 General Support
View previous topic :: View next topic  
Author Message
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92800

Joined: 22 May 2005
Posts: 32194



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Thu May 31, 2007 4:43 am    Post subject: Better sub forum cosmetics  Reply with quote

I have highlighted in bold the typical changes.

This will give you the sub forums in a separate table.

An example of this is here:
http://forum.myfreeforum.org/forum21.php


<form method="post" action="{S_POST_DAYS_ACTION}">
 <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
 <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
 <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
</tr>
<tr>
 <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
 <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
 <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
</tr>
 </table>

<!-- IF S_SUBFORUMS  >0 -->
 <table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
<tr>
 <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;Sub Forums&nbsp;</th>

 <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
</tr>
<!-- BEGIN topicrow -->
<!-- IF topicrow.TOPIC_TYPE == "Sub-forum: "  -->
<tr>
 <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
 <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
{topicrow.GOTO_PAGE}</span></td>

 <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
</tr>
<!-- ENDIF -->
<!-- END topicrow -->

 </table>
<!-- ENDIF -->


<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
<tr>
 <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
 <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
 <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
 <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
 <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
</tr>
<!-- BEGIN topicrow -->
<!-- IF topicrow.TOPIC_TYPE != "Sub-forum: "  -->
<tr>
 <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
 <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
{topicrow.GOTO_PAGE}</span></td>
 <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
 <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
 <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
 <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
</tr>
<!-- ENDIF -->
<!-- END topicrow -->
<!-- BEGIN switch_no_topics -->
<tr>
 <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
</tr>
<!-- END switch_no_topics -->
<tr>
 <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;
<input type="submit" class="liteoption" value="{L_GO}" name="submit" />
</span></td>
</tr>
 </table>

 <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
<tr>
 <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
 <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
 <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
</td>
</tr>
<tr>
 <td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
</tr>
 </table>
</form>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr>
<td align="right">{JUMPBOX}</td>
 </tr>
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
<tr>
<td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
<tr>
<td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="19" height="18" /></td>
<td class="gensmall">{L_NEW_POSTS}</td>
<td>&nbsp;&nbsp;</td>
<td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="19" height="18" /></td>
<td class="gensmall">{L_NO_NEW_POSTS}</td>
<td>&nbsp;&nbsp;</td>
<td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="19" height="18" /></td>
<td class="gensmall">{L_ANNOUNCEMENT}</td>
</tr>
<tr>
<td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="19" height="18" /></td>
<td class="gensmall">{L_NEW_POSTS_HOT}</td>
<td>&nbsp;&nbsp;</td>
<td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="19" height="18" /></td>
<td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
<td>&nbsp;&nbsp;</td>
<td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="19" height="18" /></td>
<td class="gensmall">{L_STICKY}</td>
</tr>
<tr>
<td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
<td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
<td>&nbsp;&nbsp;</td>
<td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
<td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
</tr>
</table></td>
<td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
</tr>
</table>

 <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
<tr>
 <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
 <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
 <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
</td>
</tr>
<tr>
 <td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
</tr>
 </table>
</form>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr>
<td align="right">{JUMPBOX}</td>
 </tr>
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
<tr>
<td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
<tr>
<td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="19" height="18" /></td>
<td class="gensmall">{L_NEW_POSTS}</td>
<td>&nbsp;&nbsp;</td>

<td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="19" height="18" /></td>
<td class="gensmall">{L_NO_NEW_POSTS}</td>
<td>&nbsp;&nbsp;</td>
<td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="19" height="18" /></td>
<td class="gensmall">{L_ANNOUNCEMENT}</td>
</tr>
<tr>
<td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="19" height="18" /></td>
<td class="gensmall">{L_NEW_POSTS_HOT}</td>
<td>&nbsp;&nbsp;</td>
<td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="19" height="18" /></td>
<td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
<td>&nbsp;&nbsp;</td>
<td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="19" height="18" /></td>
<td class="gensmall">{L_STICKY}</td>
</tr>
<tr>
<td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
<td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
<td>&nbsp;&nbsp;</td>
<td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
<td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
</tr>
</table></td>
<td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
</tr>
</table>
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
Master Mathandal
Craftsman
Craftsman


Joined: 13 Sep 2006
Posts: 277



Add Karma

rated by 1 members
Add Comment
Show Comments


online/offline
PostPosted: Wed Jul 18, 2007 8:04 pm    Post subject: Reply with quote

What tpl file do we have to edit for this to work?


_________________
The Force United
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Sport Trac Owner's Club
Teacher
Teacher
FLAG

Virtual Cash: 90

Joined: 28 Aug 2006
Posts: 607


Location: Oregon, USA
Add Karma

rated by 7 members
Add Comment
Show Comments

Sport Trac Owner's Forum
online/offline
PostPosted: Wed Jul 18, 2007 8:06 pm    Post subject: Reply with quote

Howtodoit
_________________
Sport Trac Owner's Club
Back to top
View user's profile Send private message Visit poster's website
Celeste
Apprentice
Apprentice
FLAG

Virtual Cash: 1050

Joined: 17 Aug 2008
Posts: 103



Add Karma

rated by 0 members
Add Comment
Show Comments


online/offline
PostPosted: Sat Sep 06, 2008 2:27 am    Post subject: Reply with quote

An example of this is here:
http://forum.myfreeforum.org/forum8.php

Since this visual is no longer available, is there something else I could look at to see the end results please.  Thank-you!

http://apersianworld.myfastforum.org/
_________________
A World Of Cats Forum
Back to top
View user's profile Send private message
Viper
Moderator
Moderator
FLAG

Virtual Cash: 1480

Joined: 20 Sep 2005
Posts: 2012



Add Karma

rated by 6 members
Add Comment
Show Comments


online/offline
PostPosted: Sat Sep 06, 2008 3:04 pm    Post subject: Reply with quote

HERE.
Back to top
View user's profile Send private message
Celeste
Apprentice
Apprentice
FLAG

Virtual Cash: 1050

Joined: 17 Aug 2008
Posts: 103



Add Karma

rated by 0 members
Add Comment
Show Comments


online/offline
PostPosted: Sat Sep 06, 2008 3:11 pm    Post subject: Reply with quote

Thank you so much!
_________________
A World Of Cats Forum
Back to top
View user's profile Send private message
Gosu71
Teacher
Teacher
FLAG

Virtual Cash: 3520

Joined: 13 Nov 2005
Posts: 887


Location: Derbyshire, England
Add Karma

rated by 6 members
Add Comment
Show Comments


online/offline
PostPosted: Wed Jul 29, 2009 2:22 am    Post subject: Reply with quote

I followed Admin's instructions and had it done in minutes.

Great stuff.
_________________
Back to top
View user's profile Send private message
perthtruebluetwo
Craftsman
Craftsman
FLAG

Virtual Cash: 3150

Joined: 26 May 2007
Posts: 400



Add Karma

rated by 2 members
Add Comment
Show Comments


online/offline
PostPosted: Mon Aug 24, 2009 2:27 pm    Post subject: Reply with quote

Link to my forum is

http://rangersonlineloyal.myfastforum.org/

i have been trying to get this wee change working for the last few hours and im going no where.

i have followed your guide at the top exactly,
but nothing is changing at all, no seperation of announcements , stickies ect.

Now possibly im having a blonde moment here but i thought this was going to work out
like this hack on how to do it.
http://howtodoit.myfreeforum.org/...component=content&topicid=677

i have posted the changes i have made to my viewforum_body.tpl file but alas nothing.



Code:
<form method="post" action="{S_POST_DAYS_ACTION}">
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
   <tr>
     <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br /><span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}<br /><br />{LOGGED_IN_USER_LIST}</b></span></td>
     <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
   </tr>
   <tr>
     <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
     <td align="left" valign="middle" class="nav" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
     <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
   </tr>
  </table>
<!-- IF S_SUBFORUMS >0 -->
<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
<tr>
<th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;Sub Forums&nbsp;</th>

<th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
</tr>
<!-- BEGIN topicrow -->
<!-- IF topicrow.TOPIC_TYPE == "Sub-forum: " -->
<tr>
<td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
{topicrow.GOTO_PAGE}</span></td>

<td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
</tr>
<!-- ENDIF -->
<!-- END topicrow -->

</table>
<!-- ENDIF -->
  <table border="1" cellpadding="4" cellspacing="1" width="100%" class="forumline">
   <tr>
     <th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
     <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
     <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
     <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
     <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
   </tr>
   <!-- BEGIN topicrow -->
<!-- IF topicrow.TOPIC_TYPE != "Sub-forum: " -->
   <tr>
     <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="30" height="30" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
     <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
      {topicrow.GOTO_PAGE}</span></td>
     <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
     <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
     <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
     <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
   </tr>
<!-- ENDIF -->
   <!-- END topicrow -->
   <!-- BEGIN switch_no_topics -->
   <tr>
     <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
   </tr>
   <!-- END switch_no_topics -->
   <tr>
     <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp;
      <input type="submit" class="liteoption" value="{L_GO}" name="submit" />
      </span></td>
   </tr>
  </table>

  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
   <tr>
     <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
     <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
     <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
      </td>
   </tr>
   <tr>
     <td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
   </tr>
  </table>
</form>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
   <td align="right">{JUMPBOX}</td>
  </tr>
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
   <tr>
      <td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
         <tr>
            <td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="19" height="18" /></td>
            <td class="gensmall">{L_NEW_POSTS}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="19" height="18" /></td>
            <td class="gensmall">{L_NO_NEW_POSTS}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="30" height="30" /></td>
            <td class="gensmall">{L_ANNOUNCEMENT}</td>
         </tr>
         <tr>
            <td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="19" height="18" /></td>
            <td class="gensmall">{L_NEW_POSTS_HOT}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="19" height="18" /></td>
            <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="19" height="18" /></td>
            <td class="gensmall">{L_STICKY}</td>
         </tr>
         <tr>
            <td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
            <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
            <td>&nbsp;&nbsp;</td>
            <td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
            <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
         </tr>
      </table></td>
      <td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
   </tr>
</table>

_________________


Back to top
View user's profile Send private message
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92800

Joined: 22 May 2005
Posts: 32194



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Mon Aug 24, 2009 3:26 pm    Post subject: Reply with quote

Sometimes you have to make sure lines like:

<!-- IF S_SUBFORUMS >0 -->

are written

<!-- IF S_SUBFORUMS > 0 -->

I can't see that tbit is the howtodoit link you posted  
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
perthtruebluetwo
Craftsman
Craftsman
FLAG

Virtual Cash: 3150

Joined: 26 May 2007
Posts: 400



Add Karma

rated by 2 members
Add Comment
Show Comments


online/offline
PostPosted: Mon Aug 24, 2009 3:44 pm    Post subject: Reply with quote

admin (no pm's please) wrote:
Sometimes you have to make sure lines like:

<!-- IF S_SUBFORUMS >0 -->

are written

<!-- IF S_SUBFORUMS > 0 -->

I can't see that tbit is the howtodoit link you posted  
is there a numerical value that should be in place after the code above here,

what does the 0 represent,

is that the numeral i have to enter for stickies, announcements, global announcements ect, im just not picking this one up at all .
_________________


Back to top
View user's profile Send private message
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92800

Joined: 22 May 2005
Posts: 32194



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Mon Aug 24, 2009 3:46 pm    Post subject: Reply with quote

S_SUBFORUMS is the number of sub forums there are for that forum.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
perthtruebluetwo
Craftsman
Craftsman
FLAG

Virtual Cash: 3150

Joined: 26 May 2007
Posts: 400



Add Karma

rated by 2 members
Add Comment
Show Comments


online/offline
PostPosted: Mon Aug 24, 2009 4:17 pm    Post subject: Re: Better sub forum cosmetics Reply with quote

Sorry admin im just not getting this one.

i have to edit my viewforum_body.tpl to show the exact changes you have posted in bold above?

Because if this is the case it has changed nothing and ive tried it on 3 different templates,

it must be me.
_________________


Back to top
View user's profile Send private message
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92800

Joined: 22 May 2005
Posts: 32194



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Mon Aug 24, 2009 4:28 pm    Post subject: Reply with quote

Can you post a link to where we can see this. e.g. a forum with sub forums where you think you have edited the template.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
perthtruebluetwo
Craftsman
Craftsman
FLAG

Virtual Cash: 3150

Joined: 26 May 2007
Posts: 400



Add Karma

rated by 2 members
Add Comment
Show Comments


online/offline
PostPosted: Mon Aug 24, 2009 4:38 pm    Post subject: Reply with quote

admin (no pm's please) wrote:
Can you post a link to where we can see this. e.g. a forum with sub forums where you think you have edited the template.
This is possibly me pickin up the wrong thing here, what i am after is that the announcements and stickies are seperated from the normal posts in every catagory on my forum, doen that make sense.

i thought the guide above was just a case of editing the viewforum_body.tpl and every announcement and sticky would be seperted from normal posts in every section of the forum.

so i take it this will only work if i make sub forums?
_________________


Back to top
View user's profile Send private message
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92800

Joined: 22 May 2005
Posts: 32194



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Mon Aug 24, 2009 4:46 pm    Post subject: Reply with quote

Well this thread is about sub forum cosmetics in viewforum_body.tpl and the howtodoit guide is about index_body.tpl and separating category tables.

I think the discussion is getting very mixed up. One of the reasons we say:

Quote:

Keep it to one support question per thread, if you have another question start a new topic. This will help others using "search" to find answer



_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> PhpBB2 General Support All times are GMT
Page 1, 2  Next
Page 1 of 2
 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum