'Hide' a user

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
Browner87
Registered User
Posts: 15
Joined: Tue Sep 23, 2008 2:16 am

'Hide' a user

Post by Browner87 »

I have a forum on my own website at home, and I have 2 parts to it. A single, HIDDEN thread for me and my girlfriend to chat on (strictly OFF LIMITS to other members), and a few forums for getting help for my classmates to use. My problem is that in 'member list' and when someone clicks 'find a member' for stuff like PMs, her name shows up. I don't want anyone from my class (i.e. everyone but me/admins) from being able to see her name in those lists OR send PMs to her. I can just see problems already with people sending spam and crap to her...

I also have a few other users that I use for my own purposes that I don't want to show up in those lists either. How can I hide them from view or PMs?

Thanks!
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21123
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: 'Hide' a user

Post by RMcGirr83 »

Have her change her status to "hidden" and in her profile have her edit her "global settings" changing "Allow users to send you private messages" from yes to no. Both can be found under the "Board preferences" tab when she edits her profile.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions | My extensions are updated regularly on github
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored
User avatar
Brf
Support Team Member
Support Team Member
Posts: 52018
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: 'Hide' a user

Post by Brf »

He is not tryintg to hide her online-status.
He is trying to hide her name from showing as a member.
User avatar
KevC
Support Team Member
Support Team Member
Posts: 69981
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: 'Hide' a user

Post by KevC »

Change her username so no-one knows it's her?
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21123
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: 'Hide' a user

Post by RMcGirr83 »

Brf wrote:He is not tryintg to hide her online-status.
He is trying to hide her name from showing as a member.
:?

So if a user is hidden, or chooses to be, they still show up in the memberlist?

That doesn't sound very logical, at least to me it doesn't. But potato/potatoe I suppose.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions | My extensions are updated regularly on github
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored
mtrs
Registered User
Posts: 2049
Joined: Sat Sep 22, 2007 2:39 pm

Re: 'Hide' a user

Post by mtrs »

You can hide that username in memberlist

Open
memberlist.php

Find

Code: Select all

			$user_list[] = (int) $row['user_id'];
Replace with

Code: Select all

			if ($row['user_id'] != 2)//hide user_id 2 from memberlist
			{
				$user_list[] = (int) $row['user_id'];
			}
I abandoned all of my mods.
Browner87
Registered User
Posts: 15
Joined: Tue Sep 23, 2008 2:16 am

Re: 'Hide' a user

Post by Browner87 »

THANK YOU mtrs!! This looks exactly like what I'm looking for. I just had no idea what file to look in :P. I'll do that ASAP.

Thanks again!
Locked

Return to “[3.0.x] Support Forum”