![]() |
Word Replacement
This is just a simple plug-in that will let you replace words in posts. This could be used for "AdWords" or Replacing curse words insted of just censoring.
Just thought I would share :-P *cough* https://vborg.vbsupport.ru/ *cough* I am a dumb novice, so this has no admin panel options or anything of that sort. If anyone ever wants to take this and make it all fancy, go ahead and just post. Note: This should work on any 3.5 version that has the hook postbit_display_complete This is the code...See how google is replaced with a link to google...make sence? PHP Code:
|
Nice one. Been looking for something like this... It would be nice to have this added to the admincp, with a CP module/plugin, where you can add a word + it's replacement value, possibly in the Forum Manager, and each forum can have different censors. Just a suggestion.
|
thanks! this fun. i used my to replace curse words with mytzlplk lol
|
umm is it just me or does this work exactly like the Replacement Variable Manager already in vBulletin?
|
Quote:
|
If I understood both systems correctly, the replacement variable manager affects everything in the post AND everything in templates. So if you replace "<td>" with "NO HTML", then all your templates with "<td>" in it would be broken, whereas this hack only affects data in a post.
I could be wrong, but that's my impression. |
This does almost the same thing as my hack ..https://vborg.vbsupport.ru/showthrea...threadid=71191
|
Quote:
|
Nice hack, thnx ;)
|
Quote:
|
All times are GMT. The time now is 02:07 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|