Forum Replies Created

Viewing 15 replies - 16 through 30 (of 60 total)
  • Thread Starter fuchsws

    (@fuchsws)

    wow, thanks for your quick fix!

    However I tried this and added “portfolio_category” to “Custom Taxonomies” but it doesn’t seem to work, I don’t see at the default 404 destination option.

    How does this work since a custom taxonomy is always related to a custom post type?

    Thread Starter fuchsws

    (@fuchsws)

    Any news on that ? that really speeds up delivery of assets if supported by the server

    I have the same issue: all (duplicated) options enabled but the shortcode doesn’t create an opt-out link! hopefully this will be fixed asap otherwise EU users might have to switch plugin …

    Thread Starter fuchsws

    (@fuchsws)

    see https://developer.www.ads-software.com/reference/functions/register_taxonomy/
    => “taxonomy for a custom post type”

    “Page” or “Post” is a so called “Post Type” in WordPress.
    “Category” or “Tag” i sa so called “Taxonomy” in WordPress and always associated with a “Post Type”.

    The plugin above also must have a feature to create a custom taxonomy “portfolio category” for a custom post type “portfolio”.

    I expect to be able to enable redirects to categories of custom post types and not only posts of custom post types.

    All clarity eliminated? ?? Thanks!

    Thread Starter fuchsws

    (@fuchsws)

    thanks for your reply.

    I already did this but in the dropdown only category and tags of the post type “post” are listed not of my custom post types. But posts of my custom post type are listed correctly – not its taxonomy ??

    I have a custom post type “portfolio” and a taxonomy “portfolio_cat”, but this category and its entries are not listed at “Categories” at the bottom of the dropdown.

    Thread Starter fuchsws

    (@fuchsws)

    no, my question was: can the post deletion be scheduled via wp cron?

    In your feature list you write:
    – Schedule deletion of posts automatically (not yet working on it)

    When will this be developed?

    I can confirm this: version 2.9 breaks the preview – wrong author, no post thumbnail … please check & fix – thanks!

    Thread Starter fuchsws

    (@fuchsws)

    thanks for the fix! however now the validation is working to good ??

    when submitting a form with missing required fields ALL fields (even those correctly filled in) are marked as missing/not correctly filled in.

    In version 14.12.3 this still is working as expected.

    Thread Starter fuchsws

    (@fuchsws)

    figured it out (I used the wrong hook):

    function my_acf_load_field( $field )
    {
        if ( strpos($field['default_value'], '%%') === 0 )
        {
            $default_values = explode(':', str_replace('%%', '', $field['default_value']));
            if ( $default_values[0] == 'usermeta' )
                $field['value'] = get_user_meta(get_current_user_id(), $default_values[1], true);
        }
        return $field;
    }
    add_filter('acf/load_field', 'my_acf_load_field');
    • This reply was modified 8 years, 2 months ago by fuchsws.

    I hope this will be fixed soon, for me the same!

    Thread Starter fuchsws

    (@fuchsws)

    this only happens in the admin with special characters

    I downgraded to plugin version 2.6 which works fine again.
    maybe a problem with wptexturize() ?

    I can confirm this. maybe an issue with a newer wordpress version and usage of the old media uploader dialog. the javascript returns “undefined” for the image source.

    you may work around this by filtering the option value until fixed by the plugin author:

    function my_filter_wpsl_map_pin( $option )
    {
        	$option = '/path/to/image.png';
    	return $option;
    }
    add_filter( 'option_wpsl_map_pin', 'my_filter_wpsl_map_pin' );
    Forum: Plugins
    In reply to: [cformsII] Dynamic forms
    Thread Starter fuchsws

    (@fuchsws)

    This is how I fixed it – implemented my own cforms shortcode (and how to implement a spam honeypot!). Now simply use “{spam_honeypot}” as a field using the cforms gui. Can be expanded with any code you need and as much “replacement tags” you need.

    remove_shortcode('cforms');
    add_shortcode( 'cforms', 'my_own_cforms' );
    
    function my_own_cforms ($atts)
    {
        extract( shortcode_atts( array(
    		'name'  => NULL
    	), $atts ) );
    
        if ( empty($name) )
            return;
    
        $cform = cforms2_check_form_name($name);// get form id by name
        $cformsSettings = get_option('cforms_settings');// load all cforms
        $info['cform'] = $cform;
        $formdata = array();
        $cform_fields = array();
    
    	for($i = 1; $i <= $cformsSettings['form'.$cform]['cforms'.$cform.'_count_fields']; $i++)
    	{
    		$field_stat = explode('$#$', $cformsSettings['form'.$cform]['cforms'.$cform.'_count_field_' . $i]);
    
    		$formdata[$i][0] = $field_stat[0];
    		$formdata[$i][1] = $field_stat[1];
    		$formdata[$i][2] = $field_stat[2];
    		$formdata[$i][3] = $field_stat[3];
    		$formdata[$i][4] = $field_stat[4];
    		$formdata[$i][5] = $field_stat[5];
    		$formdata[$i][6] = $field_stat[6];
    
    		if ($field_stat[0] == '{spam_honeypot}') $info['spam_honeypot'] = $i;
        }
    
        // hide (css) spam honey trap "phone" field
        if (!empty($info['spam_honeypot']))
        {
            add_action('wp_footer', function () use ($info) {
                ?><style>#cforms<?php echo $info['cform']; ?>form #li-<?php echo $info['cform']; ?>-<?php echo $info['spam_honeypot']; ?> {display: none}</style><?php
            });
    
            // add dynamic form fields
            $formdata[$info['spam_honeypot']] = array('Telephone number||^$','textfield',0,0,0,0,0);// spam honey trap
        }
    
        $i=0;
        foreach ( $formdata as $field )
        {
        	$cform_fields['label'][$i]        = $field[0];
        	$cform_fields['type'][$i]         = $field[1];
        	$cform_fields['isreq'][$i]        = $field[2];
        	$cform_fields['isemail'][$i]      = $field[3];
        	$cform_fields['isclear'][$i]      = $field[4];
        	$cform_fields['isdisabled'][$i]   = $field[5];
        	$cform_fields['isreadonly'][$i]   = $field[6];
        	$i++;
        }
    
        return cforms2($cform_fields, $cform.'+');
    }
    Forum: Plugins
    In reply to: [cformsII] Dynamic forms
    Thread Starter fuchsws

    (@fuchsws)

    will this be fixed any time soon? I would like to update the plugin without breaking my dynamic forms … thank you!

    Thread Starter fuchsws

    (@fuchsws)

    no, I can see that in the source code every instance have it’s own ID. I’m inserting a widget sidebar twice, but IDs are not the same.

    when disabling custom passwords it’s working as expected.

Viewing 15 replies - 16 through 30 (of 60 total)