Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 06 Mar 2016, 11:06
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
[Solved] Send P.M to themselves

Hi!

Some users of mine, whatever I explain, they send personal messages to themselves,
they make threads that they send P.M and no one replies to them.
As I assume this is the problem.

is their a way when they try to send the PM, they get an error?

"You cannot send P.M to your self, bla, bla..."


Thanks for any help.

Last edited by Stratis; 12 Nov 2016 at 07:04. Reason: [Solved]
Reply With Quote
  #2  
Old 06 Mar 2016, 12:43
setishock setishock is offline
 
Join Date: Feb 2008
Boy you sure have your share of issues. Having said that are you still on 4.2.0?
__________________
Working on new projects and expanding our horizons. Come by and see what we're up to now.
Reply With Quote
  #3  
Old 06 Mar 2016, 12:50
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
Yes I am sure, because for two users we ask them to take a picture of there inbox, and we see that they put there own user name to send the P.M.

Actually its not an issue, and I want to find a way to give them an error as I describe above.

Thanks
Reply With Quote
  #4  
Old 06 Mar 2016, 12:58
setishock setishock is offline
 
Join Date: Feb 2008
If I had that problem I would disable their PM privileges. Tell them they have to stop doing that or they will remain disabled.
__________________
Working on new projects and expanding our horizons. Come by and see what we're up to now.
Reply With Quote
  #5  
Old 06 Mar 2016, 13:01
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
Originally Posted by Stratis View Post
Hi!

Some users of mine, whatever I explain, they send personal messages to themselves,
As I wrote above I have made several things about this, but nothing, problem is that they aren't always same users.
Reply With Quote
  #6  
Old 06 Mar 2016, 15:16
mokujin's Avatar
mokujin mokujin is offline
 
Join Date: Nov 2005
Real name: Đạt
So, you need a mod to block users sending PM themselfs?
__________________
I am on holiday (18 Jan to 14 Feb), so I can't complete your requests in time, sorry guys, hope next time you still hire me. Thanks

PM me for custom paid modifications for your vB3/vB4 forums ...
Reply With Quote
  #7  
Old 06 Mar 2016, 15:26
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
Originally Posted by mokujin View Post
So, you need a mod to block users sending PM themselfs?
Yes, that's an option, when it's worth do to.
Reply With Quote
  #8  
Old 06 Mar 2016, 15:55
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Give this a try...it has settings to enable the product and to exclude selected usergroups, that is, to choose usergroups who can send PMs to themselves.
Attached Files
File Type: xml product-markflcannotpmself.xml (3.5 KB, 3 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #9  
Old 06 Mar 2016, 16:06
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
This one is better...haste makes waste...
Attached Files
File Type: xml product-markflcannotpmself.xml (3.6 KB, 2 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #10  
Old 06 Mar 2016, 16:40
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
Hi Mark, thank you again for your precious help.
Testing the second product:
1st) It works, but error message user will read is "Could not find phrase 'markfl_cannotpmself_msg'."

2nd) Problem with case sensitive, if user puts stratis rather than Stratis message will go.
In second hand who will put his username but better is that he must not be able.

3d) The option you have for usergroups, I think is no use.
If it is to be that option it would be better to be able for usernames only and not usergroups, just in case admins want to test their PM's for some how.

Thank you very, very much
Reply With Quote
  #11  
Old 06 Mar 2016, 19:46
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Okay, here is a revision:
  • The error message is now part of the product. I inadvertently saved it as part of vBulletin before.
  • The username check is now case-insensitive.

I left the usergroup option. You can exclude admins using it.
Attached Files
File Type: xml product-markflcannotpmself.xml (3.9 KB, 1 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #12  
Old 06 Mar 2016, 20:06
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
"You cannot send a PM which includes your own username as a recipient. Please use your browser's back button to edit the recipient field accordingly."

No words to say, YOUguitar1.gif

Reply With Quote
  #13  
Old 06 Mar 2016, 20:21
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Stratis,

Here is another revision for the possibility that a user will put spaces before or after their own username...those will now be trimmed when checking the recipient usernames.
Attached Files
File Type: xml product-markflcannotpmself.xml (3.9 KB, 6 views)
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #14  
Old 07 Mar 2016, 09:19
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Real name: Stratis
Originally Posted by MarkFL View Post
Stratis,

Here is another revision for the possibility that a user will put spaces before or after their own username...those will now be trimmed when checking the recipient usernames.
Work very well, thanks, thank, thanks
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Threads that lock themselves... Zzed vBulletin 2.x Full Releases 24 08 May 2007 06:47
Allow users to delete themselves Chen vBulletin 2.x Full Releases 44 20 Jul 2004 06:43



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 04:39.

Layout Options | Width: Wide Color: