hoffcamp
Forum Replies Created
-
Samuel, thank you! Send the .po and .mo files to campbell AT campbellhoffman DOT com. Also please give me a URL for me to link to, so I can credit you with the translation.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Javascript errors?You are not doing anything wrong, there is a mistake in the FAQ and in the template functions. I’ll have an update up shortly.
Forum: Plugins
In reply to: [Form Manager] Add Username to Post TitleI just posted the update. You can use the same shortcodes for the post title as for the custom e-mails.
Forum: Plugins
In reply to: [Form Manager] Add Username to Post TitleNo just the form title, but that is a good idea. I’ll work it into the next update.
Forum: Plugins
In reply to: [Form Manager] recieve 300 submissions instead of 1No problem. I’m glad to help.
For 1.5.13 I moved most of the scripts to userscripts.js. The file is only 8kb, and since I would have to scan the post(s) being loaded for the form shortcode to know if it was being used or not I figured it wasn’t worth doubling the database traffic for each page load over.
The dynamically generated scripts I wrapped as a CDATA section, and these only appear on pages with a form, unlike before.
Thanks for pointing this out – I took the time to validate the output as HTML5 and cleaned up some other things.
Forum: Plugins
In reply to: [Form Manager] recieve 300 submissions instead of 1I just posted 1.5.13 which will fix the symptom, the multiple submissions, but not the underlying cause. I have no idea why the page is loading 300 times. The code is single shot, so it can only send e-mails & add to the database once per page load. Let me know if this doesn’t work.
Thanks. This might take some time to do correctly / test.
Forum: Plugins
In reply to: [Form Manager] recieve 300 submissions instead of 1Could you run the ‘DB check’ in the advanced section and paste the output?
Hey, thanks for the suggestion. You are right, most of the JS that is currently echoed with the HTML could me moved into the userscripts.js file, but unfortunately some of it is generated dynamically according to the form structure. Is there a way to get around this? My concern is that if I generate a special scripts file for each form that the browser will indeed cache it and not load new ones as people are playing with changes to their forms. Any suggestions?
Forum: Plugins
In reply to: [Form Manager] recieve 300 submissions instead of 1Okay – I just took a look at the errors, those are some basic transactions that are having problems. Also the 300 submissions thing should not be happening, there is a nonce system that should only allow one submission per form. Thanks for posting this.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] front endI just added this as version 1.5.12, and wrote up an FAQ about how to use it. Thanks for suggesting this.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] front endShould be simple to implement. I’ll have something for the next update.
Forum: Plugins
In reply to: [Form Manager] validation dose not workIf you go to the ‘submission data’ tab when you are editing a form you will see it.
Forum: Plugins
In reply to: [Form Manager] validation dose not workI see what you mean now. Unfortunately there isn’t really a good way to do that through normal use of the plugin.
For now though you could put some code in your theme for that particular page. The $fmdb class gives you information about the form items, if you know the form slug and item nickname:
global $fmdb;
$nickname = (item nickname);
$slug = (form slug);
$formID = $fmdb->getFormID($slug);
$item = $fmdb->getItemByNickname($formID, $nickname);Then $item[‘unique_name’] holds the id attribute of the input/select/textarea tag, so you could then echo some javascript setting the element’s value. There should be an easier way to do this, I’ll add something like that for the next update. Good luck.