You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 70 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Censor Mode in PHPNuke. [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
sengsara
Support Staff
Support Staff


Joined: Sep 18, 2003
Posts: 289

Location: Batam, Indonesia (an hour boat ride from Singapore) ;)

PostPosted: Thu Feb 19, 2004 9:09 pm Reply with quoteBack to top

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!

Wink

_________________
The Answer Get it now.
Batam Web Network Most likely the content of this site is not for you...
Find all posts by sengsaraView user's profileSend private messageSend e-mailVisit poster's website
Sony
Sergeant
Sergeant


Joined: Feb 15, 2004
Posts: 114


PostPosted: Fri Mar 05, 2004 7:48 am Reply with quoteBack to top

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 ?
Find all posts by SonyView user's profileSend private message
sengsara
Support Staff
Support Staff


Joined: Sep 18, 2003
Posts: 289

Location: Batam, Indonesia (an hour boat ride from Singapore) ;)

PostPosted: Fri Mar 05, 2004 5:29 pm Reply with quoteBack to top

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...
Find all posts by sengsaraView user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.358 Seconds - 313 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::