============================================================================================================================
Name: Member 0 Posts Notice

Version: 1.0

Author: Roxas (Source: Roxas-os.net)

Description:
This modification will display a message in the header of your forum until the member posts.
This notice will disappear after the member's first post is made.

Compatibility: XMB v1.9.5 SP1

License Note: This modification is released under the GPL License v3. A copy is provided with this software package.

Install Note: Before adding this modification to your forum you should back up all files related to this modification.

Templates:	header		
Files: header.php, English.lang.php

Author Notes:
This modification is developed and released for use with XMB 1.9.8 SP4 which is provided by XMBGarage.com.
Please backup your files, templates and database before installing this modification.
Neither XMB Garage nor the author can be held responsible if your board stops functioning properly due to you installing this modification.
============================================================================================================================
=======
Step 1:
=======
================
Edit File: header.php
================
============================
Add Code To End Of File Above  ?>
============================

// Member 0 Posts Notice Mod Begin
$nopostermsg = '';
// Check if the user is logged in.
if (X_MEMBER) {
// Make sure they didn't post, and if they did, don't show this.
    if ($self['postnum'] < 1) {
        // Print the error message
        // You are free to edit below this line.
        $posttbl = ("<table border=\"1\" cellpadding=\"$tablespace\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"$bordercolor\" width=\"100%\" align=\"center\"><tr><td class=\"category\" colspan=\"9\" align=\"center\"><font class=\"mainmenu\"><div align=\"center\">");
        $postsuf = ("</div></font></td></tr></table>");
        $nopostermsg =("$posttbl <strong>$lang[welcometo] $bbname! $lang[msgnopost] $postsuf");
    }
}
// Member 0 Posts Notice Mod End

============================================================================================================================
=======
Step 2:
=======
================
Edit File: English.lang.php:
================
============================
Add Code To End Of File Above  ?>
============================

// Member 0 Posts Notice Mod Begin
// These variables can be modified to what you want to say in the header message.
$lang['welcometo'] = "Welcome To";
$lang['msgnopost'] = "We look forward to your posts! This message will dissappear when your first post is made.";
// Member 0 Posts Notice Mod End

============================================================================================================================
=======
Step 3:
=======
===============================
Go To Administration Panel --> Templates
===============================
=================
Edit Template: header
================
==========
Find Code:
==========

<tr>
<td class="navtd">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="navtd"><font class="navtd">$links   $pluglink</font></td>
<td align="right"><a href="$siteurl"><font class="navtd">$lang[backto] <img src="$imgdir/home.gif" border="0" alt="$sitename" /></font></a></td>
</tr>
</table></td>
</tr>

===============
Add Code Below:
===============

$nopostermsg

============================================================================================================================
Enjoy!