SMF Support > SMF 1.1.x Support

how do i edit welcome email to new users?

(1/3) > >>

groovie:
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!! :)

Amacythe:
Have you tried to search for the answer?  I'm sure this has been asked before.

JayBachatero:
this topic might help you out http://www.simplemachines.org/community/index.php?topic=11761.0

groovie:
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!!)

JayBachatero:

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


--- Code: ---$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.';

--- End code ---

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: --- 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]);

--- End code ---

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.


--- End quote ---

this right here tells you what to do.

Navigation

[0] Message Index

[#] Next page

Go to full version