Collect plaintext, display html?

I am working with a third party site. I want to refer all my members to this site, where they signup and get a javascript specific to them. 

I then want them to be able to paste this script on their profile page.

If I create a hmltextarea for the script, they can't paste it as the html text area is a wysiwyg editor with no ability to view source, so the script is converted to html and the html for the script is displayed instead of the script being run.

If I create a plain textarea, the user pastes in the script, and because it is displayed as plaintext, the code of the script is displayed instead of being run.

What I need is to be able to collect the script in plain text, and then display as html. Is this possible? Any suggestions how to accomplish my goal?  

Quote · 18 Dec 2015

Hi,

 

You might like to take a look at this post:

https://www.boonex.com/forums/topic/HTML-Block-Issues-in-7-2.htm


houstonlively shows where the code is to comment out the part to stop the TinyMCE editor from popping up.


Maybe this helps your situation or puts you on the right path?

Quote · 19 Dec 2015

Well there is no simple short cut for this. You can't and trust me don't want to let your users start running scripts on your site. There are many security and authentication issues involved. I suggest you ask one of the developers like MODZZZ or Anton to develop a Mod specific for this third party script fiesta . Unless I misunderstood what you were trying to do here, running scripts on the site by users can be dangerous. It's your site and it's your call though.

Quote · 19 Dec 2015
 
 
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.