How to add forum descriptions beyond ACP

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785

How to add forum descriptions beyond ACP

Postby morphius2 » Tue Nov 16, 2004 5:11 pm

Hi,
A few months ago Black Fluffy Lion helped me tremendously in learning how to put descriptions in the headers of my individual forums. I've since done a new install (v2.0.10), and have the Category Heirarchy mod (along with the yahoo and AIm online/offline mods) running on it.

I have been trying to add the descriptions as instructed, but for whatever reason they are not showing up. I am wondering if it has to do with the application of the subforums? I am not sure.

The only other thing I can think of is my ignorance with templates (this being the only time I have ever dealt with them..). I remember dealing with the viewforum.php file the last time but my memory with the template file is extremely vague at this point.

What I have in the template file is:
Code: Select all
<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 />
{FORUM_DESC}: {EXTRA_INFO}
<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>



Does that look right? Or have I done something wrong?

My only other question at this point would be how to get the subforums to show below the main forum on the page. I took a screenshot and scribbled what I was talking about..( figured a visual would be helpful) Can anyone help with this?

Thanks
- Morphius2
morphius2
Registered User
 
Posts: 98
Joined: Mon May 24, 2004 10:47 pm

Postby server-matrix » Tue Nov 16, 2004 5:31 pm

I do not have the hierarchy mod or that other header thing you were talking about, but this is my viewforum.tpl

Code: Select all
<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>
User avatar
server-matrix
Registered User
 
Posts: 392
Joined: Sun Jul 04, 2004 11:11 am
Location: England, UK

Postby morphius2 » Fri Nov 19, 2004 4:45 pm

Hi, thanks for answering.

I was wanting to know if I had the '{FORUM_DESC}: {EXTRA_INFO} ' parts were in the right place for what I was trying to do. I wanted the description under the forum name. The directions I had for the headers was what I had linked in my post, I thought if someone browsed over the other post they would know what I was trying to do, if that makes any sense :)
- Morphius2
morphius2
Registered User
 
Posts: 98
Joined: Mon May 24, 2004 10:47 pm


Return to 2.0.x Support Forum

Who is online

Users browsing this forum: No registered users and 15 guests