Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
New version now available in the plugins' area Version: 25.d
1.) Bug in the pagination code in admin-->customers_reward_points.php file - Fixed reset button to properly go back to all customers.
Thanks to Ajeh
2.) Updated the _doc folder to reflect these changes.
3.) Updated the version number from 2.5c to 2.5d.
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
Small problem that I figured out but will drive folks crazy.
If you click on the edit button, the entire list of customers display but when you get back to the page the actual customer is on, it's open and editable. If you click on the line/customer name that doesn't happen.
In addition, the reward points page only shows the what's enabled in admin - changing the number of customers that are supposed to display does not work.
Thanks for you work on this!!
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
Quote:
Originally Posted by
delia
Small problem that I figured out but will drive folks crazy.
If you click on the edit button, the entire list of customers display but when you get back to the page the actual customer is on, it's open and editable. If you click on the line/customer name that doesn't happen.
In addition, the reward points page only shows the what's enabled in admin - changing the number of customers that are supposed to display does not work.
Thanks for you work on this!!
Quote:
you click on the edit button, the entire list of customers display but when you get back to the page the actual customer is on, it's open and editable. If you click on the line/customer name that doesn't happen.
Not quite understanding what you are pointing out here.
Quote:
In addition, the reward points page only shows the what's enabled in admin - changing the number of customers that are supposed to display does not work.
Sure it does...
If you are talking about showing how many customers to view at one time on the reward points page You can set by using Admin->Configuration->Maximum Values->Maximum Display of Customers on Customers Page.
I tested it and it works....
If something is wrong with it, would you mind sharing so everybody else knows what going on and how to fix it, or send it to me and I will add it to the next release...
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
There are two ways to click on a customer on the rewards page. You can click on the customer's name or any of the text on that line or you can click on the green edit button. If you are on page 2 or more, clicking on the line instead of the green button works fine. If you click on the edit button, the screen refreshes and you go back to page one. When you go back to the page where the customer is, then you see the boxes open for that customer. So if the action is supposed to be the same - change the edit button to match the other.
button: customers_reward_points.php?id=80&action=edit
link: ustomers_reward_points.php?page=1&id=80&action=edit
in the configuration:
Limit Maximum Customers on Listings
Set the maximum number of records to appear on each page under Customer Reward Point admininstration page.
Changing that does not change anything so what you say makes sense - about the maximum numbers. Which means it needs removing?
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
From what I can tell on line 325 the code in RED is missing:
Code:
<?php echo '<a href="' . zen_href_link(FILENAME_ADMIN_CUSTOMER_REWARD_POINTS, zen_get_all_get_params(array('id', 'action')) . 'id=' . $customers->fields['customers_id'] . '&action=edit') . '">' . zen_image(DIR_WS_IMAGES . 'icon_edit.gif', ICON_EDIT) . '</a>'; ?>
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
thank ajeh! I knew it was simple. Just didn't take time to look at the code.
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
No problem ... glad you caught that as I did not even notice the issue ... :lookaroun
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
One other change is for the Update button on line 355:
Code:
$contents = array('form' => zen_draw_form('customer_reward_point_admin', FILENAME_ADMIN_CUSTOMER_REWARD_POINTS, zen_get_all_get_params(array('id', 'action')) . 'id='.$current_customer['customers_id'].'&action=update', 'post'));
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
Another change would be around line 229:
Code:
echo '<td class="dataTableRow" width="3%" align="center" onmouseover="rowOverEffect(this);" onmouseout="rowOutEffect(this);" onclick="document.location.href=\''.zen_href_link(FILENAME_ADMIN_CUSTOMER_REWARD_POINTS, zen_get_all_get_params(array('customer_sort_index', 'action', 'id', 'page')) . 'customer_sort_index='.chr(65+$loop)).'\'">'.chr(65+$loop).'</td>';
Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread
I am having an issue with installing the sql patch for this mod. I am getting errors that state:
Cannot insert configuration_key "" because it already exists
This is happening on all of the "INSERT INTO configuration" statements. As of now, nothing appears on the "Configuration > Reward Point Configuration" page except the heading. I am running ZC 1.5.4. Any help will be greatly appreciated.