ebud
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Creating Webservice of sortsThanks again for the direction! I have moved forward using Json Web Tokens and have it up and running. I am using the JWT piece to authenticate the user and get the token and then have extended the WP REST API to include a custom end point that does some permission checking using the token and then allows the downloads…etc.
I am curious what the default expiration is for the Authorization Token? Since this solution would be accessed from a Windows based desktop app we could initiate on the software install, but it would be nice to have it call home and re validate the user at some interval.
Forum: Developing with WordPress
In reply to: Creating Webservice of sortsThanks again for the feedback!
With the Web Tokens does that builds on the the underlying WordPress REST API by adding an authentication layer or can this be used exclusively to do what I am try to accomplish?
Forum: Developing with WordPress
In reply to: Creating Webservice of sortsThanks!
I setup a simple test php page that authenticates a user, checks their role and then returns the txt file, seems to work ok and I could add few method like list files and get file.
I am assuming if we post requests using HTTPS the security is acceptable?
I like the REST API and custom end point idea though… I would still need the OAuth authentication API for WordPress Plugin for authentication though correct?
Similar issue… if you have 0 comments and don’t have the “Allow Comment” box checked at the post level the Disqus control does not show, if it’s checked the control appears.
If you have > 0 comments and “Allow Comment” box is unchecked the control still shows.
Ideally I would like to globally uncheck “Allow Comments” to avoid spammers.
Sounds like the beta version may address this – when will it be available?
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Integrating Registration formResolved!
Just needed to include this …
add_filter( 'mc4wp_integration_data', function( $data ) { if( ! empty( $_POST[ 'AGREEMENT' ] ) ) { $data[ 'AGREEMENT' ] = sanitize_text_field( $_POST[ 'AGREEMENT' ] ); } return $data; });
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Integrating Registration formI am seeing this is the debug…
[2017-09-15 12:09:32] ERROR: Registration Form > MailChimp API Error: Bad Request. Your merge fields were invalid.
– AGREEMENT : Please enter a valueI tried prefixing the fieldname with mc4wp- still no luck.
Do my firstname /lastname field names need to match exactly with what is shown in the MC form FNAME and LNAME?
- This reply was modified 7 years, 2 months ago by ebud.
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Integrating Registration formDo I need to prefix all field that would go to Mailchimp with mc4wp- ?
It looks like some mc5wp fields are getting automatically inserted and I manually added:
<input type=”hidden” name=”mc4wp-subscribe” value=”1″ />Still no luck.
Here is a snippet
<input name="AGREEMENT" type="radio" value="Yes" required> <span>Check here to indicate that you have read and agree to the License and Maintenance Agreement</a>.</span> <input type="hidden" name="mc4wp-subscribe" value="1" /> <!-- MailChimp for WordPress v4.1.6 - https://mc4wp.com/ --><input type="hidden" name="_mc4wp_subscribe_wp-registration-form" value="0" /><p class="mc4wp-checkbox mc4wp-checkbox-wp-registration-form"><label><input type="checkbox" name="_mc4wp_subscribe_wp-registration-form" value="1" checked="checked" /><span>Keep me informed about Software updates!</span></label></p><!-- / MailChimp for WordPress -->
- This reply was modified 7 years, 2 months ago by ebud.
Forum: Developing with WordPress
In reply to: Set a page for custom-post-type indexThanks!
I think I will make a custom template that lists all the items in the custom post type. I don’t need a single post view so this should work.
Thanks! if I want to use an InfusionSoft form in a pop up what format would suggest… javascript, styled or unstyled?
Forum: Plugins
In reply to: [Beautiful taxonomy filters] Filtering with dates tooNice detail and thanks for the response.
Forum: Fixing WordPress
In reply to: Custom post type & custom taxonomy prev/next linksAh… the plugin “Beautiful taxonomy filter” is breaking it!
Now I need to figure out how to get the nice permalinks with out the plugin.
Forum: Plugins
In reply to: [Custom Post Type UI] Permalinks for CPT and TaxThanks for the response.
Could you give me an example of what you would enter into the ‘Custom Rewrite Slug’ and the ‘Custom Query Var Slug’ setting in the Post Type and Taxonomy setting?
Not clear what is expected in these fields.
Thanks that works… it pushes the container height down to the bottom of the screen.
Any ideas for a fix on the container high?
I am using Contact 7 and the Google reCaptcha integration that is included with contact 7 – just need the API keys
https://www.google.com/recaptcha/intro/index.html
and again the issue is this addition forces the submit button off the bottom of the panel and then the form feedback further pushes things down.