vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Automatic Word Replacements (https://vborg.vbsupport.ru/showthread.php?t=52988)

Glock 05-15-2003 06:49 PM

Automatic Word Replacements
 
I asked this over on vbulletin.com and was told that preg_replace on post input might be the way, but was told to ask over here about it. I have no clue what that is in the first place, or how to do it. Basically we were served with a court order where we must removed both initial acronyms and multiple word ones, such as ABC and Adam Boy Charles. Basically, I'm looking for a solution that automatically changes these terms to something else, like Banned Term. The problem with replacements on vbulletin is that if I do an automatic change with both Adam Boy Charles and Boy Charles, it ends up looking like Adam BANNED TERM, which obviously doesn't work. Anyone have some solutions to this?

flup 05-15-2003 07:13 PM

preg_replace is a PHP automated code wich is able to replace text.

I have never used to code but i have seen it in some scripts.

And please try to explain your request, i donĀ“t seem to get what ur looking for

Glock 05-15-2003 08:03 PM

What part do you want explained? I explained it as close as I can...

filburt1 05-15-2003 10:17 PM

Glock,

You are currently showing up as unlicensed. To be able to download hacks and/or receive support here at vBulletin.org, we ask you to please click here (vB-germany users click here) and enter your email address, to show us that you are licensed.

You will need to use your customer number and password (which will be in the email you got when you paid for your license) to access that page. Please note that your email is case sensitive.

Thank you.


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.00933 seconds
  • Memory Usage 1,712KB
  • 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
  • (4)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