[REQ] Info from vbcom

b33znutz

New Member
i have been trying to get the rss poster to display html properly in a post, but cannot. i have come to the conlclusion that is vb that is the problem. btw i am running 3.7.4.pl1 .. i later came accross this article:

Code:
http://www.vbulletin.com/forum/project.php?issueid=26540

i am requesting that someone with access perhaps look a little further into this for me since i dont have access to vbcom or vborg..

a different kind of request i know, but i am a perfectionist and cannot stop until this is fixed! lol!

thanks in advance!

-b33z

ps
just ask if more info is required!
@mods: hope this is the right board for this!
 
Open includes/class_rss_poster.php
Replace all between Line #340 to #352 with this Code:
PHP:
foreach (array('description', 'title', 'content:encoded', 'content') as $tag) {
   $qtag = preg_quote($tag);
   if (preg_match_all('#(<' .$qtag .'>)(.*)(</' .$qtag .'>)#siU', $xml_string, $matches, PREG_SET_ORDER))
   {
    foreach ($matches AS $match)
    {
     $umatch2 = unhtmlspecialchars($match[2]);
     if (strpos(strtoupper(trim($match[2])), '<![CDATA[') === false AND strpos($umatch2, '<') !== false)
     {
      // no CDATA tag, but we have an HTML tag
      $output = $match[1] . '<![CDATA[' . vB_XML_Builder::escape_cdata($umatch2) . ']]>' . $match[3];
      $xml_string = str_replace($match[0], $output, $xml_string);
     }
    }
   }
  }
 
yes.. i know.. i tried that part.. but it didnt work..
and if you read on in the post, its proposed the error is in the server-software end. not the vb end.
so, the way i read it, we have one guy sayin "this fix will work" and another guy sayin "it cant be fixed unless the server-software gets updated/changed/whatever .."
now, be not having access to research the topic more on vbcom, i cannot confirm either.

that is why i am asking for help obtaining more info on/from vbcom...

thanks tho...
 
Back
Top