![]() |
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. |
AdminCP >> Styles & Templates >> Replacement Variable Manager
??? this one is style related, but i suppose it's working as it is supposed to... |
yes, but i'm looking for something that generates the replacement on the fly during page generation.
|
It does.
|
Quote:
|
It will also replace inside posts.
|
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...) |
you can also do this with vbseo, if you use that...
|
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? |
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 PS I would not include "http://" or even "www.". Without you would cath more. |
the following examples do not work... and thus any text string within their hyperlink will not work.
Code:
Search for Text: http://www.test.com/?ref=111&s=111 Code:
Search for Text: test.com/?ref=111&s=111 |
Tried the first one on my unmodified (3.6.7) testboard and it worked fine.
|
Never mind, had an old replacement for "test".
Your problem is that you are not searching for the correct text. You will need to search for the text as it is in the output (tip: use view source). Change your search text to: Code:
http://www.test.com/?ref=111&s=111 |
Quote:
|
All times are GMT. The time now is 02:25 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:
|