If this is your first visit, check our documentation. To post, register or login.
Forums / Addon Admin Tools / Products Review Reminder [Support Thread]

Products Review Reminder [Support Thread]

Started by lindasdd on 25 Aug 2017, 3:43 PM · Views: 17,165

Results 21 to 40 of 64
13 Jan 2018, 6:41 PM
#21
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Products Review Reminder [Support Thread]

Just go to admin->configuration->minimum values, and set Product Review Text to some value > 0. (Maybe 20 or so.)

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

14 Jan 2018, 1:58 PM
#22
e_standard avatar

e_standard

New Zenner

Join Date:
Nov 2013
Location:
China
Posts:
75
Plugin Contributions:
0

Re: Products Review Reminder [Support Thread]

swguy:

Just go to admin->configuration->minimum values, and set Product Review Text to some value > 0. (Maybe 20 or so.)
Thanks for the reply, Let me explain in details for the question I have, what I mean is when a customer login website and go to review area, if he just simply clicks the stars and does not wite any review words,it will show the review have been published publicly as...
The bad thing is the review will show active at the admin area of ZenCart, what I want is review should not be published publicly when the customer or the visitor just simply click the start without wirting any review words.How should i force them at least write something in order to complete the review,Thanks very much for your help.

14 Jan 2018, 2:18 PM
#23
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Products Review Reminder [Support Thread]

Do you have admin-configuration-product info-Product Reviews Require Approval set to 1?

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

14 Jan 2018, 2:28 PM
#24
e_standard avatar

e_standard

New Zenner

Join Date:
Nov 2013
Location:
China
Posts:
75
Plugin Contributions:
0

Re: Products Review Reminder [Support Thread]

swguy:

Do you have admin-configuration-product info-Product Reviews Require Approval set to 1?

Yes.That have been set as 1

14 Jan 2018, 3:37 PM
#25
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Products Review Reminder [Support Thread]

If they just click the stars and don't press submit (which they can't do successfully until they enter a certain number of characters, assuming you have set the minimum as I suggested a couple of posts back), the review won't show up. (If it does, you have some sort of modified template that doesn't work correctly.)

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

14 Jan 2018, 4:14 PM
#26
e_standard avatar

e_standard

New Zenner

Join Date:
Nov 2013
Location:
China
Posts:
75
Plugin Contributions:
0

Re: Products Review Reminder [Support Thread]

swguy:

If they just click the stars and don't press submit (which they can't do successfully until they enter a certain number of characters, assuming you have set the minimum as I suggested a couple of posts back), the review won't show up. (If it does, you have some sort of modified template that doesn't work correctly.)

Thanks,i will do a test on a new fresh site,the strange thing is the product page have it's own review page,when you click the stars,it will not published..

Attachment 17617

15 Jan 2018, 1:20 PM
#27
e_standard avatar

e_standard

New Zenner

Join Date:
Nov 2013
Location:
China
Posts:
75
Plugin Contributions:
0

Re: Products Review Reminder [Support Thread]

swguy:

If they just click the stars and don't press submit (which they can't do successfully until they enter a certain number of characters, assuming you have set the minimum as I suggested a couple of posts back), the review won't show up. (If it does, you have some sort of modified template that doesn't work correctly.)

I have tested on a fresh new site,zencart 1.5.5f with this this plugin installed,when customer click the star,it will show "✔ posted publicly as..."
Attachment 17621

It will become active at the admin area.
Attachment 17622
Attachment 17623

17 Aug 2018, 12:15 PM
#28
millsii avatar

millsii

New Zenner

Join Date:
Mar 2018
Location:
Perth, WA
Posts:
10
Plugin Contributions:
0

Re: Products Review Reminder [Support Thread]

swguy:

If they just click the stars and don't press submit (which they can't do successfully until they enter a certain number of characters, assuming you have set the minimum as I suggested a couple of posts back), the review won't show up. (If it does, you have some sort of modified template that doesn't work correctly.)

I am having the same issue with this plugin. The behaviour you are describing is for the default review page that comes with Zen Cart. With this addon, as has previously been mentioned by clicking any stars the review is automatically submitted, bypassing minimum review length and approval. Those only come into play after you start typing into the text field, at which time the submit button then becomes visible.

