hoffcamp
Forum Replies Created
-
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Condition not works on IESome others have had problems with conditions in IE. I’m still working on a fix.
It turns out I forgot to put this in the FAQ. You can restrict the table to only certain fields using their nicknames separated by commas. The shortcode would look like:
[formdata form-1 table show="foo,bar,blah"]Forum: Plugins
In reply to: [Form Manager] Field names not editableBtw, if you figure out which plugin causes a conflict I might be able to fix it, though not always.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] get image into templateUnfortunately the way the files work is kindof weird. The value returned by fm_summary_get_item_value() is an unserialized array containing the filename and other stuff. Try this instead:
<?php $file = fm_summary_get_item_value('whatever'); $file = unserialize($file); $uploads = wp_upload_dir(); ?> <img src="<?php echo $uploads['url'].'/'.$file['filename'];?>"/>This will only work if you are using %wp_uploads_dir% as the upload directory.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] download CSV bugYou would need to disable PHP warnings. Showing warnings is only normal in a development environment. Public sites should turn warnings off.
On the other hand I’m not sure what would be causing the problem with the headers, so I can take a look, but it is best to not display warnings unless you know why you need them.
Jan, I’ll take a look and see what I can do about the conflict.
austinviking, could you post a link to the form that isn’t working? I’ll take a look at the generated code. Also, see if disabling other plugins solves the problem, and let me know which one FM is conflicting with.
Sorry I’m not sure what you mean. Do you mean a list item in a form based on a column from a spreadsheet?
Your English is great, no need to apologize. Right now there is no way to do this. I’m going to post an update later today (1.6.20) that will make it easy. What you can do is use the ‘submission acknowledgement message’. Just insert
<a href="[item post_url]">(link title here)</a>to put a link to the published post in the acknowledgement message. You can use any of the shortcodes described at the bottom of this page.I just noticed something got messed up with the code I posted. Just remove the parts where it says
<code>and</code>and you should be fine.Oskar,
You could do this with a filter. I didn’t document it in the FAQ, but it will solve your problem. First you need to make a blank plugin. There is a template on my site for a custom submission action, that will work, but you would want to remove the add_action stuff that comes with it and replace it with the following:
add_filter( 'fm_data_query_clauses' , 'fm_addUserClause' ); function fm_addUserClause( $clauses ){ $clauses[] = "<code>user</code> = '".$current_user->user_login."'"; return $clauses; }That shouldn’t be happening. This can happen if the theme you are using has left out wp_footer(), since that is where the scripts live. So check that, and if that doesn’t solve the problem post a link to the form and I’ll take a look at the generated code.
Forum: Plugins
In reply to: [Form Manager] which members plugin do I use to limit access?There are two ‘members’ plugins. The one that works with my plugin is the one by Justin Tadlock. Sorry for the confusion.
If you want a role to only have access to a form’s data, use only the following capabilities:
form_manager_main
form_manager_data(*)
form_manager_edit_dataIf this isn’t working for you then you’ve found a bug, so then the next step would be to list the other plugins you have installed and go from there.
There isn’t an easy way to do this.
You would want to remove lines 865 and 866 from db.php in the plugin’s folder. These lines should be in the body of the processPost function, and look like the following:
if($this->insertSubmissionData($formID, $dataTable, $postData) === false) $this->lastPostFailed = true;Unfortunately you would have to make this change every time you update the plugin.
Forum: Plugins
In reply to: [Form Manager] Fatal error: Cannot redeclare format_string_for_js()Are there any other plugins installed? I tried to recreate the error but couldn’t. For now you could just type in the shortcode. The format is simple, if your form’s slug is ‘form-1’, then you would type ‘[form form-1]’ in your post/page and the form will appear in that spot.
Forum: Plugins
In reply to: [Form Manager] Form DataSorry to take so long to answer this – you could make a list item, and set the style to ‘checkbox list’. The submitted data would then be just the book titles, or whatever you put in the list, separated by commas. Other than that, I would suggest a macro in the application you are using to open the .CSV file.