A little help needed

I have two sites; one is a test site 7.1 Final; and the other is the production site, 7.1 Final.  On the production site I have lost the ability to embed an mp3 (and most likely other embedding as well; just testing with a mp3).  I have compared files and templates and even checked modules and I can not determine what broke the embedding on the production site.  I even replaced htmlpurifier files.

I have checked:

BxDolCmts.js
BxDolCmts.php
BxDolCmtsProfile.php
BxDolCmtsQuery.php
cmts_main.html
cmts_top_controls.html

and the files are the same on both sites.  I have checked modules installed and can not find an answer there.  Where to look to try and solve this problem?  Something had to break the ability to embed in a comment.  Oh, by the way, I can embed in a blog post without problem; it is just places like the profile description and comments to blog posts.  When trying to embed in comments; the embed code is stripped out.  Is there a setting somewhere I need to check for comments that controls allowing HTML in comments; with all the changes to 7.1, I get lost on where to look. OH, one can include an image tag; so it does not seem to affect including HTML, just embedding tags.

So, a little help needed if you can.

Geeks, making the world a better place
Quote · 22 Jan 2013

Shake a stick in the rain; this one has me baffled.

Geeks, making the world a better place
Quote · 22 Jan 2013

Can you provide the markup you are using to embed the file, including the location of the file. Also a link to your site.

Quote · 22 Jan 2013

It is just a standard embed tag; as noted, works fine on the 7.1 test site, but not on the 7.1 production site.  I am trying to see where in the files I need to take a look-see so I can compare that file with the one on the test site.  I am guessing I changed something on the production site that was not changed on the test site.  I use WinMerge to compare files.  The only other thing would be the installation of a module but I have not found anything there and no one is reporting in that a module installation created the same problem on their site.

Geeks, making the world a better place
Quote · 22 Jan 2013

htmlpurifier is not the only thing that can strip out html.

tinymce can as well. So if html purifier is not doing it. Then most likely tinymce is.

https://www.deanbassett.com
Quote · 23 Jan 2013

I figured it was not HTMLpurifier since that would strip it out for the blog posts as well.  Your comment did make the light bulb turn on over my head :lol:, there is a separate TinyMCE for comments (and that is also used for the description box) than the blog post TinyMCE.  I am off to examine the BxBaseEditorTinyMCE.php.

Thanks Smile

Not the BxBaseEditorTinyMCE, both files are identical.  It has to be something different between the two sites, they are both 7.1 Final; so what did I break?

Geeks, making the world a better place
Quote · 23 Jan 2013

No, it would not be TinyMCE doing this; wrong cat to chase.  When I click on HTML button and paste in the code, and hit update, it is added to the window and will play.  If it was TinyMCE, then it would strip out the code when I hit the update button.  However, it only does it when I hit the save button.  It has to be something else.  Logic would say HTMLpurifer.  However, why would HTMLpurifier not strip out the code when saving a blog post?  Unless the changes to the blog module is not sending the output through HTMLpurifer.

Geeks, making the world a better place
Quote · 23 Jan 2013

Is there a way for me to disable HTMLpurifer?  If I can turn off HTMLpurifier and then post the mp3 using the embed code, that would let me know to concentrate on HTMLpurifier.  If I turn off HTMLpurifier and the embed code is still removed, then I know something else is doing this.

Geeks, making the world a better place
Quote · 23 Jan 2013

OK, problem is solved (well, not solved, but source is known).  It is HTMLpurifier removing the embed code.  The embed tag was deprecated in HTML4; and thus was not a standard tag.  However, HTML5 specifications does include the embed tag and thus it is a standard tag for HTML5.  Evidently I had HTMLpurifier set to allow the embed tag but when I updated the site that changed.  The embed tag is fairly standard tag for embedding a mp3 player; used on just about all the mp3 sharing sites.

Geeks, making the world a better place
Quote · 23 Jan 2013

Fixed.  added SafeEmbed

Thanks to HoustonLively for reminding me where one configures HTMLpurifer; your help is appreciated.

Geeks, making the world a better place
Quote · 23 Jan 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.