Any thoughts on how to fix this?

19 Aug 2018, 4:38 AM
#29
millsii avatar

millsii

New Zenner

Join Date:
Mar 2018
Location:
Perth, WA
Posts:
10
Plugin Contributions:
0

Re: Products Review Reminder [Support Thread]

@wvasconcelos responded to a message I sent in regards to this issue.

  1. Open the following file in a text editor (e.g. Notepad++, Nano, VIM, etc.):
    \includes\modules\pages\addon_my_reviews\jscript_main.php

  2. Add the following on line 114 (before /* SHOW RESULTS */):
    if( review.length < <?php echo $min_length; ?> ){ $("#" + pid + '-review').css("display","block"); return; }

That line will:

  1. Stop the execution of the JavaScript function before it sends the rating to the database;
  2. Prevent the display of the "posted publicly as ..." message;
  3. Trigger the display of the textbox to allow the user to write a review.
23 Aug 2018, 12:35 AM
#30
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Products Review Reminder [Support Thread]

v1.5.5f

Hi - I am interested in using this plugin and have read this support thread and the ReadMe for it but have a particular question;

Q ... currently contacting customers manually if the product is out of stock I have to make the product 'sold out', i.e. in product details page select qty 1 and 'out of stock', so that the link to the product given to the customer is 'live', i.e. the product page is still active, otherwise they get the 404 page ..... does this plugin override the need for this, i.e. does the link provided to the customer go directly to the review response page? (we sell a lot of 'one off' products).

many thanks,
Mike

14 Dec 2018, 7:16 AM
#31
kgl_racing avatar

kgl_racing

New Zenner

Join Date:
Jan 2013
Posts:
68
Plugin Contributions:
0

Re: Products Review Reminder [Support Thread]

Hello,

My shop is installed in a subfolder, so to make this plugin works it needs some adjustments
I have made it work but there is still one thing i cant find
Where can i change the link of the images in the email?
Now it is linked to includes/templates/my-template/images/rating_star.png but it needs to link at the subfolder shop/includes/templates/my-template/images/rating_star.png and i cant find it where to change this

Attachment 18190

One more thing, are the emails send automatically at the set time to the clients or do i need to send this manually from admin?

Thanks

14 Dec 2018, 7:40 AM
#32
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Products Review Reminder [Support Thread]

KGL Racing:

Hello,

My shop is installed in a subfolder, so to make this plugin works it needs some adjustments
I have made it work but there is still one thing i cant find
Where can i change the link of the images in the email?
Now it is linked to includes/templates/my-template/images/rating_star.png but it needs to link at the subfolder shop/includes/templates/my-template/images/rating_star.png and i cant find it where to change this

Attachment 18190

One more thing, are the emails send automatically at the set time to the clients or do i need to send this manually from admin?

Thanks
What has been done (or needed) to "make it work" to support an install to a sub-dorectory?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

14 Dec 2018, 9:10 AM
#33
kgl_racing avatar

kgl_racing

New Zenner

Join Date:
Jan 2013
Posts:
68
Plugin Contributions:
0

Re: Products Review Reminder [Support Thread]

In several files you will find this code, so here i added /shop to make it work

define('EMAIL_REMINDER_SUBJECT',', how would you rate your recent order at ' . STORE_NAME . '?');
define('EMAIL_REMINDER_ITEM_TITLE', 'How did this item meet your expectations?');
define('EMAIL_REMINDER_ITEMS_TITLE','How did those items meet your expectations?');
define('EMAIL_REMINDER_START_RATING','Start by rating it');

define('EMAIL_REMINDER_REVIEW_PURCHASES_TITLE','Review your purchases');
define('EMAIL_REMINDER_REVIEW_PURCHASES_DESCRIPTION','Check out <a href="' . HTTPS_SERVER . '/shop/index.php?main_page=addon_my_reviews">' . HTTPS_SERVER . '/shop/index.php?main_page=addon_my_reviews</a> to find past purchases to review.');

Just found an other problem
My site is set to full https in the config file

