hoffcamp
Forum Replies Created
-
If the value is ‘$file’, then the file URL would be
$file['upload_url'].$file['filename']Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] export import moduleYou would have to copy all of the tables and WP options. The tables are prefixed with ‘fm_’ and the wordpress prefix, and the WP options are prefixed with ‘fm_’.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Download Icon in Table-ViewYou would have to have an icon image (or set of images), then make an image link from the filename. The template code can’t generate icons by itself, though its a nice idea.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Auto-Fill in ConditionsThere isn’t a way of doing this.
This would be a useful feature, though. I’ll add this to the pile.
There isn’t an easy way of doing this.
The e-mails have the content-type set to text/html by default, so that may be why they aren’t getting caught.
The function for sending emails is defined at line 372 of helpers.php (fm_helper_sendEmail). This function builds the headers & parses the e-mail template, then sends it off to fm_sendEmail, which does nothing more than select wp_mail() or mail().
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Summary Display OrderThis is a bug. The ‘date’ field is really just a text field, so as far as the code is concerned, its the same as any other. The validation information isn’t really accessible to the query function, since its just a script that runs on the user side.
The relevant code starts at line 1082 of db.php. You can see there is a hack already for numerical versus text sorting (ASC_N and DESC_N do numerical sort, ASC and DESC do alphabetical). The $orderBy variable stores the MySQL ‘ORDERBY’ clause.
You can insert the following to get special ‘ASC_D’ and ‘DESC_D’ date sorters for the format you mentioned (dd-MON-yy), after the ‘if’ and before the ‘else’:
elseif ($ord == 'ASC_D' || $ord == 'DESC_D'){ $ord = substr($ord,0,strlen($ord)-2); $orderBy = 'STR_TO_DATE(<code>'.$orderBy.'</code>, \'%d-%b-%y\')'; }If you changed the prefix after installing the plugin then you will have to manually rename the tables. This is a huge oversight on my part but unfortunately this bug is deeply ingrained in the plugin.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Auto Redirect not workinI used the form a few times with different browser settings, so there is some junk data in your database now (sorry).
The only thing I can think of is the redirect script could conflict with the script that shows/hides the different pages. The code that generates the redirect script is on line 397 of api.php.
Also FYI the phone number validation is only for US phone numbers..
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Label WidthYou should use CSS for that, but the CSS classes for the header cells are broken. I’m posting and update to fix it (1.6.35).
The table, header, and table cell elements have classes based on the item type and nickname:
* The table tag class is “fm-data”
* Header (th) class is “fm-item-header-(nickname)” where (nickname) is replaced with the item nickname
* Cells (td) class is “fm-item-cell-(type)”, where (type) is replaced with the type name for the item type. This will be ‘text’, ‘textarea’, ‘custom_list’ (which applies to all the list types), ‘checkbox’, ‘file’, etc., for the full list look at the top of types.php.Make sure your theme has a call to wp_footer(). This is usually why the form scripts don’t work.
It looks like the page is being loaded via AJAX, without a header or footer. The footer scripts are generated only on form pages, so if wp_footer() is called by the container page instead of the post/page with the form on it, the scripts won’t be there.
I will add an option to include scripts with each form rendering, rather than in the footer, which may your problem, but if it doesn’t, you will have to modify the theme to output the footer with the AJAX page loads.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Persian Language packYes… that’s what I meant. I got your language files, I’ll have them posted today.
Forum: Plugins
In reply to: [Form Manager] [Plugin: WordPress Form Manager] Persian Language packHey sorry for the late response. Send the language files to campbell AT campbellhoffman DOT com. Also I’ll make sure to add the div tags you mentioned to the recaptcha for LTR layouts. I’ll have the update posted ASAP.
That was it. I just posted the update (1.6.33).