[FREE ]Personal message when a new member registers

Started by Cola-Coca, March 25, 2025, 09:48:40 PM

Previous topic - Next topic

Cola-Coca

I was looking for version 2.1 but couldn't find it.
This means that when a new member registers, by default he or she receives a PM message from the forum or administrator.

This mode is very useful for new members, you can wish to welcome the new member or for example to read the rules of the forum etc. ...
I LOVE SMF

TwitchisMental

Not quite what you are after, but close - https://custom.simplemachines.org/index.php?mod=789

I am actually surprised that there is not a mod for this.

Cola-Coca

Yes it's strange that there is no mod for v 2.1
A mod would be very useful.
I LOVE SMF

GL700Wing

#3
Quote from: Cola-Coca on March 26, 2025, 08:00:36 PMYes it's strange that there is no mod for v 2.1
A mod would be very useful.
@Cola-Coca If you download the PM to New Members mod and edit the install.xml file as follows the mod will install and work on SMF 2.1 (this doesn't change how the mod works - it just changes the check for where one block of code gets inserted).

In the install.xml file replace lines 10-15 with the following lines:
<search position="replace"><![CDATA[array('check', 'send_welcomeEmail'),
'',]]></search>
<add><![CDATA[array('check', 'send_welcomeEmail'),
'',
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Cola-Coca

#4
Quote from: GL700Wing on March 27, 2025, 02:27:23 AM
Quote from: Cola-Coca on March 26, 2025, 08:00:36 PMYes it's strange that there is no mod for v 2.1
A mod would be very useful.
@Cola-Coca If you download the PM to New Members mod and edit the install.xml file as follows the mod will install and work on SMF 2.1 (this doesn't change how the mod works - it just changes the check for where one block of code gets inserted).

In the install.xml file replace lines 10-15 with the following lines:
<search position="replace"><![CDATA[array('check', 'send_welcomeEmail'),
'',]]></search>
<add><![CDATA[array('check', 'send_welcomeEmail'),
'',

Thank you, although it would be nice if you released that mod for v.2.1. Make some small changes and change the name.
I LOVE SMF

GL700Wing

Quote from: Cola-Coca on March 27, 2025, 07:35:07 PMThank you, although it would be nice if you released that mod for v.2.1. Make some small changes and change the name.
Unfortunately that mod doesn't have any licensing information included with it so I'm not sure I am allowed to do that as it would still technically amount to stealing someone else's code.
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Cola-Coca

I understand you, but that mod should be available in the mod download section.
I LOVE SMF

GL700Wing

Quote from: Cola-Coca on March 27, 2025, 09:35:23 PMI understand you, but that mod should be available in the mod download section.
The 2.0 version is but that doesn't mean someone can clone/copy it for 2.1 and then claim it as their own mod unless the original version has a license that allows this to happen.
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Advertisement: