Title: Copyright Notice v1.0

Author: John Briggs

Description:
This modification will provide an option in the admin panel settings to add your own text copyright in the footer of your forum.

Copyright:  2009 John Briggs. All rights reserved.

Compatability: XMB 1.9.11

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. A copy is provided with this software package.

=======================================================================================================================================
=======
Step 1:
=======
===================================
Go To Administration Panel --> Insert Raw SQL
===================================

Upload provided file named "SQL.txt" & click "Submit Changes" button.

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

        printsetting2($lang['adminemail'], 'adminemailnew', $SETTINGS['adminemail'], 50);

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

        // Copyright Notice Mod Begin
        printsetting2($lang['copyrightnotice'], 'copyrightnoticenew', $SETTINGS['copyrightnotice'], 50);
        // Copyright Notice Mod End

==========
Find Code:
==========

        $remoteimages = formOnOff('remoteimages');

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

        // Copyright Notice Mod Begin
        $copyrightnoticenew = postedVar('copyrightnoticenew');
        // Copyright Notice Mod End

==========
Find Code:
==========

        $sql = "UPDATE ".X_PREFIX."settings SET

================
Replace Code With:
================

        $sql = "UPDATE ".X_PREFIX."settings SET
            copyrightnotice='$copyrightnoticenew',

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

    // create forum jump
    if ($SETTINGS['quickjump_status'] == 'on') {
        $quickjump = forumJump();
    }

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

    // Copyright Notice Mod Begin
    // create copyright output
    $SETTINGS['copyrightnotice'] = stripslashes($SETTINGS['copyrightnotice']);
    // Copyright Notice Mod End

=======================================================================================================================================
=======
Step 4:
=======
==============================================
Go To Admin Panel -> Translations & Download Language File:
==============================================

===============
Edit Language File:
===============
==========================
Add Code At Very Bottom Of File:
==========================

// Copyright Notice Mod Begin
$lang['copyrightnotice'] = "Copyright Notice:<br /><small>This will display your copyright notice in the footer.</small>";
// Copyright Notice Mod End

============================================
Go To Admin Panel -> Translations & Upload Language File:
============================================
=======================================================================================================================================
=======
Step 5:
=======
==========================================
Go to admin panel -> Templates -> edit template-> footer
==========================================

==========
Find Code:
==========

<br />
$footerstuff[totaltime]
$footerstuff[querynum]
$footerstuff[phpsql]
$footerstuff[load]
$footerstuff[querydump]

================
Replace Code With:
================

<br />
$SETTINGS[copyrightnotice]
<br />
$footerstuff[totaltime]
$footerstuff[querynum]
$footerstuff[phpsql]
$footerstuff[load]
$footerstuff[querydump]

=======================================================================================================================================
Enjly!