vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   End-User Options - LAM - Profanity Filter (https://vborg.vbsupport.ru/showthread.php?t=253026)

mawby 11-09-2010 01:10 PM

Quote:

Originally Posted by inshooter (Post 2118046)
PM inbound, and boy is it awful - the mask is the default $#@!

I've traced this problem to having the word "ass" in the profanity filter list. The filter works by doing search and replaces on text before it is sent to the browser. In most cases this is done before vB has rendered it (.i.e the plain text is changed) but there are a couple of places where this is not possible and the replacement is done after it has been rendered (i.e. is has the HTML tags place). The last post column is one place where the replacement is done after rendering, and the inclusion of "ass" in the list was resulting in <p class="lastposttitle"> being turned into <p cl$#@!="lastposttitle">!

Whoops. :o I'll look into fixing that now. :)

8thos 11-09-2010 02:28 PM

This mod is %^#$%$# awesome!

inshooter 11-09-2010 03:42 PM

Just wanted to let everyone know that mawby stepped up and took my issue by the horns and squared it away on my forum. That is a stand-up developer.

I will be voting this Mod every way I can.

Thanks again mawby!

P.S. - I sent a little something your way.

mawby 11-09-2010 04:01 PM

Quote:

Originally Posted by mawby (Post 2119858)
Whoops. :o I'll look into fixing that now. :)

I've uploaded a new version of both files which will fix this problem. As a result I also had to review the Blogs specific filters as these had the same problem, and I've made major improvements to those so I would recommend upgrading. One plugin I couldn't fix properly so instead it will simply ignore the word "ass"; it's a bit naff but I have raised a few enhancement requests on Vb.com for some new hooks which will allow me to fix this properly in the future.

Quote:

Originally Posted by inshooter (Post 2119923)
Just wanted to let everyone know that mawby stepped up and took my issue by the horns and squared it away on my forum. That is a stand-up developer.

I will be voting this Mod every way I can.

Thanks again mawby!

P.S. - I sent a little something your way.

I'm glad it's fixed. :D I'm a bit of a perfectionist when it comes to my code so if it doesn't work I get most annoyed! Thanks for the donation, it's most appreciated. :up:

sulasno 11-10-2010 03:08 AM

Quote:

Originally Posted by mawby (Post 2117429)
I like the age option, so I've added it. :)

You can now set the age in the settings...

https://vborg.vbsupport.ru/attachmen...1&d=1288788707

And if the user is not old enough they will see this in their user cp...

https://vborg.vbsupport.ru/attachmen...1&d=1288788732

does this mean that if I use 1000, nobody can turn it off ? :-)

mawby 11-10-2010 11:16 AM

It does, but you could also set Field Editable by User = No in the user profile field.

misuse 12-11-2010 12:50 AM

Not working in 4.1.0 Patch 2.

The main thread titles are censored but the post title and posts are not.

Thanks a ton mawby. I was going to get this developed. I'll just send you the $ instead.

mawby 12-11-2010 12:10 PM

Quote:

Originally Posted by misuse (Post 2132179)
Not working in 4.1.0 Patch 2.

I've updated the products with a fix for this.

mawby 12-11-2010 12:39 PM

I've just spotted the post titles of search results when searching by posts had also stopped being filtered. I've updated the products again to fix this issue.

sticky 12-13-2010 05:34 AM

Will it work with older versions?


All times are GMT. The time now is 04:42 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01079 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete