PDA

View Full Version : Replacing a text with other text


newmasalaboard
11-25-2008, 05:17 PM
Hello,

I just wanted to ask that how can i replace a text with some other text on my forum.

For e.g. I want to replace "cat" word with "dog" :D

So how can i do that ??

It should be like if any one types the "cat" word in any post then it should automatically convert to "dog"

PS- "cat" n "dog" are only examples :p

Lynne
11-25-2008, 07:28 PM
You can either use Replacement Variables (under Styles & Templates) or get a mod - search "replac*" "all mods" "titles only"

newmasalaboard
11-26-2008, 06:18 AM
You can either use Replacement Variables (under Styles & Templates) or get a mod - search "replac*" "all mods" "titles only"
Replacement variable is not working :(

And i couldn't find the MOD as you suggested!

Actually i want to replace " to "

ReCom
11-26-2008, 07:29 AM
Actually i want to replace " to "

Why? Is that because you see &quot; text all over the places? If yes, then simply create a replacement variable from &amp;quot; to &quot;. If not, then better leave &quot; as it is since it's the way HTML escapes (encodes) the character " so that that character in actual text does not interfere those used in HTML attributes, as in <img src="clear.gif" />

newmasalaboard
11-26-2008, 01:57 PM
Why? Is that because you see &quot; text all over the places? If yes, then simply create a replacement variable from &amp;quot; to &quot;. If not, then better leave &quot; as it is since it's the way HTML escapes (encodes) the character " so that that character in actual text does not interfere those used in HTML attributes, as in <img src="clear.gif" />
Yes actually it comes something like that given below :

I am trying to submit a new url to Google, but after I press &quot;Add Url&quot;, it only takes me to a blank white page.. Any idea whats wrong?

And it should be :

I am trying to submit a new url to Google, but after I press "Add Url", it only takes me to a blank white page.. Any idea whats wrong?

Lynne
11-26-2008, 02:13 PM
Are you saying that everytime someone posts an actual double-quote, ", that it shows up as &quot; instead? It sounds to me like you should figure out why that is and fix the issue (that is not standard vbulletin) instead of patching it with replacing text.