Ignore Feature

Post your suggestions and feedback for the forum. You can also report a problem, troubleshoot an issue with forum functionality, or suggest new board topics.
Fenix
Junior Poster
Posts: 584
Joined: December 1st, 2010, 9:30 pm
Location: The Deadpool

Ignore Feature

Post by Fenix »

Hey Winston,

Would it be possible to have some type of ignore feature for members you don't like? Go to their profile and put them on an ignore list or something.
User avatar
Winston
Site Admin
Posts: 37774
Joined: August 18th, 2007, 6:16 am
Contact:

Post by Winston »

You can look around the profile screen, but I don't recall seeing any "ignore" button. If you want to avoid someone, just don't read their posts or threads, or just skip over them.
Check out my FUN video clips in Russia and SE Asia and Female Encounters of the Foreign Kind video series and Full Russia Trip Videos!

Join my Dating Site to meet thousands of legit foreign girls at low cost!

"It takes far less effort to find and move to the society that has what you want than it does to try to reconstruct an existing society to match your standards." - Harry Browne
DaRick
Freshman Poster
Posts: 296
Joined: August 2nd, 2010, 8:59 pm
Location: Brisbane, Queensland, AUS

Post by DaRick »

Winston, IMO, this would also wipe out trolls and 'devil's advocate' types.
LarryLaffer
Freshman Poster
Posts: 45
Joined: August 6th, 2011, 4:31 pm

Re: Ignore Feature

Post by LarryLaffer »

Phoenix Sosa wrote:Hey Winston,

Would it be possible to have some type of ignore feature for members you don't like? Go to their profile and put them on an ignore list or something.
Yes Phoenix, this is an excellent idea. Since Winston won't ban annoying members, it would be great if, when you logged into the site, all the posts made by people you didn't like wouldn't show. So if a member, lets call him veryannoyingperson, starts trying to sell stuff and is very irritating and negative, you can set your profile to ignore him. Then, any threads that veryannoyingperson started, as well as any posts that person made, would then be invisible. That would be a very nice feature to have.
Hook
Freshman Poster
Posts: 235
Joined: April 11th, 2011, 9:27 pm
Location: Utah

Post by Hook »

I agree. Winston, if you look online, there are many ignore scripts out there that interface with phpBB. Also phpBB 3 apparently has an ignore feature.

I think ignore would be better than banning people most of the time.
fschmidt
Elite Upper Class Poster
Posts: 3470
Joined: May 18th, 2008, 1:16 am
Location: El Paso, TX
Contact:

Post by fschmidt »

I would also like this feature.
User avatar
Winston
Site Admin
Posts: 37774
Joined: August 18th, 2007, 6:16 am
Contact:

Post by Winston »

I'll look at the phpbb2 hacks website and see if they have a mod that will do that.
Check out my FUN video clips in Russia and SE Asia and Female Encounters of the Foreign Kind video series and Full Russia Trip Videos!

Join my Dating Site to meet thousands of legit foreign girls at low cost!

"It takes far less effort to find and move to the society that has what you want than it does to try to reconstruct an existing society to match your standards." - Harry Browne
User avatar
Winston
Site Admin
Posts: 37774
Joined: August 18th, 2007, 6:16 am
Contact:

Post by Winston »

Ok guys, I found a phpbb2 mod from phpbbhacks.com that installs an ignore feature here in the forum. However, as you can see in the instructions below, it's a pain in the ass and involves creating a table in the SQL database of this forum, which I'd have to do from the Godaddy Admin Panel. Are you sure you guys really need this? Can't you just manually ignore someone you don't like, by scrolling through their posts?

Instructions for installing the ignore feature in this forum:

Code: Select all

