News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

how do i edit welcome email to new users?

Started by groovie, May 29, 2005, 07:39:27 PM

Previous topic - Next topic

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

Follow me on Twitter

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

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:


$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.
Follow me on Twitter

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

groovie

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

[Unknown]

Search for "Regards".  IIRC, it's in Post and index.

-[Unknown]

groovie

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?

Oldiesmann

He meant in the language files. Post.english.php and index.english.php
Michael Eshom
Christian Metal Fans

horisize

can i edit the messages using brackets without messing with the code? or italics?

Irisado

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

Advertisement: