Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Square on June 27, 2012, 11:28:18 AM

Title: Don't allow text in PM notification
Post by: Square on June 27, 2012, 11:28:18 AM
Hi,

SMF 2.0.2
I've searched the forum, found the same question several time but no real answer.
What can I do to have only the link to the PM and not the text in the notification email?
I really don't like when people answer to the email instead of going to their PM box!

Thanks. :)
Title: Re: Don't allow text in PM notification
Post by: TheListener on June 27, 2012, 11:37:02 AM
Admin > Configuration > General Settings

Look for

Don't allow post text in notifications

and tick.
Title: Re: Don't allow text in PM notification
Post by: Square on June 27, 2012, 11:41:25 AM
Quote from: Old Fossil on June 27, 2012, 11:37:02 AM
Admin > Configuration > General Settings

Look for

Don't allow post text in notifications

and tick.

That one is for post notification.
My question is about PM notification.
(That's why I've posted in the "SMF Coding Discussion" and not "SMF 2.x Support". - Not sure I'll have an answer now that you moved it)


Title: Re: Don't allow text in PM notification
Post by: TheListener on June 27, 2012, 11:45:12 AM
Oops I must of misread the post.

Someone will be along soon to give a helping hand.

Title: Re: Don't allow text in PM notification
Post by: Square on June 29, 2012, 11:04:27 AM
Quote from: Old Fossil on June 27, 2012, 11:45:12 AM
Oops I must of misread the post.
No problem, it happends.



Quote from: Old Fossil on June 27, 2012, 11:45:12 AM
Someone will be along soon to give a helping hand.
Let's hope so.  ;)

Title: Re: Don't allow text in PM notification
Post by: Square on July 01, 2012, 10:27:59 PM
Hi,

My new forum gave me several problems and all were solved by the fantastic help of this forum.
All but this one.
I hope that somebody knows how to do.

Maybe this (http://www.simplemachines.org/community/index.php?topic=56056.msg580497#msg580497) can help you to help me?
It was (almost) working for 1.1.x (see my post there); there must be something for 2.0.2.

Thanks in advance.  :)
Title: Re: Don't allow text in PM notification
Post by: CapadY on July 02, 2012, 02:43:29 AM
I have written a MOD that will give you the possibility to supress the PM text in notification emails.

Because I've removed it from the official MOD-list you wouldn't find it there but I can send it to you.

I had to many troubles to get a MOD in the MOD-list and it took to long, so I removed all my MOD's from it.
Title: Re: Don't allow text in PM notification
Post by: Square on July 02, 2012, 07:31:02 AM
Quote from: CapadY on July 02, 2012, 02:43:29 AM
I have written a MOD that will give you the possibility to supress the PM text in notification emails.

Because I've removed it from the official MOD-list you wouldn't find it there but I can send it to you.

I had to many troubles to get a MOD in the MOD-list and it took to long, so I removed all my MOD's from it.

Sure, I'm interested. Do you have an info sheet or something telling what it changes and in which files?
Only the admin can disable the PM text, right? If the members can choose it's less interesting.
Title: Re: Don't allow text in PM notification
Post by: CapadY on July 02, 2012, 08:01:26 AM
It's a complete MOD, in present it was in the MOD-list.

So everything is with it, also how to enable/disable it and you can install it as a regular MOD.
I only have to take a look if it will install with SMF2.0.2, if not it wil take me 5 minutes more :)

You'll only have to wait till I am home from work. ;)
Title: Re: Don't allow text in PM notification
Post by: Square on July 02, 2012, 11:30:09 AM
Yes, I understood on the first time, thanks.
It's just that I like to know which changes a mod make. ;) It's always interesting to learn something.
And sure, I can wait, no problemo.
(You have a PM with my email address)
Title: Re: Don't allow text in PM notification
Post by: CapadY on July 02, 2012, 12:05:59 PM
When everything went fine you've received the MOD by mail now.
Title: Re: Don't allow text in PM notification
Post by: Square on July 02, 2012, 01:57:48 PM
MOD received, thank you. :)

I think I'll make some modifications and corrections though. ;)
(I'll not checked the thread as solved yet; I might post my results later.)
Title: Re: Don't allow text in PM notification
Post by: ziycon on July 27, 2012, 05:24:18 AM
Did this mod solve your issue Square?
Title: Re: Don't allow text in PM notification
Post by: Square on July 27, 2012, 09:10:17 AM
Quote from: ziycon on July 27, 2012, 05:24:18 AM
Did this mod solve your issue Square?

No, it doesn't do exactly what I needed.
But another solution was found there http://www.simplemachines.org/community/index.php?topic=481143.