Jump to content

THATS IT!


Sparda

Recommended Posts

You shouldn't need to review the source; just consider how the registration and posting system works. Also consider how many very skilled developers have been tackling the problem of spam for many years with no solid solution in sight. Not to discourage you, of course. :wink:

Link to comment
Share on other sites

I'm nearly there, so far I'v made it imposible to post if you have less then 20 posts (easily changed). Obviusly this needs to be 10 posts and have posted urls in yor message. Then the next step from that is to auto ban people who post urls and have 10 posts or less and auto ban people who make there first 10 posts in 5 minuets.

Link to comment
Share on other sites

so far I'v made it imposible to post if you have less then 20 posts (easily changed). .

how do you get more then 20posts to post if you cant post without having more then 20posts.

And as for the problem of stopping spam, if it is such a big problem just have every post go to the mod of the forum for approval before they show up in the forum.

Link to comment
Share on other sites

You miss the point spider, i was making it so that users can't post if they had less then 20 posts in anticipation of making it so they can't post if thay have less then 20 posts and have a url in there post.

Aditionaly, it works! :D

Guess I can call my self a php coder after all :D

All you have to do to ge it to work is insert this code

$profiledata = get_userdata($HTTP_GET_VARS[POST_USERS_URL]);

on to line 550 of the file posting.php (After "case 'reply':") and then this code

if ( ( ($profiledata['user_posts'] <= 20) && (substr_count($HTTP_POST_VARS['message'],"url") == 0) && (substr_count($HTTP_POST_VARS['message'],"http") == 0)) || ($profiledata['user_posts'] > 20) )

{

}

In to lines 551 (ending 570), 583 (ending 589) and 596 (ending 613).

Does any body see any problems with my code?

Link to comment
Share on other sites

Just asking, But for people like me that dont post very often, but more of the less read the forum for informations, and only post to topics that interest them, in any subject matter. But for me, I rarly ever post. But I will only post to a subject matter that I now.

Will they or people like me be effected but the fix or the problem that you are trying to fix?

P.S: But i do see what you mean, and it is a very good idea.

Link to comment
Share on other sites

You miss the point spider, i was making it so that users can't post if they had less then 20 posts in anticipation of making it so they can't post if thay have less then 20 posts and have a url in there post.

Theres still a problem, who decides if the post is in anticipation, it still needs some kind of mod to look at each post like it does now. I might just be messing something. But as for the php code i dont see anything wrong with it.

Link to comment
Share on other sites

testing - hmmm the http:// is not in the original message: url=www.hakr.org]testing[/url

www.hak5.org - and here neither the display portion of the BB system must be adding it: url]www.hak5.org[/url

So will your code still work? as I'm looking at it (I don't know PHP though) I think it looks at the original message for the string "http" within your message that is sent to the back end database... this message being interpreted and the is only http added when it's sent to the front end for people to view.

Maybe look for the tag instead or anything with www. in it????

Whoopse I missread you have the 'url' in there already nice :)

Link to comment
Share on other sites

So tell me, how are you going to fix it so that spammers don't put their advertisements in their sig, and just post random gibberish all around?

It's happened once already.

Link to comment
Share on other sites

I would suggest that rather than outright banning, posts that match the set criteria should be sent to a moderator for approval. There can be legitimate reasons to want to post URLs in your first post and that not being allowed is incredibly non-transparant.

The criteria you set will then be a way to reduce the flood of posts that would otherwise require mod approval, so as not to overload them with stuff that's probably harmless.

Link to comment
Share on other sites

Could you have it sort posts with a high proportion of links compared to the amount of text that they have.

Most spam I have seen has little if any plain text. So maybe limiting you to one URL per 150 words?

Just an idea.

Link to comment
Share on other sites

Nice idea, not sure how easy it would be to impliment though... phpBB is very big and complicated... I still havn't worked out how to fix the blank notification page. I have how ever worked out to block signitures that contain URLs when the user has less then 20 posts.

Link to comment
Share on other sites

Let me just repeat my objection that banning someone for posting too many links is an awfully heavy sanction for what may very well be a legitimate action.

If there are insufficient mods on this forum, appoint more of them. I for one wouldn't mind being one.

Link to comment
Share on other sites

Let me just repeat my objection that banning someone for posting too many links is an awfully heavy sanction for what may very well be a legitimate action.

If there are insufficient mods on this forum, appoint more of them. I for one wouldn't mind being one.

But you don't have the post count :P

Yes, perhaps banning poeple becasue they posted URls is a bit extrem... perhaps I will just leave it at egnoring the post.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...