swanzai
Forum Replies Created
-
On the options page of the plugin, you’re essentially providing a list of possible query variables, so any hard-coded vars can be grabbed from your webform of choice (locally or in our case, via Infusionsoft).
Simply include the shortcode on the post or page of your choice, and from your webform, set it as the result page. Again, this depends on what software/service you’re using, in Infusionsoft you just check the box that says pass customer information on to the thank you page. You end up getting something like
https://moggiex.com/my-gttregister-page?FirstName=Moggie&LastName=X&Email=...
If all goes well, GTWRegister should grab the variables from the address bar and spit out a response. Keep in mind if you can set whatever variables you need on the options page, so the URL could end up looking more like
https://moggiex.com/my-gttregister-page?fn=Moggie&ln=X&e=...
if ya wanna be more concise. Hope that helps.
Forum: Plugins
In reply to: [Warm Cache] [Plugin: Warm Cache] How to call this plugin correctly?I think the problem lies in line 103 of warm-cache.php. It uses the command wp_generate_password() to create the variable plugin_warm_cache_api, which is the warm_cache=URL . wp_generate_password() by default uses special characters to be more secure, but these characters don’t seem to work with cron or in a URL format in general.
In my case, % and ) caused either cron to fail, or the URL to just resolve my homepage. You’ve got a whole cl&sterf*ck.Anyway, I changed my plugin_warm_cache_api variable manually in the database, and added $special_chars = false to the wp_generate_password() command for good measure. Seems to have done the trick.
add_option('plugin_warm_cache_api',wp_generate_password($special_chars = false));
Just one more bump…
Bump for good measure — can anyone even point me to the media library upload code? I’ve poked around media.php, media-upload.php, and upload.php in the admin area but can’t find anything relating to replacing spaces… I know I’m breaking my WP install, but it’s just a set-it-and-forget-it site, and nothing is supposed to read from the uploads except a PHP script that’s generating an XML file (the script doesn’t mind spaces. just WP does.)
Wow. If anything works that’d be it. Thank you kindly.
Time will tell if it’s what I need, like I said it recreated the directory every couple weeks, but I am on Dreamhost, so I feel like you’re on track.