GuildPortal will be going offline (permanently) by the end of the month.
Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Mottie (MVP) 3/17/2011 1:56 PM EST : Fix Mail Quotes
GuildPortal MVP
Posts: 3884
Zomgawsh Poster

Fix Mail Quotes

Because I'm old and my eyesight sucks, I sometimes have a hard time separating new mail contents from quoted content, so I put together this script to fix the quotes and make it match the forum quoted content.



Add the following code to a Free Form Text/HTML widget on the same page as your mail, or add it into the Footer Area (Control Panel > Custom HTML & Script > Footer Area). To add the styling, please read this post for the CSS.
<script type="text/javascript">
 var mail = $('.gpWidget-mailcenterlrg');
 if (mail.length) {
   return h
    .replace(/\[QUOTETITLE\]/g, '<div class="MessageBodyCell1"><div class="mTop quoteTitle bigRound">')
    .replace(/\[\/QUOTETITLE\]/g, '</div>')
    .replace(/\[QUOTE\]/g, '<div class="ContentBox mTop quoteContainer bigRound"><div class="quoteBody pAll tLeft">')
    .replace(/\[\/QUOTE\]/g, '</div></div></div>');

Keilana55 (New Admin) 3/17/2011 5:07 PM EST : RE: Fix Mail Quotes
Posts: 4537
Zomgawsh Poster

This is A-W-E-S-O-M-E!  It works like a charm - thanks!

Admins Online
There are   members online.
So-and-so has logged on!