vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Make code tags work correctly, or disable HTML in a post? (https://vborg.vbsupport.ru/showthread.php?t=174875)

Frogdice 04-02-2008 06:34 AM

Make code tags work correctly, or disable HTML in a post?
 
How do I make (code) (/code) tags actually do their job and not process BBCode and HTML inside them?

Also, how do I add options like these to every post:

[ ] Disable BBCode in this post.
[ ] Disable HTML code in this post.

I thought those were pretty standard forum options these days, but apparently not. :(

Your help is greatly appreciated.

Opserty 04-02-2008 08:05 AM

Quote:

[ ] Disable HTML code in this post.
Just a warning but you shouldn't be enabling HTML in the first place, it could be harmful to both your board and your members.

[code][/code] tags are meant to process BBCode not sure if they are processing HTML but that is probably because you have enabled people to post HTML. You can use the [noparse][/noparse] tags to prevent the parsing of BBCode, not sure how these affect HTML but then again it shouldn't be enabled.

But please, disable HTML posting.

I haven't come across a modification that allows you to control BBCode on a per post basis, you might be able to find one by searching.

Lynne 04-02-2008 03:02 PM

If you don't want bbcode to be parsed in the code tag, I believe you can use the [ noparse ] tag.

Frogdice 04-03-2008 08:43 AM

Quote:

Originally Posted by Opserty (Post 1480707)
But please, disable HTML posting.

We need HTML enabled for a variety of reasons, but I understand and appreciate the concern and warnings.

The frustrating part is that there is no option on a per post basis to disable HTML like most forum software has had for YEARS. I don't understand this.

And thanks for the (noparse) suggestion, but it still results in HTML code being parsed. :(

pedroenf 05-06-2009 09:58 PM

I have the same issue. I would like to unparse html (convert to palin text) with tags, but unparse-tag does no do the trick. Any help here?


All times are GMT. The time now is 07:23 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.00936 seconds
  • Memory Usage 1,719KB
  • 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_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