Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12404
Latest: azaratir
New This Month: 10
New This Week: 0
New Today: 0
Stats
Total Posts: 39925
Total Topics: 7028
Most Online Today: 69
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 69
Total: 69

Author Topic: A better email notification  (Read 5952 times)

0 Members and 1 Guest are viewing this topic.

Offline rjmiz

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
A better email notification
« 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?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14969
    • View Profile
Re: A better email notification
« Reply #1 on: October 15, 2006, 07:34:16 pm »
Post.english.php in your languages folder find
Code: [Select]
$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';
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline rjmiz

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Re: A better email notification
« 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.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14969
    • View Profile
Re: A better email notification
« Reply #3 on: October 15, 2006, 07:54:25 pm »
Ah, those are in login.english.php
Code: [Select]
// 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.';

Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline rjmiz

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Re: A better email notification
« Reply #4 on: October 15, 2006, 07:57:53 pm »
You dah best.....I love you

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
2231 Views
Last post October 26, 2013, 10:58:04 am
by marcbkk
5 Replies
2358 Views
Last post July 15, 2015, 11:17:01 am
by pasqualino77
20 Replies
4638 Views
Last post October 02, 2017, 03:00:50 pm
by scso1502
18 Replies
3572 Views
Last post February 16, 2017, 12:46:02 pm
by SMFHacks
5 Replies
1052 Views
Last post November 15, 2017, 05:29:15 pm
by SMFHacks

+- Recent Topics

Update detect mobile mode PHP5 to PHP7 by Rock Lee
November 16, 2019, 07:18:13 pm

PHP error by davejo
November 12, 2019, 12:09:47 pm

Message Editor Pro Issues by SMFHacks
November 06, 2019, 09:58:33 pm

most popular categories doesnt work by fussilet
November 02, 2019, 02:51:42 pm

Change colors of Halloween theme by SMFHacks
October 24, 2019, 11:44:59 am

prettyurls - TroubleShooting.wiki by Rock Lee
October 10, 2019, 11:37:09 am

Some issues with adding and editing a listing by ajac63
October 07, 2019, 04:16:40 am

Problem update 1.1.21 to 2.0.15 by Rock Lee
October 06, 2019, 06:09:16 pm

[Mod]SMF 2.0.x PHP 7.2 Support by sah62
October 04, 2019, 01:46:00 pm

Ideas by shuban
October 03, 2019, 10:19:06 pm

Powered by EzPortal