SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 23, 2012, 06:25:48 am

Login with username, password and session length
Members
Total Members: 10069
Latest: tetsujrock
Stats
Total Posts: 28682
Total Topics: 4975
Online Today: 94
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 59
Total: 59
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: A better email notification  (Read 3308 times)
rjmiz
Jr. Member
**
Offline Offline

Posts: 97



View Profile
« on: October 15, 2006, 07:26:25 pm »

I'm looking to modify the email notification sent out by SMF rc3
to new users. I looked in sources, language, and default theme.
I can't find the text anywhere! Can some one point the way for me?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9676


View Profile
« Reply #1 on: October 15, 2006, 07:34:16 pm »

Post.english.php in your languages folder find
Code:
$txt['notify_boards'] = 'A new topic, \'%s\', has been made on a board you are watching.' . "\n\n" . 'You can see it at' . "\n" . '%s' . "\n\n";
$txt['notify_boards_subject'] = 'New Topic: %s';
$txt['notify_boards_once'] = 'More topics may be posted, but you won\'t receive more email notifications until you return to the board and read some of them.';
$txt['notifyUnsubscribe'] = 'Unsubscribe to this topic by clicking here';
$txt['notify_boardsUnsubscribe'] = 'Unsubscribe to new topics from this board by clicking here';
Logged
rjmiz
Jr. Member
**
Offline Offline

Posts: 97



View Profile
« Reply #2 on: October 15, 2006, 07:47:57 pm »

Thats's useful and I will modify that,
but I meant the email that one get's when they register.


i.e.
You are now registered with an account at MicroStockPix.com - mini Forums, Mr X!

Your account's username is Mr X and its password is 1prisoner (which can be changed later.)

Before you can login, you first need to activate your account. To do so, please follow this link:

http://microstockpix.com/smf/index.php?action=activate;u=178;code=f437b13fb8

Should you have any problems with activation, please use the code "f437b13fb8".

Regards,
The MicroStockPix.com - mini Forums Team.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9676


View Profile
« Reply #3 on: October 15, 2006, 07:54:25 pm »

Ah, those are in login.english.php
Code:
// For the below three messages, %1$s is the display name, %2$s is the username, %3$s is the password, %4$s is the activation code, and %5$s is the activation link (the last two are only for activation.)
$txt['register_immediate_message'] = 'You are now registered with an account at ' . $context['forum_name'] . ', %1$s!' . "\n\n" . 'Your account\'s username is %2$s and its password is %3$s.' . "\n\n" . 'You may change your password after you login by going to your profile, or by visiting this page after you login:' . "\n\n" . $scripturl . '?action=profile' . "\n\n" . $txt[130];
$txt['register_activate_message'] = 'You are now registered with an account at ' . $context['forum_name'] . ', %1$s!' . "\n\n" . 'Your account\'s username is %2$s and its password is %3$s (which can be changed later.)' . "\n\n" . 'Before you can login, you first need to activate your account. To do so, please follow this link:' . "\n\n" . '%5$s' . "\n\n" . 'Should you have any problems with activation, please use the code "%4$s".' . "\n\n" . $txt[130];
$txt['register_pending_message'] = 'Your registration request at ' . $context['forum_name'] . ' has been received, %1$s.' . "\n\n" . 'The username you registered with was %2$s and the password was %3$s.' . "\n\n" . 'Before you can login and start using the forum, your request will be reviewed and approved.  When this happens, you will receive another email from this address.' . "\n\n" . $txt[130];

// For the below two messages, %1$s is the user's display name, %2$s is their username, %3$s is the activation code, and %4$s is the activation link (the last two are only for activation.)
$txt['resend_activate_message'] = 'You are now registered with an account at ' . $context['forum_name'] . ', %1$s!' . "\n\n" . 'Your username is "%2$s".' . "\n\n" . 'Before you can login, you first need to activate your account. To do so, please follow this link:' . "\n\n" . '%4$s' . "\n\n" . 'Should you have any problems with activation, please use the code "%3$s".' . "\n\n" . $txt[130];
$txt['resend_pending_message'] = 'Your registration request at ' . $context['forum_name'] . ' has been received, %1$s.' . "\n\n" . 'The username you registered with was %2$s.' . "\n\n" . 'Before you can login and start using the forum, your request will be reviewed and approved.  When this happens, you will receive another email from this address.' . "\n\n" . $txt[130];

$txt['ban_register_prohibited'] = 'Sorry, you are not allowed to register on this forum.';
$txt['under_age_registration_prohibited'] = 'Sorry, but users under the age of %d are not allowed to register on this forum.';

Logged
rjmiz
Jr. Member
**
Offline Offline

Posts: 97



View Profile
« Reply #4 on: October 15, 2006, 07:57:53 pm »

You dah best.....I love you
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]

[May 17, 2012, 12:38:16 pm]

[May 15, 2012, 09:32:27 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 4.779 seconds with 18 queries.