icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » Modification Of Feedback Email

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Closed Thread
 
LinkBack Thread Tools Search this Thread Rate Thread
Old August 15th, 2003, 12:29 AM   #1 (permalink)
Registered User
Seasoned Poster
 
homiebrah's Avatar
 
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.
__________________
Server: Quela
Site: HeathersCorner.com
homiebrah is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old September 26th, 2003, 5:43 AM   #2 (permalink)
Registered User
Super #1
 
Joined in Jul 2003
Lives in So. NJ
1,557 posts
Gave thanks: 0
Thanked 9 times
I, for one, have no clue what you are talking about.

Good, complete questions with abundant details usually get responses.
__________________
Dime13 | Pass17
snide is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old September 26th, 2003, 11:19 PM   #3 (permalink)
Registered User
Seasoned Poster
 
homiebrah's Avatar
 
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.
__________________
Server: Quela
Site: HeathersCorner.com
homiebrah is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old September 26th, 2003, 11:26 PM   #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);
and then you can put your mail() function in using the $var as the message part. This will replace all instances of ' and replace it with ' and you can use it as many times as you want.
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);
__________________
alex.honeywell [ seigousei.net - pass19, binuweb.com - jose ]
AlexH is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old September 27th, 2003, 3:14 AM   #5 (permalink)
Registered User
Seasoned Poster
 
homiebrah's Avatar
 
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.
__________________
Server: Quela
Site: HeathersCorner.com
homiebrah is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On