| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#1 (permalink) |
|
Registered User
Seasoned Poster
Joined in Jun 2003
Lives in Elmendorf AFB, AK
Hosted on Quela
45 posts
Gave thanks: 0
Thanked 0 times
|
How can I modify the text of the email that is sent when a member submits comments using the Feedback module? For some reason, it has a problem rendering Brian's Corner into the correct text. It ends up looking like this: Brian's Corner
Also, this question can also be asked of the emails that are sent during the account activiation process. Many thanks in advance. |
|
|
|
|
#3 (permalink) |
|
Registered User
Seasoned Poster
Joined in Jun 2003
Lives in Elmendorf AFB, AK
Hosted on Quela
45 posts
Gave thanks: 0
Thanked 0 times
|
I thought I was clear. I want to change the contents of the email that is sent to a new registered user. Reason being are some formatting issues with the text, and some of the text seems downright brainless.
|
|
|
|
|
#4 (permalink) |
|
Peaches!
Excelling Contributor
Joined in Jul 2003
Lives in Ottawa, Ontario, Canada
Hosted on Jose, Pass19
564 posts
Gave thanks: 0
Thanked 0 times
|
You can try this:
($var being the variable containing the un-modified email message) Code:
$var = str_replace("'", "'", $var);
Ie: If you want to filter out the word damn and change it to gosh darn you would run Code:
$var = str_replace("damn", "gosh darn", $var);
|
|
|
|
|
#5 (permalink) |
|
Registered User
Seasoned Poster
Joined in Jun 2003
Lives in Elmendorf AFB, AK
Hosted on Quela
45 posts
Gave thanks: 0
Thanked 0 times
|
Thanks for the recommendation. I will give it a whirl in the AM. Now, which file contains the actual text of the email that is sent to registered users? I thought I had seen somewhere, maybe here, that had a filename listed. Can't remember the name.
Only doing it to learn and to customize the messages that get sent from my site. Not too keen on using the "established" norm. I like to add my own personal flavor to the situation. |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|