PDA

View Full Version : Plain text parser for update mails


RS_Jelle
11-01-2007, 02:11 PM
It would be nice if the vBulletin plain text parser (found in /includes/class_bbcode_alt.php) would be used for the update mails :)

Pretty simple and it causes better update mails without ugly BBCode being visible ...

https://vborg.vbsupport.ru/external/2007/11/46.png

Princeton
11-01-2007, 02:31 PM
what's wrong with the update emails?
by "update emails", I'm assuming you mean modification "Send Update" function

Paul M
11-01-2007, 02:50 PM
We keep a record of all the update e-mails, do you have specific one you are referring to ?

RS_Jelle
11-01-2007, 06:00 PM
No, I just mean adding the vBulletin plaintext parser to the "send update" mails, just like it's used for pm notifications containing BBCode.

If you now use BBCode when sending a manual mod update, you just see the BBCode tags in the content of the mail. Of course there's no vB editor, just a plain textfield, for putting your mod update message into, but some coders are just copying the announcement message from a post and forget about the BBCode (like me :p, but I received some others also in the past) ...

It's a pretty quick thing to add :)

Edit: another small remark: You need to change your meta description of the site. It's still the vB default one: "This is a discussion forum powered by vBulletin. To find out about vBulletin, go to http://www.vbulletin.com/ ." Or is this intended?

Marco van Herwaarden
11-01-2007, 06:45 PM
The emails are sent out as plain text. These mails are intended to inform a user about an update, there is no need to have anything then text in them.

RS_Jelle
11-01-2007, 07:08 PM
The emails are sent out as plain text. These mails are intended to inform a user about an update, there is no need to have anything then text in them.

Indeed, but that's also the purpose of the plaintext parser :)
I don't mean switching to HTML mails or so.

If a coder copies BBCode by mistake in it, it will be stripped to a readable plaintext thing (font's are removed, lists are replaced with a star in front of each items, bold becomes two stars around a word, ...). Now you see all those ugly BBCode tags in the mails.

With the parser coders can also just copy the announcement from the thread without the need of removing all markup. So adding the parser, which is a three line of code thing, only has got advantages.

Paul M
11-01-2007, 09:28 PM
Yep, I think it's a good idea to run them through the parser, It'll get added in the next update.