Location: Batam, Indonesia (an hour boat ride from Singapore) ;)
Posted:
Thu Feb 19, 2004 9:09 pm
Ever wonder how the censoring in PHP-Nuke works?
After taking a close look into the code I found out that it actually never works (I checked up to PHP-Nuke 7.0).
In mainfile.php function check_words().
The global line is like this:
Code:
global $EditedMessage;
Change it to this:
Code:
global $CensorMode, $CensorReplace, $EditedMessage;
NOW it works!
_________________ The Answer Get it now.
Batam Web Network Most likely the content of this site is not for you...
Sony Sergeant
Joined: Feb 15, 2004
Posts: 114
Posted:
Fri Mar 05, 2004 7:48 am
Hi,
i have version 7.1 and find the line you are describing changed it but it still doesnt work. I tested it in the journal. I wrote a word which is in the config.php file, posted it in the journal and it was shown...
In the admin area I set the Censor option to replace the censored words with ****
Any idea ?
sengsara Support Staff
Joined: Sep 18, 2003
Posts: 289
Location: Batam, Indonesia (an hour boat ride from Singapore) ;)
Posted:
Fri Mar 05, 2004 5:29 pm
I only saw this check inside Your Account, News, WebMail, Reviews, Surveys and Submit News .
It's not yet implemented in other modules.
_________________ The Answer Get it now.
Batam Web Network Most likely the content of this site is not for you...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum