WordPress.org

Forums

WP Customer Reviews
show form w/o having to click button (25 posts)

  1. mosesbook
    Member
    Posted 1 year ago #

    Hi,
    Here's my page (using Dusk to Dawn theme):
    http://moseswaswatchingoverme.com/

    As you can see, one of my pages is dedicated to “leave a review”
    when people click on that page, instead of seeing a form to fill out to leave the review, they see the button “click here to submit review.” To me, this looks confusing–it looks like something is not working and that they already left a review and have to click the button to submit it. I would like to get rid of this button and just have the form show up all the time when you click on that page. And then, I assume that the reviews will populate down the page below the form once they start.

    Is there any way to do this?
    Thank you,
    Karen

    http://wordpress.org/plugins/wp-customer-reviews/

  2. david909
    Member
    Posted 1 year ago #

    Did you find a solution, How did you get the check box to work on safari and google chrome? For some reason on my page its not showing up.

  3. mosesbook
    Member
    Posted 1 year ago #

    No, I never found how to do what I want, but the work-around is that I went to the settings for this plug-in and changed the text to read: "Click here to fill out a review form." I hope that makes it more clear to the user what the button is for.

    The check box just showed up for me- not sure what to do if it doesn't show...

  4. mosesbook
    Member
    Posted 1 year ago #

    if it helps, I'm using Version: 2.4.8

  5. shansta
    Member
    Posted 1 year ago #

    Open the wp-customer-reviews.css file and remove the display:none; from #wpcr_respond_2

  6. mosesbook
    Member
    Posted 1 year ago #

    Thanks Shansta,

    That sound promising- where do I find the .css file?

    -karen

  7. shansta
    Member
    Posted 1 year ago #

    You can go to Plugins/Editor, select customer reviews then look for the .css file (first one). Look for the line

    #wpcr_respond_2 { display:none; background-color:inherit; }

    and remove the "display:none;"

    so that line will now look like

    #wpcr_respond_2 { background-color:inherit; }

    Click update. Refresh your website page and the form should be open.

  8. mosesbook
    Member
    Posted 1 year ago #

    Neat! I didn't even know Plug-in Editor existed. :)

    I went through all the text, and while I see those 2 phrases, I don't see them together. Would you be able to point out the correct place for me? (I'm thinking maybe it's a bit different on mine.) Here is he code I am looking at:

    [Excessive code removed]

  9. WPyogi
    Forum Moderator
    Posted 1 year ago #

    Please see the forum guidelines about posting code -

    http://codex.wordpress.org/Forum_Welcome#Posting_Code

    and post that to a pastebin - that's really too much to post here and it was mangled by the forums parser.

  10. WPyogi
    Forum Moderator
    Posted 1 year ago #

    BTW, if you modify plugin files, you'll lose those changes when the plugin is updated. Better to use a custom CSS plugin if you are making CSS changes.

  11. shansta
    Member
    Posted 1 year ago #

    Yeh that might be easier. You could use something like http://wordpress.org/plugins/simple-custom-css/

    and just add the this line

    #wpcr_respond_2 { display:block !important; }

  12. mosesbook
    Member
    Posted 1 year ago #

    woops! Seems I'm still learning how things work here. Let me try again and just paste what I believe may be relative lines. I bolded anywhere it says disply:none:

    if ($this->options['hreview_type'] == 'product') {
                        $reviews_content .= '
                            <div class="hreview" id="hreview-' . $review->id . '">
                                <' . $title_tag . ' class="summary ' . $hidesummary . '">' . $review->review_title . '</' . $title_tag . '>
                                <span class="item" id="hreview-wpcr-hproduct-for-' . $review->id . '" style="<strong>display:none</strong>;">
                                    <span class="fn">' . $meta_product_name . '</span>
                                </span>
                                <div class="wpcr_fl wpcr_sc">
                                    <abbr class="rating" title="' . $review->review_rating . '"></abbr>
                                    <div class="wpcr_rating">
                                        ' . $this->output_rating($review->review_rating, false) . '
                                    </div>
                                </div>
                                ' . $name_block . '
                                <div class="wpcr_clear wpcr_spacing1"></div>
                                <blockquote class="description"><p>' . $review->review_text . '</p></blockquote>
                                ' . $review_response . '
                                <span style="<strong>display:none</strong>;" class="type">product</span>
                                <span style=<strong>"display:none</strong>;" class="version">0.3</span>
                            </div>
    
    <span class="item vcard" id="hreview-wpcr-hcard-for-' . $review->id . '" style="<strong>display:none</strong>;">
                                    <a class="url fn org" href="' . $this->options['business_url'] . '">' . $this->options['business_name'] . '</a>
    
    <blockquote class="description"><p>' . $review->review_text . '</p></blockquote>
                                ' . $review_response . '
                                <span style="<strong>display:none</strong>;" class="type">business</span>
                                <span style="<strong>display:none</strong>;" class="version">0.3</span>
                           </div>
                           <hr />';
    
              if ($this->options['hreview_type'] == 'product') {
                    $reviews_content .= '
                        <span class="hreview-aggregate haggregatereview" id="hreview-wpcr-aggregate">
                           <span style="<strong>display:none</strong>;">
                               <span class="rating">
    
      } else if ($this->options['hreview_type'] == 'business') {
                    $reviews_content .= '
                        <span class="hreview-aggregate" id="hreview-wpcr-aggregate">
                           <span style="<strong>display:non</strong>e;">
                                <span class="item vcard" id="hreview-wpcr-vcard">
  13. mosesbook
    Member
    Posted 1 year ago #

    I guess bolding doesn't work on code...

  14. mosesbook
    Member
    Posted 1 year ago #

    Here is the coding around "wpcr_respond2" There's only one instance of this, but the display:none does not show up here:

    /* different output variables make it easier to debug this section */
            $out .= '<div id="wpcr_respond_2">' . $req_js . '
                        <form class="wpcrcform" id="wpcr_commentform" method="post" action="javascript:void(0);">
                            <div id="wpcr_div_2">
                                <input type="hidden" id="frating" name="frating" />
                                <table id="wpcr_table_2">
                                    <tbody>
                                        <tr><td colspan="2"><div id="wpcr_postcomment">' . $this->options["leave_text"] . '</div></td></tr>
                                        ' . $fields;
  15. mosesbook
    Member
    Posted 1 year ago #

    So... I downloaded and activated the Simple Custom CSS plug-in and pasted the line (#wpcr_respond_2 { display:block !important; }) in the blank editor section.

    It kind of worked. It does show the form now, which is great, but it also still shows the button to show the form, which makes no sense to a use. Here it is:

    http://moseswaswatchingoverme.com/page-titleasds/

  16. shansta
    Member
    Posted 1 year ago #

    That code you have pasted is the .php file, not the .css file.

    Try adding this #wpcr_button_1 {display:none;} - See if that hides the button

  17. mosesbook
    Member
    Posted 1 year ago #

    I used a work-around by changing the text on that button to: "Please fill out the review form below and click submit"

    BTW, thanks for the help on here- what a great forum!

  18. shansta
    Member
    Posted 1 year ago #

    no problem

  19. mosesbook
    Member
    Posted 1 year ago #

    Oh! Now I see where I can change to the .css file. Newbie mistake...

    Adding #wpcr_button_1 {display:none;} to the Simple Custom CSS did not change anything.

    I also changed the .css file (the first one) to
    #wpcr_respond_2 { background-color:inherit; } but still no change.

  20. shansta
    Member
    Posted 1 year ago #

    try #wpcr_button_1 {display:none !important;}

  21. mosesbook
    Member
    Posted 1 year ago #

    tried #wpcr_button_1 {display:none !important;}

    no change (I tried it in the Simple Custom CSS, not the code itself)

  22. NewSunSEO
    Member
    Posted 1 year ago #

    Hello, what code exactly would you change to hide the top button? I was able to get the form to display without having to be clicked on, by following this post. Just not sure what code to change to hide the top "Click here to submit your review"

    Thank you

  23. vnimje
    Member
    Posted 1 year ago #

    Thanks...works for me.

  24. cmmmc
    Member
    Posted 1 year ago #

    IMHO and with all respect, this post was a huge time-waster. There was no solution provided and none of the tips provided worked for me.

    I've found it here instead and thought I'd share. Go here for the solution! (couple of pages down this same support forum)

    http://wordpress.org/support/topic/creating-the-form-without-the-button

    This solution works 100%.

  25. Michael Mann
    Member
    Posted 12 months ago #

    Rather than modifying the CSS for the plugin, add this into your theme's CSS file to 1) hide the click to submit button and 2) to show the form:

    #wpcr_respond_1 p { display:none!important; }
    #wpcr_respond_2 { display:block!important; }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Customer Reviews
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic