vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Censoring (https://vborg.vbsupport.ru/showthread.php?t=40169)

filburt1 06-23-2002 01:46 AM

Censoring
 
How can I enable HTML for the censor char? I set it to <img src=... but it shows up as in the final HTML as &lt;img src=...

Admin 06-23-2002 05:58 AM

You need to enable HTML in posts if you want the censor to censor HTML tags.

filburt1 06-23-2002 02:06 PM

Isn't there some way to instead just switch the order of the parsing? Like censor the words after everything has already passed through the bbcode parsers?

Admin 06-23-2002 02:23 PM

You mean before. Anyway, future posts will have this censored, as censoring is done when the post is added (to reduce load) and on the fly (to make sure new words are censored as well).

filburt1 06-23-2002 02:37 PM

No I do mean after unless the htmlspecialchars() function is not called within the bbcode parser functions. That way the censoring would be the last function called, after all htmlspecialchars() and the <>s would be preserved.


All times are GMT. The time now is 03:00 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.02544 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)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