WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] plugin wanted: ban specific domain referrals (19 posts)

  1. richards1052
    Member
    Posted 9 years ago #

    For those writing anti spam plugins (or any enterprising plugin author), I'd love to see one that will pick up the domain that refers a visitor to my site & blacklist the referral domain.

    The reason for this is that every so often I get a flurry of abusive comments referred to my site from various online forums. Since I can't know in advance the domain of the visitor who posts an abusive comment, banning the visitor's domain will only work after the fact. But once 1 person from a referred domain posts an abusive comment I can determine which online forum is referring. If I could ban the referral domain then I could stop all the copycat abusive comments that would follow the first one (& I get plenty in this manner).

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    richards1052 - you have posted repeatedly to the forums on this subject, and you have been given top advice.
    What steps have you taken to reduce this ?
    Forced comment registration ?

    Got a blog ? Get used to junk like this. It's the way it is.

    And no you would not - if I was one of these people I simply paste the url into a new tab, and I'd get through.
    Block my IP ? Not a problem, I'll anonymise.
    Make things harder for me ? I'll just be worse when I do get through.

  3. Marc
    Member
    Posted 9 years ago #

    I second podz remarks. Get used to it, it you want a public presence (ie on the web) you will continue to have this problem.

    The ONLY way around it is forced comment registration. And with that a determined commenter will just register under various names and IP's, so whats the point.

    You have chosen to write about what many consider a controversial topic and invites just the type of behavior you dislike.

    GET USED TO IT, and quit posting the same problem over and over and over.

  4. eragle
    Member
    Posted 9 years ago #

    I will add that there appears to be a bot that can register now on blogs. I've only been hit once but it derived from the same source that created a bot which registered on my vb forum.

  5. Marc
    Member
    Posted 9 years ago #

    Good reason not to have a "register link" displayed isn't it?

    If someone you know needs to register all they have to do is send a request via Email and the new user can be added on the backend vice allowing an open door for everyone.

  6. vkaryl
    Member
    Posted 9 years ago #

    You really only have a few choices with a blog: completely private, for yourself and perhaps a few carefully chosen others; obfuscated public, where you require registration and try not to litter the airwaves with pings/trackbacks etc. so that you're under the radar as it were; or open public - which is what you've got, richards1052.

    You seem to want to have your cake and eat it to: you want to be able to have a forum for your [very controversial] blog content, you want it public [being an exhibitionist apparently], but you don't want to deal with the fallout - you want someone to cover your ass for you by not allowing others' opposing [sometimes VIOLENTLY opposing] views to be posted.

    Since it appears that you have less need for comments than you do for setting out your own personal agenda through your posts, the one possibly viable suggestion I have for you is that you keep your blog publicly readable [since you seem to have that need to express your agenda], but allow no comments at all from the public.

    Truthfully, registration would seem to be the one way for comments to appear with less of the problem you so abhor; and really there's no reason not to use it [though you would still HAVE a problem occasionally, from someone who registed - yep, lots of ways to do that legit].

    If commenters are so insistent on anonymity, their comments would seem to be relatively valueless anyway. If you continue to insist on open posting of comments, then you will simply have to deal with the fallout, and stop whining when it happens as it will over and over. You can't do one way controversy, you know [in fact, the word itself indicates opposition] - or perhaps you haven't tumbled to that fact yet....

  7. richards1052
    Member
    Posted 9 years ago #

    So much hostility, peevishness and mistaken notions fr. so many!

    I merely posted a request for a plugin author to consider writing something that would ban a domain referral & instead of getting any substantive replies, I get 'piled on' by the Nyet set.

    First, Podz, you have suggested I consider forced comment registration in another thread & I think I answered you there that this would be my option of last resort since I did not want to squelch comments (as I fear this would do). If the solution isn't optimal for me, why do you criticize me for not accepting it & for seeking other options?

    Second, again Podz, I'm not trying to ban YOU, who know how to evade these defenses. I'm trying to ban some jerk who, if my defense works, will get an error pg. & perhaps not be able to figure out how to work around the defense. I don't expect defenses to be ironclad. I expect them to throw a roadblock in the way. I want the jerks to have to work that much harder to make mischief.

    GET USED TO IT, and quit posting the same problem over and over and over.

    Marc, we're getting peevish now aren't we? You've posted similarly peevishly at other threads of mine before. Don't you have anything better to do?

    And Vkaryl calls my blog "very controversial." By whose standards? By the standards of the jerks who write abusive comments? And you accept their standards as accurate? Or am I controversial by YOUR standards? In any case, my blog is only controversial to a very small fraction of the blog universe, those who are posting abusive comments.

    You call me "an exhibitionist" for having a public blog. That's a bit over the top isn't it? And again, no, I'm not opposed to "opposing comments" of which there are many on my blog. I'm opposed to outrageous, insulting, abusive comments. You apparently don't understand the difference.

    it appears that you have less need for comments than you do for setting out your own personal agenda through your posts

    Another complete misunderstanding of my blog's goals. I value both comments (even those disagreeing w. me) AND setting out my own "agenda" (how loaded a term). And why would you ever think I'd want a blog completely closed to all comments? Not at all. It defeats the whole purpose of blogging which is to have a 2 way conversation with the world.

    I guess "whining" depends on whose ox is gored, doesn't it? If it were yours and you asked for help in controlling unwanted commenters at your blog I'd like to think I would be less dismissive and a little more sympathetic. But hey, that's me.

  8. Mark (podz)
    Support Maven
    Posted 9 years ago #

    I give up.

  9. Marc
    Member
    Posted 9 years ago #

    I did that along time ago podz. Here's why:

    Marc, we're getting peevish now aren't we? You've posted similarly peevishly at other threads of mine before. Don't you have anything better to do?
    Lets not talk "Peevish," 1052 lets talk being a RPITA. I have lots of better things to do. Unfortunately I made the mistake of attempting to help you on many occasions. Most notably avatars and a sidebar issue. On both occasions you were given specific, make that very specific instructions including exact codeing.

    What I and others that jumped in to help explain got was constant posts in the threads by you saying "oh whoa is me, that didn't work," and a comment that you well..., just "changed this" or "changed that" from what your were told.

    Well duh...!

    Then to top it all off, then after I ignored your pleas for more help (because I DO have better things to do) you tracked down my Email address (admittedly easy via one of my blogs) and pounded my inbox with the same "oh whoa is me" plea for help.

    Your address promptly got tossed in the spam filter, both onsite and in my Email client.

    And BTW your blogs topic IS controversial, it is a highly charged issue for many, if you fail to see that your as blind to the ways of the world as you are to deciphering valid and consistent help given here.

  10. richards1052
    Member
    Posted 9 years ago #

    Marc: I wish you DID give up. But the fact that you follow my threads & leave snotty posts like the 2 above indicates that you must have lots of time to waste & also your emotional maturity.

    I've written this to you before but you've entirely ignored me...stop responding to my posts with snottiness (better yet just leave them alone entirely) or I will feel free to do in yr threads what you do in mine.

    Whether or not my blog is controversial, which despite the words of blockheads like you, it is not, is beside the point. No one who owns a blog should feel that part of their burden is to be hounded & harrassed by abusive comments. I'm seeking ways to control that. All the naysayers above seem to believe it's part of our lot in life to be abused by some of our visitors. I say it doesn't have to be that way.

  11. Firas
    Member
    Posted 9 years ago #

    <?php
    /* Add plugin header stuff */

    $blocked_domains[] = 'example.com';
    $blocked_domains[] = 'example.net';

    function bounce_losers() {
    if(isset($_SERVER['HTTP_REFERER'])) {
    $referring_domain = parse_url($_SERVER['HTTP_REFERER']);
    $referring_domain = $referring_domain['host'];
    if(in_array($referring_domain, $blocked_domains)) {
    header("Location: ".$_SERVER['HTTP_REFERER']);
    die();
    }
    }
    }

    add_action('init', 'bounce_losers');
    ?>

  12. Marc
    Member
    Posted 9 years ago #

    "I'm seeking ways to control that."

    And you have been given EVERY possible way to do just that long before this thread was started. Don't think so? These four were all within a 48 hour period.

    http://wordpress.org/support/topic/41366
    http://wordpress.org/support/topic/41251
    http://wordpress.org/support/topic/41519
    http://wordpress.org/support/topic/40687

    Plus the other four including this one that are on the very same topic.

    Here's a clue for ya. If podz says "I give up" it says a lot. He has spent more time and effort helping all of us here than most, if not all the volunteers, that attempt to help. Take that for what it's worth.

    BTW, "I will feel free to do in yr threads what you do in mine.". Have at it pal, they are far and few in between. I have enough common sense to go to the source of a troublesome plugin or the codex, not constantly pound this forum with the same thing over and over.

  13. Mark (podz)
    Support Maven
    Posted 9 years ago #

    My last comment on this issue:
    richards1052 - I think you want free and open commenting, but with code in the background that bans those commenters that you feel deserve it (NOTE: 'you feel' - that is IMPOSSIBLE to determine using code). So what you want is commenting in line with what you think comments about your words should say. But importantly, you want to be able to say "I have open comments! Anyone can disagree with what I say! Look - you don't have to register!!" while in the background sits your 'silent assassin' code that 'people with nothing to fear' will never see - so to them you are indeed operating a 'commenting free-for-all'
    But you wouldn't be would you ?
    You would be practising censorship, but hidden.
    So when you do that it's okay, but what if that approach was taken to you ? What if a country or state did that it - would you praise them for their efficiency or harangue them for their apparent hypocrisy ?

    Comments can be deleted with a single click - is that really too much effort ?

    You know what the tools are, I suggest you use them.
    (and I meant it about my last comment on this. I will not reply)

  14. cgibb1014
    Member
    Posted 9 years ago #

    One of the best things about WordPress is the the way it handles comment moderation. On TypePad I would wake up in the morning and find that I had comment spam on dozens of posts and have to delete them one by one.

    With WordPress, unless I've specifically approved a comment by a person before, their comments go to moderation and require my approval before getting posted. I can flag it as spam or just delete it and it never sees the light of day.

    So while I can appreciate that you don't like comments that you consider offensive, I'm not sure why, given all the comment handling features in WordPress, why they're a problem, unless you just don't want to have to read them in the first place.

    Under options/discussion there's a section that should put comments from any offending URL into moderation where it can be deleted before it posts. "When a comment contains any of these words in its content, name, URI, e-mail, or IP, hold it in the moderation queue..."

    So I'm not really sure what the problem is here. As soon as you read the first offending sentence you just hit delete.

    Another possibility is that your host has some way to ban certain domains. The stats I get from Dreamhost show literally hundreds of hits on my blog every day from domains with words like texas-holdem, poker, casino etc, in them yet none of those domains has ever successfully left any spam on my blog. These spammers are always at the top of the list of referring domains, but they never get through. So there might be something you can try at the host level.

  15. skippy
    Member
    Posted 9 years ago #

    Name calling doesn't solve problems. If anyone calls anyone else a name, this thread will be closed.

    Whether your blog is controversial is neither here nor there. The folks on these forums have tried to help. Everyone needs to accept the fact that the solutions we want may be beyond the capacity of those providing them.

    Firas posted example code. richards1052, please give us the courtesy of a response as to whether this code solves your problem. You may do so by selecting "Resolved" for this topic at the very top of the page. A "thank you" to Firas would also go a long way.

  16. richards1052
    Member
    Posted 9 years ago #

    Hi Richard,
    I ran across this http://unknowngenius.com/blog/wordpress/ref-karma/ and it seems that it is what you need. You can look at refferers at anytime and decide if you want to block them or not take a look and if it isn't what you need let me know or if you need any help, I am pretty decent with'hacking' together php scripts...but I thought you might want to take a look at this.

    Just found this one http://wp-plugins.net/plugin/noreferer/ looks even easier to use no configuration needed or so it says.

    Dawzz posted this reply to a thread I created at the HostDime.com forum. I note his positive willingness to help and to provide answers to the question I posed. He managed to find not one, but 2 plugins to address my need. I implemented one of them & it does precisely what I wanted.

    Wouldn't it have been nice if this had been the answer posted here instead of the shower of negativity posted instead (excluding Firas of course)?

    So to all above who say I'm "whining" or that getting abusive comments is the cross you bear for being controversial & one should just suck it up & accept it, I say it doesn't have to be that way.

    Another problem I have with this approach is that I think it misunderstands the nature of WP. You get a basic installation but then you get a world of plugins to help optimize your environment. If you have a need but can't find a plugin to address it, what's wrong with asking if there is one or asking if someone would consider writing one? In other settings, that's considered innovation, entreneurship & optimizing a product. Here for some it's considered something negative.

    Podz: Your comments about censorship in my comments section is totally beside the point. Who says a blog environment has to absolute democracy (or "chaos" depending on your attitude)? My blog is not a public square where everyone has the right to say what they wish. My blog is my own turf and a reflection of me. Who says that I need to see published in my blog comments which accuse me of "sexually mutilating" my son because I gave him a Jewish ritual circumcision (that is but one example of many & I won't bore you w. others)? All I was seeking in this thread was to figure out a way to ban visitors fr. referring domains who had a history of posting comments similar to this (others coming fr. the same domain that brought the above commenter were posting similar comments). Inherent in your approach seems to be a belief that a certain lack of control must be accepted by all who blog. You just have to grit & bear the abuse. What's wrong with having a diff. approach which exercises an element of control w/o totally stifling spontaneity?

    Skippy: I only used that term towards Marc because he has a history of leaving snotty comments in my threads here. I know using that word was a mistake & I've not done anything before here like that. This makes 4 dismissive comments by my count & if you'd like links to see his history in regards to my threads I'd be only too happy to oblige. And this is the 2nd time in a thread in which I've asked him to desist fr. leaving negative comments in threads I originate.

    And you needn't ask me to say thank you to Firas. If you followed other threads here in which members have been helpful to me you would see that I know how to be thankful. If I recall correctly, I've prob. thanked you in the past for help. If you mistake my attempt to defend or explain myself here for a generally uncivil person, you do not realize that I recognize and appreciate helpfulness.

    So thank you Firas for taking the time to come up w. that solution. I hope it will help someone who comes to this thread looking to resolve the type of problem I faced. And I hope the other 2 plugins Dawzz turned me onto will likewise be helpful.

    I will also mark the thread resolved & hope all of us can move on to other productive ventures.

  17. Mark (podz)
    Support Maven
    Posted 9 years ago #

    richards1052 - you have finally made it to my 'completely ignore no matter what' list. That list has a membership of one. You.

    You have posted here dozens and dozens of times for help. You have had people going out of their way to help you.
    You have no doubt filled inboxes with your demands.
    You have whinged and whined and moaned constantly.

    You just said above, with regard to the answers you felt you were not given: "Wouldn't it have been nice if this had been the answer posted here instead of the shower of negativity posted instead".
    Right ... read this _slowly_ for me...
    http://wordpress.org/support/topic/38063
    On 2005-7-3, Macmanx posted a link to this page:
    http://codex.wordpress.org/Plugins/Spam_Tools
    and guess what's on that page ?
    http://blog.taragana.com/index.php/archive/word-press-1-5-plugin-referer-bouncer/
    http://kyrres.net/2005/06/10/autobanreferer/
    http://unknowngenius.com/blog/wordpress/ref-karma/
    Now - what EXACTLY did you not understand about the advice MacManx posted ? Do tell...

    And yet on your blog you have not mentioned any of this help - in fact you barely mentioned the issue AT ALL compared to the racket you were making here.
    But today you deride the entire forums. All of us.

    Now - why on earth should any of us help you AT ALL in the future ?
    I'm certainly not.
    .

  18. Marc
    Member
    Posted 9 years ago #

    Exactly podz, sounds like you also took a look at his last blog entry where he claims to have been "dissed" and links to this thread.

    His profile lists more entries asking for help than 95% of the people here. And as you so pointedly show he HAS been given more than enough help and he either changes explict directions or fails to read the referencs given to him. Somehow after been unmasked by your links he won't be answering anything more in this thread.

    Good riddence applys.

  19. eragle
    Member
    Posted 9 years ago #

    I hate to even bring this silly thread back to the top but I feel it's necessary to point out that some people like to be dramatic and controversal when they have no right to be. Whether the motivation lies in stirring up blog traffic or just playing martyr-who knows?

    Judging by Richards last post claiming he wasn't given help here but was so graciously helped elsewhere, then comparing it to podz post which made it clear that he was helped with the EXACT same information, it would seem the motivation was a matter of laziness.

    We have a search feature, utilize it. When you are given a link, try clicking and reading. It's obvious that wasn't done in this situation. In that regards you were given all the help you needed to accomplish the same EXACT thing you accomplished elsewhere.

    I don't find your blog controversal. I've seen worse. I personally think you are being needlessly aggressive to generate attention and when that attention paints YOU in a bad light (and not the martyr) you hope to control it. Maybe it's just an act for your blog, but you mistakenly played that game here, only you can't delete or control the comments you are given here in a response. Which explains all of the vitriol you have openly displayed here. In other words: much ado about nothing.

    Move on friend. You were given more help here than you needed, you just don't want to admit it. I cannot even formulate how much help I have recieved here. Podz seems to live on this forum and is usually the first to reply to help requests. You haven't been fair to those who have helped you here and you compounded the problem by trying to play the victim when you are clearly not.

Topic Closed

This topic has been closed to new replies.

About this Topic