Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Tom W

    (@thomaswillfahrt)

    Many Thanks. I use now “Nav Menu Roles”

    Thread Starter Tom W

    (@thomaswillfahrt)

    Nice that I’m not alone > but how can the problem be solved

    ??

    Thread Starter Tom W

    (@thomaswillfahrt)

    Hi,

    thanks. Waht is the shortcode to show only the reviews??

    Regards Tom

    Thread Starter Tom W

    (@thomaswillfahrt)

    Thank you,

    the form should be visible only after entering a password. This I can realize with content protection if it is possible to show or hide the form on hide / show .There are also visitors may submit a review, this but only after entering a password. For this I would have to hide form.

    Regards Tom

    Thread Starter Tom W

    (@thomaswillfahrt)

    No. I try to integrate the password protection in an existing plugin.
    I can not create a plugin itself . . .

    ??

    Thread Starter Tom W

    (@thomaswillfahrt)

    The submit button is not included in the form … so i cant send the form

    $display .= ‘
    <div style=”clear:both;”></div>
    </div>
    <div style=”clear:both;”></div>’;

    $protected = ‘<div class=”submit_button_wrapper”>
    <button class=”button cbrp-button cbrp-button-form-‘ . $ratingFormArray[‘id’] . ‘” data-hash = “‘.$user_hash.'” data-buddypress-post = “‘.$buddypress_post.'” id=”submit-rating” type=”submit” name=”op” value=””><span id=”cbrp-button-label”>’ . __( ‘Submit’, ‘cbratingsystem’ ) . ‘</span></button>
    <div style=”display: none;” class=”cbrp_load_more_waiting_icon cbrp_load_more_waiting_icon_form-‘ . $ratingFormArray[‘id’] . ‘_post-‘ . $post_id . ‘”><img alt=”‘ . __( ‘Loading’, ‘cbratingsystem’ ) . ‘” src=”‘ . CB_RATINGSYSTEM_PLUGIN_DIR_URL . ‘images/ajax-loader.gif” /></div>
    </div>’;
    echo do_shortcode( ‘[content_protector password=”pw”]’ . $protected . ‘[/content_protector]’ );’

    </div>
    <div style=”clear:both;”></div>
    </div>

    Thread Starter Tom W

    (@thomaswillfahrt)

    Hello,

    thanks a lot.
    I try it in a plugin but it doesnt work.

    $display .= ‘
    <div style=”clear:both;”></div>
    </div>
    <div style=”clear:both;”></div>
    <div class=”submit_button_wrapper”>
    <button class=”button cbrp-button cbrp-button-form-‘ . $ratingFormArray[‘id’] . ‘” data-hash = “‘.$user_hash.'” data-buddypress-post = “‘.$buddypress_post.'” id=”submit-rating” type=”submit” name=”op” value=””><span id=”cbrp-button-label”>’ . __( ‘Submit’, ‘cbratingsystem’ ) . ‘</span></button>
    <div style=”display: none;” class=”cbrp_load_more_waiting_icon cbrp_load_more_waiting_icon_form-‘ . $ratingFormArray[‘id’] . ‘_post-‘ . $post_id . ‘”><img alt=”‘ . __( ‘Loading’, ‘cbratingsystem’ ) . ‘” src=”‘ . CB_RATINGSYSTEM_PLUGIN_DIR_URL . ‘images/ajax-loader.gif” /></div>
    </div>

    <div style=”clear:both;”></div>
    </div>
    <div class=”ratingFormStatus ratingFormStatus-form-‘ . $ratingFormArray[‘id’] . ‘”></div>

    ‘;

    }
    $display .='</div>’;

    TW

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