Beta-[6.3] Flat view for PM - 06/29/2004 1:06 AM
Mod Name / Version: Flat view for PM
Description: It displays PM in flat mode
Working Under: UBB.Threads 6.3
Mod Status: Beta
Any pre-requisites: none
Author(s): Slawek_L
Date: 06/28/04
Credits:
Files Altered: viewmessages.tmpl
New Files: viewmessagesflat.php
viewmessagesflat.tmpl
Database Altered: no
Info/Instructions: User PaNTerSan create srcipt for 6.4 veriosn, but it wouldn't work under 6.3, so I change orginal files for own.
-----------
Open viewmessages.tmpl
Find:
<td class="tdheader">
$ubbt_lang[$box]
</td>
change it for:
<td class="tdheader">
Viewing your $box messages in normal mode - <a href="{$config['phpurl']}/viewmessagesflat.php?Cat=$Cat&box=$box"> switch to flat mode</a>
</td>
Upload new files, and that all
Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
Description: It displays PM in flat mode
Working Under: UBB.Threads 6.3
Mod Status: Beta
Any pre-requisites: none
Author(s): Slawek_L
Date: 06/28/04
Credits:
Files Altered: viewmessages.tmpl
New Files: viewmessagesflat.php
viewmessagesflat.tmpl
Database Altered: no
Info/Instructions: User PaNTerSan create srcipt for 6.4 veriosn, but it wouldn't work under 6.3, so I change orginal files for own.
-----------
Open viewmessages.tmpl
Find:
<td class="tdheader">
$ubbt_lang[$box]
</td>
change it for:
<td class="tdheader">
Viewing your $box messages in normal mode - <a href="{$config['phpurl']}/viewmessagesflat.php?Cat=$Cat&box=$box"> switch to flat mode</a>
</td>
Upload new files, and that all
Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.