############################################################## 
## Mod Title: Ignore Users Mod 
## Mod Version: 1.1.1 RELEASE
## Author: GunnerX <gunnerx> Romar Armas - www.gunnerx.net 
## Description: This Mod enables users to set up an ignore list.
##	The posts of the users in this list will be ignored and unseen.
##	Demo url at: http://www.gunnerx.net/phpBB21/
## 
## Installation Level: (advanced) 
## Installation Time: 30 Minutes 
## Files To Edit: language/lang_english/lang_main.php, 
##                     	includes/constants.php, 
##			includes/topic_review.php,
##			viewtopic.php
##			templates/subSilver/subSilver.cfg
##			templates/subSilver/viewtopic_body.tpl
## Included Files: ignore.php, ignore_body.tpl, icon_mini_ignore.gif, icon_ignore.gif
############################################################## 
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/ 
############################################################## 
############################################################## 
## Author Note:  
##	v1.1.1 Minor bug fix in viewtopic.php
##	v1.1.0 New updated version with more functions
##  	v1.0.0 Release: I have added functionality in the viewtopic to add a poster
##	to the ignore list.  Also fixed a bug which allowed users to be listed
##	multiple times.
##      BETA: I did not add instructions as to where you would like to put the link
##	to the ignore.php function.  You can add the link anywhere you would like.
##	Examples are: Top menu links, inside the profile.php or inside each post.
##	It really is up to you.  I placed it on the top menu.
## 
############################################################## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 

# 
#-----[ COPY IMAGES ]------------------------------------------ 
# 
copy icon_mini_ignore.gif to templates/subSilver/images/icon_mini_ignore.gif
copy icon_ignore.gif to templates/subSilver/images/icon_ignore.gif
copy icon_ignore.gif to templates/subSilver/images/lang_english/icon_ignore.gif

# 
#-----[ COPY FILES ]------------------------------------------ 
# 
copy ignore.php to ignore.php 
copy ignore_body.tpl to templates/subSilver/ignore_body.tpl

# 
#-----[ CREATE TABLE ]------------------------------------------ 
# 
CREATE TABLE phpbb_ignore (
  user_id mediumint(8) NOT NULL default '0',
  user_ignore mediumint(8) NOT NULL default '0'
) TYPE=MyISAM;

# 
#-----[ OPEN ]------------------------------------------ 
#
language/lang_english/lang_main.php

# 
#-----[ FIND ]------------------------------------------ 
# 
//
// That's all Folks!
// -------------------------------------------------

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
# 
//
// Ignore User Function
//
$lang['Ignore_list'] = "Ignore Function";
$lang['Ignore_users'] = "These Users are in your Ignore List";
$lang['Ignore_add'] = "Add User to Ignore List";
$lang['Ignore_delete'] = "Remove User from Ignore List";
$lang['Ignore_added'] = "User added to Ignore List";
$lang['Ignore_deleted'] = "User removed from Ignore List";
$lang['Ignore_submit'] = "Ignore User";
$lang['Ignore_exists'] = "User is Already on Ignore List";
$lang['Click_return_ignore'] = "Click %sHERE%s to return to the Ignore Page";
$lang['Ignore_user_warn'] = "You cannot Ignore Yourself!!!";
$lang['Post_user_ignored'] = "You have added this person to your <b>Ignore List</b>.";
$lang['Click_view_ignore'] = "Click %sHERE%s to view this post.";

# 
#-----[ OPEN ]------------------------------------------ 
#
includes/constants.php

# 
#-----[ FIND ]------------------------------------------ 
#
define('PAGE_GROUPCP', -11);

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
define('PAGE_IGNORE', -12);

# 
#-----[ FIND ]------------------------------------------ 
#
define('GROUPS_TABLE', $table_prefix.'groups');

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
define('IGNORE_TABLE', $table_prefix.'ignore');

# 
#-----[ OPEN ]------------------------------------------ 
#
includes/topic_review.php

# 
#-----[ FIND ]------------------------------------------ 
#
//
// Go ahead and pull all data for this topic
//
$sql = "SELECT u.username, u.user_id, p.*,  pt.post_text, pt.post_subject, pt.bbcode_uid
        FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt
        WHERE p.topic_id = $topic_id
                AND p.poster_id = u.user_id
                AND p.post_id = pt.post_id
        ORDER BY p.post_time DESC
        LIMIT " . $board_config['posts_per_page'];

# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
//
// Go ahead and pull all data for this topic
//
$sql = "SELECT u.username, u.user_id, u.user_level, p.*,  pt.post_text, pt.post_subject, pt.bbcode_uid
        FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt
        WHERE p.topic_id = $topic_id
                AND p.poster_id = u.user_id
                AND p.post_id = pt.post_id
        ORDER BY p.post_time DESC
        LIMIT " . $board_config['posts_per_page'];

# 
#-----[ FIND ]------------------------------------------ 
#
//
// Okay, let's do the loop, yeah come on baby let's do the loop
// and it goes like this ...
//

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
$user_id = $userdata['user_id'];

# 
#-----[ FIND ]------------------------------------------ 
#
$poster_id = $row['user_id'];

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
		    if ( $user_id != ANONYMOUS )
                    {
                        $sql = "SELECT user_ignore
                                FROM " . IGNORE_TABLE . "
                                WHERE user_id = $user_id
                                    AND user_ignore = $poster_id";
                        if( !$res = $db->sql_query($sql))
                        {
                                message_die(GENERAL_ERROR, 'Could not get data from ignore table', __LINE__, __FILE__, $sql);
                        }
                    }

                    if(($db->sql_numrows($res) == 0) || ($user_id == ANONYMOUS) || ($row['user_level'] == ADMIN) || ($row['user_level'] == MOD))
                    {



# 
#-----[ FIND ]------------------------------------------ 
#
                }
                while ( $row = $db->sql_fetchrow($result) );

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#
		    }


# 
#-----[ OPEN ]------------------------------------------ 
#
viewtopic.php

# 
#-----[ FIND ]------------------------------------------ 
#
$start = ( isset($HTTP_GET_VARS['start']) ) ? intval($HTTP_GET_VARS['start']) : 0;

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
if ( !isset($bypass) )
{
        $post_bypass = 0;
}
else
{
        $post_bypass = $bypass;
}

# 
#-----[ FIND ]------------------------------------------ 
#
$sql = "SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, p.*,  pt.post_text, pt.post_subject, pt.bbcode_uid
        FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt
        WHERE p.topic_id = $topic_id
                $limit_posts_time
                AND pt.post_id = p.post_id
                AND u.user_id = p.poster_id
        ORDER BY p.post_time $post_time_order
        LIMIT $start, ".$board_config['posts_per_page'];


# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
$sql = "SELECT u.username, u.user_id, u.user_level, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, p.*,  pt.post_text, pt.post_subject, pt.bbcode_uid
        FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt
        WHERE p.topic_id = $topic_id
                $limit_posts_time
                AND pt.post_id = p.post_id
                AND u.user_id = p.poster_id
        ORDER BY p.post_time $post_time_order
        LIMIT $start, ".$board_config['posts_per_page'];

# 
#-----[ FIND ]------------------------------------------ 
#
for($i = 0; $i <total_posts>sql_query($sql))
        {
           message_die(GENERAL_ERROR, 'Could not get data from ignore table', __LINE__, __FILE__, $sql);
        }
        $post_ignored = $db->sql_numrows($result);
  }
  else
  {
        $post_ignored = 0;
  }

        $counter++;

