The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
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. |
#22
|
|||
|
|||
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. |
#23
|
||||
|
||||
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? |
#24
|
|||
|
|||
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. |
#25
|
||||
|
||||
Uhm, I have a sudden need to apply this for visitor messages and View Conversation (especially links). Which hooks to use for those?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|