This file is no longer available for purchase.
This plugin allows replacement of unwanted strings of text on your forum. Text Replacements are case insensitive, and only whole words are matched (i.e. "loud trumpet" will effect "really loud trumpet", but won't do anything to "motherloud trumpet") see the attached images for more specifics).
- Admins can define global Text Replacements for the entire forum
- Admins can allow members to disable the global Text Replacements
- Admins can allow members to define their own personal Text Replacements per User Group
- Admins can define a maximum number of personal Text Replacements per User Group
As a picture is worth a thousand words, here are a few images demonstrating the plugin.
-
Version 1.0.2
- DynamoGeek
- 40.45 kB
- 24 Downloads
Further updates to add PHP7 support.
-
Version 1.0.1
- DynamoGeek
- 39.94 kB
- 5 Downloads
Update to make plugin PHP7.0 compatible.
-
Version 1.0.0
- DynamoGeek
- 6.32 kB
- 6 Downloads
Minor update to confirm correct escaping of replacements.
Sunny C.
Will there be an update?
Susi
Hello,
I bought the plugIn to change [img]http:// into [img]https:// but it doesn't work. The string to change has to stand allone. I think, this is different to the former Woltlab functionality in older forum versions.
Is it possible to change the PlugIn, so that the changes work within strings too?
kind regards
Susi
DynamoGeek Author
Unfortunately, it gets a bit troublesome/fiddly when considering replacing just part of a string. You run into situations where a word will have unexpected parts of itself replaced.
Ex) Replacing the string "car" with the string "vehicle" would end up creating replacements like "vehiclerot" (from the word carrot).

For that reason, I chose to make the plugin only match whole words. Sorry.
Susi
I understand und you are right with it. Would it be a lot oft work to do it both ways so that the admin can choose the way the string gets replaced?
For the Admin there coud be a second inputflied for repalcements within strings. So it would be a new function every user could choose.
kind regards
Susi
Susi
Does no answer mean, that you don't wand this function in your PlugIn or did you just forget to answer?
kind regards
Susi
DynamoGeek Author
Hey Susi!
It's unlikely I'll end up adding this because of the room for *perceived* issue. While it wouldn't be extremely hard to program it, it's very likely that even those who choose to use it will run into unintended side effects.
~Dynamo
Susi
Ok, thank your for your feedback.
kind regards
Susi
Mr.Dean24
If i install the plugin, is it then in english or in german language?
DynamoGeek Author
Both are available.
ford
Hi,
Is it possible to replace the recognized word with a url?
Like "ebay" to my ebay/affilinet account ?
lg
michael
MY-WSC.de
Hi,make you any Update for WSC ?
DynamoGeek Author
I will be trying to do so. Right now I'm overwhelmed with the finalizing of the transfer from my current forum software to my new forum software. I'm hoping I'll have time to update all of my plugins for use with WSC in the coming couple months or so.
volker1971
is it possible to use regex for the text wich should be replaced?
DynamoGeek Author
Unfortunately not. You can only put in text strings which are searched for in a case insensitive manner.
harry68
its php 7.0
DynamoGeek Author
Yep! I got the issue fixed after PolUser was able to provide the error message. I have a fix pending approval in the Plugin-Store. If you'd like to get the fix sooner just shoot me a PM and I'll get you sorted out.
harry68
Server error !
DynamoGeek Author
I'll need more information that that to help. Copy pasting the error or screenshotting it would work. Without that information I have trouble even finding a place to begin guessing.
- What's your wcf and wbb versions?
- What's your PHP version?
- Does your host specifically forbid any PHP functions or functionality?
PolUser
Hi
Nice Plugin 
Probably I found that error - I'm on XAMPP with php 7.0.9. When I'm trying to enter into User Panel --> Text Replacement (to edit words) I got crash. Log from ACP:
Sat, 05 Nov 2016 16:16:13 +0000
Message: Could not decode JSON (error 4):
File: C:\xampp\htdocs\wbb4\wcf\lib\util\JSON.class.php (38)
PHP version: 7.0.9
WCF version: 2.1.12 (Typhoon)
Request URI: /wbb4/index.php?text-replacement-modify/
Referrer: http://localhost/wbb4/index.php?settings/
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2909.0 Safari/537.36
Information: ""
Stacktrace:
#0 C:\xampp\htdocs\wbb4\wcf\lib\form\TextReplacementModifyForm.class.php(30): wcf\util\JSON::decode(NULL)
#1 C:\xampp\htdocs\wbb4\wcf\lib\page\AbstractPage.class.php(273): wcf\form\TextReplacementModifyForm->readData()
#2 C:\xampp\htdocs\wbb4\wcf\lib\form\TextReplacementModifyForm.class.php(76): wcf\page\AbstractPage->show()
#3 C:\xampp\htdocs\wbb4\wcf\lib\page\AbstractPage.class.php(100): wcf\form\TextReplacementModifyForm->show()
#4 C:\xampp\htdocs\wbb4\wcf\lib\system\request\Request.class.php(58): wcf\page\AbstractPage->__run()
#5 C:\xampp\htdocs\wbb4\wcf\lib\system\request\RequestHandler.class.php(139): wcf\system\request\Request->execute()
#6 C:\xampp\htdocs\wbb4\index.php(10): wcf\system\request\RequestHandler->handle('wbb')
#7 {main}
Hope that helps
DynamoGeek Author
Indeed it does! I'm right in the middle of some other stuff, but I'll look into this today and see if I can't both replicate and fix it.
Thanks for the help!
DynamoGeek Author
Sorry for the delay! Been slammed with stuff lately. With your error message I was able to get the issue fixed in short order (a subtle but very important difference in how "empty" JSON structures are handled in PHP7).
I've committed the update to the Plugin Store, but if either of you would like to apply the fix directly to your installs (its an update to a single function in a single file) just send me a Conversation and I can help you out.
DynamoGeek Author
The fix should be live now, if you give the plugin an update.
harry68
Nicht zu empfehlen, Seite ist bei mir komplett ausgefallen !! Wieder deinstalliert !! Nicht gut !
DynamoGeek Author
That's no good! Can you share some more information as to what happened? Some other information that'd be useful is:
- what error you saw
- any related error messages
- wcf and wbb version
We'll get this fixed for you, I just need a little more information to work with first.
DynamoGeek Author
I tried changing my test forum's default language and my test account's language to German, but it still works as expected. Unfortunately, nothing else pops out as something that's likely to be different between your forum and the forums it was tested on.
Jack Valentine
Please - Pictures. I don't know how that this plugin do.
!CAZZ!
pictures for what? read the text - then you dont need any pictures
DynamoGeek Author
Whoops! Looks like they got lost when I added the German translation; added them back.
Jack Valentine
Thanks for the Pictures.
DynamoGeek Author
Of course! Let me know if you have any questions, as chances are good that others will have the same questions.
T1N0
Would it be possible to make the description available in German? Thanks.
DynamoGeek Author
I don't speak German myself; a German speaking acquaintance was kind enough to translate the plugin language file for me. If someone were to provide some German description text, I'd be happy to include it here.
DynamoGeek Author
I've added a Google Translate German version, but I shutter to think how it looks to native German speakers.
T1N0
Thanks.
DynamoGeek Author
Of course! Do let me know if it's an offensively bad translation.