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 21 to 40 of 127
28 Nov 2012, 6:56 PM
#21
chriscana avatar

chriscana

Zen Follower

Join Date:
May 2005
Posts:
94
Plugin Contributions:
0

Reviews - Updated [Support Thread]

Yes, I am sure that the header_php.php is in the includes/modules/pages/product_reviews_write

I do see the warning when Enable Product Reviews By Guests is set to 0 (off). Then it says you must log in. However, when set to 1 to allow, it still redirects to the login/account creation page but does not show the warning. Does not allow gusts to write even though Enable Product Reviews By Guests is set to 1

28 Nov 2012, 7:33 PM
#22
lat9 avatar

lat9

Administrator

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

Re: Reviews - Updated [Support Thread]

Would you please post the contents of your /includes/modules/pages/product_reviews_write/header_php.php file?

28 Nov 2012, 9:30 PM
#23
lat9 avatar

lat9

Administrator

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

Re: Reviews - Updated [Support Thread]

Could you check in your /includes/modules/pages/product_reviews_write directory and make sure that there's not a file named header_php-original.php or something similar?

If so, rename that file to something like header_php.php.original ... just so it DOESN'T have a .php file extension.

Zen Cart's default handling will load **all **files in that directory that start with header_php and have a file extension of .php.

29 Nov 2012, 12:52 AM
#24
chriscana avatar

chriscana

Zen Follower

Join Date:
May 2005
Posts:
94
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

lat9:

Could you check in your /includes/modules/pages/product_reviews_write directory and make sure that there's not a file named header_php-original.php or something similar?

This was the problem. I had changed file names to _BACKUP.php but they still had the php extension. Changing them as you suggested fixed this.

Thank you kindly.

29 Nov 2012, 1:18 PM
#25
lat9 avatar

lat9

Administrator

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

Re: Reviews - Updated [Support Thread]

Great! I'm glad you got it sorted out.

5 Feb 2013, 12:21 PM
#27
discoverytdi avatar

discoverytdi

Totally Zenned

Join Date:
May 2011
Location:
Sunny Rossendale (not)
Posts:
562
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

discoverytdi:

Getting this on the right hand side of the image was fine on my test site [VSS/80WFSFFPLDBSC]">http://www.rvsolarsystems.co.uk/Free-Standing-Solar-Panels/80-Watt-Free-Standing-Folding-Solar-Panel-and-Controller/Reviews
OK still had Testimonials Manager side box active :blush:

What ever your doing remember to KISS ( Keep It Simple Stupid )

5 Feb 2013, 2:17 PM
#28
discoverytdi avatar

discoverytdi

Totally Zenned

Join Date:
May 2011
Location:
Sunny Rossendale (not)
Posts:
562
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

spoke too soon
I'm getting two pages for my reviews if I click on the reviews side box I get this page http://www.rvsolarsystems.co.uk/Free...w?reviews_id=1 which is fine and as it should be
fi I click on the read reviews link on the product page I get http://www.rvsolarsystems.co.uk/Free...roller/Reviews and it's all messed up. Any help appreciated

What ever your doing remember to KISS ( Keep It Simple Stupid )

5 Feb 2013, 3:07 PM
#29
lat9 avatar

lat9

Administrator

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

Re: Reviews - Updated [Support Thread]

This plugin only makes modifications to the product_reviews_write page, so what you're seeing on the reviews and product_reviews pages are based on any customizations you've made there. I went to your site, clicked on the sidebox "Reviews" link, clicked on one of the "Products Details" buttons, clicked on the "Read Reviews" button from there, then back to "Product Details" and all looked OK-fine to me.

Perhaps if you'd list a specific sequence of clicks that result in the unwanted behavior I could provide more information, but at this point I don't see what's wrong.

5 Feb 2013, 6:11 PM
#30
discoverytdi avatar

discoverytdi

Totally Zenned

Join Date:
May 2011
Location:
Sunny Rossendale (not)
Posts:
562
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

DivaVocals had the solution it was zen lightbox apparently it's a known issue.

What ever your doing remember to KISS ( Keep It Simple Stupid )

17 Feb 2013, 10:37 AM
#31
andy_c27 avatar

andy_c27

Zen Follower

Join Date:
Oct 2010
Location:
United Kingdom
Posts:
477
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

Hi
Not sure if this has been mentioned before but while doing SEO using seo doctor on firefox my title tags had 2 H1 tags causing errors .
I eventually found it (with a little help :) ) to be the reviews on every product page

I changed includes/template/your template/ template/tpl_product_reviews_write_default
line 12

<h1 id="reviewsWriteHeading"><?php echo $products_name . $products_model; ?></h1> and changed the h1 tags to h2 which then fixed my double tag issues. So not sure if it is an error or just my template or just me..

thanks

17 Feb 2013, 12:48 PM
#32
lat9 avatar

lat9

Administrator

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

