vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   disable censor in URLs (https://vborg.vbsupport.ru/showthread.php?t=73472)

SFishy 12-29-2004 03:28 PM

disable censor in URLs
 
Is there a way to do this?

The problem is, my censoring is quite unique. I don't censor for swear words, but for a small group of select common words -- these words often need to be used in URLs, and obviously, the censor renders them useless.

Even if I have to hard code the exception in, is there a way to do so?

SFishy 12-29-2004 07:43 PM

I really need to figure this out (and need some help)...

I was looking at the mod that said to add this code to the phpinclude_start template to disable censoring on a per forum basis...

PHP Code:

PHP Code:
if (
$forumid == XX) { 
  
$vboptions['enablecensor'] = 0


Would something like this work for the $bbcode (I know I don't have it right...)

PHP Code:

PHP Code:
if (
$bbcode ($type == 'url')) { 
  
$vboptions['enablecensor'] = 0


Please someone help (I'm begging here ;))

SFishy 01-01-2005 10:48 PM

anyone?

SFishy 01-02-2005 03:29 AM

I SO need this hack! :)

I'm trying to research this a bit, and it's interesting -- e-mail addresses in the profile are exempt from the censor (good thing!) -- I basically want the [url] code to be exempt as well.

*Begging* ;)

SFishy 01-04-2005 12:42 AM

holding out hope...

SFishy 01-04-2005 06:46 PM

I haven't given up yet ;)

SFishy 01-05-2005 07:08 PM

I know maybe I should give up... but haven't yet LOL

SFishy 01-07-2005 12:24 AM

Anyone, anyone?

tnguy3n 01-14-2005 01:10 AM

I played around with the code a while ago, but didn't get it to work unfortunately. maybe you can make it to work. ;)
http://www.all4a-designs.com/forums/...php?topic=33.0


All times are GMT. The time now is 10: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.00999 seconds
  • Memory Usage 1,724KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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