Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter LazyDev

    (@milber)

    Thanks so much for the links, Joy. I didn’t find these myself on trac. Sounds like my image sizes are “too big” according to WP rationale? Well, 600px is about 1/3 of my desktop screen and I need this for my theme.

    I tried adjusting “content_width” constant (lol) to a very high value and also set the medium and large image sizes to smaller values. Didn’t change anything. get_post_thumbnail still renders the medium image and I still can’t get any edited thumbnails at all.

    Is there a workaround? Can I somehow set the medium size to be editable on the admin frontend and hard-crop like the thumbnail (and then set the thumbnail size to something tiny)?

    Thread Starter LazyDev

    (@milber)

    600×600, 1200×1200, 2500×2500, and no additional image sizes. I’d set the medium size to hard-crop initially but removed that again because it didn’t work well with the images provided by the client.

    Thread Starter LazyDev

    (@milber)

    Hi, thanks for your reply. I figured that from the code by now – but I have to admit it doesn’t really make sense to click on an event on date X and then have a single view that says “this is an event on day X-Y that happens every Monday”. It’s actually totally confusing. Website viewers who are interested in events on specific dates don’t care much about when the event started (in my case often years ago) and at what interval it re-occurs. It gets even more confusing when you break out reoccurrences. Also it makes it impossible to render out events happening on the same date in single view, which is of interest to my audience.
    So for the time being I’ve “solved” this by adding the occurence_id as query string to the permalinks to single events. But it would be much appreciated if this could be a regular feature in upcoming versions.

    Yes, on all of my websites. I enter the authentication code but I don’t get any settings page.

    Sorry, I don’t think this is resolved. The plugin does not work for me although curl is definitely activated. The only thing that is disabled is allow_url_fopen for v. good reasons concerning security exploits. If you’re plugin relies on the latter, it’s practically unusable. No reliable webhost will activate this for you unless you’ve got a dedicated server and take liability for any damage yourself.

    Same here

    I second this. After installing 6.3.4 I tried to authenticate and wind up on an almost empty settings page displaying a warning that GA is disabled. Selecting enable doesn’t update the page; neither can I enter my UID. Errors given:

    Warning: require_once(service/Google_Utils.php) [function.require-once]: failed to open stream: No such file or directory in /[path to my install directory]/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php on line 20

    Fatal error: require_once() [function.require]: Failed opening required ‘service/Google_Utils.php’ (include_path=’.:/usr/bin’) in /[path to my install directory]/wp-content/plugins/google-analyticator/google-api-php-client/src/auth/Google_OAuth2.php on line 20

    What works for me is changing

    if ( is_ssl() ) {
        $form_action_url = 'https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
    } else {
        $form_action_url = http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; //
    }

    to

    if ( is_ssl() ) {
        $form_action_url = qtrans_convertURL($_SERVER['REQUEST_URI']);
    } else {
        $form_action_url = qtrans_convertURL($_SERVER['REQUEST_URI']);
    }

    I haven’t tested if this works for SSL – for normal http it’s fine. This doesn’t solve the re-direct problem either. I guess it would need some work around line 840 similar to the changes above.

    Hi, the good news is you can add the meta box easily enough. Below line 773 add this function for every custom post type:

    add_meta_box( 'qts_sectionid', __( 'qTranslate Slug translation', 'qts_textdomain' ), 'qTranslateSlug_custom_box', '[your-custom-post-type-slug]', 'advanced' );

    The bad news is that any value entered in the slug fields for custom post types do not get saved. Having entered slugs and updated a custom post type, the slug box is empty again and if I check the links nothing has changed indeed πŸ™ . Would be v. happy about any tip that points me into the right direction for solving this.

    Ok, not solved after all πŸ˜‰ : Strangely enough, the function only counts up to 5 on my installation, then starting again at 1. I’m dumbstruck by this, pls help.

    function updateNumbers() { 
    
                            $totalposts = get_posts('category_name=folio&post_type=post&posts_per_page=-1&orderby=date&order=DESC');
    
                           $counts = 0;
                           if ($totalposts) :
                               foreach ($totalposts as $totalpost) :
                                   setup_postdata($totalpost);
                                    $counts++;
                                    add_post_meta($totalpost->ID, 'incr_number', $counts, true);
                                    update_post_meta($totalpost->ID, 'incr_number', $counts);
    
                                   endforeach;
                               endif;
    
                               wp_reset_query();
    
                            }

    [solved]

Viewing 11 replies - 1 through 11 (of 11 total)