+ Reply to Thread
Results 1 to 8 of 8

Thread: Duplicate Ad Security Feature

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    11

    Duplicate Ad Security Feature

    Hi, I would like to see a duplicate posting security feature in Flynax to prevent users repeating the same ad multiple times and spamming the categories. I have seen this in some of the better classifieds software. It's a good idea.

  2. #2
    Flynax developer John's Avatar
    Join Date
    Oct 2009
    Posts
    606

    Re: Duplicate Ad Security Feature

    Hello,
    "Prevent duplicate listings posting" options is good idea, we will realize it as new plugin, please keep an eye on our blog, we will post news there, also I will reply you in this thread.

    John

  3. #3
    Was there anything ever done on this issue

  4. #4
    We unfortunately did not implement anything related to this. For now we can start with simple customization, i have something easy in mind regarding how to prevent duplicated listings.

    Let me know if you interested we can start with this simple customization ( i will post instructions) , and later if necessary improve it and implement as plugin.

  5. #5
    Yes I would definitely like to have this what is the procedure to impliment this as soon as possible

  6. #6
    ok, try please following

    open includes/controllers/add_listing.inc.php ~ 700 line
    find code and make changes
    PHP Code:
    Only registered members can view the code
    also you have to add phrase key with key 'duplicated_ad_error' and text you want to be Error message through the language manager.

    Not sure actually will it be useful or not, it's just start point - it's checking for same title in the database and if found gives error.
    make sure that you title and description are the right field keys - they can be different for your site.

  7. #7
    Would you kindly explain to me how this code work?
    Also looking forward to the plugin. This could be consider a essential plugin

    P/S: Does this code work for 1 account only because some people may sell similar thing

  8. #8
    The code checking database for the listing with same description and title, if at least one listing found with same data it will show error.

    For the plugin, its not very clear what the plugin will do, do you have other thoughts of this in addition to the code we have .. ? )

+ Reply to Thread