Advertisement:

Author Topic: how do i edit welcome email to new users?  (Read 3768 times)

Offline groovie

  • Jr. Member
  • **
  • Posts: 132
how do i edit welcome email to new users?
« on: May 29, 2005, 07:39:27 PM »
i have probs with welcome email to new users as my smf forum is called the forum, at the end of the email it says therefore:

Regards,
The the forum Team.

how can i change this?

actually if anyone wanted to be REALLY helpful they could tell me where i could edit each section!!


--------------------


Welcome, ****!

Your username is:  ****, and your password is ****

You may change it after you login by going to the profile page, or by visiting this page after you login:
http://www.****.com/index.php?option=com_smf&Itemid=77&?action=profile

Regards,
The the forum Team.


Thanks!! :)

Offline Amacythe

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,060
  • Gender: Female
Re: how do i edit welcome email to new users?
« Reply #1 on: May 29, 2005, 09:38:19 PM »
Have you tried to search for the answer?  I'm sure this has been asked before.

Offline JayBachatero

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,562
  • Gender: Male
    • @jaycreations on Twitter
    • JayBachatero.com
Re: how do i edit welcome email to new users?
« Reply #2 on: May 29, 2005, 11:41:07 PM »
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Offline groovie

  • Jr. Member
  • **
  • Posts: 132
Re: how do i edit welcome email to new users?
« Reply #3 on: May 30, 2005, 07:58:17 AM »
sorry, still couldnt figure it out, i have been looking in mytheme/languages/login.english.php and i cant see all the bits. 

could someone put the text numbers next to my welcome email text below, it would be really appreciated!

Welcome, ****!

Your username is:  ****, and your password is ****

You may change it after you login by going to the profile page, or by visiting this page after you login:
http://www.****.com/index.php?option=com_smf&Itemid=77&?action=profile

Regards,
The the forum Team.  (THIS BIT I REALLY NEED TO CHANGE!!)

Offline JayBachatero

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,562
  • Gender: Male
    • @jaycreations on Twitter
    • JayBachatero.com
Re: how do i edit welcome email to new users?
« Reply #4 on: May 30, 2005, 05:23:30 PM »
Hmmm...

I was trying to do this also and imagined that it would be as easy as most of the admin tasks on SMF such as editing the registration agreement or the forum news however the only way I could find of doing it was to edit the Login.english.php and Register.php files. ( ::) Man, this can't be true)

The Login.english.php file contains the text like this:

Code: [Select]
$txt[700] = 'Welcome to';
$txt[701] = 'You may change it after you login by going to the profile page, or by visiting this page after you login:';
$txt[719] = 'Your username is: ';
$txt[730] = 'That email address (%s) is being used by a registered member already. If you feel this is a mistake, go to the login page and use the password reminder with that address.';

and this is the file that you need to add your new text

The Register.php file is what actually constructs and sends the mail and does it by calling the appropriate text by its number (from what I can tell anyway), like this:

Code: [Select]
if (isset($_POST['emailActivate']))
sendmail($_POST['email'], $txt[700] . ' ' . $context['forum_name'],
"$txt[hello_guest] $_POST[user]!\n\n" .
"$txt[719] $_POST[user], $txt[492] $_POST[password]\n\n" .
"$txt[activate_mail]:\n\n" .
"$scripturl?action=activate;u=$memberID;code=$password\n\n" .
"$txt[activate_code]: $password\n\n" .
$txt[130]);

Personally I think this method is a bit of a let down compared to the rest of the admin functions of SMF and means that newbies have to delve into the scripts each time something needs changing. Would be great to see this functionality as part of future releases of the administrative tools.


this right here tells you what to do.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Offline groovie

  • Jr. Member
  • **
  • Posts: 132
Re: how do i edit welcome email to new users?
« Reply #5 on: May 30, 2005, 06:51:16 PM »
hmmm,

well i couldnt find the thing that changed the last line, hence my request for specifics. 

so if anyone could post actual text numbers for the different bits of my welcome message below it would be greatly appreciated. 

Welcome, ****!

Your username is:  ****, and your password is ****

You may change it after you login by going to the profile page, or by visiting this page after you login:
http://www.****.com/index.php?option=com_smf&Itemid=77&?action=profile

Regards,
The the forum Team. (THIS BIT I REALLY NEED TO CHANGE AND CANT FIND!!)

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: how do i edit welcome email to new users?
« Reply #6 on: May 30, 2005, 09:37:40 PM »
Search for "Regards".  IIRC, it's in Post and index.

-[Unknown]

Offline groovie

  • Jr. Member
  • **
  • Posts: 132
Re: how do i edit welcome email to new users?
« Reply #7 on: June 02, 2005, 10:38:00 AM »
hello,

i searched in post.template.php in my theme folder and inde.php in both forum and theme folder and "Regards" could not be found.  Any ideas?

Offline Oldiesmann

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,868
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • https://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: how do i edit welcome email to new users?
« Reply #8 on: June 02, 2005, 10:41:18 AM »
He meant in the language files. Post.english.php and index.english.php
Michael Eshom
Cincy Space - now open!

Offline horisize

  • Semi-Newbie
  • *
  • Posts: 22
Re: how do i edit welcome email to new users?
« Reply #9 on: May 30, 2019, 02:29:06 PM »
can i edit the messages using brackets without messing with the code? or italics?

Offline Irisado

  • Una Luz Brillante en la Oscuridad
  • Doc Coordinator
  • SMF Super Hero
  • *
  • Posts: 10,231
  • Soñando debajo del arco iris
Re: how do i edit welcome email to new users?
« Reply #10 on: May 30, 2019, 04:53:27 PM »
Please do not revive topics that are fourteen years old.  Please open your own support topic in the appropriate board if you require assistance.  Topic locked.
Soñando con una playa donde brilla el sol, un arco iris ilumina el cielo, y el mar espejea iridescentemente