PDA

View Full Version : 2.5.7 - Tourny Disqualification email


stud
11-20-2006, 10:52 PM
You may want to review the syntax used for these game_settings variables...

Currently, it sends the email using BBcode instead of HTML - so the formatting does not display properly in the email.

Example email:

Hello <username>,<br />
<br />
after not playing for 7 days in the <b>Snake</b>-Tournament you got disqualified.<br />
<br />
<a href="http://www.website.com/forum/arcade.php?do=viewtourney&tid=5" target="_blank">Click here</a> to view the tournament.

gmatrix
11-21-2006, 10:23 PM
This is the same problem I mentioned over here (https://vborg.vbsupport.ru/showthread.php?t=130359) . But nobody has replied yet, which I'm surprised about as I would of thought this will be affecting a lot of users.

The problem is the emails are being sent in html format, but the content type header that goes with vB emails is for text emails:

Content-Type: text/plain; charset="ISO-8859-1"

so all the html code is displayed as text. The emails need to be sent in plain text format (like they were in 2.5.6) to be displayed correctly in the mailclient.

I have removed all the bold and italic tags from the messages in the admin control panel and editted the variable $mailmessage in arcade.php to show the URL as a regular URL rather than in the href tag. But I'll be darned if I can get rid of those br tags.

Anyone else seeing this or got a solution??

MrZeropage
11-22-2006, 05:57 AM
I try to fix that ...

stud
11-30-2006, 07:14 PM
any luck on this?

gmatrix
12-02-2006, 11:07 AM
Just downloaded 2.5.8 and the code in arcade.php and mod_arcade.php for the sending of email notifications has not been changed so I'm guessing this update has not fixed this particular bug.

Any news Mr Z?

Johnnnie
01-21-2007, 05:45 PM
Is this problem solved yet?

gmatrix
01-31-2007, 06:37 PM
*bump*

I updated to v2.5.9 when it was released and still have this same problem with all the notification emails. Any ideas, anyone?