Forums / All Other Contributions/Addons / Reviews - Updated [Support Thread]

Reviews - Updated [Support Thread]

Started by lat9 on 8 Jul 2012, 8:08 PM · Views: 23,330

Results 41 to 60 of 127
29 Jul 2013, 1:45 PM
#41
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,779
Plugin Contributions:
2

Reviews - Updated [Support Thread]

asdfwen:

Hi, I noticed two bugs of this module.
1.it only accounts for newly written review.
2. In admin review page,customers' name are shown the same as reviews.php in front website page. I want the customer's full name are shown in admin review page.
Can you solve this two bugs?
Thanks!

Don't you think that these are requests, no 'bugs'?

31 Jul 2013, 2:15 PM
#42
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,137
Plugin Contributions:
56

Re: Reviews - Updated [Support Thread]

picandnix:

Don't you think that these are requests, no 'bugs'?
As picandnix indicated, the behavior you've identified is how the module was designed to work; it only accounts for newly-written reviews and the reviewer name shows up the same in the admin.

28 Aug 2013, 4:39 PM
#43
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Re: Reviews - Updated [Support Thread]

I have a couple of things...

  1. message stack/notice is not showing up when customer is not logged in and tries to write a review with Enable product reviews by guests? set to 0.

  2. I had previously added reply to reviews functionality to my 1.3.9h store. I am trying to add it to this with some problems. I am hoping that someone notices and can correct my mistake/s and/or omissions.
    All I have been getting is a blank page with no right side boxes, and no myDebug out put either...??? :frusty:
    here is a list of my mods...

SQL

ALTER TABLE  `reviews_description`
  ADD  `reviews_reply_text` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;

modules/pages/product_reviews_info/header_php.php:

// addition of reviews_reply_text below

  $review_info_query = "SELECT rd.reviews_text, r.reviews_rating, r.reviews_id, r.customers_name,  rd.reviews_reply_text,

                               r.date_added, r.reviews_read, p.products_id, p.products_price,

                               p.products_tax_class_id, p.products_image, p.products_model, pd.products_name

                        FROM " . TABLE_REVIEWS . " r, " . TABLE_REVIEWS_DESCRIPTION . " rd, " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd

                        WHERE r.reviews_id = :reviewsID

                        AND r.reviews_id = rd.reviews_id

                        AND rd.languages_id = :languagesID

                        AND r.products_id = p.products_id

                        AND p.products_status = '1'

                        AND p.products_id = pd.products_id

                        AND pd.language_id = :languagesID " . $review_status;



  $review_info_query = $db->bindVars($review_info_query, ':reviewsID', $_GET['reviews_id'], 'integer');

  $review_info_query = $db->bindVars($review_info_query, ':languagesID', $_SESSION['languages_id'], 'integer');

  $review_info = $db->Execute($review_info_query);



  $products_price = zen_get_products_display_price($review_info->fields['products_id']);



  $products_name = $review_info->fields['products_name'];

//addition of reviews reply
  if ($review_info->fields['reviews_reply_text']) != '') {
		$reviews_reply_text = $review_info->fields['reviews_reply_text'];
		}

  if ($review_info->fields['products_model'] != '') {

    $products_model = '<br /><span class="smallText">[' . $review_info->fields['products_model'] . ']</span>';

  } else {

    $products_model = '';

  }

languages/english/YOUR_TEMPLATE/product_reviews_info.php

define('TEXT_OF_5_STARS', '');

define('TEXT_PRODUCT_INFO', 'Take Me to the Details');

define('TEXT_REVIEW_ADDITIONAL', 'Read More Reviews');
//addition of review reply heading
define('TEXT_REVIEW_REPLY_HEADING','<strong>' . STORE_NAME . ''s Reply:</strong>');

templates/YOUR_TEMPLATE/templates/tpl_product_reviews_info_default.php

ADDED TO THE BOTTOM, JUST BEFORE THE LAST </div>

<!--bof Reviews Reply -->

<br class="clearBoth"/>

<?php
if ($reviews_reply_text) != ''){
?> 
<div id="reviewsInfoDefaultMainContent" class="content"><?php echo TEXT_REVIEW_REPLY_HEADING; ?><br /><?php echo zen_break_string(nl2br(zen_output_string_protected(stripslashes($review_info->fields['reviews_reply_text']))), 60, '-<br />'); ?></div>

<?php } ?>
<!--eof Reviews Reply-->
</div>

My hope is to get this working properly, and then add the ability to write your reply on the "edit review" page in the admin. I am currently just writing the reply's through phpMyAdmin and then approving the review there.

The working 1.3.9 version of this is here

Non working 1.5.1 is here - (this store is not yet public!)

28 Aug 2013, 5:51 PM
#44
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Re: Reviews - Updated [Support Thread]

Ok, so the reply is working now. Once I get the edit aspect of it working I'll post it!

28 Aug 2013, 6:51 PM
#45
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,137
Plugin Contributions:
56

Re: Reviews - Updated [Support Thread]

mikestaps:

I have a couple of things...

  1. message stack/notice is not showing up when customer is not logged in and tries to write a review with Enable product reviews by guests? set to 0.
    I'm not sure what notice you're expecting, but on a "stock" Zen Cart v1.5.1 install with this plugin installed ... if "Enable product reviews by guests?" is set to 0, the "Write Reviews" button still shows but clicking it takes the customer to the login page with a message that reads "You need to sign into your account before you can write a review."
28 Aug 2013, 10:01 PM
#46
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Re: Reviews - Updated [Support Thread]

The message "You need to sign into your account before you can write a review." doesn't show up....
I'll dig into that tomorrow, I was all focused on the reply thing.

29 Aug 2013, 12:09 PM
#47
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,137
Plugin Contributions:
56

Re: Reviews - Updated [Support Thread]

mikestaps:

The message "You need to sign into your account before you can write a review." doesn't show up....
I'll dig into that tomorrow, I was all focused on the reply thing.
It's a header-message, so it will depend on where those messages are displayed in your template. For the "Classic" template, the message shows at the very top of the screen.

7 Oct 2013, 2:50 PM
#48
pwdan avatar

pwdan

New Zenner

Join Date:
Oct 2013
Location:
United Kingdom
Posts:
5
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

Does this address the duplicate review content issue? Reviews currently appear on multiple pages, which isn't great from an seo standpoint.

16 Jan 2014, 2:44 PM
#49
tom97zr2 avatar

tom97zr2

New Zenner

Join Date:
Jan 2014
Location:
United States
Posts:
28
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

pwdan:

Does this address the duplicate review content issue? Reviews currently appear on multiple pages, which isn't great from an seo standpoint.

Hello, I installed this add on and it isn't working for me. I just created my store recently with the new 1.51 version. I am using the fast and easy checkout, and only using guest checkout, forcing the customer to go to the enter billing information step one page after clicking the go to checkout. my site is http://cardiozonetreadmills.com . I am sure I installed this correct. if I enter in my billing information and go to the next step in the checkout, I am then allowed to write reviews if I go back to a product page and click the write review button. I am sure I have all the configurations set correctly. Everything else is working good. I have done quite alot of customizing to my site and had to learn alot to do it, been spending so much time on it everyday.

Anyone know what might be needed or fixed?

I realized with the shopping cart and free shipping in the header add on that the english file needed to be put in the main english folder, not one step further into my templates folder like the instructions says. I'm not using that add on right now until I get it looking right on my site.

Thanks everyone alot for all the free information and assistance. I've read alot here.

16 Jan 2014, 3:05 PM
#50
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,779
Plugin Contributions:
2

Re: Reviews - Updated [Support Thread]

tom97zr2:

Hello, I installed this add on and it isn't working for me. I just created my store recently with the new 1.51 version. I am using the fast and easy checkout, and only using guest checkout, forcing the customer to go to the enter billing information step one page after clicking the go to checkout. my site is http://cardiozonetreadmills.com . I am sure I installed this correct. if I enter in my billing information and go to the next step in the checkout, I am then allowed to write reviews if I go back to a product page and click the write review button. I am sure I have all the configurations set correctly. Everything else is working good. I have done quite alot of customizing to my site and had to learn alot to do it, been spending so much time on it everyday.

Anyone know what might be needed or fixed?

I realized with the shopping cart and free shipping in the header add on that the english file needed to be put in the main english folder, not one step further into my templates folder like the instructions says. I'm not using that add on right now until I get it looking right on my site.

Thanks everyone alot for all the free information and assistance. I've read alot here.

To be honest I'm not 100% sure what your actual question is.
However I'm surmising: if you are using FEC with it set to guest checkout only and only a registered customer can write a review (yes?) then logically you wouldn't be able to write a review until the system knows your information/account details anyway, right? Hence you being able to write a review only after submitting your personal details and not beforehand.

16 Jan 2014, 3:34 PM
#51
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,137
Plugin Contributions:
56

Re: Reviews - Updated [Support Thread]

picandnix:

... However I'm surmising: if you are using FEC with it set to guest checkout only and only a registered customer can write a review (yes?) then logically you wouldn't be able to write a review until the system knows your information/account details anyway, right? Hence you being able to write a review only after submitting your personal details and not beforehand.
This plugin (Reviews Updated) has ***no ***knowledge of a guest login, so once a guest-customer has gone partially through the guest "information gathering" the session variable that identifies that a customer is logged in is set. That's why this guest customer can write a review.

16 Jan 2014, 3:39 PM
#52
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,779
Plugin Contributions:
2

Re: Reviews - Updated [Support Thread]

lat9:

This plugin (Reviews Updated) has ***no ***knowledge of a guest login, so once a guest-customer has gone partially through the guest "information gathering" the session variable that identifies that a customer is logged in is set. That's why this guest customer can write a review.

