vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin.org Site Feedback (https://vborg.vbsupport.ru/forumdisplay.php?f=7)
-   -   Plain text parser for update mails (https://vborg.vbsupport.ru/showthread.php?t=161677)

RS_Jelle 11-01-2007 02:11 PM

Plain text parser for update mails
 
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

Quote:

Originally Posted by Marco van Herwaarden (Post 1373676)
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.


All times are GMT. The time now is 10:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03517 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete