stripping codes in blogs

When adding a blog to my site its stripping out  certain codes, and i cant find the file to comment out the needed files to let me do this.

I only want to do this when admin wants to add a blog with advertisements. and then change it back to the tiny editor.

Any thoughts on this?

Thanks,

Derrick

Back to pulling my hair out! (ouch, ouch,ouch)
Quote · 6 Jan 2011

Be more specific.  Which tags are being stripped?  Since admin posts bypass HTMLPurifier, the code is being cleaned. by TinyMCE.

 

You can look in the file: /templates/base/scripts/BxBaseConfig.php for the line below:

extended_valid_elements : "a[name|href|title],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",

You can try adding to that line  tag[attribute|attribute|attribute], for whatever is being stripped.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 6 Jan 2011

Thanks HL,

you know how it is with the editor, everything gets stripped, Only basic codes are excepted, and most times that is fine, but to place say google ads etc.(Which i'm not doing) Some affiliate ads work and some dont, but I will look further into what you said and let you know.

I commented out a file as Deano had suggested in an earlier post from the admin side and then just put it back after I was done and the codes work great ,thats for google ads, face book, bidviser, everythnig, so I was hoping for the same here.

 

Thanks for the input!!

Derrick

Back to pulling my hair out! (ouch, ouch,ouch)
Quote · 6 Jan 2011

Yeah, I know.  I had to complain for about 6 months to get them to change the code so that admin posts bypass HTMLPurifier.  I think Moxiecode thinks TinyMCE should strip out all kinds of tags they deem to be unsafe.  As long as you have HTMLPurifier on the user side, I see no reason why TinyMCE needs to be stripping anything, because HTMLPurifier does a fine job at keeping things clean.  Admin posts should just go through, no matter what kind of malicious garbage code is being posted.  Admins have the right to screw up their own site however they please.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 6 Jan 2011
 
 
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.