define('HTTP_SERVER', 'https://kglracing.com');
define('HTTPS_SERVER', 'https://kglracing.com');

When i click the link start by rating it in the Review your purchases email it gets me to the http page instead of the https, what brakes the link and make it land on the account page instead of the review page.
So where can i change this also?

14 Dec 2018, 10:22 AM
#34
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Products Review Reminder [Support Thread]

Unfortunately neither is really right.

Ideally the define would be used in an sprintf function call where the link would be generated using zen_href_link called to ensure not to add the session id. But if going to edit just this area of code, then it should include the applicable DIR_WS_CATALOG like constant as well. Generally speaking that would be like this:

define('EMAIL_REMINDER_REVIEW_PURCHASES_DESCRIPTION','Check out <a href="' . HTTP_SERVER . DIR_WS_CATALOG . 'index.php?main_page=addon_my_reviews">' . HTTP_SERVER . DIR_WS_CATALOG . 'index.php?main_page=addon_my_reviews</a> to find past purchases to review.');

As to landing on the account page, likely because to provide a review, the individual needs to be logged in to provide a review. Otherwise any bot could rate the product and you'd have to go through and weed things out.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

14 Dec 2018, 10:37 AM
#35
kgl_racing avatar

kgl_racing

New Zenner

Join Date:
Jan 2013
Posts:
68
Plugin Contributions:
0

Re: Products Review Reminder [Support Thread]

mc12345678:

Unfortunately neither is really right.

Ideally the define would be used in an sprintf function call where the link would be generated using zen_href_link called to ensure not to add the session id. But if going to edit just this area of code, then it should include the applicable DIR_WS_CATALOG like constant as well. Generally speaking that would be like this:

define('EMAIL_REMINDER_REVIEW_PURCHASES_DESCRIPTION','Check out <a href="' . HTTP_SERVER . DIR_WS_CATALOG . 'index.php?main_page=addon_my_reviews">' . HTTP_SERVER . DIR_WS_CATALOG . 'index.php?main_page=addon_my_reviews</a> to find past purchases to review.');

> 
> As to landing on the account page, likely because to provide a review, the individual needs to be logged in to provide a review. Otherwise any bot could rate the product and you'd have to go through and weed things out.

Just found it to get the link working in HTTPS

In the admin/addon_review_reminder.php
line 560 change this HTTP_CATALOG_SERVER to HTTPS_CATALOG_SERVER

and the link opens in https
14 Dec 2018, 10:50 AM
#36
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Products Review Reminder [Support Thread]

KGL Racing:

Just found it to get the link working in HTTPS

In the admin/addon_review_reminder.php
line 560 change this HTTP_CATALOG_SERVER to HTTPS_CATALOG_SERVER

and the link opens in https
Sure, but if your site with SSL were setup using: https://www.zen-cart.com/content.php?56-how-do-i-enable-ssl-after-i-have-installed-zen-cart then the two would be the same and there would not be a discrepancy like described. For other readers, note that HTTP_CATALOG_SERVER and HTTPS_CATALOG_SERVER are both admin side defines.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

8 Jan 2019, 11:38 AM
#37
sammirah avatar

sammirah

Zen Follower

Join Date:
Apr 2012
Location:
Los Angeles, CA
Posts:
185
Plugin Contributions:
2

Re: Products Review Reminder [Support Thread]

My shop is installed in a subfolder, so to make this plugin works it needs some adjustments
I have made it work but there is still one thing i cant find
Where can i change the link of the images in the email?
Now it is linked to includes/templates/my-template/images/rating_star.png but it needs to link at the subfolder shop/includes/templates/my-template/images/rating_star.png and i cant find it where to change this

Ok so, I have checked all of the files in this plug in and there appears to be some lines missing in the includes/languages/english/addon_review_reminder.php

It does not define the location of the website, product image, or the rating star pictures. So when the email arrives it looks like this:
Attachment 18247

And if they attempt to click on the image areas as previously circled above it leads to a page not found error as there is no zen_href_link generated and nothing to define the images. I hope what I just said makes sense.

The file where the problem lies is here:

