• Resolved lanesharon

    (@lanesharon)


    When I click on ‘Read the Petition’, at the very bottom is something that says **your signature**, literally. No short code to pick up my user name. How can I change this or set this?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author SpeakOut!

    (@123host)

    What is means is that the name of the person signing is inserted when the email is sent.

    It is an important part of the petition, but finding a way to indicate it in the sample that is displayed has been confusing for a while and obviously still is.

    I am open to any suggestions. Maybe it needs to be spelled out e.g. “**Your name is inserted here**”. Would that be better?

    Thread Starter lanesharon

    (@lanesharon)

    My purpose is not to send out emails but to use the signature list to send out with the petition wording to public officials that do not want to get dozens of emails about a topic. They would rather see one letter or email with all the signatures. So, it is not really an issue for me. I can just remove it because my signatures will be from the signatures in the database. I need to have the custom field displayed in the letter. Thank you for responding quickly.

    Plugin Author SpeakOut!

    (@123host)

    Aha…so you aren’t actually sending the target an email.

    You can remove it by deleting the code <p class="dk-speakout-caps">**' . __( 'your signature', 'dk-speakout' ) . '**</p> on about line 190 of /wp-content/plugins/speakout/includes/emailpetition.php.

    However this is a script that is updated relatively often so you may need to reapply your change after an upgrade.

    Thread Starter lanesharon

    (@lanesharon)

    Thanks so much for the plugin. I am going to leave the core alone because of the updating process. It is working fine for me the way it is. Since I will be using a certified letter of the petition, with signatures, it was the signatures capture that was the most important to me.

    The error is the wrong language domain: You normally use ‘speakout’, but for this particular string you use ‘dk-speakout’. This happens twice in the file emailpetition.php.

    so
    <p class="dk-speakout-caps">**' . __( 'your signature', 'dk-speakout' ) . '**</p>

    should be
    <p class="dk-speakout-caps">**' . __( 'your signature', 'speakout' ) . '**</p>

    While talking on this: There is another language string problem:

    $petition_form .= '
    						<div class="dk-speakout-progress-wrap">
        							<div class="dk-speakout-signature-count">
        								<span>' . number_format( $petition->signatures ) . '</span> ' . _n( 'signature', 'signatures', $petition->signatures, 'speakout' ) . $goal_text .'
        							</div>';

    Does not resolve to another language either, but could not work out the error yet.

    Plugin Author SpeakOut!

    (@123host)

    Thanks for that. I may have missed one location when I changed the language domain.

    I am away for a couple of days and will investigate when I return.

    Error still not fixed in Version 1.13.1 ??

    Look into emailpetition.php line 195:

    <p class="dk-speakout-caps">**' . __( 'your signature', 'dk-speakout' ) . '**</p>';

    should be

    <p class="dk-speakout-caps">**' . __( 'your signature', 'speakout' ) . '**</p>';

    Same error occurs on line 208!

    Plugin Author SpeakOut!

    (@123host)

    Sigh…my bad. I had completely forgotten about it because I had marked the original topic as resolved earlier.

    It is fixed now (also in the widget) in 1.13.2 which I am uploading now.

    Thanks for the reminder.

    • This reply was modified 6 years, 4 months ago by SpeakOut!.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘**your signature**’ is closed to new replies.