Advertisement:

Author Topic: Personal Word Censor  (Read 587 times)

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,756
  • Mod King
    • XPtsp.com Community
Personal Word Censor
« on: May 20, 2018, 03:18:57 PM »
Link to Mod


PERSONAL WORD CENSOR v1.2
By Dougiefresh -> Link to Mod


Introduction
This mod allows each user to specify words to censor and their replacements, much like the admin panel does.  The only difference is this mod's censor list is user-specific, not global (as the admin panel is).  Admin's are also allowed to see each user's personal word censor list.

Profile Settings
Under Profile => Modify Profile, there is a new entry called Personal Censored Words.  There you can specify the words to censor and the replacements for each censored word.

Admin Settings
There are no admin settings for this mod.  To disable, you must uninstall the mod.

Related Discussions
o Personal Word Censor

Compatibility Notes
This mod was tested on SMF 2.0.15 and SMF 2.1 Beta 3, but should work on SMF 2.0 and up.  SMF 2.1 Beta 1, SMF 2.1 Beta 2, and SMF 1.x is not and will not be supported.

Changelog
The changelog has been removed and can be seen at XPtsp.com.

License
Quote
Copyright (c) 2018, Douglas Orend
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Online Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 1,894
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Personal Word Censor
« Reply #1 on: May 20, 2018, 08:32:38 PM »
Very good indeed also gave me some idea about something I want to create. I leave the translation file in Spanish Latin ;D!


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,756
  • Mod King
    • XPtsp.com Community
Re: Personal Word Censor
« Reply #2 on: May 21, 2018, 09:28:10 PM »
Uploaded v1.1 - May 21st, 2018
o Added support for SMF 2.1 Beta 3.
o Added Spanish Latin translation, courtsey of Rock Lee.



@Rock Lee:  Thank you for the translation!  It's been included in this version!

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 69,303
    • StoryBB/StoryBB on GitHub
Re: Personal Word Censor
« Reply #3 on: July 24, 2018, 04:07:54 PM »
The package-info.xml file doesn't actually seem to run db_install.php so the DB changes never get run.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,756
  • Mod King
    • XPtsp.com Community
Re: Personal Word Censor
« Reply #4 on: August 15, 2018, 10:34:42 PM »
Uploaded v1.2 - August 15th, 2018
o Fixed package-info.xml so that database changes are actually made.



@Arantor:  Thank you for pointing this issue out.  It's been fixed for this version!