TEH for the swear filter!!

What's happening at the Club. You can post your suggestions and ideas here, along with reports of any problems using the site.

Moderators: IMOC Moderators, IMOC Committee Members

Goto10
Posts: 3016
Joined: Tue Dec 14, 2004 1:33 pm
Location: Essex
Contact:

Re: TEH for the swear filter!!

Post by Goto10 »

poyntesm wrote:Guys,

There is a performance hit to all the filters...just remember that. No problem doing the really really common ones but we do not want to be adding ones for just the odd mistake.


Does it permanently edit the text or is it stored as the original and changed on-the-fly every time? If the latter, can it not be changed to the former? (For performance)


*Moves around pretending to be on a boat whilst talking to Esmond*
poyntesm

Re: TEH for the swear filter!!

Post by poyntesm »

I permanent changes it when it stores it to the DB...but it has to process each filter before it can store it..not a huge issue just do not want have 100's of them running.

*Moves around pretending to be on a boat whilst talking to Esmond*


:pale: :puker:

:clown:
ldavies83
Posts: 1096
Joined: Thu Mar 24, 2005 10:19 pm
Location: Near Aberystwyth, Wales
Contact:

Re: TEH for the swear filter!!

Post by ldavies83 »

anyone notice the topic title has been sorted out :lol:

teh teh teh

Sorry, thought it was quite commical being as it was a suggestion to replace the word *trundles back to armagetron*
User avatar
Lauren
IMOC Committee
Posts: 38632
Joined: Mon Dec 13, 2004 5:37 pm
Location: Greater Manchester
Contact:

Re: TEH for the swear filter!!

Post by Lauren »

I actually purposefully type "t eh" rather than "the" sometimes so i miss the hit to my indidivuality. ;)
2020 GR Yaris - Circuit Pack :lover:
ldavies83
Posts: 1096
Joined: Thu Mar 24, 2005 10:19 pm
Location: Near Aberystwyth, Wales
Contact:

Re: TEH for the swear filter!!

Post by ldavies83 »

Interestingly my RSS feed still shows the topic title as "TEH for the swear filter" so maybe it stores the original in the database and runs the swear checking at runtime, which would show up quite a big performance hit on the server with high number of words for it to look up

:-k
ldavies83
Posts: 1096
Joined: Thu Mar 24, 2005 10:19 pm
Location: Near Aberystwyth, Wales
Contact:

Re: TEH for the swear filter!!

Post by ldavies83 »

damn those rewrites :lol: above I meant t eh! (without spaces). Actually it seems its just the subject stays original in the DB and gets checked each time, and the thread text is rewritten DB level
ENSMR2
Posts: 12008
Joined: Tue Dec 14, 2004 10:35 am

Re: TEH for the swear filter!!

Post by ENSMR2 »

I type t eh sometimes also. I think certain fingers are faster then others :wink: :mrgreen:

I try to proof read what I've written to make sure though.

With Don't, wasn't etc I can't be bothered with the ' so I just leave it as dont and wasnt. Lazy me! lol
Goto10
Posts: 3016
Joined: Tue Dec 14, 2004 1:33 pm
Location: Essex
Contact:

Re: TEH for the swear filter!!

Post by Goto10 »

poyntesm wrote:I permanent changes it when it stores it to the DB...but it has to process each filter before it can store it..not a huge issue just do not want have 100's of them running.



Does it definitely write the changed word to the db? I just entered a word and it was edited by the filter, I decided it looked wrong and edited the post to change the word completely, within teh post I was editing the original word was sitting there, in my eyes that means the original word was written to the db and the filters change things on the fly every time..?


Edit: I put the word "t e h" in the above post, when viewing the post it has changed to "t h e", but when editing it again reverts back to the original "t e h" - can these filters not be changed to edit the words and write them to the db permanently to save them running every time the thread is viewed..?
poyntesm

Re: TEH for the swear filter!!

Post by poyntesm »

I will have to double check on how it works...I have only seen the check when it is writing to the DB and not reading so always persumed it was a permanent change.
Mike 'MR2' McHugh
Posts: 3426
Joined: Wed Dec 15, 2004 1:53 am
Location: Warwickshire

Re: TEH for the swear filter!!

Post by Mike 'MR2' McHugh »

teh...............ha ha thats wicked !
Post Reply

Return to “Club News and Announcements”