The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Does text-string replacement exist?
for the life of me i thought this was already created, but cannot find anything close right now.. looking for something that will replace any pre-defined text-string with something else - for posts. if it's not yet available, perhaps i could whip something together or someone else could. i would simply just base it off vB's censor control.
edited to clarify. |
#2
|
|||
|
|||
AdminCP >> Styles & Templates >> Replacement Variable Manager
??? this one is style related, but i suppose it's working as it is supposed to... |
#3
|
|||
|
|||
yes, but i'm looking for something that generates the replacement on the fly during page generation.
|
#4
|
|||
|
|||
It does.
|
#5
|
|||
|
|||
only for templates, NOT for posts which is what i'm referring to; i edited my first post to clarify.
|
#6
|
|||
|
|||
It will also replace inside posts.
|
#7
|
|||
|
|||
the text-replacement engine is replacing ANY text string contained in the "OUTPUT" ... not only the templates...
it is located in the Style manager system to provide a different filtering for each styles - because you can provide different filtering depending on your forums... (word X is filtered in style X, but not in style Y...) |
#8
|
||||
|
||||
you can also do this with vbseo, if you use that...
|
#9
|
|||
|
|||
this is what it WON'T do on my forums...
original text string is.. http://www.someplace.com replacement text string is... http://www.anotherplace.com nothing is changed though, even after rebuilding all threads/posts/forums... am i doing something wrong? |
#10
|
|||
|
|||
What is the exact (copy & paste inside a code block) replacement you have defined?
Edit: just tested it with: Code:
Search for Text: http://www.someplace.com Replace with Text: http://www.anotherplace.com PS I would not include "http://" or even "www.". Without you would cath more. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|