WordPress.org

Support

Support » Plugins and Hacks » SpeakUp! Email Petitions » [Resolved] [Plugin: SpeakUp! Email Petitions] Increasing Number of Target Emails

[Resolved] [Plugin: SpeakUp! Email Petitions] Increasing Number of Target Emails

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Kreg

    @kreg

    Yes, the character limit is 300.

    To change this, you’ll need to use PHPMyAdmin to edit the data type of the ‘petition_email’ field in your *dk_speakup_petitions database table. It’s set to varchar(300) by default. Change that number to whatever you want.

    Then you’ll need to open up /includes/admin-edit-view.php. Look at line 154, where a maxlength for this input field has been set to 300. Match this number with the new length of the field in the database, or simply remove the maxlength attribute entirely.

    That worked like a charm, thank you!

    mastrigt

    @mastrigt

    I can’t find /includes/admin-edit-view.php 🙁
    Somebody able to tell me where to find it?

    mastrigt

    @mastrigt

    Resolved!

    Plugin Author Kreg

    @kreg

    admin-edit-view.php has been renamed to addnew.view.php and the maxlength value you need to change is now on line 80.

    Can you walk me through updating the right table? In my PHPMyAdmin, I only see tables prefixed with wp_…

    wp_commentmeta
    wp_comments
    wp_links
    wp_options
    wp_postmeta
    wp_posts
    wp_terms
    wp_term_relationships
    wp_term_taxonomy
    wp_usermeta
    wp_users

    Where can i find the *dk_speakup_petitions table?

    Plugin Author Kreg

    @kreg

    @beewinter,

    The asterisk in the table name is just a placeholder for whatever your database table prefix is set to. In your case, the table you are looking for would be called wp_dk_speakup_petitions.

    This table should be created when you install and activate the plugin.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: SpeakUp! Email Petitions] Increasing Number of Target Emails’ is closed to new replies.
Skip to toolbar