Kreg Wallace
Forum Replies Created
-
Hi, I don’t have plans to add signature editing capabilities at the moment. However, you can access the
wp_dk_speakup_signatures
table in your databases using PHPMyAdmin and edit the signature information there directly if you like.Thanks Ninos,
I’ll include the stripslashes() on that field in the next release.
You would need to edit /includes/widget.php and on line 176:
<input type="hidden" id="dk-speakup-widget-permalink-' . $petition->id . '" value="' . get_permalink() .'" />
replace
' . get_permalink() .'
with your urlMaybe. I’ll take a look at this in the twenty-eleven theme.
The first name and last name of the signer are added to the email automatically. They appear after the message body as a signature.
I’ll take a look at the magic quotes. Are you seeing this problem in the field that holds the email message?
You could wrap the [signaturelist] shortcode in a div like this:
<div class="sigs"> [signaturelist id="1"] </div>
and then style that div in your theme something like this:
div.sigs { height: 200px; overflow: auto; }
You can create your own CSS theme for the signaturelist… On the plugin’s Settings page, under the Signature List tab, select “None (use petition-signaturelist.css)” for the theme.
Then create a file called
petition-signaturelist.css
and place it in your theme folder. Now you can use whatever styles you like. Copy the styles from the plugin’s /css/signaturelist.css file over to your custom theme if you want to have a starting point.To change that color, just add your color definition to the style for
h3.dk-speakup-signaturelist_header
.Are you using an older version of the plugin? The current version (1.7.4) should support the inclusion of hashtags.
In version 1.7.4 the petition form HTML is in /includes/public.php and starts about line 143. You can rearrange some of the form sections there to get what you want.
The petition plugin actually doesn’t control what image Facebook uses. All it submits to Facebook is the URL and title of the post.
I’m not sure about this, but I think Facebook lets you select an image from the page if you’re the first person to post the URL. Then it uses that same image for all subsequent posts of the URL. You may be able to get more control over this behavior by trying out some of the WordPress plugins that manipulate the Facebook Open Graph protocol. Just do a search in the plugin repository for “Open Graph”. There’s a lot of plugins for that, but I haven’t tried any of them.
The redirect is done with a meta refresh on this line:
<meta http-equiv="refresh" content="10;' . home_url() . '">
It refreshes the page to the home url after 10 seconds. Delete that line to stop the refresh or edit it if you like – more info here.
Hi Vic,
In version 1.7.3 the HTML for the confirmation screen starts on line 320 of public-utils.php.
Well, the point of having signatures confirmed is so that you can be sure the person who signed the petition is really who they say they are. Manually confirming the signatures defeats this purpose.
You can always use the “Re-send confirmations” button to send the confirmation mail again to all of your unconfirmed signers.
I haven’t seen this problem before. It sounds like the plugin was working as expected for awhile and then later started double posting. Do you recall adding any new plugins or something like that before it started double posting? If you provide the URL of your petition I can take a look to see if there is something strange going on with the JavaScript.
This problem was resolved using @somethingelse’s method from this thread.
I you are experiencing a similar problem, go to the “Email Petitions” page to see your list of petitions. Then, click the petition title to open the edit screen. Now click the “Update Petition” button. That should take care of it.