============================================================================================================================
Modification Title: Ignore Members

Version: 1.0

Author: Area51mafia

Last Updated: 3/29/10

Mod Description:
This modification will provide the ability to ignore a members posts on a user to user basis.
This modification will provide the ability to let Admin set a boardwide ignore on members.
This modification will provide the ability to let Admin choose if they wish members to be allowed to ignore staff.
This modification will provide the ability for members to choose if they wish an ignored members post to be replaced with a message saying they are ignored, or to just have the post not show.

Supported Version: XMB 1.9.5 SP1

Updated for 1.9.5 by: WormHole @ XMB Garage

Installation 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:
=======
==============================
Go To Admin Panel -> Insert Raw SQL
==============================

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

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

// Ignore Members Mod Begin
$lang['ignore_list'] = "Ignore List";
$lang['ignore_manager'] = "Open Ignore Manager";
$lang['ignore_nobody'] = "You Are Not Ignoring Anybody";
$lang['ignore_unignored'] = 'You have successfully removed <b>*MEMBER*</b> from your ignore list.';
$lang['ignore_notunignored'] = '<b>*MEMBER*</b> is not on your ignore list.';
$lang['ignore_ignored'] = 'You have successfully ignored <b>*MEMBER*</b>.';
$lang['ignore_notignored'] = '<b>*MEMBER*</b> is already on your ignore list.';
$lang['ignore_globalignored'] = 'You have successfully globally ignored <b>*MEMBER*</b>.';
$lang['ignore_notglobalignored'] = '<b>*MEMBER*</b> is already on the global ignore list.';
$lang['ignore_off'] = "The Ignore Member feature is currently offline";
$lang['ignore_link'] = "[Ignore]";
$lang['ignore_yourself'] = "You cannot ignore yourself";
$lang['ignore_status'] = "Ignore Status:";
$lang['ignore_globalignore'] = "Member to put on Global Ignore:";
$lang['ignore_ignore'] = "Ignore!";
$lang['ignore_globalignore_cp'] = "Globally Ignore User:";
$lang['ignore_globalignores_cp'] = "Globally Ignored Users:";
$lang['ignore_globaldeleted'] = "<b>*MEMBER*</b> has been removed from the global ignore list.";
$lang['ignore_globalignorelist'] = "Global Ignore Control";
$lang['ignore_noadmin'] = "You can not put an Administrator on Global Ignore.";
$lang['ignore_nomember'] = "That Member does not exist.";
$lang['ignore_staff'] = "Allow members to ignore staff?";
$lang['ignore_nostaff'] = "Staff are not allowed to be ignored at this time.";
$lang['ignore_onglobalig'] = "This user is on the global ignore list.";
$lang['ignore_onindig'] = "You are ignoring <b>*MEMBER*</b>, so you can not see their posts.";
$lang['ignore_tablemsg'] = "Would you like the ignored members posts to be replaced with a message saying they are ignored?";
// Ignore Member Mod End

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

,'forums'

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

,'forums','ignores'

============================================================================================================================
=======
Step 4:
=======
=================
Edit File: member.php
=================
==========
Find Code:
==========

        $useoldu2u     = (isset($useoldu2u) && $useoldu2u == 'yes') ? 'yes' : 'no';

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

        // Ignore Members Mod Begin
        $ignore_tablemsg = (isset($ignore_tablemsg) && $ignore_tablemsg == 'yes') ? 'yes' : 'no';
        // Ignore Members Mod End

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

        $db->query("INSERT INTO $table_members (uid,

=============================
Find Code In-Line In Above Statement:
=============================

) VALUES ('', '$username',

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

, ignore_tablemsg) VALUES ('', '$username',

==================================
Find Code At End Of Above Query Statement:
==================================

)");

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

, '$ignore_tablemsg')");

