Modification / Version: Newbie Notice v1
Description: This puts a notice box on the top of their first post so that new readers don't flame them for something obvious, but to cut them slack and provide them more care, and give them a warm welcome.
Working Under: Fusion 3.0
Modification Status: Beta
Pre-requisites:
Author(s): Stephen
Date: 11/26/08
Credits:
Files Altered: showtopic.php, templates/fusionbb/showto pic_p_row.ph
New Files:
Datebase Altered: no
Instructions / Other Info: in showtopic.php FIND:
Code:
$template->loadTemplate("showtopic_p_row");
ADD AFTER:
Code:
if ($post_data[$i]['info_total_posts'] == 1 ) {
$template->setTemplateVar("NEWBIE","<div align='center' class='color3'><b>This is a new member, and their 1st post!</b></div>");
}
in templates/fusionbb/showto pic_p_row.php FIND:
Code:
<td width='90%' valign='top'>
<!--EVENT-->
REPLACE WITH
Code:
<!--NEWBIE-->
<td width='90%' valign='top'>
<!--EVENT-->
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 Fusion code, you may be giving up your right for 'official' support from InteractivePHP, Inc..If you need official support, you'll need to restore unmodified files.
Edited by Stephen on 11-26-08 10:23 AM. Reason for edit: No reason given.