Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2010-12-04 19:13:24

xSDMx
Member
Registered: 2008-06-24
Posts: 129

Block Signature and URL Posting until post minimum

Does anyone know of something that does this, or a way to quickly do this? This is the only spam problem I have!

Offline

#2 2010-12-25 04:50:51

xSDMx
Member
Registered: 2008-06-24
Posts: 129

Re: Block Signature and URL Posting until post minimum

Bump.

Offline

#3 2010-12-26 16:56:02

quy
Administrator
From: California
Registered: 2008-05-09
Posts: 926

Re: Block Signature and URL Posting until post minimum

In profile,

find:

// Add http:// if the URL doesn't contain it already

above, add:

if ($form['url'] != '' && $pun_user['num_posts'] <= 5)
    message($lang_common['Bad request']);

find:

// Validate signature

above, add:

if ($form['signature'] != '' && $pun_user['num_posts'] <= 5)
    message($lang_common['Bad request']);

Change 5 to the desired minimum of posts, and the error message.

Offline

#4 2010-12-26 19:23:48

xSDMx
Member
Registered: 2008-06-24
Posts: 129

Re: Block Signature and URL Posting until post minimum

Wow, I really need to get more familiar with each FluxBB file. Of course it was as simple as an if statement that checks user posts versus a set integer. I think I might integrate this into the "BB Spam Fighter" mod.

Offline

Board footer

Powered by FluxBB