Plugin Directory

Changeset 803525


Ignore:
Timestamp:
11/13/2013 04:44:52 AM (12 years ago)
Author:
nathanlampe
Message:

v1.0 improved matching and performance

Location:
bleep-filter/trunk
Files:
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • bleep-filter/trunk/css/bleep_style.css

    r716416 r803525  
    11@charset "utf-8";
    2 /* CSS Document */
    3 /*
     2
    43.bleep_filter_strikeout{
    54    text-decoration: line-through; 
     
    2827}
    2928
    30 .bleep_filter_word_intensity_slider{
    31     height: 10px;
    32     width: 40%;
    33     float: left;
    34 }
    35 
    36 .bleep_filter_word_percent{
    37     color: #F60;   
    38     border: 0;
    39 }
    40 
    41 #filter_amount{
    42     color: #F60;
    43     border: 0; 
    44     text-align: right;
    45     font-weight: bold;
    46     padding-left: 12%;
    47     margin-bottom: 10px;
    48 }
    49 
    5029.bleep_filter_mtop{
    51     padding-top: 25px; 
    52 }
    53 
    54 .bleep_filter_mtop_sm{
    5530    padding-top: 15px; 
    56 }*/
    57 .bleep_filter_strikeout{
    58     text-decoration: line-through; 
    59 }
    60 .bleep_filter_blackout_erase{
    61     background-color: black;
    62     color: black;   
    63     letter-spacing: 0.3em;
    64 }
    65 
    66 
    67 .bleep_filter_blackout{
    68     background-color: black;
    69     color: black;   
    70 }
    71 
    72 
    73 .bleep_filter_blackout:hover{
    74     color: white;   
    75 }
    76 
    77 .bleep_filter_blackout_black{
    78     background-color: black;
    79     color: black;
    80     letter-spacing: 0.3em; 
    81 }
    82 
    83 .bleep_filter_word_intensity_slider{
    84     height: 10px;
    85     width: 40%;
    86     float: left;
    87 }
    88 
    89 .bleep_filter_word_percent{
    90     color: #F60;   
    91     border: 0;
    92 }
    93 
    94 #bleep_filter_amount{
    95     color: #F60;
    96     border: 0; 
    97     text-align: right;
    98     font-weight: bold;
    99     padding-left: 12%;
    100     margin-bottom: 10px;
    101 }
    102 
    103 .bleep_filter_mtop{
    104     padding-top: 25px; 
    10531}
    10632
  • bleep-filter/trunk/index.php

    r717663 r803525  
    11<?php
    2  #Speech is Silver; Silence is Golden
     2/*
     3Plugin Name: Bleep Filter 2
     4Plugin URI: http://www.filterplugin.com
     5Description: A better word filter that passively removes unwanted words from your wordpress site by easily capturing common misspellings and deliberate obfuscation
     6Version: 1.0
     7Author: Nathan Lampe
     8Author URI: http://www.nathanlampe.com
     9License: GPL2
     10*/
     11
     12class BleepFilter
     13{
     14    public function __construct(){
     15        require_once('wpadmin.class.php');
     16        $wpadmin = new WPAdmin;
     17        require_once('phoneticbleepfilter.class.php');
     18        $bleep_filter = new PhoneticBleepFilter;
     19    }
     20}
     21
     22$bfp = new BleepFilter;
     23
    324?>
  • bleep-filter/trunk/readme.txt

    r717680 r803525  
    11=== Bleep Filter ===
    22Contributors: Nathan Lampe
    3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=TKKMEA2Z8NZCW&lc=US&item_name=Bleep%20Filter&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted
    43Tags: profanity filter, word filter, content filter, phonetic filter, bleep filter
    54Requires at least: 3.5.1
    6 Tested up to: 3.5.1
    7 Stable tag: 0.4
     5Tested up to: 3.7.1
     6Stable tag: 1.0
    87License: GPLv2 or later
    98License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3029= How do I prevent certain words from being filtered? =
    3130
    32 If the filter is picking up words that it shouldn't try turning up the word match intensity in the settings. This will require a closer match to your banned words in order for it to filter.
    33 
    34 Alternatively you can add exception words or phrases using the plugin's exceptions words list to prevent them from being filtered.
     31If the filter is picking up words that it shouldn't you can add exception words or phrases using the plugin's exceptions words list to prevent them from being filtered.
    3532
    3633= How does it work? =
     
    4542
    4643== Changelog ==
     44= 1.0 =
     45* improved word matching and performance
     46* added replacement words
     47* removed intensity settings
     48
    4749= 0.4 =
    4850* added csv importing
     
    5860== Upgrade notice ==
    5961
    60 = 0.3 =
    61 This version now includes titles and excerpts
     62= 1.0 =
     63This version now includes improved matching and performance. Can now replace bad words with a replacement word.
Note: See TracChangeset for help on using the changeset viewer.