WordPress.org

Forums

SpeakUp! Email Petitions
[resolved] let public counter display all (13 posts)

  1. polanve
    Member
    Posted 2 years ago #

    I am trying to find the code to change to let the public counter display the total number of signatures and not just the confirmed emails. I can change it, but where is it?

    http://wordpress.org/extend/plugins/speakup-email-petitions/

  2. polanve
    Member
    Posted 2 years ago #

    I found it. In class.petition.php line 296, delete the "0"

    My petition: http://www.poweroften.us/petition

  3. polanve
    Member
    Posted 2 years ago #

    resolved!

  4. maikai1110
    Member
    Posted 2 years ago #

    Hi Polanve!

    Can you please tell me the exact line you changed? there is no "0" on line 296 and I'm desperate to get the same issue resolved.

    Any help would be appreciated!!

    Kelli

  5. polanve
    Member
    Posted 2 years ago #

    What I am seeing is wp-content/plugins/speakup-email-petitions/includes/class.petition.php line 296 reads: AND ( $db_signatures.is_confirmed != '0' )
    Hope this helps!

  6. polanve
    Member
    Posted 2 years ago #

    OK I just did it again with success. I changed the line to: AND ( $db_signatures.is_confirmed != ' ' )

    The result was that the page displayed all signers, not just the confirmed signers. Hope this helps!

  7. maikai1110
    Member
    Posted 2 years ago #

    I can't even describe how much you've helped me. I'm sending major good karma your way my friend.

    SO MUCH APPRECIATED!!!!!

  8. leoly
    Member
    Posted 1 year ago #

    This trick no longer works or didn't work for me. Does anyone have other methods that have worked?

    thanks

  9. polanve
    Member
    Posted 1 year ago #

    The line number has changed, it is now line 301

  10. leoly
    Member
    Posted 1 year ago #

    yes, that's what I changed but it didn't work. Is it still working for you?

  11. polanve
    Member
    Posted 1 year ago #

  12. Kreg
    Member
    Plugin Author

    Posted 1 year ago #

  13. polanve
    Member
    Posted 1 year ago #

    Aha, I see it is two different questions. One is for the counter, the other for the signature list. Once again, the author is excellent in his response!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.