PDA

View Full Version : bbcode displaying in email notifications


keith1995
03-19-2008, 04:07 PM
We installed the "Instant New Thread Notification" add-on which can be found here https://vborg.vbsupport.ru/showthread.php?t=141280 but whenever an email notification is sent out, the bbcode is displaying inside the email body.

For example, if someone had used the editor to underline a word, in the email notification that word is flanked by the U and /U code inside brackets.

Can someone help me out here with either figuring out how to get the actual code to work or how to completely strip out the bbcode so it doesn't display in the email body?

Xplorer4x4
03-19-2008, 05:10 PM
Remove the bbcode from the email message as no email client supports them that i know of. You can use HTML instead, such as <u> </u> but not all email clients will display these either.

keith1995
03-19-2008, 06:00 PM
Xplorer4x4,

Thanks for the response. Where/how do I remove the bbcode from the email message? I understand I could possibly use strip_bbcode but where would that get inserted?

keith1995
04-03-2008, 05:22 PM
I'm still having problems here. Anyone got any ideas?

--------------- Added 1207250895 at 1207250895 ---------------

Some further info on this. Someone posted a new thread on our forum and used the editor to add bullets, color, etc formatting. The email notification that we received looks like this:

CHIEF FINANCIAL OFFICER
(Los Angeles)

I wrapped the above in PHP code so you can see the actual code as opposed to this forum converting it.

It doesn't seem to be convering the bbcode to HTML or stripping it from the email. Anyone know how or where to fix this?

keith1995
04-10-2008, 02:11 AM
Anyone got any ideas here? I've tried to edit the Standard Phrase: newthreadsub to include strip_bbcode($newpost[message]) instead of $newpost[message] however that isn't stripping out the code and instead if prefixing the entire message with strip_bbcode.

Someone else out there has had to run across this same problem before, right?

--------------- Added 1207850836 at 1207850836 ---------------

Xplorer4x4, are you still reading this? Can you help out?

keith1995
04-14-2008, 07:51 PM
Does anyone know which file is used to handle the sending of the email notifications? I'd like to find the actual code that handles this function.

--------------- Added 1208281828 at 1208281828 ---------------

Am I really alone in this need?