![]() |
Replace censored text with an image
Replace censored text with an image
What does this hack do? Instead of replacing censored text with a character (like censor with ******), it will instead replace the text with one user-defineable image instead. How do I install this? Simply read the instructions in the attached file. Notes This hack will...
If there is enough demand for the above features to be included, then I will include them. |
Nice one Gary.... If i can find an interesting image I'll use it
|
Wow -- that was quick! :classic:
I am having a problem with it though -- It is pulling through the path to the image path on the post, not the image itself. What am I missing? Cheers! |
Quote:
|
Quote:
|
Here ya go!
PHP Code:
|
Here is another image to look at as well.
Cheers! |
I'm having the same problem as Christine. No image, just the path shows.
|
Mind posting a URL to a post containing a censored word so I can see the output?
This hack works for me, so I am not too sure on what the problem might be at this point. |
I have html and image tags turned off, could that have anything to do with it?
|
Please read the update instructions file.
|
So that was the problem then. Ok, can't use it. ;)
|
Gary, I am sorry -- I am confused here. I don't see anything in the instructions that I didn't do. I attached the file I am working from.
|
There's an updated file attached to the first post. ;)
|
Christine, nice.
|
*slinks off to get new file*
|
Gary, can you double check the code for instruction set #2?
Those three lines of code are making me white screen. Cheers! |
what is the difference between part 1 and part 2 of the instructions..........
nice hack though, may use for something other than censoring |
Or you could use this smilie too :D
[HIGH]EDIT : Oupss, havn't seen your smilie before Gary W , sorry for this stupid post :p[/HIGH] |
very funny hack!
it works. *install* |
Quote:
Quote:
|
Quote:
|
Quote:
|
Jeez dude! Slow down and gimme time to install all these! ;)
J/k! Awesome work again Gary :) Thanks! |
Thanks for the comments! :)
|
Could you just put <img src = or [img] in the replacement field in AdminCP?
|
What if you've got both HTML and BB IMG code enabled in some forums? Which code set do you use in that case?
|
Quote:
|
Quote:
Also, it would mess up some things, like the subject area. Try using the replacement field, use a censored word in the subject, and then edit the subject - the input field gets messed up. |
Any working URL site?
|
Quote:
|
Installed and working at http://rockpop.goldenpie.com/forums for those wanting an example ;)
Brilliant hack, Gary! Well done!! |
Here's an Image that I'll use for this one, just in case someone want it.
http://mellowwing.com/forum2/images/smilies/misc/y6.gif |
Quote:
Quote:
|
Great hack so far, but I did find something I was hoping you can fix. What ever words are in the brackets {censoredword} in the admin cp don't get replaced by the image file. How would I fix that?
|
Quote:
|
no the words that are seperated by spaces are the default replacement, the ones in brackets are more specific to certain way a word is used. for example the word assemble would have the first three assemble charactors censored out. but if you put those three assemble charators in brackets on the censor list, it will only take the first three charactors out if they appear alone.
|
Is this a hack you are using for vBulletin 2? Or is this vBulletin 3?
|
I'm confused. Can't you just use the word for the smilies..?
For instance if I want to censor the word H-e-l-l, I could name the censored smilie h e l l and then when someone types it, they get the image? |
If you want to, sure then go ahead :)
|
All times are GMT. The time now is 04:05 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:
|