Originally Posted by isaac
No, because the Active Text tool replaces the final txt that is displayed in the post in real time. Unlike the censor (word/phrase) replacement, which replaces the text first, before doing any else to the user input.

Active Text does just as its name suggests, it actively changes the text on the fly. in real time as the post page is being created.

Isaac, I think you mis-understand me. What I mean is that the PHP should not change words that don't matches.

If I set active link in CP to
triumph|<a href='https://domain.com'>triumph</a>

It should only change it to a active link if it matches the word "Triumph" as a singular word or in a line like this "It is a blue Triumph motorcycle"

The active link should not change and corrupt an image url "https://triumph.com/image.jpg" or a regular link "https://triumph.com"

triumph|<a href='https://domain.com'>triumph</a>

triumph = match this becomes a active link
https://triumph.com = no match
triumph222 = no match
/triumph.jpg = no match

OK so ?

Last edited by Morgan; 03/01/2021 10:05 AM.

Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php