The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
move thread if censor word is in $message
k, i have this setup it, successfully moves the thread to the set forumid BUT only if the word is the first word in the message field,
Can anyone give me any pointers on how to make this search the whole messgae field if it finds the censorword it then moves the thread to the specific forum (basically for mod approval/editing) thanks Flame |
#2
|
||||
|
||||
hmm do you want it for every word in the censorship or just for a special one?
if you want it for every word you can compare the message before and after censoring, and if they are different move the thread |
#3
|
|||
|
|||
Sorry i should have explained myself a bit more, all my forbidden words are replaced with ***forbidden*** so basically i would like the script to check for that word if found then its moved to admin approval forum, at the moment its only finding word if it like this
***forbidden*** etc bah blah not in this context there is a ***forbidden*** word in this sentance Hope this helps Flame |
#4
|
||||
|
||||
use the strstr function of php
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|