The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
RSS Feed & HTML code
Hello,
When I use RSS Feed, it displays html code such as "' ;'" in the fetch Does anyone know how to replace html code with its non-html code? like: str_replace("' ;'", "", $rss); I don't know exactly where to put this code so it can replace those html code the way I want it to. Thanks. |
#2
|
|||
|
|||
I haven't tried it at all, but in includes/cron/rssposter.php, around line 317, there's this:
Code:
$pagetext = $feed['xml']->parse_template($body_template, $item); if ($feed['rssoptions'] & $vbulletin->bf_misc_feedoptions['html2bbcode']) { So if you wanted to do something to the text before it's posted you could insert it between those first two lines. Also there's a php function html_entity_decode() which you might be able to use to convert any of those kind of things without listing them all in a str_replace(). |
#3
|
||||
|
||||
|
#4
|
|||
|
|||
Thank you for your time. =)
--------------- Added [DATE]1326693867[/DATE] at [TIME]1326693867[/TIME] --------------- PHP Code:
I still see output html code in both the subject and the body of the post. Any advice? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|