HTML BBCode (permission protected) [Deleted]

Luke, i have been using this addon for a while now, but soemthing seems to be broken where all BBCODES start getting shown in raw format whenever parsehtml is now enabled. Disabling the addon and the bbcodes are executed correctly.

See screenshot below when parsehtml is enabled:
upload_2014-11-10_12-36-3.webp

parsehtml disabled and the quote is formatted correctly.
upload_2014-11-10_12-36-45.webp

I am running xenforo 1.4.2.
 
Luke,
It appears that this add-on is not compatible with Extra Portal, which I was banking on when I purchased the add-on, assuming it would work as normal BBCode. Do you have a fix for this?
 
Hello, this addon bug with xenforo media galerie bbcode (media bbcode not parsed).
 
Is there any way to alter this addon to globally allow html from all members in posts without requiring parsehtml tags? I've seen vB sites that do that while censoring the following words, and it seems secure enough to me.

Code:
<script </script <html </html <plaintext </plaintext <xmp </xmp <noframes <noembed <noscript <nojava onload onMouseover java marquee onClick onMouseout <link </link <basefont </basefont <base </base <meta </meta <body </body <style </style <iframe </iframe

I have a lot of members who post images from Flickr, and although Flickr gives BBcode option, a lot of folks just copy the html like this:

Code:
<a href="https://www.flickr.com/photos/22065841@N05/16204104217/" title="b20150125-1 by _loupe, on Flickr"><img src="https://farm8.staticflickr.com/7439/16204104217_d4f013f27f_z.jpg" width="468" height="640" alt="b20150125-1"></a>
 
We purchased this addon last week to deal with migrated content with complex HTML. Its working about 75% of the time, but we have some posts that when wrapped with the tag simply will not render the html. I've even tried removing all of the complex html and putting a simple line of text wrapped with parsehtml tags and it doesn't work. Even stranger is we have a development environment to test our sites on, the same migrated content works fine there.

Question: Any ideas if there's something lurking in user group permissions or a setting on the post itself that might stop this from working? The parsehtml tag appears not rendered like : [parsehtml]

I've tried shutting off all other addons and that didn't help. I'm logged in as the site administrator trying to clean up these posts. I can provide an example if that helps. The other confusing factor is that this works fine 75% of the time.
 
Downloaded this yesterday, and so far it's doing what it says on the tin and it's saving me an awful lot of time.

At £6 it's cheap and well worth it
 
We purchased this addon last week to deal with migrated content with complex HTML. Its working about 75% of the time, but we have some posts that when wrapped with the tag simply will not render the html. I've even tried removing all of the complex html and putting a simple line of text wrapped with parsehtml tags and it doesn't work. Even stranger is we have a development environment to test our sites on, the same migrated content works fine there.

Question: Any ideas if there's something lurking in user group permissions or a setting on the post itself that might stop this from working? The parsehtml tag appears not rendered like : [parsehtml]

I've tried shutting off all other addons and that didn't help. I'm logged in as the site administrator trying to clean up these posts. I can provide an example if that helps. The other confusing factor is that this works fine 75% of the time.

The only times the tag will come out raw like that is on guest posts, and where the permission check fails.

Especially since you are seeing it work on your test site, I would suspect a permissions issue. Try checking with Users > Analyze Permissions > Node Permissions in the admin CP, using the user and node of any posts that are not rendering the HTML.
 
This add-on can work with the Resources manager, it just needs a single file to be edited by hand.

Open the file: library - XenResource - ViewPublic - Resource - Description.php

And replace its content with the following.
PHP:
<?php

class XenResource_ViewPublic_Resource_Description extends XenForo_ViewPublic_Base
{
    public function renderHtml()
    {
        XenForo_Application::set('view', $this);

        $formatter = Dark_ParseHTML_BbCode_Formatter_Ritsu::create('Dark_ParseHTML_BbCode_Formatter_Ritsu', array('view' => $this));
        $bbCodeParser = new Dark_ParseHTML_BbCode_Parser($formatter);
        $bbCodeOptions = array(
            'states' => array(
                'viewAttachments' => $this->_params['canViewImages']
            ),
            'showSignature' => false
        );

        $this->_params['update']['messageHtml'] = Dark_ParseHTML_ViewPublic_Helper_Message::getBbCodeWrapper(
            $this->_params['update'], $bbCodeParser, $bbCodeOptions
        );

    }
}

Be sure to back up that file and use this edit at your own risk :)

Is there any chance of this working with Resource manager by default? I am worried that with future upgrades the above hack will not work.
 
Top Bottom