<?php
/**
 * @package addon_review_reminder
 * @copyright Copyright 2003-2017 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: addon_my_reviews.php 2017-07-12 08:00 v.1.0 $
 * @author Will Vasconcelos [email protected] $
 */
	define('EMAIL_REMINDER_SUBJECT',', how would you rate your recent order at ' . STORE_NAME . '?');
	define('EMAIL_REMINDER_ITEM_TITLE', 'How did this item meet your expectations?');
	define('EMAIL_REMINDER_ITEMS_TITLE','How did those items meet your expectations?');
	define('EMAIL_REMINDER_START_RATING','Start by rating it');

	[B]somthing is missing in this area: the links and images are not defined in the email[/B]

	define('EMAIL_REMINDER_REVIEW_PURCHASES_TITLE','Review your purchases');
	define('EMAIL_REMINDER_REVIEW_PURCHASES_DESCRIPTION','Check out <a href="' . HTTPS_SERVER . '/index.php?main_page=addon_my_reviews">' . HTTPS_SERVER . '/index.php?main_page=addon_my_reviews</a> to find past purchases to review.');
	
	define('EMAIL_REMINDER_DISCLAIMER','We hope you found this message to be useful. If you would rather not receive future e-mails of this sort from <a href="' . HTTPS_SERVER . '/">' . HTTPS_SERVER . '</a>, please opt-out <a href="' . HTTPS_SERVER . '/index.php?main_page=addon_reviews_reminder_optout&e=%s">here</a>.');
	
// standard email disclaimers
	define('EMAIL_DISCLAIMER', 'This email address was given to us by you or by one of our customers. If you feel that you have received this email in error, please send an email to %s ');
	define('EMAIL_SPAM_DISCLAIMER','This email is sent in accordance with the US CAN-SPAM Law in effect 01/01/2004. Removal requests can be sent to this address and will be honored and respected.');
	define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' . date('Y') . ' <a href="' . HTTPS_SERVER . '" target="_blank">' . HTTPS_SERVER . '</a>.'."\n" . STORE_NAME_ADDRESS . "\n" . STORE_TELEPHONE_CUSTSERVICE . "\n" . 'Powered by <a href="' . HTTPS_SERVER . '" target="_blank">' . STORE_NAME . '</a>');

// email advisory for all emails customer generate
	define('EMAIL_ADVISORY', '-----' . "\n" . '<strong>IMPORTANT:</strong> For your protection and to prevent malicious use, all emails sent via this web site are logged and the contents recorded and available to the store owner. If you feel that you have received this email in error, please send an email to ' . STORE_OWNER_EMAIL_ADDRESS . "\n\n");
8 Jan 2019, 11:46 AM
#38
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Products Review Reminder [Support Thread]

Building links like this:

'<a href="' . HTTPS_SERVER . '/index.php?main_page=addon_my_reviews">' ...

is wrong because it doesn't account for a subdirectory. Using zen_href_link solves this problem.

'<a href="' . zen_href_link('addon_my_reviews', '','NONSSL') . '">' ....

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

9 Jan 2019, 12:28 AM
#39
sammirah avatar

sammirah

Zen Follower

Join Date:
Apr 2012
Location:
Los Angeles, CA
Posts:
185
Plugin Contributions:
2

Re: Products Review Reminder [Support Thread]

The concept of this plug-in is great, however there are some flaws which need to be worked out in the connection between the actual email the customer receives and the addon_my_reviews.php (that is just my non-technical deduction after trying to make it work), I think there needs to be some more testing done, and with a few tweeks it will be even better. I look forward to the future outcome of this.

22 Jun 2019, 3:06 PM
#40
e_standard avatar

e_standard

New Zenner

Join Date:
Nov 2013
Location:
China
Posts:
75
Plugin Contributions:
0

Re: Products Review Reminder [Support Thread]

Got PHP error for higher PHP,such as PHP 7.3.7.2,but there is no such error for PHP 7.0,anyone know how to fix this?
addon_review_reminder.php,
--> PHP Warning: Use of undefined constant IMAGE_REMOVE - assumed 'IMAGE_REMOVE' (this will throw an Error in a future version of PHP) in /home/adm/addon_review_reminder.php on line 421.