Re: Reviews - Updated [Support Thread]

ATSWorld, since there's only one <h1> tag in the tpl_product_reviews_write_default.php file that comes with this plugin and since the "standard" Zen Cart behavior is to have this page (product_reviews_write) as a stand-alone page, I'm guessing that it's an issue with your template.

From what you've said, the template seems to be imbedding the contents of the product_reviews_write page into the product_info page.

21 Feb 2013, 10:28 AM
#33
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

@lat9. quick question. how does the details of guest reviewers get stored? does it create a dummy account in table cutomers?
I ask because isnt this where the standard reviews module pulls the info from?

if it does create a dummy account does this cause problems if the user trys to create an account later?

Thanks

Phil Rogers
A problem shared is a problem solved.

21 Feb 2013, 2:03 PM
#34
lat9 avatar

lat9

Administrator

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

Re: Reviews - Updated [Support Thread]

Phil, the only detail stored for a guest reviewer is the name they entered. All of the reviews information is stored in the *reviews *table, which is customer-independent and contains its own field for the 'customers_name' (i.e. the name of the reviewer). The only difference for a guest reviewer is that the customer_id value that's stored is 0 (since there's no id associated with them).

21 Feb 2013, 2:09 PM
#35
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

lat9:

Phil, the only detail stored for a guest reviewer is the name they entered. All of the reviews information is stored in the *reviews *table, which is customer-independent and contains its own field for the 'customers_name' (i.e. the name of the reviewer). The only difference for a guest reviewer is that the customer_id value that's stored is 0 (since there's no id associated with them).

Fantastic, thanks for clarifying :o) will install tonight!

Phil Rogers
A problem shared is a problem solved.

21 Feb 2013, 5:45 PM
#36
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

@lat9

Works perfect thank you!

just one thing, is it possible to move the notification message:
Your review has been submitted for approval.

so that instead of coming up above the top of the website, have it like the one on the product info page does if you try and add items to cart without selecting required attributes etc?

I want the message to show around the area the form is?

Thanks

Phil Rogers
A problem shared is a problem solved.

21 Feb 2013, 5:58 PM
#37
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

do I change this:
$messageStack->add_session('header', REVIEWS_APPROVAL == '1' ? MESSAGE_REVIEW_SUBMITTED_APPROVAL : MESSAGE_REVIEW_SUBMITTED, 'success');

to this:
$messageStack->add_session('review_text', REVIEWS_APPROVAL == '1' ? MESSAGE_REVIEW_SUBMITTED_APPROVAL : MESSAGE_REVIEW_SUBMITTED, 'success');

is that what will make it output by this one:

<h1 id="reviewsWriteHeading"><?php echo $products_name . $products_model; ?></h1> <?php if ($messageStack->size('review_text') > 0) echo $messageStack->output('review_text'); ?>

??

Phil Rogers
A problem shared is a problem solved.

21 Feb 2013, 7:35 PM
#38
lat9 avatar

lat9

Administrator

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

Re: Reviews - Updated [Support Thread]

philip937:

do I change this:
$messageStack->add_session('header', REVIEWS_APPROVAL == '1' ? MESSAGE_REVIEW_SUBMITTED_APPROVAL : MESSAGE_REVIEW_SUBMITTED, 'success');

to this:
$messageStack->add_session('review_text', REVIEWS_APPROVAL == '1' ? MESSAGE_REVIEW_SUBMITTED_APPROVAL : MESSAGE_REVIEW_SUBMITTED, 'success');

is that what will make it output by this one:

<h1 id="reviewsWriteHeading"><?php echo $products_name . $products_model; ?></h1> <?php if ($messageStack->size('review_text') > 0) echo $messageStack->output('review_text'); ?>

??
It would ... if the message was going to be displayed by the product_reviews_write page. However, upon successful recording of the review, the reviews_write processing causes a redirect to the product_reviews page and there's no messaging used by the as-shipped page template (that's why the message is sent to the header, which is available on all pages).

So, you have two choices:

  1. Change /includes/modules/pages/product_reviews_write/header_php.php to change the message stack location and comment-out the redirect to the product_reviews page (on line 138).
  2. Change /includes/modules/pages/product_reviews_write/header_php.php to change the message stack location and also edit your template's version of /includes/templates/YOUR_TEMPLATE/templates/tpl_product_reviews_default.php to add the code ```php
<?php if ($messageStack->size('review_text') > 0) echo $messageStack->output('review_text'); ?>
21 Feb 2013, 7:54 PM
#39
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

With ya totally. Didn't notice the redirect. I think I'll just move the header output down to just below the top nav, that should be sufficient :-)

Cheers

Phil Rogers
A problem shared is a problem solved.

29 Jul 2013, 1:19 PM
#40
asdfwen avatar

asdfwen

New Zenner

Join Date:
May 2012
Posts:
30
Plugin Contributions:
0

Re: Reviews - Updated [Support Thread]

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!