vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Running a query to turn html on/off for all forums? (https://vborg.vbsupport.ru/showthread.php?t=34663)

Gutspiller 01-31-2002 02:21 PM

title.

I really hate it when I am working on getting things setup and I have 30+ forumz to change from html on to html off.

Please help on what the lines would be to turn html on, and off.

Thanks!

Admin 01-31-2002 03:13 PM

Code:

UPDATE forum SET allowhtml=0;
:)

Gutspiller 01-31-2002 04:26 PM

many thanks. That will come in very handy. :up:

Admin 02-01-2002 11:28 AM

May I ask why? Is it your kick to turn on/off HTML in all your forums? ;) :)

In that query 0 means don't allow HTML, and 1 (replacing the 0) means allow HTML. But I think you understood that, right? :)

Gutspiller 02-01-2002 02:39 PM

Quote:

Originally posted by FireFly
May I ask why? Is it your kick to turn on/off HTML in all your forums? ;) :)

In that query 0 means don't allow HTML, and 1 (replacing the 0) means allow HTML. But I think you understood that, right? :)

yeah, I understood the 0 1 thing, well the story is that I constantly have people from another board, finding flaws in my board and exploiting them. I had html on, but I was adding vb code that used a table cell, among other html that was in the censor field of the admin CP. So I had html turned off and cleared the censored html, because it was censoring it in the vb code stuff too. I asked for help, but nobody wanted to or knew how, I have html back on, and all the cool vb codes working like glow,shadow,sound,flash etc. and I have censored a lot of html, but there are a few that aren't censored so that these vb codes work. If the other board comes in again and starts to play around with the uncensored html I will censor them again and delete the vb codes that wont work.

My board has only been up for like 3 1/2 to 4 months and I already have a ban list of 25 members. :(


All times are GMT. The time now is 10:03 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.01146 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
  • (1)bbcode_code_printable
  • (1)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