What she said :wink:
Same answer but written in a less confusing way than mine.

16 Jan 2014, 9:28 PM
#53
tom97zr2 avatar

tom97zr2

New Zenner

Join Date:
Jan 2014
Location:
United States
Posts:
28
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

Thanks for the replies. I thought one of the main points of the reviews update was so a guest can write a review, and I figured they could do that without having to enter in all that name and address information, which I'm assuming would be a big deterrent to anyone who clicks on the write review button. I would like it to go straight to the page where they can write the review and just enter their name and select a product from a drop down list perhaps? I could make this happen with some html, like when I made a simple survey page for my old site that didn't use any php.

16 Jan 2014, 9:50 PM
#54
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,137
Plugin Contributions:
56

Re: Reviews - Updated [Support Thread]

Did you ***enable ***the product reviews by guests? Configuration->Product Info->Enable product reviews by guests? should be set to 1. Do you have any other plugins that modify the product_reviews_write page?

16 Jan 2014, 9:52 PM
#55
tom97zr2 avatar

tom97zr2

New Zenner

Join Date:
Jan 2014
Location:
United States
Posts:
28
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

lat9:

Did you ***enable ***the product reviews by guests? Configuration->Product Info->Enable product reviews by guests? should be set to 1. Do you have any other plugins that modify the product_reviews_write page?

Yes I did. Went through the install instructions a few times to make sure it was done right. No. Thanks

16 Jan 2014, 10:55 PM
#56
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,137
Plugin Contributions:
56

Re: Reviews - Updated [Support Thread]

I'll do a fresh install in the morning and see if I can see anything amiss on a "stock" Zen Cart base. Did FEC make any changes to /includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php? If so, would you post your version?

16 Jan 2014, 11:05 PM
#57
tom97zr2 avatar

tom97zr2

New Zenner

Join Date:
Jan 2014
Location:
United States
Posts:
28
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

No file changes in that file from FEC. I made changes to that template, moved some things around and stuff, didn't edit any of the code for the write review. thanks!

17 Jan 2014, 12:01 AM
#58
tom97zr2 avatar

tom97zr2

New Zenner

Join Date:
Jan 2014
Location:
United States
Posts:
28
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

As a guest, when I click on write review, the next page says "Whoops! Your session has expired.". Before this I removed the Log in and My account links/code so visitors don't see anything about logging in or signing up for an account, and so when they add a item to the cart and click go to checkout, then they go straight to the checkout page to fill in their billing address, they don't get the option to log in or create an account or ask them if they want to checkout as a guest.

If I add a product to the cart, and fill in the billing information and go to step 2 the payment page, then go back to the product page and click the write review link it will take me to the write review page. I'd like it to send you directly to that page as a visitor, so anyone can write a review of the product regardless if they purchased from my website, so they don't have to log in.

Looks like I would have to remove some sort of code that requires the visitor to log in before they can get to the write review page. hopefully that is possible to do. thanks.

17 Jan 2014, 2:44 PM
#59
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,137
Plugin Contributions:
56

Re: Reviews - Updated [Support Thread]

tom97zr2:

As a guest, when I click on write review, the next page says "Whoops! Your session has expired.". Before this I removed the Log in and My account links/code so visitors don't see anything about logging in or signing up for an account, and so when they add a item to the cart and click go to checkout, then they go straight to the checkout page to fill in their billing address, they don't get the option to log in or create an account or ask them if they want to checkout as a guest.

If I add a product to the cart, and fill in the billing information and go to step 2 the payment page, then go back to the product page and click the write review link it will take me to the write review page. I'd like it to send you directly to that page as a visitor, so anyone can write a review of the product regardless if they purchased from my website, so they don't have to log in.

Looks like I would have to remove some sort of code that requires the visitor to log in before they can get to the write review page. hopefully that is possible to do. thanks.
I installed "Reviews Updated" on a just-installed Zen Cart v1.5.1, and was able to write a review as a guest. Is the file /includes/modules/pages/product_reviews_write/header_php.php the one that ships with this plugin? The top-most portion of the file should look like:

// This should be first line of the script:
$zco_notifier->notify('NOTIFY_HEADER_START_PRODUCT_REVIEWS_WRITE');
  
require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));

if (REVIEWS_BY_GUESTS != '1' && !$_SESSION['customer_id']) {
  $_SESSION['navigation']->set_snapshot();
  $messageStack->add_session('header', MESSAGE_REVIEW_WRITE_NEEDS_LOGIN, 'caution');
  zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));
}

I'm not sure why you're being redirected to the time_out page, but I'm also not familiar with the changes that the installation of FEC has introduced to your store.

17 Jan 2014, 7:49 PM
#60
tom97zr2 avatar

tom97zr2

New Zenner

Join Date:
Jan 2014
Location:
United States
Posts:
28
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

Yep it has that code. I deleted some code before in the common header file to get rid of the log in link, maybe I deleted too much of that code? I'll have to check after work today. Thanks