vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Don't censor inside HTML or vbCode (https://vborg.vbsupport.ru/showthread.php?t=19784)

SFishy 06-09-2001 08:17 AM

Hey all,

Sounds a bit bizarre but I need to have it so the censor function does NOT include anything inside HTML or vbCode tags. In our community we have some weird censor rules and some of the words are actually things that could be used inside a useful tag!

example:
I can't have
Code:

<font size="1">blah blah</font>
popping out as
Code:

<font size="****">blah blah</font>
Can anyone help me with this? I really need to have censoring ignore anything inside carrots.

Thanks!

John Percival 06-09-2001 03:46 PM

Amy,

Unfortunately, there is not a lot that we can do about that - without serious programming effort, which will also slow the running of the board down considerably, you are not going to be able to achieve that anyway. Perhaps you might have to give up on censoring whatever is appearing in the HTML code?

Quote:

Can anyone help me with this? I really need to have censoring ignore anything inside carrots.
We have an anti-carrot policy in place here I am afraid :)

John

Mike Sullivan 06-09-2001 03:55 PM

Do you mean "inside carrots" as ^word^ or ^blahblahblah word blahblahblah^ ? (Those are carrots, right? :)) If it's the former, you could probably edit the censoring routines to account for that (adding the carrot as something that won't match in an exact [ {word} ] censor).

vanny 09-04-2001 06:13 PM

I would like to censor the word " I hate you " to " I love you". How can I do that ?

Wayne Luke 09-04-2001 08:38 PM

Quote:

Originally posted by vanny
I would like to censor the word " I hate you " to " I love you". How can I do that ?
Pretty old, non-relevant thread to bump but...

Create a replacement variable.. In "text to look for" put hate. In The replacement text box put love.


All times are GMT. The time now is 01:46 PM.

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.01037 seconds
  • Memory Usage 1,718KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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