The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Quote:
This replaces words as the post is viewed, not as it is made. So, it should replace words retroactively. Quote:
Also, if someone hits Quote, the original word(s) are still there because, as I said, it doesn't replace the words as the post is made. |
#12
|
|||
|
|||
Is there a tutorial somewhere on how to use hooks or hook locations? I've never heard of that before. It'd really be great if you could lay it out step by step how to incorporate the code you posted above. I'm sure there are probably quite a few people looking for this information. I really appreciate all your help lynne
|
#13
|
||||
|
||||
There is a section about products and plugins in the manual (link under Quick Links and in my sig). Also, there are quite a few articles written about plugins in our articles forums (tab in upper right corner).
|
#14
|
|||
|
|||
Awesome, I got it. Thanks so much. Just one more thing, if you don't mind.
Is there a way I can make it replace an exact word, instead of a word containing the letters of a bad word? For example, if I want all my bad words to be replaced with flower, and I want to ban the word that's also another name for donkey, 'class' becomes 'clflower'. In the censorship options I can ban that particular word by typing {***}, so it only bans it when it's only those letters, not when it's part of another word. Is there any way to do this? |
#15
|
||||
|
||||
You can go take a look at the other php string replacement functions and see if there is a better one to use for your purposes. You could also put in " donkey " (as an example) as the word with a space on either side of it so it only gets replaced if it is a standalone word.
|
#16
|
||||
|
||||
Okay I did find this, but this is not going to make say, whenever someone types in the word "yahoo" that it creates a hyperlink for http://www.yahoo.com
https://vborg.vbsupport.ru/showthread.php?t=211693 Right? |
#17
|
||||
|
||||
Replacement Variables will replace every instance of "yahoo" on your site with whatever you say to replace "yahoo" with - which may be a link if that is what you put in the Replace Text box.
|
#18
|
||||
|
||||
I don't think so. The plugins you describe (and replacement variables) will replace a given text with another text.
That will work for my "obscenity" issue, say switching the word b*tch for woman, but in the case of switching say the word yahoo for http://www.yahoo.com I don't think it will simply change the single word yahoo into a blue hyperlink like this: yahoo - rather, it will change the five letters of yahoo for the twenty characters of http://www.yahoo.com and it may not even make the twenty characters a hyperlink. Try it, you'll see what I mean. |
#19
|
||||
|
||||
It works just fine. And it gave me a hyperlink because I told it to. You need to enter *exactly* what you want it to be replaced with.
Code:
Search for: yahoo Replace with: <a href="http://www.yahoo.com">yahoo</a> |
#20
|
||||
|
||||
I found out that vbSEO acronym expander does what I was looking for all along. But they had to modify their code for me so that it worked for HTTPS (not just HTTP) urls.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|