Has there been a "revised" version of this mod? I would like to install it but reading through this thread, I am not sure if it works if installed as is.
Printable View
Has there been a "revised" version of this mod? I would like to install it but reading through this thread, I am not sure if it works if installed as is.
Still no update on this plugin?
I just found this plug-in and really like it - except for the bugs that have been noted above. I did get it to work fully for my site by making some adjustments. Because our catalog is in a sub-folder /store/ from the root, i had to add that in a couple places. My style is definitely not 'Grade A' php coding, but it works.
File /admin/addon_review_reminder.php
1. Line 176: Added /store to: $template_images_folder = HTTP_CATALOG_SERVER . '/store/' . DIR_WS_TEMPLATES . $template_dir . '/images/
2. Line 560: Added /store to: $review_page_link = HTTP_CATALOG_SERVER . '/store/index.php?main_page=addon_my_reviews&pid=' . $rec->fields['products_id'];
3. Line 554: change ‘width=460’ to ‘width = 95%’ --- the entire email formatted better on my particular theme styling.
Also, i added a section to allow the customers to link to Google, FB and Trustpilot reviews from the same email. In /email/email_template_addon-review-reminder.html, around line 43, just after the </tr> for the 'check our your reviews...' table row, i added
Again, i know that pure coders will not add so much raw text, but build it into the /english/ definitions files, so there's of room for someone to improve on this.Code:<!-- BOF Company Review Links Added March 2021 -->
<tr>
<td>
<div style="line-height:15px;font-size:15px"> </div>
<div style="font-size:18px;color:#e47911;font-family:arial,helvetica,verdana,sans-serif">
Review YOUR COMPANY.
</div>
</td>
</tr>
<tr>
<td>
<div style="line-height:15px; font-size:7px"> </div>
<div style="font-size:14px; color:#333333; margin-right:37px; text-decoration:none; font-family:arial,helvetica,verdana,sans-serif;">
Leave a <a href="https://www.trustpilot.com/review/MODIFY URL HERE" style="text-decoration:none; color:124c90; font-size:14px;" target="_blank">TrustPilot</a> review.
</div>
<div style="font-size:14px; color:#333333; margin-right:37px; text-decoration:none; font-family:arial,helvetica,verdana,sans-serif;">
Leave a <a href="https://www.google.com/MODIFY URL HERE" style="text-decoration:none; color:124c90; font-size:14px;" target="_blank">Google</a> review.
</div>
<div style="font-size:14px; color:#333333; margin-right:37px; text-decoration:none; font-family:arial,helvetica,verdana,sans-serif;">
Leave a <a href="https://www.facebook.com/MODIFY URL HERE" style="text-decoration:none; color:124c90; font-size:14px;" target="_blank">Facebook</a> review.
</div>
</td>
</tr>
<!-- EOF Company Review Links March 2021 -->
Hope it helps.
The link we provide customers is the link to our Trustpilot page, which offers the user the opportunity to add a review (https://www.trustpilot.com/review/www.apollocaster.com).
thanks!
This plugin is an orphan - if some kind person would be willing to adopt it and give it a refresh, that would be great.
ROOKIE DEVELOPERS: this is an opportunity for you to build some skills that will make you money.
ZC 1.5.8a
php 7.4
v 1.0.3 test result (error log, real IP address and admin folder name are masked):
Quote:
Request URI: /YOUR_ADMIN/index.php?cmd=addon_review_reminder, IP address: xxx.xxx.xxx.xxx, Language id 1
#1 require(/YOUR_ADMIN/addon_review_reminder.php) called at [/YOUR_ADMIN/index.php:11]
--> PHP Warning: Use of undefined constant IMAGE_REMOVE - assumed 'IMAGE_REMOVE' (this will throw an Error in a future version of PHP) in /YOUR_ADMIN/addon_review_reminder.php on line 423.
Update:
I tested v1.0.3 with php 8.0 and 8.1, and got the similar results.