TinyPortal

Development => Support => Topic started by: thechamp on April 18, 2008, 10:34:28 PM

Title: Shoutbox Whisper
Post by: thechamp on April 18, 2008, 10:34:28 PM
Hi,

Is it possible for admin's to not view the whispers sent by other members?
Title: Re: Shoutbox Whisper
Post by: G6Cad on April 18, 2008, 10:34:50 PM
No, admins see everything  ;)
Title: Re: Shoutbox Whisper
Post by: thechamp on April 18, 2008, 10:38:08 PM
lol, there should be a permission setting for admin's like it is for mods, to stop them viewing all the whispers, that way the only person who can view them is the person who sends them and the person you send them too
Title: Re: Shoutbox Whisper
Post by: Zetan on April 18, 2008, 10:52:01 PM
Quote from: G6 on April 18, 2008, 10:34:50 PM
No, admins see everything  ;)

Have to agree to a point.. we don't see PMs  :-X
Title: Re: Shoutbox Whisper
Post by: IchBin on April 19, 2008, 01:41:23 AM
Yes, but you see every post. :) PM's and Shouts are totally different IMO. If you want a shoutbox that doesn't display to users, you should consider a chat program or something.
Title: Re: Shoutbox Whisper
Post by: G6Cad on April 19, 2008, 08:38:41 AM
PMs are a compleatly diffrent thing.
Sending a PM s like sending a mail, you do it for one persons eyes only, and a shout is for everyone, even the whisper IMHO are diffrent as it's in a "public" box.

PMs however goes under another category, we are not allowed to read the PM no matter what, and members using the PMs should know they are secured to that privacy. Shout however are another thing, the block were made to short public messages even if the whisper function are added to it.

Title: Re: Shoutbox Whisper
Post by: stormlrd on April 19, 2008, 02:00:14 PM
champ im gonna go ahead and post up your pm to me as i think that others should know my thoughts on whispers as well.


Quote from: thechamp on April 19, 2008, 01:18:40 PM
Hi,
I hope your well :)

I just wanted to ask you is it possible for admin's not to view the whispers other members send, I would really like this feature and would like to know if its possible.

Thanks for your time.

Of course its possible, but to me a security risk, as well as impossible to moderate. You don't want ppl being racist or trying to intemidate other members through shouts. And although PM's are private as my team said, there is an option in admin that I ALWAYS use called "Report PM to Admin" which would allow admin to read them. In the future especially smf2.0 I'll be adding a report shout/whisper but its not availible yet. As far as recoding it for this feature, it would really be a total rewrite because of how the shoubox is coded.

Hope that helps :D

Best suggestion i could give is this, be the only admin on your site lol, that way you can turn off view all whispers for your global Moderators  :coolsmiley:
Title: Re: Shoutbox Whisper
Post by: stormlrd on April 19, 2008, 02:16:52 PM
yes you can edit this line to remove the ability of admin to "see" all, I wont include it in any versions as its your decision as admin to do it ;)

this code, in the TPAdvShout.php file

if(allowedTo('tp_can_admin_advshout') || allowedTo('tp_advshout_whisper_see_all') || $row['value5'] == $context['user']['id'] || in_array($context['user']['id'], $whisper_to))

line 3769

change too
if($row['value5'] == $context['user']['id'] || in_array($context['user']['id'], $whisper_to))

Again I don't recommend it, nor will i give support for issues arising from this change :D , but there you go.
Title: Re: Shoutbox Whisper
Post by: thechamp on April 19, 2008, 02:21:35 PM
Hi StormLrd

Thanks for that, it worked  :)