============================================================================================================================
=======
Step 5:
=======
===================
Edit File: editprofile.php
===================
==========
Find Code:
==========

    $eouchecked = '';
    if ($member['emailonu2u'] == 'yes') {
        $eouchecked = $cheHTML;
    }

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

    // Ignore Members Mod Begin
    $ignore_tablemsg_yes = $ignore_tablemsg_no = '';
    if ($member['ignore_tablemsg'] == 'yes') {
        $ignore_tablemsg_yes = $selHTML;
    } elseif ($member['ignore_tablemsg'] == 'no') {
        $ignore_tablemsg_no = $selHTML;
    }
    // Ignore Members Mod End

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

    $useoldu2u      = (isset($useoldu2u) && $useoldu2u == 'yes') ? 'yes' : 'no';

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

    // Ignore Members Mod Begin
    $ignore_tablemsg = (isset($ignore_tablemsg) && $ignore_tablemsg == 'yes') ? 'yes' : 'no';
    // Ignore Members Mod End

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

$db->query("UPDATE $table_members SET email='$email',

========================================
Find Code In-Line At End Of Above Query Statement:
========================================

 WHERE uid='".$member['uid']."'");

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

, ignore_tablemsg='$ignore_tablemsg' WHERE uid='".$member['uid']."'");

============================================================================================================================
=======
Step 6:
=======

=================
Edit File: memcp.php
=================
==========
Find Code:
==========

loadtemplates(

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

loadtemplates(
'ignore_list',
'ignore_list_none',
'memcp_home_ignores',
'error',

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

} elseif ($action == 'favorites') {

===============
Add Code Above:
===============

// Ignore Members Mod Begin
} elseif ($action == 'unignore') {
    if ($SETTINGS['ignore_status'] == 'on') {
        if (!isset($member)) {
            error($lang['nomember']);
        } else {
            $ignorequery = $db->query("SELECT * FROM $table_ignores WHERE whosignored='$member' AND whosignoring='$xmbuser' AND type='user'");
            if ($db->num_rows($ignorequery) != 0) {
                eval('echo ("'.template('header').'");');
                $db->query("DELETE FROM $table_ignores WHERE whosignored='$member' AND whosignoring='$xmbuser'");
                $unignoredtext = str_replace('*MEMBER*', $member, $lang['ignore_unignored']);
                echo "<center><span class=\"mediumtxt \">$unignoredtext</span></center>";
                redirect('memcp.php', 2, X_REDIRECT_JS);
            } else {
                $unignoredtext = str_replace('*MEMBER*', $member, $lang['ignore_notunignored']);
                error($unignoredtext, true,'','','memcp.php');
            }
        }
    } else {
        error($lang['ignore_off']);
    }
}
elseif ($action == 'ignore') {
    if ($SETTINGS['ignore_status'] == 'on') {
        if (!isset($member)) {
            error($lang['nomember']);
        } elseif ($member == $xmbuser) {
            error($lang['ignore_yourself']);
        } else {
            $statusquery = $db->query("SELECT status FROM $table_members WHERE username='$member'");
            $ignorestatus = $db->fetch_array($statusquery);
            if ($db->num_rows($statusquery) == 0) {
                error($lang['ignore_nomember'], true,'','','memcp.php');
            } else {
                if (($ignorestatus['status'] == "Super Administrator" || $ignorestatus['status'] == "Administrator" || $ignorestatus['status'] == "Super Moderator" || $ignorestatus['status'] == "Moderator") && $SETTINGS['ignore_staff'] == "off") {
                    error($lang['ignore_nostaff'], true,'','','memcp.php');
                } else {
                    $ignorequery = $db->query("SELECT * FROM $table_ignores WHERE whosignored='$member' AND whosignoring='$xmbuser' AND type='user'");
                    if ($db->num_rows($ignorequery) == "0") {
                        eval('echo ("'.template('header').'");');
                        $db->query("INSERT INTO $table_ignores (whosignoring, whosignored, type ) VALUES ('$xmbuser', '$member', 'user')");
                        $ignoredtext = str_replace('*MEMBER*', $member, $lang['ignore_ignored']);
                        echo "<center><span class=\"mediumtxt \">$ignoredtext</span></center>";
                        redirect('memcp.php', 2, X_REDIRECT_JS);
                    } else {
                        $ignoredtext = str_replace('*MEMBER*', $member, $lang['ignore_notignored']);
                        error($ignoredtext, true,'','','memcp.php');
                    }
                }
            }
        }
    } else {
        error($lang['ignore_off']);
    }
// Ignore Members Mod End

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

    $query = $db->query("SELECT * FROM $table_members WHERE username='$xmbuser'");

===============
Add Code Above:
===============

    // Ignore Members Mod Begin
    if ($SETTINGS['ignore_status'] == 'on') {
        $ignorequery = $db->query("SELECT * FROM $table_ignores WHERE whosignoring='$xmbuser'");
        $ignorelist = '';
        if ($db->num_rows($ignorequery) != 0) {
            while($ignore = $db->fetch_array($ignorequery)) {
                $delete = '<a href="memcp.php?action=unignore&member=' . rawurlencode($ignore['whosignored']) . '">' .  $lang['deletebutton'] . '</a>';
                $ignore['whosignored'] = '<a href="member.php?action=viewpro&amp;member=' . rawurlencode($ignore['whosignored']) . '">' . $ignore['whosignored'] . '</a>';
                eval('$ignorelist .= "'.template('ignore_list').'";');
            }
        } else {
            eval('$ignorelist = "'.template('ignore_list_none').'";');
        }
        eval('$ignores = "'.template('memcp_home_ignores').'";');
    } else {
        $ignores = '';
    }
    // Ignore Members Mod End

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

        $eouchecked = '';
        if ($member['emailonu2u'] == 'yes') {
            $eouchecked = $cheHTML;
        }

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

        // Ignore Members Mod Begin
        $ignore_tablemsg_yes = $ignore_tablemsg_no = '';
        if ($member['ignore_tablemsg'] == 'yes') {
            $ignore_tablemsg_yes = $selHTML;
        } elseif ($member['ignore_tablemsg'] == 'no') {
            $ignore_tablemsg_no = $selHTML;
        }
        // Ignore Members Mod End

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

        $useoldu2u      = (isset($useoldu2u) && $useoldu2u == 'yes') ? 'yes' : 'no';

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

        // Ignore Members Mod Begin
        $ignore_tablemsg = (isset($ignore_tablemsg) && $ignore_tablemsg == 'yes') ? 'yes' : 'no';
        // Ignore Members Mod End

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

$db->query("UPDATE $table_members SET $pwtxt

========================================
Find Code In-Line At End Of Above Query Statement:
========================================

 WHERE username='$xmbuser'");

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

, ignore_tablemsg='$ignore_tablemsg' WHERE username='$xmbuser'");

============================================================================================================================
=======
Step 7:
=======
===================
Edit File: viewthread.php
===================
==========
Find Code:
==========

AND p.tid='$tid'

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

AND p.tid = '$tid' $querypostsql

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

$querypost = $db->query("SELECT a.aid

===============
Add Code Above:
===============

    // Ignore Members Mod Begin
    if ($SETTINGS['ignore_status'] == 'on') {
        $typeignores = array();
        $allignores = array();
        if (!X_ADMIN) {
            if (X_GUEST) {
                $ignores = $db->query("SELECT whosignored, type FROM $table_ignores WHERE type='global'");
            } else {
                $ignores = $db->query("SELECT whosignored, type FROM $table_ignores WHERE (type='user' AND whosignoring='$xmbuser') OR (type='global')");
            }
        } else {
            $ignores = $db->query("SELECT whosignored, type FROM $table_ignores WHERE type='user' AND whosignoring='$xmbuser'");
        }
        while ($igs = $db->fetch_array($ignores)) {
            $whosignored = $igs['whosignored'];
            $typeignores[$whosignored] = $igs['type'];
        }
        $db->free_result($ignores);
        foreach ($typeignores as $name => $val) {
            $allignores[] = $name;
        }
        $allignores = array_unique($allignores);
        $allignores = implode("', '", $allignores);
        if ($self['ignore_tablemsg'] == 'yes' && !X_GUEST) {
            $querypostsql = '';
        } else {
            $querypostsql = "AND p.author NOT IN ('$allignores')";
        }
    } else {
        $querypostsql = '';
    }
    // Ignore Members Mod End

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

            if ($post['location'] != '') {
                $post['location'] = censor($post['location']);
                $location = '<br />'.$lang['textlocation'].' '.$post['location'];
            } else {
                $location = '';
            }

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

            // Ignore Members Mod Begin
            if ($SETTINGS['ignore_status'] == 'on' && $post['author'] != $xmbuser && X_MEMBER) {
                if (($post['status'] == "Super Administrator" || $post['status'] == "Administrator" || $post['status'] == "Super Moderator" || $post['status'] == "Moderator") && $SETTINGS['ignore_staff'] == "off") {
                    $ignorelink = '';
                } else {
                    $ignorelink = '<br /><center><a href="memcp.php?action=ignore&member='. $encodename .'"><strong>'.$lang['ignore_link'].'</strong></a></center>';
                }
            } else {
                $ignorelink = '';
            }
            // Ignore Members Mod End

==========
Find Code:
==========
            $location = '';
            $mood = '';

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

            // Ignore Members Mod Begin
            $ignorelink = '';
            // Ignore Members Mod End

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

        if (!$notexist) {
            eval('$posts .= "'.template('viewthread_post').'";');
        } else {
            eval('$posts .= "'.template('viewthread_invalid').'";');
        }

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

        // Ignore Members Mod Begin
        if ($SETTINGS['ignore_status'] == 'on' && isset($typeignores[$post['author']])) {
            if ($self['ignore_tablemsg'] == 'yes') {
                if ($typeignores[$post['author']] == 'global') {
                    eval('$posts .= "'.template('viewthread_post_ignore_global').'";');
                } else {
                    $memberignored = str_replace('*MEMBER*', $post['author'], $lang['ignore_onindig']);
                    eval('$posts .= "'.template('viewthread_post_ignore').'";');
                }
            } else {
                $post .= '';
            }
        } else {
            if (!$notexist) {
                eval('$posts .= "'.template('viewthread_post').'";');
            } else {
                eval('$posts .= "'.template('viewthread_invalid').'";');
            }
        }
        // Ignore Members Mod End

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

        $avchecked[0] = $avchecked[1] = $avchecked[2] = false;
        if (!empty($avatarlist)) {
            $avchecked[1] = true;
        } elseif (!empty($avataroff)) {
            $avchecked[2] = true;
        } else {
            $avchecked[0] = true;
        }

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

        // Ignore Members Mod Begin
        $ignore_status_on = $ignore_status_off = '';
        switch ($SETTINGS['ignore_status']) {
            case 'on':
                $ignore_status_on = $selHTML;
                break;
            default:
                $ignore_status_off = $selHTML;
                break;
        }

        $ignore_staff_on = $ignore_staff_off = '';
        switch ($SETTINGS['ignore_staff']) {
            case 'on':
                $ignore_staff_on = $selHTML;
                break;
            default:
                $ignore_staff_off = $selHTML;
                break;
        }
        // Ignore Members Mod End

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

        printsetting1($lang['reportpoststatus'], 'reportpostnew', $reportposton, $reportpostoff);

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

        // Ignore Members Mod Begin
        printsetting1($lang['ignore_status'], 'ignore_status_new', $ignore_status_on, $ignore_status_off);
        printsetting1($lang['ignore_staff'], 'ignore_staff_new', $ignore_staff_on, $ignore_staff_off);
        // Ignore Members Mod End

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

        $resetSigNew = ($resetSigNew == 'on') ? 'on' : 'off';

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

        // Ignore Members Mod Begin
        $ignore_status_new = ($ignore_status_new == 'on') ? 'on' : 'off';
        $ingore_staff_new = ($ignore_staff_new == 'on') ? 'on' : 'off';
        // Ignore Members Mod End

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

$db->query("UPDATE $table_settings SET

==============================
Find Code At End Of Above Statement:
==============================

");

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

, ignore_status='$ignore_status_new', ignore_staff='$ignore_staff_new'");

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

if ($action == "search") {

===============
Add Code Above:
===============

// Ignore Members Mod Begin
if ($action == 'globals') {
    if (!isset($_POST['ignore_submit']) && !isset($_POST['ignore_global']) && !isset($_GET['delete'])) {
        ?>
        <tr bgcolor="<?php echo $altbg2?>">
        <td>
        <form action="cp.php?action=globals" method="post">
        <table cellspacing="0" cellpadding="0" border="0" width="550" align="center">
        <tr>
        <td bgcolor="<?php echo $bordercolor?>">
        <table border="0" cellspacing="<?php echo $borderwidth?>" cellpadding="<?php echo $tablespace?>" width="100%">
        <?php
        $query = $db->query("SELECT * FROM $table_ignores WHERE type='global'");
        if ($db->num_rows($query) != 0) {
	?>
            <tr>
            <td class="category" colspan="2"><strong><font color="<?php echo $cattext?>"><?php echo $lang['ignore_globalignores_cp']?></font></strong></td>
            </tr>
            <?php
            while ($globals = $db->fetch_array($query)) {
            ?>
	        <tr class="tablerow">
                <td bgcolor="<?php echo $altbg1?>"><?php echo $globals['whosignored']?></td>
                <td bgcolor="<?php echo $altbg2?>"><a href="cp.php?action=globals&amp;delete=<?php echo rawurlencode($globals['whosignored'])?>"><?php echo $lang['deletebutton']?></a></td>
                </tr>
            <?php
            }
        }
        ?>
        <tr>
        <td class="category" colspan="2"><strong><font color="<?php echo $cattext?>"><?php echo $lang['ignore_globalignore_cp']?></font></strong></td>
        </tr>
        <tr class="tablerow">
        <td bgcolor="<?php echo $altbg1?>"><?php echo $lang['ignore_globalignore']?></td>
        <td bgcolor="<?php echo $altbg2?>"><input type="text" name="ignore_global" /></input></td>
        </tr>
        <tr>
        <td bgcolor="<?php echo $altbg2?>" class="tablerow" colspan="2" align="center"><input type="submit" class="submit" name="ignore_submit" value="<?php echo $lang['ignore_ignore']?>" /></td>
        </tr>
        </table>
        </td>
        </tr>
        </table>
        </form>
        </td>
        </tr>

    <?php
    } elseif (isset($_GET['delete'])) {
        $db->query("DELETE FROM $table_ignores WHERE whosignored='$_GET[delete]' AND type='global'");
        $globalignoredelete = str_replace('*MEMBER*', $_GET['delete'], $lang['ignore_globaldeleted']);
        echo "<tr bgcolor=\"$altbg2\"><td align=\"center\" class=\"tablerow\">$globalignoredelete</td></tr>";
        redirect('cp.php?action=globals', 2, X_REDIRECT_JS);
    } else {
        $statusquery = $db->query("SELECT status FROM $table_members WHERE username='$_POST[ignore_global]'");
        $ignorestatus = $db->fetch_array($statusquery);
        if ($db->num_rows($statusquery) == 0) {
            echo "<tr bgcolor=\"$altbg2\"><td align=\"center\" class=\"tablerow\">$lang[ignore_nomember]</td></tr>";
            redirect('cp.php?action=globals', 2, X_REDIRECT_JS);
        } else {
            if ($ignorestatus['status'] == "Super Administrator" || $ignorestatus['status'] == "Administrator") {
                echo "<tr bgcolor=\"$altbg2\"><td align=\"center\" class=\"tablerow\">$lang[ignore_noadmin]</td></tr>";
                redirect('cp.php?action=globals', 2, X_REDIRECT_JS);
            } else {
                $ignorequery = $db->query("SELECT * FROM $table_ignores WHERE whosignored='$_POST[ignore_global]' AND type='global'");
                if ($db->num_rows($ignorequery) == "0") {
                    $db->query("INSERT INTO $table_ignores (whosignoring, whosignored, type) VALUES ('', '$_POST[ignore_global]', 'global')");
                    $globalignoredtext = str_replace('*MEMBER*', $_POST['ignore_global'], $lang['ignore_globalignored']);
                    echo "<tr bgcolor=\"$altbg2\"><td align=\"center\" class=\"tablerow\">$globalignoredtext</td></tr>";
                    redirect('cp.php?action=globals', 2, X_REDIRECT_JS);
                } else {
                    $globalignoredtext = str_replace('*MEMBER*', $_POST['ignore_global'], $lang['ignore_notglobalignored']);
                    echo "<tr bgcolor=\"$altbg2\"><td align=\"center\" class=\"tablerow\">$globalignoredtext</td></tr>";
                    redirect('cp.php?action=globals', 2, X_REDIRECT_JS);
                }
            }
        }
    }
}
// Ignore Members Mod End

============================================================================================================================
=======
Step 9:
=======
===========================
Edit File: include/admin.user.inc.php
===========================
==========
Find Code:
==========

        global $table_forums, $table_favorites, $table_buddys, $table_u2u, $table_logs;

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

        // Ignore Members Mod Begin
        global $table_ignores;
        // Ignore Members Mod End

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

    &raquo;&nbsp;<a href="cp.php?action=ipban"><?php echo $lang['textipban']?></a><br />

===============
Add Code Above:
===============

    <!-- Ignore Members Mod Begin -->
    &raquo;&nbsp;<a href="cp.php?action=globals"><?php echo $lang['ignore_globalignorelist']?></a><br />
    <!-- Ignore Members Mod End -->

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

        $db->query("UPDATE $table_whosonline SET username='$userto' WHERE username='$userfrom'");

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

        // Ignore Members Mod Begin
        $db->query("UPDATE $table_ignores SET whosignoring='$userto' WHERE whosignoring='$userfrom'");
        $db->query("UPDATE $table_ignores SET whosignored='$userto' WHERE whosignored='$userfrom'");
        // Ignore Members Mod End

============================================================================================================================
=======
Step 10:
=======

==========================
Go To Admin Panel --> Templates
==========================
==================================
Create New Template: memcp_home_ignores
==================================
===========================
Add Code & Click Submit Changes
===========================

<br />
<table cellspacing="0" cellpadding="0" border="0" width="100%" align="center">
<tr>
<td bgcolor="$bordercolor">
<table border="0" cellspacing="$borderwidth" cellpadding="$tablespace" width="100%">
<tr>
<td class="category" colspan="2"><font color="$cattext"><strong>$lang[ignore_list]</strong></font></td>
</tr>
$ignorelist
</table>
</td>
</tr>
</table>

============================================================================================================================
========
Step 11:
========
==========================
Go To Admin Panel --> Templates
==========================
=========================

Create New Template: ignore_list
=========================
===========================
Add Code & Click Submit Changes
===========================

<tr class="tablerow">
<td bgcolor="$altbg1">$ignore[whosignored]</td>
<td bgcolor="$altbg1">$delete</td>
</tr>

============================================================================================================================
========
Step 12:
========
==========================
Go To Admin Panel --> Templates
==========================
=============================
Create New Template: ignore_list_none
=============================
===========================
Add Code & Click Submit Changes
===========================

<tr class="tablerow">
<td bgcolor="$altbg1">$lang[ignore_nobody]</td>
</tr>

============================================================================================================================
========
Step 13:
========

==========================
Go To Admin Panel --> Templates
==========================
==================================
Create New Template: viewthread_post_ignore
==================================
===========================
Add Code & Click Submit Changes
===========================

<tr class="tablerow">
<td colspan="8" bgcolor="$altbg1">$memberignored</td>
</tr>

============================================================================================================================
========
Step 14:
========
==========================
Go To Admin Panel --> Templates
==========================
=======================================

Create New Template: viewthread_post_ignore_global
=======================================
===========================
Add Code & Click Submit Changes
===========================

<tr class="tablerow">
<td colspan="8" bgcolor="$altbg1">$lang[ignore_onglobalig]</td>
</tr>

============================================================================================================================
========
Step 15:
========
==========================
Go To Admin Panel --> Templates
==========================
======================
Edit Template: memcp_home
======================
==========
Find Code:
==========

<td class="tablerow" bgcolor="$altbg2" align="center"><strong><a href="#" onclick="Popup('buddy.php', 'Window', 450, 400);">$lang[launchbuddylist]</a></strong></td>
</tr>
</table>
</td>
</tr>
</table>

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

$ignores

============================================================================================================================
========
Step 16:
========
==========================
Go To Admin Panel --> Templates
==========================
========================
Edit Template: viewthread_post
========================

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

$mood

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

$ignorelink

============================================================================================================================
========
Step 17:
========
==========================
Go To Admin Panel --> Templates
==========================
===========================
Edit Template: admintool_editprofile
===========================

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

<tr>
<td bgcolor="$altbg1" class="tablerow" width="22%">$lang[texttheme]</td>
<td bgcolor="$altbg2" class="tablerow">$themelist</td>
</tr>

===============
Add Code Above:
===============

<tr class="tablerow">
<td bgcolor="$altbg1" width="22%">$lang[ignore_tablemsg]</td>
<td bgcolor="$altbg2">
<select name="ignore_tablemsg">
<option value="yes" $ignore_tablemsg_yes>$lang[textyes]</option>
<option value="no" $ignore_tablemsg_no>$lang[textno]</option>
</select>
</td>
</tr>

============================================================================================================================
========
Step 18:
========

==========================
Go To Admin Panel --> Templates
==========================
=====================
Edit Template: member_reg
=====================
==========
Find Code:
==========

<tr>
<td bgcolor="$altbg1" class="tablerow" width="22%">$lang[texttheme]</td>
<td bgcolor="$altbg2" class="tablerow">$themelist</td>
</tr>

===============
Add Code Above:
===============

<tr class="tablerow">
<td bgcolor="$altbg1" width="22%">$lang[ignore_tablemsg]</td>
<td bgcolor="$altbg2">
<select name="ignore_tablemsg">
<option value="yes">$lang[textyes]</option>
<option value="no">$lang[textno]</option>
</select>
</td>
</tr>

============================================================================================================================
========
Step 19:
========
==========================
Go To Admin Panel --> Templates
==========================
=======================
Edit Template: memcp_profile
=======================
==========
Find Code:
==========

<tr>
<td bgcolor="$altbg1" class="tablerow" width="22%">$lang[texttheme]</td>
<td bgcolor="$altbg2" class="tablerow">$themelist</td>
</tr>

===============
Add Code Above:
===============

<tr class="tablerow">
<td bgcolor="$altbg1" width="22%">$lang[ignore_tablemsg]</td>
<td bgcolor="$altbg2">
<select name="ignore_tablemsg">
<option value="yes" $ignore_tablemsg_yes>$lang[textyes]</option>
<option value="no" $ignore_tablemsg_no>$lang[textno]</option>
</select>
</td>
</tr>

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