No Spam on PHPLD

Discussion in 'Directories' started by shutzu, Feb 6, 2008.

  1. #1
    Okay guys, I've started working on making a copy of phpLD where spam will not be allowed
    basically, I have to change the fields names from TITLE URL and DESCRIPTION to anything else, something totally random and I need some help
    I need to identify the files that depend on those values
    there would be:

    almost all template files in the site template and core templates..
    submit.php
    index.php
    includes/tables.php
    some admin php files....

    if I manage to make this will give for free to whoever can prove that has a paid licence of phpld (you show the licence and david confirms it's bought by you)

    Another great deal would be if next version would come with the option for admin to set the field names on the submit page from the ACP, but until then I'd say we can try to do this

    Please post here other files which depend on the velues... (would be great to have a good list)

    Already tried Search and Replace in all files.. worked almost good, only that I had to take everything again after replacing...so it's not a too good way to do it
     
    shutzu, Feb 6, 2008 IP
  2. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #2
    Nice work but it can be done much easier. You can block any robots from your submit page, thats 1 way. This would prevent automated programs from accessing it.

    Or you could get in touch with an0n and buy his spam guard mod. Its amazing, I haven't had any spam whatsoever since he installed it.
     
    mikey1090, Feb 6, 2008 IP
  3. aspidov

    aspidov Well-Known Member

    Messages:
    2,875
    Likes Received:
    272
    Best Answers:
    0
    Trophy Points:
    175
    #3
    or you can just protect your submit page by moving it somewhere else and block it with robots.txt
     
    aspidov, Feb 6, 2008 IP
  4. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #4
    Im sure I just wrote that, didnt I? :p
     
    mikey1090, Feb 6, 2008 IP
  5. malcolm1

    malcolm1 Prominent Member

    Messages:
    7,148
    Likes Received:
    758
    Best Answers:
    0
    Trophy Points:
    310
    #5
    OR phpld/coder could make it so the "submitters info" is sent after payment is completed...:D

    Spammers dont like to pay ... lol

    BUT if its a "free directory" then i agree that it would be a very good idea to make it so
    that you have to "manually insert the info" rather then automatic submits as thats where
    the bulk of spam comes from...

    thx
    malcolm
     
    malcolm1, Feb 6, 2008 IP
  6. Punski#2

    Punski#2 Peon

    Messages:
    51
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Pretty cool! keep it up
     
    Punski#2, Feb 6, 2008 IP
    dargre likes this.
  7. shutzu

    shutzu Active Member

    Messages:
    660
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    68
    #7
    yea well, you all said methods to block spam. I already have the method, and this one really is the best no matter what you're saying.

    Will let you know when I'm done, even invite you to try to spam :)

    Note: I used the search and replace tool after all, might be the easyest way. Anyone can help? I ended up here: Notice: SmartyValidate: [is_valid] criteria function 'isASDF' was not found. in C:\wamp\www\spam\libs\smarty\SmartyValidate.class.php on line 592 , probably something on the validator.. in submit.php, but I tried to fix everything and still not working

    Edit 2: problem bellow fixed. managed to add categories in admin and submit a link. i hit on this: Fatal error: Smarty error: [in HorizontalMenuAdmin/dir_approve_links.tpl line 96]: [plugin] modifier 'ASDFwrap' is not implemented (core.load_plugins.php, line 118) in C:\wamp\www\spam\libs\smarty\Smarty.class.php on line 1095 - any ideas?

    Edit 3: Fixed that one too :)), it simpler than I thought. Gotta go now, I have to take my drivers licence (if i pass this exam...)
     
    shutzu, Feb 6, 2008 IP
  8. shutzu

    shutzu Active Member

    Messages:
    660
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    68
    #8
    So by now I can add categories, add links, approve links.. have to play a bit more with the language file.. and few more tests. Probably in two days will be done
     
    shutzu, Feb 7, 2008 IP
  9. safe6

    safe6 Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Pretty cool! keep it up
     
    safe6, Feb 7, 2008 IP
  10. malcolm1

    malcolm1 Prominent Member

    Messages:
    7,148
    Likes Received:
    758
    Best Answers:
    0
    Trophy Points:
    310
    #10
    Well im sure most directory owners are awaiting :D
     
    malcolm1, Feb 13, 2008 IP
  11. shutzu

    shutzu Active Member

    Messages:
    660
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    68
    #11
    I abandoned this way since David said I can't share it with you guys.. but didn't abandoned the project. it might actually be much easier than expected. the only problem will be that the submitter won't even be able to submit sites using Roboform or some autocomplete plugin for firefox, so the question is after all... is this a good idea?
     
    shutzu, Feb 13, 2008 IP
  12. pipsbank

    pipsbank Banned

    Messages:
    1,187
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #12
    which version do you use for the PHPLD?
     
    pipsbank, Feb 13, 2008 IP
  13. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #13
    Why cant you share it? What was Davids problem?
     
    mikey1090, Feb 13, 2008 IP
  14. MOG

    MOG Well-Known Member

    Messages:
    2,219
    Likes Received:
    163
    Best Answers:
    0
    Trophy Points:
    180
    #14
    yep, pretty please share, and what phpLD version is this? (please say 2.x, although I have a horrid feeling it will be 3.x).
     
    MOG, Feb 14, 2008 IP
  15. malcolm1

    malcolm1 Prominent Member

    Messages:
    7,148
    Likes Received:
    758
    Best Answers:
    0
    Trophy Points:
    310
    #15
    Well that would be the most logical conclusion to get people to update their scripts and
    spend a few bucks for the "piece of mind" and "comfort" as well "joy" it would bring :D

    laterz
    malcolm
     
    malcolm1, Feb 14, 2008 IP