[BETA] Simple Ignore 1.4.0

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
aboima
Registered User
Posts: 275
Joined: Sat Jul 29, 2006 3:01 am

Is this the right mod for me

Post by aboima » Wed Sep 20, 2006 3:16 pm

Am i reading the threads correctly? this MOD will not allow users to ignore Private Messages from particular users?

Andrew

BobbleHead
Registered User
Posts: 38
Joined: Sat Feb 18, 2006 9:10 pm

Post by BobbleHead » Sun Oct 08, 2006 6:53 pm

The link..both links are dead.
Probably because it's like...2 years old XD

jesus_army
Registered User
Posts: 19
Joined: Thu Mar 09, 2006 2:38 pm
Contact:

Post by jesus_army » Mon Oct 09, 2006 9:49 am

John C Campbell

zeber
Registered User
Posts: 55
Joined: Thu Apr 03, 2003 8:17 pm

Post by zeber » Wed Nov 08, 2006 1:31 pm

This MOD works just great!

All I wanted is to stop the attaches of ignored users from showing (Have attach mod installed)
What i did was simply this:

Code: Select all

# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/topic_review.php
# 
#-----[ FIND ]------------------------------------------ 
# 
			display_review_attachments($row['post_id'], $row['post_attachment'], $is_auth);
#
#-----[ REPLACE WITH ]---------------------------------------------
#

			//User Ignore Settings added by Zeb around the attach
			if ( !isset($ignored_ids[$poster_id]) && !$ignored_ids[$poster_id] )
			{
			display_review_attachments($row['post_id'], $row['post_attachment'], $is_auth);
			}
# 
#-----[ OPEN ]------------------------------------------ 
# 
viewtopic.php
# 
#-----[ FIND ]------------------------------------------ 
# 
	display_post_attachments($postrow[$i]['post_id'], $postrow[$i]['post_attachment']);
#
#-----[ REPLACE WITH ]---------------------------------------------
#
	//User Ignore Settings added by Zeb around the attach
	if ( !isset($ignored_ids[$postrow[$i]['user_id']]) && !$ignored_ids[$postrow[$i]['user_id']] ) 
	{
	display_post_attachments($postrow[$i]['post_id'], $postrow[$i]['post_attachment']);
	}
# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
Hopefully it is ok in all aspects (relatively to Attach mod)
Zeber

egriz
Registered User
Posts: 441
Joined: Tue Jun 11, 2002 9:49 pm

Post by egriz » Tue Dec 26, 2006 11:26 pm

anyone have a fix for the PM capability of this mod. I have the latest version from the download link on this page but users can still PM blocked users.

Flashbashbo
Registered User
Posts: 6
Joined: Tue Jan 16, 2007 8:00 pm

Post by Flashbashbo » Tue Jan 16, 2007 10:30 pm

I installed this mod and all seems to be working but for a little database glitch. It allows one user to be ignored no problem, but returns a database error when attempting to add a second user. This is the error:

Code: Select all

Error setting ignore user

DEBUG MODE

SQL Error : 1062 Duplicate entry '2' for key 1

INSERT INTO phpbb_ignoreuser (user_id, ignored_id) VALUES (2, 138)

Line : 249
File : viewtopic.php
Since this was my very first experience doing anything with a MySQL database, I have no doubt that I screwed something up when creating the necessary additional table. Here is a screenshot from within phpMyAdmin of the table I created:

Image

Can anybody tell me what I did wrong? Any help would be appreciated.

Flashbashbo
Registered User
Posts: 6
Joined: Tue Jan 16, 2007 8:00 pm

Post by Flashbashbo » Thu Jan 18, 2007 12:44 am

TTT.

Flashbashbo
Registered User
Posts: 6
Joined: Tue Jan 16, 2007 8:00 pm

Post by Flashbashbo » Sat Jan 20, 2007 9:02 pm

TTT.

Bullmax
Registered User
Posts: 2016
Joined: Fri Jan 30, 2004 3:36 pm

Post by Bullmax » Sun Jan 21, 2007 12:48 am

I just installed This mod and works good.
Maby try this one.

Flashbashbo
Registered User
Posts: 6
Joined: Tue Jan 16, 2007 8:00 pm

Post by Flashbashbo » Thu Jan 25, 2007 8:14 pm

TTT.

Flashbashbo
Registered User
Posts: 6
Joined: Tue Jan 16, 2007 8:00 pm

Post by Flashbashbo » Sat Feb 03, 2007 8:02 pm

TTT.

Post Reply

Return to “[2.0.x] MODs in Development”