vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/forumdisplay.php?f=105)
-   -   Troubleshooting question (https://vborg.vbsupport.ru/showthread.php?t=94608)

Lionel 08-19-2005 04:35 AM

Troubleshooting question
 
For the past few months, my forums have been very slow when posting or editing a fairly long thread. I finally have decided to troubleshoot. I looked at your code in editpost.php and I see that at build post, you are going to every word of the post to check for obscene words for automatic warning. Could it be the reason of the time it takes to post or to edit a thread?

I disabled the vboption for automatic warning, and I don't know if it's my imagination, but speed improved a lot.

Now, I have not upgraded for a while and there were like 1000 + posts in the original thread. I don't know if anyone else had that issue, or if it's one, and if it is, has it been addressed? I love this hack and I am crossing my fingers that it is not the culprit.

sv1cec 08-19-2005 08:05 AM

If I remember correctly, AWS is NOT performing any check of its own. The censorship check is done by vB itself, and all I do is make a comparison between the text before and after the censorship is applied. If these two do not match, then AWS issues a warning. So, I can't think that your speed is so much affected by AWS.

One thing that may affect your speed, is when a censored word is found, and AWS underlines that word, in order to create the record, which shows you the original post (how the post was, before being censored). This can be removed if you so want, but again, I do not think it is this, that slows down your system.


All times are GMT. The time now is 08:39 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.01027 seconds
  • Memory Usage 1,705KB
  • 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
  • (2)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