The Work Censor Don't Work »  Show posts from    to     

Icy Phoenix


Old Support Topics - The Work Censor Don't Work



Corporacion-Umbrella [ Sun 17 Jun, 2007 13:44 ]
Post subject: The Work Censor Don't Work
Hi.

In my forum, the word censor, don't work, i try several times, and nothing.

I have to change something?, or maybe is a bug?.

Thanks for your help.


andrea75 [ Sun 17 Jun, 2007 17:17 ]
Post subject: Re: The Work Censor Don't Work
Corporacion-Umbrella wrote: [View Post]
Hi.

In my forum, the word censor, don't work, i try several times, and nothing.

I have to change something?, or maybe is a bug?.

Thanks for your help.


Check the preferences in your profile if the word censored are allowed or not.


Corporacion-Umbrella [ Sun 17 Jun, 2007 18:36 ]
Post subject: Re: The Work Censor Don't Work
Thanks Andrea, but there are an anyway to config the censor word for all users?

For example not allow censored words for all users.


Mighty Gorgon [ Wed 20 Jun, 2007 01:55 ]
Post subject: Re: The Work Censor Don't Work
There is a global switch in ACP... is it enabled?


Corporacion-Umbrella [ Wed 20 Jun, 2007 07:12 ]
Post subject: Re: The Work Censor Don't Work
No MG, i can't see the option in ACP.

Where is it? for enable.

Thanks


mimoson999 [ Tue 26 Jun, 2007 22:22 ]
Post subject: Re: The Work Censor Don't Work
I have the same problem.

I can't find the switch in the ACP


Mighty Gorgon [ Wed 27 Jun, 2007 02:22 ]
Post subject: Re: The Work Censor Don't Work
I've tested it on my test site and Word Censor is working fine.

Add the words you want to censor and make sure that in your profile the Censor is enabled.


mimoson999 [ Wed 27 Jun, 2007 03:03 ]
Post subject: Re: The Work Censor Don't Work
the word censor work perfect, I'll never get tired of saying that Icy is great.
but you talk about a global switch on the ACP to force all users to use the word censor....I can't find that switch


Mighty Gorgon [ Wed 27 Jun, 2007 03:12 ]
Post subject: Re: The Work Censor Don't Work
mimoson999 wrote: [View Post]
the word censor work perfect, I'll never get tired of saying that Icy is great.
but you talk about a global switch on the ACP to force all users to use the word censor....I can't find that switch

I added it in the past but then removed when Bicet added it for each user...

Sorry, it was my fault... I cannot remember all the active switches...


Zuker [ Wed 27 Jun, 2007 04:04 ]
Post subject: Re: The Work Censor Don't Work
u can run this sql

UPDATE phpbb_users SET user_allowswearywords='1',

And after that, it can be set to default that field to 1


Corporacion-Umbrella [ Wed 27 Jun, 2007 07:33 ]
Post subject: Re: The Work Censor Don't Work
Don't work that SQL Zuker, You konw why?

Thanks for your help.


Zuker [ Wed 27 Jun, 2007 13:35 ]
Post subject: Re: The Work Censor Don't Work
My mistake:P it must be an update, not an alter table


mimoson999 [ Wed 27 Jun, 2007 14:11 ]
Post subject: Re: The Work Censor Don't Work
but after the SQL the users can change it again to zero

it's going to be implemented in the next version to force the users?


Zuker [ Wed 27 Jun, 2007 14:33 ]
Post subject: Re: The Work Censor Don't Work
i found this field inside config table

'global_disable_censor'

try to run dis sql

UPDATE phpbb_config SET global_disable_censor='1'


mimoson999 [ Wed 27 Jun, 2007 16:38 ]
Post subject: Re: The Work Censor Don't Work
UPDATE ip_config SET global_disable_censor='1'

don't work

I use this SQL

UPDATE ip_config SET `config_value` = '1' where `config_name`='global_disable_censor'

this SQL runs good but there is no change on the behavior of the word censor (only work when the user activates it)


Zuker [ Wed 27 Jun, 2007 17:09 ]
Post subject: Re: The Work Censor Don't Work
so that fields it's on the db but doesn't make anithing

btw, it isn't difficult to deny users to disable censor

open usercp_register.php
Code: [Hide] [Select]
this line

$allowswearywords = ( isset($_POST['allowswearywords']) ) ? ( ($_POST['allowswearywords']) ? true : 0 ) : 0;

replace with

$allowswearywords = TRUE;


and then run this sql

UPDATE phpbb_users SET user_allowswearywords='1',

i didn't try it, but i think that users won't be allow to change the value, despite they see the field on profile for changing it


Corporacion-Umbrella [ Wed 27 Jun, 2007 20:09 ]
Post subject: Re: The Work Censor Don't Work
Zuker the value is 0 and False.

Code: [Hide] [Select]
$allowswearywords = FALSE;


And the SQL:

Code: [Hide] [Select]
UPDATE ip_users SET user_allowswearywords='0'


But the users can change the value in Profile, there are anyway to avoid that switch?

Thanks


Zuker [ Wed 27 Jun, 2007 20:46 ]
Post subject: Re: The Work Censor Don't Work
I put true, as an example
I don't know if u want to allow all or deny all. it's your matter

if u change that code in usercp_register, they still will see the field for alowing or not swearywords, but it won't be "changed", it won't work

You can remove it from profile_add_body.tpl


Corporacion-Umbrella [ Wed 27 Jun, 2007 22:20 ]
Post subject: Re: The Work Censor Don't Work
Thanks Zuker, now is solved.

For the all user that want do the same:

In, /your template/profile_add_body.tpl.

Find and Delete:

Code: [Hide] [Select]
<tr>
<td class="row1"><span class="gen">{L_ALWAYS_ALLOW_SWEARYWORDS}:</span></td>
<td class="row2">
<label><input type="radio" name="allowswearywords" value="1" {ALWAYS_ALLOW_SWEARYWORDS_YES} />
<span class="gen">{L_YES}</span></label>&nbsp;&nbsp;
<label><input type="radio" name="allowswearywords" value="0" {ALWAYS_ALLOW_SWEARYWORDS_NO} />
<span class="gen">{L_NO}</span></label></td>
</tr>


With the earlier steps, the users can't change the value.

Thanks for your help friends.


Zuker [ Wed 27 Jun, 2007 23:45 ]
Post subject: Re: The Work Censor Don't Work
ur welcome

cyas




Powered by Icy Phoenix