Forums Bug?

When putting an adsense code into the forum and saving, it screws the forums up.

Can someone check this please?

Trying to view this gives very strange results!

Strange results

if you notice the "Orca" icon and under that is links to join or login, and I'm logged in.

things are better understood if watched.

http://www.youtube.com/watch?v=gG74h887jwY

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 15 May 2012

Can you provide the code you inserted via PM, so we can try to reproduce it ?

Rules → http://www.boonex.com/terms
Quote · 16 May 2012

 

Can you provide the code you inserted via PM, so we can try to reproduce it ?

 It is a google adsense code.

<script type="text/javascript"><!--

google_ad_client = "ca-pub-0000000000000000";

/* 300x250, created 11/28/09 */

google_ad_slot = "0000000000";

google_ad_width = 300;

google_ad_height = 250;

//-->

</script>

<script type="text/javascript"

src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>

 

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 16 May 2012

Actually TinyMce editor is not supposed to use Javascript inside it. 

It looks like you've posted it in the source code - so it should be executable.

But TinyMCE editor modify javascript code - so it maybe be changed, the code can become nonfunctioning or removed.

In this thread on TinyMCE forums similar problem is discussed:

http://www.tinymce.com/forum/viewtopic.php?id=15899

 

In your case it adds CDATA section to javascript code, as the result it breaks forum XML.

I haven't found any settings option in TinyMCE to control this behaviour of TinyMCE.

There are some patches, but most of them are for particular version of TinyMCE and can't be applicable.

Rules → http://www.boonex.com/terms
Quote · 17 May 2012

To fix this problem you need to remove this post from database, or edit it via database and remove <![[CDATA ... ]]> clauses. 

Rules → http://www.boonex.com/terms
Quote · 17 May 2012
 
 
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.