Problem with the Disable word censor Mod !!!

Allgemeiner Support zum phpBB 2 Board und phpBB 2 Modifikationen
Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
Antworten
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Problem with the Disable word censor Mod !!!

Beitrag von mariokaz »

Your phpBB Version: 2.0.15
Your phpBB Type: Premodded phpBB
MODs: Yes
Your knowledge: Beginner
Boardlink: http://www.all-reefs.com

PHP Version:
MySQL Version:


What have you done before the problem was there?



What have you already tryed to solve the problem?




Description and Message

Hi I'm Mario form Mexico!! :D

I installed the Disable Word Censor in my forum but don't work. :confused:

When I go to the Administration Forums Panel and got to one of my forums I put Yes in the Disable word censor optin then I click the Update button.

And that no changes, always is No in the Disable word censor option. ^7

What I have to do for fix this ??? :(

Sorry for my very bad English! :rolleyes:

Regards!

Mario
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Do you have update the database as the mod named to?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

Hi oxpus!!

Yes I did all of the instruccions of this MOD, I run the db_update.php then I deleted and I did the modificatios for the correspondig files.

This is the MOD that I download in phphacks, Is this ok in the instructions or something is wrong?

http://www.phpbbhacks.com/download/3971


What I have to do for fix this problem??? :confused:
Zuletzt geändert von mariokaz am Mo 13.Jun, 2005 01:50, insgesamt 2-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Please download the mod from here and retry: http://www.oxpus.de/dl_details.php?view ... =276&cat=1
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

[quote="Blisk - Thu 11.Nov, 2004 09:16";p="16736"]
When I put in ACP a forum not to be censored I cannot change from No to Yes, it is always NO, and it is not censored even if it is No.

in ACP when I setup a disable or enable it is always disable, when open ACP forum management, that confuses me.
But I think that is a litle bug.[/quote]

http://www.oxpus.de/viewtopic.php?t=185 ... ord+censor

I have exactly the same problem, my disable word censor doesn´t response if I put YES in the ACP because always is NO!!!

Ok I download this MOD in your link and in the first view I saw it is same like the other that I installed, but ok I will do it again and I hope to have more luck this time.

I have a phpbb Plus 1.52 2.0.15

I tell you the results later.


Ok me again......

I did again all the modifications of the MOD (Disable censor) of your link and the same thing, does'nt works. ^7

I don't know what is happen!! ^5

Please help me :( and take a look on my admin_forums.php file, I think here is the problem.

[ Attachment gelöscht am Mo 13.Jun, 2005 08:24 von oxpus ]

[ Attachment gelöscht am Mo 13.Jun, 2005 08:24 von oxpus ]
Zuletzt geändert von mariokaz am Mo 13.Jun, 2005 07:47, insgesamt 2-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Try this file:
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

Thank you very much oxpus for help me! :D

Now when I click Yes to disable the word censor it works.

But I have another problem, yes it works the disable censor for anyone of my formus (when I choose it), but only disable the word censor for the posts (messages) not for the subjects of the posts.

Because I want disable the censor for all the posts and their subjects, not only fot the posts of that forum. ^6

And I don't know why it happens to me?? :( .... because I made and re-made the modifications of the corresponding files. (viewtopic.php and viewforum.php), please forgive me and can u take a look for this files I will be very greatful again with you. ;)

What can I do for disable the word censor MOD works in the posts and in the subjects for that forum than I choose it to disable??

[ Attachment gelöscht am Di 14.Jun, 2005 01:06 von oxpus ]

[ Attachment gelöscht am Di 14.Jun, 2005 01:06 von oxpus ]

[ Attachment gelöscht am Di 14.Jun, 2005 01:06 von oxpus ]

[ Attachment gelöscht am Di 14.Jun, 2005 01:07 von oxpus ]
Zuletzt geändert von mariokaz am Di 14.Jun, 2005 00:43, insgesamt 3-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Okay, try the attached viewtopic.php and instead of viewforum.php use this code:

Code: Alles auswählen

#
#-----[ OPEN ]-----
#
includes/functions_topics_list.php

#
#-----[ FIND ]-----
#
	global $tree;

#
#-----[ AFTER, ADD ]-----
#
	global $forum_row;

#
#-----[ FIND ]-----
#
	$orig_word = array();
	$replacement_word = array();
	obtain_word_list($orig_word, $replacement_word);

#
#-----[ REPLACE WITH ]-----
#
	if ($forum_row['disable_word_censor'] == 0)
	{
		$orig_word = array();
		$replacement_word = array();
		obtain_word_list($orig_word, $replacement_word);
	}
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

WWWWOOOOOOWWWWWW !!!!!!! :eek:

Thank you very much that resolves the problem, thank you again my friend. :cool:

Only last thing.... in the URL index, Link Index or I don't know the real name of this:

OXPUS.de Forum Index » Helpdesk » phpBB Support OXPUS Mods » Problem with the Disable word censor Mod !!! (is the example and appears in the top of this page) :p

» Problem with the Disable word censor Mod !!! (in this part don't works the Disable Word Censor. ^d

I think is something in the functions_post.php :rolleyes:

That is the last fix jejeje :D

Regards oxpus!!!! ^o
Zuletzt geändert von mariokaz am Di 14.Jun, 2005 02:21, insgesamt 1-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

It's on index.php, functions.phg or functions_categories_hierarchy.php and should better not be modded: This could be more work as seeing here a wrong content ...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

Ok :(

MMM I saw the functions_categories_hierarchy.php an I think you're right the bug is in that file.

It is horrible see that in the top of the posts of that forum. :confused:

This is like it appears in the top and in the bottom of the posts:

Foros All-Reefs® » Atlas All-Reefs® » Atlas » Peces » Cirujanos » [url=http://www.all-reefs.com/inicio/viewtopic.php?t=652](Payaso)[/url]

That appears because I'm using the Word Censor Mod in conjunction with the URL Censor Mod (of Cback) to convert some words to links in the forum and all of this is because I have a Dictionary Mod and it will be more usefull with this.

If you know how to fix this little bug please tell me. ^q

But thank you very much for everythig!!! :)
Zuletzt geändert von mariokaz am Di 14.Jun, 2005 07:44, insgesamt 2-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Hm, attach this file (as a Zip Archive) to take a look.
I've already do this work for an other user...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

Thanks my friend! ;)

Here is the file....


*******************

I upload the file that you put me here and doesn't fix the error. ^6

I show you exactly the bug that appears in the bottom and in the top of the posts.
Zuletzt geändert von mariokaz am Mi 15.Jun, 2005 02:39, insgesamt 4-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Anbei die (hoffentlich) gefixte Datei...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

Thanks my friend, I upload the file and tell you then the result! :D ........(I have already upload the file with the modifications, please see my previous answer)

Also I want to comment to you that I have some problems to convert words to links with the URL Censor MOD. :heiss:

And I was thinking if you can help me to find a way more easy to do a MOD for convert words to links in my forum ?? :!:
Or if exists a MOD like this one? :p

Example:

In the "word censor"(or this New Mod) find this word: Oxpus

And remplace with:

Code: Alles auswählen

[url=http://www.oxpus.de]Oxpus[/url]

And automatically in the posts of the forum view this:

Oxpus

I hope u can help me also with this and thank you for everything!!!! :anbet
Zuletzt geändert von mariokaz am Mi 15.Jun, 2005 08:20, insgesamt 3-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Hm, I use the Quicklinks from "bananeweizen" and there are no errors with it to create those links...
Maybe the URL censor mod will be incompatible to the CH Mod.
A link to this mod, please?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Benutzeravatar
cback
Beiträge: 1391
Registriert: Sa 15.Mai, 2004 15:32
Wohnort: Saarland
Kontaktdaten:

Beitrag von cback »

Hi Mariocaz (know your problem from my forum):

The MOD i told you you find here is this one Oxpus posted:
Quicklinks from "bananeweizen"

So you don't need the URL Censor Mod if you want to replace URLs. Only if you want to replace Bad URLs from PMs, Memberlist, etc.


@Oxpus:
He meaned my URL Censor MOD wich is compatible to CHMod but if you want to use it as URL Replacer it naturally censors also the Subject Line of each post if the Word is included, and into the Title-Line there is no BBCode that was mariocaz Problem :) But with the bananaweizen Mod he can fix this now I think ;)
Zuletzt geändert von cback am Mi 15.Jun, 2005 14:11, insgesamt 1-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Bad thing :(
Thx@Cback for the hints.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

MMMM and where is the Quicklinks MOD ?? :D

I am trying to download from here but I can´t. :(
http://www.oxpus.de/dl_details.php?view ... =329&cat=6

Or Do you have the instructions of this file(MOD) or the link to download it?? :cool:

Do u think this MOD (Quicklinks) fix my problems ?
Zuletzt geändert von mariokaz am Mi 15.Jun, 2005 20:01, insgesamt 2-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Follow the link to the autors website: http://217.160.138.71/development/phpBB ... c.php?t=40 ;)
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

That link already delete this MOD, and is unavailable! :confused:
Sorry, but this board is currently unavailable. (I know because I don't have 25 posts yet)

Also I already searched this MOD in other sites like phpbb.de, phpbb.com. phpbb2.de, phpbbhacks.com, etc. and in google but noone have it !!

Do u have it ?? :bia:


*********************** ****** **************** ****** ******************

Hello oxpus!!! ^o

Finally I find the Quicklinks MOD, my friend Amigalink sent me. :D

I have just installed the MOD, but one problem... the Mod works perfectly but only change simple words to links not compound words and I really need very much to convert compound words in links because in the Dictionary(Lexicon) MOD almost all the words are compound.

Example that I need to change words like this to links:

Amigalink forum, Robbie Williams

Not convert only Amigalink or Robbie.

Because If I put in the Quicklinks MOD in the ACP, Robbie Williams nothing happen in the convertion.

I believe is a little fix because the Word Censor MOD works with simple and also compound words.

Can you help me to fix this ???
:) (I attach here the MOD file for if you don't have it)

Regards,

Mario
Zuletzt geändert von mariokaz am Do 16.Jun, 2005 23:44, insgesamt 4-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Sorry, no time for this...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

:confused: ¦1

Ok, don't worry !!! ;)

I fix all that!!!! :p

Please only tell me If I can open the URL of the link-word in a New Window(browse), much better, like you have it here...... phpbbhacks.com, google :)

This is the last one of all of this, I promisse! :)
Zuletzt geändert von mariokaz am Fr 17.Jun, 2005 18:19, insgesamt 3-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Just replace on viewtopic.php

Code: Alles auswählen

			$quicklink_word[] = '#\b(' . $row['word'] . ')\s#i';
			$quicklink_url[] = '<a href="' . $row['replacement'] . '" class="postlink">' . $row['word'] . '</a> ';
			$quicklink_word[] = '#\s(' . $row['word'] . ')\b#i';
			$quicklink_url[] = ' <a href="' . $row['replacement'] . '" class="postlink">' . $row['word'] . '</a>';
with

Code: Alles auswählen

	$quicklink_word[] = '#\b(' . $row['word'] . ')\s#i';
	$quicklink_url[] = '<a href="' . $row['replacement'] . '" class="postlink" target="_'.$row['replacement'].'">' . $row['word'] . '</a> ';
	$quicklink_word[] = '#\s(' . $row['word'] . ')\b#i';
	$quicklink_url[] = ' <a href="' . $row['replacement'] . '" class="postlink" target="_'.$row['replacement'].'">' . $row['word'] . '</a>';
That's all.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
mariokaz
Beiträge: 222
Registriert: So 12.Jun, 2005 21:46

Beitrag von mariokaz »

Wooww, that is a real support!!

That fix that problem, thanx for everything oxpus.

Mario
Antworten