# 
#-----[ FIND ]------------------------------------------ 
#
        $poster = ( $poster_id == ANONYMOUS ) ? $lang['Guest'] : $postrow[$i]['username'];

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
    if (( $post_ignored > 0 ) && ( $poster_id != ANONYMOUS ) && ( $post_bypass != $postrow[$i]['post_id'] ) && ($postrow[$i]['user_level'] != ADMIN) && ($postrow[$i]['user_level'] != MOD))
    {

        $post_date = create_date($board_config['default_dateformat'], $postrow[$i]['post_time'], $board_config['board_timezone']);

        //
        // Define the little post icon
        //
        if ( $userdata['session_logged_in'] && $postrow[$i]['post_time'] > $userdata['user_lastvisit'] && $postrow[$i]['post_time'] > $topic_last_read )
        {
                $mini_post_img = $images['icon_minipost_new'];
                $mini_post_alt = $lang['New_post'];
        }
        else
        {
                $mini_post_img = $images['icon_minipost'];
                $mini_post_alt = $lang['Post'];
        }

        $message = $lang['Post_user_ignored'] . ' ' . sprintf($lang['Click_view_ignore'], '<a>', '</a>');

	$ignore = '';

        $poster_rank = '';
        $rank_image = '';
        $poster_joined = '';
        $poster_posts = '';
        $poster_from = '';
        $poster_avatar = '';
        $poster_member = '';
        $post_subject = '';

        $user_sig = '';
        $l_edited_by = '';

        $mini_post_img = '';
        $search_img = '';
        $search = '';

        $edit_img = '';
        $edit = '';
        $quote_img = '';
        $quote = '';
        $ip_img = '';
        $ip = '';

        $delpost_img = '';
        $delpost = '';

        $profile_img = '';
        $profile = '';
        $pm_img = '';
        $pm = '';
        $email_img = '';
        $email = '';
        $www_img = '';
        $www = '';
        $icq_status_img = '';
        $icq_img = '';
        $icq = '';
        $aim_img = '';
        $aim = '';
        $msn_img = '';
        $msn = '';
        $yim_img = '';
        $yim = '';

    }
    else
    {

# 
#-----[ FIND ]------------------------------------------ 
#
                $temp_url = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$poster_id");
                $profile_img = '<a><img></a>';

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#
                $temp_url = append_sid("ignore.$phpEx?mode=add&username=$poster&topic=$topic_id");
                $ignore = '<a><img></a>';


# 
#-----[ FIND ]------------------------------------------ 
#
        }
        else
        {
                $profile_img = '';
                $profile = '';

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
                $ignore = '';


# 
#-----[ FIND ]------------------------------------------ 
#
        else
        {
                $l_edited_by = '';
        }


# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
    }

# 
#-----[ FIND ]------------------------------------------ 
#
        $row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
        $row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];


# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
        $row_color = ( !($counter % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
        $row_class = ( !($counter % 2) ) ? $theme['td_class1'] : $theme['td_class2'];

# 
#-----[ FIND ]------------------------------------------ 
#
                'MINI_POST_IMG' => $mini_post_img,
                'PROFILE_IMG' => $profile_img,
                'PROFILE' => $profile,

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
                'IGNORE' => $ignore,

# 
#-----[ OPEN ]------------------------------------------ 
#
templates/subSilver/viewtopic_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
#
                                <td>{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
                                <td>{postrow.IGNORE} {postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>

# 
#-----[ OPEN ]------------------------------------------ 
#
templates/subSilver/subSilver.cfg

# 
#-----[ FIND ]------------------------------------------ 
#
$images['icon_latest_reply'] = "$current_template_images/icon_latest_reply.gif";
$images['icon_newest_reply'] = "$current_template_images/icon_newest_reply.gif";

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
$images['icon_ignore'] = "$current_template_images/{LANG}/icon_ignore.gif";

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM
Check out my FUN video clips in Russia and SE Asia and Female Encounters of the Foreign Kind video series and Full Russia Trip Videos!

Join my Dating Site to meet thousands of legit foreign girls at low cost!

"It takes far less effort to find and move to the society that has what you want than it does to try to reconstruct an existing society to match your standards." - Harry Browne
User avatar
Winston
Site Admin
Posts: 37774
Joined: August 18th, 2007, 6:16 am
Contact:

Post by Winston »

GuitarGuy998 wrote:I think the fact that Winston doesn't ban these members is a good thing. Any idea should be able to stand up to scrutiny if it is a good one. Winston do you agree?
I guess. But some people can't manually ignore other posters. They need a button to do it. lol. Well actually, I do ban people sometimes, if I have no choice. Sometimes I also just issue temporary bans as a sort of "disciplinary measure". However, when they come back from the temporary ban, they are usually pissed as hell and feel like they need to give me a piece of their mind. lol
Check out my FUN video clips in Russia and SE Asia and Female Encounters of the Foreign Kind video series and Full Russia Trip Videos!

Join my Dating Site to meet thousands of legit foreign girls at low cost!

"It takes far less effort to find and move to the society that has what you want than it does to try to reconstruct an existing society to match your standards." - Harry Browne
User avatar
Winston
Site Admin
Posts: 37774
Joined: August 18th, 2007, 6:16 am
Contact:

Post by Winston »

Well it looks like Phoenix still wants the ignore feature.

Does anyone here want to volunteer to edit all those files in the instructions above? It's a pain in the ass.

I'll go to the phpbb hacks site and see if there's a simpler way.
Check out my FUN video clips in Russia and SE Asia and Female Encounters of the Foreign Kind video series and Full Russia Trip Videos!

Join my Dating Site to meet thousands of legit foreign girls at low cost!

"It takes far less effort to find and move to the society that has what you want than it does to try to reconstruct an existing society to match your standards." - Harry Browne
User avatar
Winston
Site Admin
Posts: 37774
Joined: August 18th, 2007, 6:16 am
Contact:

Post by Winston »

Well I went to the phpbb hacks site, and there's no other mod to create an ignore feature other than the one above. So I guess I will have to use it.

This is going to be a pain in the ass.

Phoenix, I hope you will at least give me a thank you after I go through this pain in the ass.
Check out my FUN video clips in Russia and SE Asia and Female Encounters of the Foreign Kind video series and Full Russia Trip Videos!

Join my Dating Site to meet thousands of legit foreign girls at low cost!

"It takes far less effort to find and move to the society that has what you want than it does to try to reconstruct an existing society to match your standards." - Harry Browne
User avatar
Winston
Site Admin
Posts: 37774
Joined: August 18th, 2007, 6:16 am
Contact:

Post by Winston »

What do you guys think of this mod? It installs a buddy list, ignore feature, and disallow contact feature.

http://www.phpbbhacks.com/download/1274
Contact List is an add-on for phpBB that adds the combined features of a buddy list, an ignore list, and a 'disallow contact' list (to stop those really annoying users from pestering you as much).

The three lists can be managed through an included control panel or you can add and remove links in topics, user profiles and the member list.
However, this is in beta mode and may not be stable.
Check out my FUN video clips in Russia and SE Asia and Female Encounters of the Foreign Kind video series and Full Russia Trip Videos!

Join my Dating Site to meet thousands of legit foreign girls at low cost!

"It takes far less effort to find and move to the society that has what you want than it does to try to reconstruct an existing society to match your standards." - Harry Browne
User avatar
Winston
Site Admin
Posts: 37774
Joined: August 18th, 2007, 6:16 am
Contact:

Post by Winston »

Ok it's done. Whew. That was a pain in the ass.

In the top right corner of each post, you will see an Ignore button. If you click it, the user will be added to your Ignore List.

There is a link at the top below the header to your Ignore List. If you click it, it takes you to your Ignore Panel here:

ignore.php

From there, you can remove users from your Ignore List by clicking the delete button next to the user name, which is in white for some reason.

Ok well test it out and let me know how it works. I already tested it and it seems to work, except that message "You have chosen to ignore this user. Click here to view post." doesn't actually let you view the post for some reason. But oh well. I don't think it's necessary for you to view the user's post if he is on ignore anyway.

Hope this helps.
Check out my FUN video clips in Russia and SE Asia and Female Encounters of the Foreign Kind video series and Full Russia Trip Videos!

Join my Dating Site to meet thousands of legit foreign girls at low cost!

"It takes far less effort to find and move to the society that has what you want than it does to try to reconstruct an existing society to match your standards." - Harry Browne
User avatar
Falcon
Experienced Poster
Posts: 1943
Joined: November 6th, 2011, 3:59 pm

Post by Falcon »

Great job dude.

But personally I wouldn't recommend the ignore button. Some users that are usually obnoxious post very insightful comments from time to time.
fschmidt
Elite Upper Class Poster
Posts: 3470
Joined: May 18th, 2008, 1:16 am
Location: El Paso, TX
Contact:

Post by fschmidt »

Winston, I added you to my ignore list but it didn't work. Why not?
Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Suggestions, Feedback, Problem Reports, Troubleshooting”