Support

Account

Forum Replies Created

  • Really god news. Iā€™m waiting for this update! This is what I need šŸ™‚

  • I have a similar problem. How to display nicknames of users using repeater field and user field. User field works fine when i use it without repeater. When use repeater field and try to display nicknames i see: “1aaaf2<3GMGgGm2<5PppPp2” not nicknames (admin user2 john).

    Here is my code:

    `<?php while( has_sub_field(‘secret_content_new’) ): ?>

    <?php $premium_user = get_sub_field(‘premium_user_list’);?>
    <?php if ( $premium_user ) : ?>
    <?php foreach($premium_user as $value) {
    echo $value[‘nickname’] ;
    };?>

    <?php endif;?>

    <?php endwhile; ?>`

  • Yest, the problem is qtranslate, but… i fixed that (almost).

    This is the solution:

    Go into wp-content/plugins/qtranslate/qtranslate_javascript.php
    Go to line 288 (or line between 280-320 when you use other version qtranslate).

    Search and Delete:
    qtrans_save(switchEditors.pre_wpautop(o.content));

    Insert:

    if (ed.editorId.match(/^qtrans_/)) {
       qtrans_save(switchEditors.pre_wpautop(o.content));
      }

    It almost fixed problem, but sometimes default post content is replaced with visual editor field, sometimes not. I edit visual editor field 20 times, and 2-3 times post content was replaced with content from visual editor field. It’s strange. Have any idea?

Viewing 3 posts - 1 through 3 (of 3 total)