============================================================================================================================
Modification Title: Posts Since Last Visit

Version: 1.4

Author: John Briggs

Description: This modification will provide a way for your forum users to list all new threads and all new posts since their last visit.

Copyright:  2010 John Briggs. All rights reserved.
                                            
Compatability: XMB 1.9.5 SP1

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

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

Author Note:
You downloaded this modification from XMBGarage.com, the #1 source for XMB related downloads.
Please visit http://www.xmbgarage.com/ for support.
============================================================================================================================
=======
Step 1:
=======
=======================
Edit File: lang/English.lang.php
=======================
============================
Add Code To End Of File Above ?>
============================

// Posts Since Last Visit Mod Begin
$lang['nonewposts'] = "Sorry! There have be no new posts since your last visit.";
$lang['navnewposts'] = "Posts Since Last Visit";
// Posts Since Last Visit Mod End

============================================================================================================================
=======
Step 2:
=======
=================
Edit File: header.php
=================
==========
Find Code:
==========

// Today's posts-link
if ($SETTINGS['todaysposts'] == "on") {
    $links[] = "<img src=\"$imgdir/todays_posts.gif\" alt=\"$lang[alttodayposts]\" border=\"0\" /> <a href=\"today.php\"><font class=\"navtd\">$lang[navtodaysposts]</font></a>";
}

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

// New posts-link
if ($SETTINGS['todaysposts'] == 'on') {
    $links[] = '<img src="'.$THEME['imgdir'].'/todays_posts.gif" alt="'.$lang['navnewposts'].'" title="'.$lang['navnewposts'].'" border="0px" /> <a href="newposts.php"><font class="navtd">'.$lang['navnewposts'].'</font></a>';
}

============================================================================================================================
=======
Step 3:
=======

Upload "newposts.php" to forum directory.

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