View Single Post
  #10  
Old 07-11-2014, 03:54 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you. Been using that. Only 2 warnings, which is below and not sure quite what to do from here.

Quote:
Unable to Determine Parse Mode! The validator can process documents either as XML (for document types such as XHTML, SVG, etc.) or SGML (for HTML 4.01 and prior versions). For this document, the information available was not sufficient to determine the parsing mode unambiguously, because:
  • in Direct Input mode, no MIME Media Type is served to the validator
  • the Document Type (-//W3C//DTD HTML 4.01 Transitional //EN) is not in the validator's catalog
  • No XML declaration (e.g <?xml version="1.0"?>) could be found at the beginning of the document.
  • No XML namespace (e.g <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">) could be found at the root of the document.
As a default, the validator is falling back to SGML mode.
--------------- Added [DATE]1405132517[/DATE] at [TIME]1405132517[/TIME] ---------------

Ok, tracing this down a little bit.

Here's the thing I noticed. The pmreceived phrase is working perfectly fine with the HTML code, but the notify one is still sending plain text code (even though it worked first couple times with same code). This is baffling me.

notify phrase:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>Talk Jesus Forums</title>
  </head>
<body style="margin: 0; padding: 0;" dir="ltr">
<table width="100%" border="0" cellspacing="0">
  <tbody>
      <tr style="background-color: #43a6df;border: 0;border-bottom: 2px solid #2475ab;-webkit-box-shadow: inset 0 -2px #2475ab;box-shadow: inset 0 -2px #2475ab;"><td align="center" style="background-color: #43a6df;border: 0;border-bottom: 2px solid #2475ab;-webkit-box-shadow: inset 0 -2px #2475ab;box-shadow: inset 0 -2px #2475ab;">
        <table border="0" cellspacing="0" cellpadding="0"><tbody>
          <tr><td align="center" width="680" style="padding: 10px">
            <a href="http://www.talkjesus.com">
              <img src="http://www.talkjesus.com/images/metro/blue/misc/logo.png" title="Talk Jesus" style="border:0" alt="Talk Jesus" height="50" width="160"></a>
          </td></tr>
        </tbody></table>
      </td></tr>
<tr><td style="padding: 20px" align="center">
  <table border="0" cellpadding="0" cellspacing="0"><tbody>
  <tr>
    <td width="400"  style="font-size:14px; line-height: 22px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #89949b;" valign="top" align="center">
      <div style="font-size:22px; line-height: 28px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #68757e; margin-bottom: 5px;">
          <p><img src="http://www.talkjesus.com/images/newsletter/collaboration-100.png" alt="New Reply" width="50"></p>
          <p  style="text-decoration: none; color: #008fd5;">
           Dear $touser[username],<br>
          <p style="text-decoration: none; color: #68757e; font-size: 16px">
            <span style="text-decoration: none; color: #E66B1B;">$bbuserinfo[username]</span> has just replied to a discussion you have subscribed to entitled <strong>"$threadinfo[prefix_plain]$threadinfo[title]"</strong></p>
             <p style="text-decoration: none; color: #68757e; font-size: 16px; font-weight: 600; text-align:left">the messsage...</p>
          <p style="text-decoration: none; color: #68757e; font-size: 14px; border-top: 1px solid #89949b; border-bottom: 1px solid #89949b; padding: 5px; text-align:left">$pagetext</p>
          <p>to reply back <a href="$threadlink" style="text-decoration: none; color: #008fd5;">click here</a></p></div>
    </td>
  </tr>
  </tbody></table>
</td></tr>
    <tr><td style="background-color: #f9f9f9; color: #89949b" align="center">
      
        <p style="margin: 15px; font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased;">
          <a href="http://www.talkjesus.com"  style="text-decoration: none; color: #008fd5;">
          Home</a>
          &nbsp;|&nbsp;
          <a href="http://www.facebook.com/talkjesus" style="text-decoration: none; color: #008fd5;">Facebook</a>
          &nbsp;|&nbsp;
          <a href="http://www.twitter.com/talkjesus" style="text-decoration: none; color: #008fd5;">Twitter</a>
        </p>
      <p style="margin: 15px 0; font-size:13px; line-height: 18px; font-family: 'Lucida Grande', Tahoma, sans-serif;">
        Thank you for being a part of Talk Jesus</p>
    </td></tr>
  </tbody>
</table>
</body>
</html>
pmreceived phrase:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>Talk Jesus Forums</title>
  </head>
<body style="margin: 0; padding: 0;" dir="ltr">
<table width="100%" border="0" cellspacing="0">
  <tbody>
      <tr style="background-color: #43a6df;border: 0;border-bottom: 2px solid #2475ab;-webkit-box-shadow: inset 0 -2px #2475ab;box-shadow: inset 0 -2px #2475ab;"><td align="center" style="background-color: #43a6df;border: 0;border-bottom: 2px solid #2475ab;-webkit-box-shadow: inset 0 -2px #2475ab;box-shadow: inset 0 -2px #2475ab;">
        <table border="0" cellspacing="0" cellpadding="0"><tbody>
          <tr><td align="center" width="680" style="padding: 10px">
            <a href="http://www.talkjesus.com">
              <img src="http://www.talkjesus.com/images/metro/blue/misc/logo.png" title="Talk Jesus" style="border:0" alt="Talk Jesus" height="50" width="160"></a>
          </td></tr>
        </tbody></table>
      </td></tr>
<tr><td style="padding: 20px" align="center">
  <table border="0" cellpadding="0" cellspacing="0"><tbody>
  <tr>
    <td width="400"  style="font-size:14px; line-height: 22px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #89949b;" valign="top" align="center">
      <div style="font-size:22px; line-height: 28px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; color: #68757e; margin-bottom: 5px;">
          <p><img src="http://www.talkjesus.com/images/newsletter/inbox-100.png" alt="New Message" width="50"></p>
          <p  style="text-decoration: none; color: #008fd5;">
           Dear $touserinfo[username],<br>
          <p style="text-decoration: none; color: #68757e; font-size: 16px">
            You have received a new private message from <span style="text-decoration: none; color: #E66B1B;">$fromusername</span>, entitled <strong>"$plaintext_title"</strong>.</p>            
          <p>To read and respond back to this message, you must
          <a href="http://www.talkjesus.com/private.php" style="text-decoration: none; color: #008fd5;">log in here</a>.</div>
    </td>
  </tr>
  </tbody></table>
</td></tr>
    <tr><td style="background-color: #f9f9f9; color: #89949b" align="center">
      
        <p style="margin: 15px; font-size:14px; line-height: 18px;font-family: 'Lucida Grande', Tahoma, sans-serif; -webkit-font-smoothing: antialiased;">
          <a href="http://www.talkjesus.com"  style="text-decoration: none; color: #008fd5;">
          Home</a>
          &nbsp;|&nbsp;
          <a href="http://www.facebook.com/talkjesus" style="text-decoration: none; color: #008fd5;">Facebook</a>
          &nbsp;|&nbsp;
          <a href="http://www.twitter.com/talkjesus" style="text-decoration: none; color: #008fd5;">Twitter</a>
        </p>
      <p style="margin: 15px 0; font-size:13px; line-height: 18px; font-family: 'Lucida Grande', Tahoma, sans-serif;">
        Thank you for being a part of Talk Jesus</p>
    </td></tr>
  </tbody>
</table>
</body>
</html>
Ran both through the W3 validator, no errors. They're also virtually almost 100% the same code, except 2 pieces which is the actual vbphrases that are different, nothing else.

Any one have an idea?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01759 seconds
  • Memory Usage 1,810KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete