PDA

View Full Version : Editing the floodcheck message


MaDCaT75
07-28-2003, 10:59 PM
How would I edit this message here:

Sorry! The administrator has specified that users can only post one message every $vboptions[floodchecktime] seconds.

So that it would generate random sayings such as:

Sorry! The administrator has specified that you may "give us a piece of your mind" every $vboptions[floodchecktime] seconds.

or do another random message like:

Sorry! The administrator has specified that you may "spew forth your knowlege" every $vboptions[floodchecktime] seconds.

Thanks for your help in advance.

mx3
07-29-2003, 11:03 AM
Hmm....I'll see what i can do. :)

Edit global.php

find

?>

add above

// Random flood check message
$floodcheckrandom=rand(1,2);
if($floodcheckrandom=1){
$fcm="post a message";
} else {
$fcm="share their novel ideas";
}
// End random flood check message

Then edit the template and replace the entire template with:

Sorry! The administrator has specified that users may $fcm every $vboptions[floodchecktime] seconds.

All done. I think.

NTLDR
07-29-2003, 12:15 PM
As mentioned numerous times already vB3 Hacks are NOT allowed.

mx3
07-29-2003, 12:29 PM
I don't think this is a vB3 hack...
what i did was for vb2....

NTLDR
07-29-2003, 12:30 PM
Since when has the $vboptions array been in vB2? :rolleyes:

Anyway the origional request was for vB3 and should require no hacking to achive anyway.

mx3
07-29-2003, 12:39 PM
Heh...i guess i'm not as good with vB as i thought...
Sorry. :)