vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Prevent replacement variable from being replaced in thread topic? (https://vborg.vbsupport.ru/showthread.php?t=125986)

parad0xx 09-06-2006 08:20 PM

Prevent replacement variable from being replaced in thread topic?
 
I am trying to prevent a replacement variable from parsing in thread topic.

As a second related question, how do I make a replacement variable that replaces with BB code and have the post not display the actual BB code, but the end result of what the BB code is supposed to do?

Thank you for your time, it is greatly appreciated.

The Finman 09-06-2006 11:26 PM

Not quite sure I understand what you are asking for.

But to remove parts of the meta refresh script (and known variations of it), simply go to...

AdminCP --> vBulletin Options --> Censorship Options --> Censored Words

And add these words and characters in the Censored Words window.

Code:

content=0 content="0 LANGUAGE= JavaScript Java {meta} {refresh} >> >>> >>>> >>>>> >>>>>>
My censorship options simply replace the words and characters with **** by default, but you can replace them with whatever you want.

That will stop the script and all known variations of it from being run. ;)

*Note - I don't advise that you use this method if you run a computer related board that deals with code.

parad0xx 09-07-2006 12:01 AM

I ask because say I have "string" replaced with "<img src="blah.gif">".

When it is included in thread topic, it displays in the forum display in the thread topic. I want to prevent this.


All times are GMT. The time now is 02:09 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.01052 seconds
  • Memory Usage 1,709KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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