The Arcive of vBulletin Modifications Site. |
|
Word Replacement Details »»
|
|||||||||||||||||||||||||
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* 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:
Supporters / CoAuthors Show Your Support
|
|||||||||||||||||||||||||
| Благодарность от: | ||
| Saudi Zoom | ||
| Comments |
|
#2
|
||||
|
||||
|
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.
|
|
#3
|
|||
|
|||
|
thanks! this fun. i used my to replace curse words with mytzlplk lol
|
|
#4
|
||||
|
||||
|
umm is it just me or does this work exactly like the Replacement Variable Manager already in vBulletin?
|
|
#5
|
|||
|
|||
|
Quote:
|
|
#6
|
||||
|
||||
|
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. |
|
#7
|
|||
|
|||
|
This does almost the same thing as my hack ..https://vborg.vbsupport.ru/showthrea...threadid=71191
|
|
#8
|
||||
|
||||
|
Quote:
|
|
#9
|
|||
|
|||
|
Nice hack, thnx
|
|
#10
|
|||
|
|||
|
Quote:
|
![]() |
|
|