This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Client Notice Manager - TinyMCE
#1
Client Notice Manager - TinyMCE
I noticed TinyMCE was added to the Client Notice Manager module which is a great addition!
However, the actual notice that is displayed doesn't take note of the HTML and just displays it all as plain text.

For example if I wanted:

Welcome, click here for help!

It would display in the actual notice as:

<strong>Welcome,</strong> <a href="#">click here</a> for help!
My geeky side: thefuzz.xyz | Photo & Video: fuzzymannerz.co.uk
Reply
Thanks given by:
#2
RE: Client Notice Manager - TinyMCE
I'll check my version, I had added tinyMCE a couple years back and had to remove a check that disables HTML in it.
The check isn't in the module. I'll have to check the core coding...
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#3
RE: Client Notice Manager - TinyMCE
Found it Smile
In /panel/dryden/ui/tpl/notice.class.php
PHP Code:
                   //runtime_xss::xssClean($result['ac_notice_tx']),
         
   $result['ac_notice_tx'], // allows HTML in Client Notices 
Make that small change and it should work just fine Wink

SECURITY NOTICE: By disabling the check mentioned above, you may be vulnerable to malicious XSS and other possible security risks. Use at your own risk!
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: Ron-e , Griffon
#4
RE: Client Notice Manager - TinyMCE
(10-07-2015, 04:01 AM)TGates Wrote: Found it Smile
In /panel/dryden/ui/tpl/notice.class.php
PHP Code:
                   //runtime_xss::xssClean($result['ac_notice_tx']),
         
   $result['ac_notice_tx'], // allows HTML in Client Notices 
Make that small change and it should work just fine Wink

Thanks dude,

Edit: It works. Smile
My geeky side: thefuzz.xyz | Photo & Video: fuzzymannerz.co.uk
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Disabling warning and notice logging in /var/sentora/logs/domains/* JSmith 0 2 ,489 01-02-2021, 07:50 PM
Last Post: JSmith
Update extplorer and panels client poseidon97 0 3 ,760 02-06-2020, 11:40 PM
Last Post: poseidon97
DNS Manager - Unable to find requested module! obrempong7 0 2 ,573 11-18-2019, 07:59 AM
Last Post: obrempong7

Forum Jump:


Users browsing this thread: 1 Guest(s)