![]() |
I tested it with editing an existing post and it was still turning the word into *****
Also, the full phrase I wanted was "I'm a little teapot" but there is that ' thingie. |
Maybe try turning off the built-in censoring, it probably changes to *s before your code gets a chance to run.
If you're replacement has a ' then you can put a backslash in front of it, or else use double quotes around the string instead of single. |
Oh, yeah, the auto censoring had to be turned off. But it all works now~
Also, the thing with excluding forums, I used it and it works, but if I'd want to add more than one forum, should I just add a comma after the ID? |
You could do something like:
Code:
if (!in_array($forum['forumid'], array(1, 2, 3)) // exclude forums 1, 2, and 3 or if you'd rather list the forums to be included, remove the ! from in front of in_array. |
Uhm, I have a sudden need to apply this for visitor messages and View Conversation (especially links). Which hooks to use for those?
|
All times are GMT. The time now is 02:03 PM. |
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:
|