UBB.Dev
Template Mod Name: Move Moderator List to Forum Description
Works with: UBB.threads 6.x
Date: 9/27/02
Written up by: JoshPet
Credits to: AllenAyres, Bookie <= the real brains behind it.
                       & Rio for requesting the write up.

Description: This removes the moderator column and adds the list of moderators below a forum's description.

Files Modified: /templates/default/ubbthreads.tmpl

Notes: VERY simple template Mod.

Also attached as text file.

code:

##
## Open /templates/default/ubbthreads.tmpl
##


#
# Find and Remove this:
#

<td class="tdheader" align="center">
{$ubbt_lang['USER_MOD']}
</td>



#
# Find and Remove this:
#

<td width="10%" class="modcolumn" align="center">
{$forum[$c][$f]['modlist']}
</td>



#
# Find this:
#

<td class="forumdescript">
{$forum[$c][$f]['Description']}
</td>


#
# Change to this:
#

<td class="forumdescript">
{$forum[$c][$f]['Description']}
<br />
    <i>{$ubbt_lang['USER_MOD']}: {$forum[$c][$f]['modlist']}</i>
</td>


With the above I've chosen to slightly indent the moderator list and make it italic....
obviously, if you don't want the indent or the italic....

#
# Then change to this instead:
#

<td class="forumdescript">
{$forum[$c][$f]['Description']}
<br />
{$ubbt_lang['USER_MOD']}: {$forum[$c][$f]['modlist']}
</td>



Attached File
57816-ModListToForumDesc.txt  (96 downloads)
merci Josh
© UBB.Developers