Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: groovie on May 29, 2005, 07:39:27 PM

Title: how do i edit welcome email to new users?
Post by: groovie 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!! :)
Title: Re: how do i edit welcome email to new users?
Post by: Amacythe on May 29, 2005, 09:38:19 PM
Have you tried to search for the answer?  I'm sure this has been asked before.
Title: Re: how do i edit welcome email to new users?
Post by: JayBachatero on May 29, 2005, 11:41:07 PM
this topic might help you out http://www.simplemachines.org/community/index.php?topic=11761.0
Title: Re: how do i edit welcome email to new users?
Post by: groovie 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!!)
Title: Re: how do i edit welcome email to new users?
Post by: JayBachatero on May 30, 2005, 05:23:30 PM
Quote from: graham on December 30, 2004, 06:46:51 AM
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:


$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:


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.
Title: Re: how do i edit welcome email to new users?
Post by: groovie 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!!)
Title: Re: how do i edit welcome email to new users?
Post by: [Unknown] on May 30, 2005, 09:37:40 PM
Search for "Regards".  IIRC, it's in Post and index.

-[Unknown]
Title: Re: how do i edit welcome email to new users?
Post by: groovie 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?
Title: Re: how do i edit welcome email to new users?
Post by: Oldiesmann on June 02, 2005, 10:41:18 AM
He meant in the language files. Post.english.php and index.english.php
Title: Re: how do i edit welcome email to new users?
Post by: horisize on May 30, 2019, 02:29:06 PM
can i edit the messages using brackets without messing with the code? or italics?
Title: Re: how do i edit welcome email to new users?
Post by: Irisado 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.