• Resolved oxygensmith

    (@oxygensmith)


    Hey again SpeakUp,

    We have a medium-large petition growing fast and closing in on 10000 signatures. We have an interesting situation where we have (human) trolls / spammers opposed to the initiative doing submissions. Someone on our side is volunteering to delete these as they appear.

    One option to weed out a lot of spam signatures is to verify signatures as they are entered. We’d prefer to do that all at the end after the petition. We’d like the petition to grow as fast as possible and then do verification at the end.

    So I was wondering about another possibility. We are wondering if the query that displays the signatures using the shortcode can possibly have some kind of date parameter attached to it, like 6 hours. This would give us time to weed out spammer / troll signatures before they appear.

    We’re comfortable editing PHP so if we could just be pointed to the query that might be enough to get us tweaking things to create this functionality.

    Thanks again,

    Rob

    • This topic was modified 3 years, 1 month ago by oxygensmith.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author SpeakOut!

    (@123host)

    You’ll find that query starting on line 76 in /wp-content/plugins/speakout/includes/class.signaturelist.php.

    If you compare the current date and time to $db_signatures.date and add that as an AND statement in the WHERE part of the query, it should work.

    • This reply was modified 3 years, 1 month ago by SpeakOut!.
    Thread Starter oxygensmith

    (@oxygensmith)

    Amazing, thank you!

    Plugin Author SpeakOut!

    (@123host)

    If you manage to do what you are after, I am very interested in seeing the code if you would be willing to share it for possible inclusion with the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can I set up the signature display so that signatures’ appearance is delayed’ is closed to new replies.