vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Replacing a text with other text (https://vborg.vbsupport.ru/showthread.php?t=197223)

newmasalaboard 11-25-2008 05:17 PM

Replacing a text with other text
 
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

Quote:

Originally Posted by Lynne (Post 1672906)
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

Quote:

Originally Posted by newmasalaboard (Post 1673187)
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

Quote:

Originally Posted by ReCom (Post 1673197)
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 :

Quote:

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 :

Quote:

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.


All times are GMT. The time now is 02:13 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
  • Page Generation 0.01060 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete