### POINTS AND REWARDS MODULE V1.00 ###
#2101
Posted 03 May 2012 - 11:24 AM
#2102
Posted 23 June 2012 - 03:59 PM
in check_out payment, if customer has no points than no comment is written, maybe i made a mistake.
anyhow,
if points sytem and redeem okey, will check customers first buy if not say, you can give points to your friends,
if it is not customers first buy, check customers points, write customers point, if it has not any point, writes text_no_ points_yet
i did like below but did not work
if ((USE_POINTS_SYSTEM == 'true') && (USE_REDEEM_SYSTEM == 'true')) {
//echo points_selection();
$cart_show_total= $cart->show_total();
if (tep_not_null(USE_REFERRAL_SYSTEM) && (tep_count_customer_orders() == 0)) {
echo referral_input();
} else if ($cart_show_total > 0) {
echo points_selection($cart_show_total);
} else { echo TEXT_NO_POINTS_YET;
}
}
#2103
Posted 15 July 2012 - 04:27 PM
#2104
Posted 29 July 2012 - 08:10 PM
I've been trying to install this great contri, think I'm almost done,
however when I want to add the module in the admin sector - total order
(so points can be seen in the checkout_confirmation page)
I get this error :
Warning: reset() [function.reset]: Passed variable is not an array or object in /home/lilijewel/domains/pretty-juwelen.com/public_html/prettyadmin/modules.php on line 240
Warning: Variable passed to each() is not an array or object in /home/lilijewel/domains/pretty-juwelen.com/public_html/prettyadmin/modules.php on line 241
There are many topics about this but I can't find a solution to fix this.
this is what's in admin/modules.php around lines 240/241
switch ($action) {
case 'edit':
$keys = '';
reset($mInfo->keys);
while (list($key, $value) = each($mInfo->keys)) {
$keys .= '<strong>' . $value['title'] . '</strong><br />' . $value['description'] . '<br />';[/b]
[b] if ($value['set_function']) {
eval('$keys .= ' . $value['set_function'] . "'" . $value['value'] . "', '" . $key . "');");
} else {
$keys .= tep_draw_input_field('configuration[' . $key . ']', $value['value']);
}
$keys .= '<br /><br />';
}
$keys = substr($keys, 0, strrpos($keys, '<br /><br />'));[/b]
[b] $heading[] = array('text' => '<strong>' . $mInfo->title . '</strong>');[/b]
[b] $contents = array('form' => tep_draw_form('modules', FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'] . '&action=save'));
$contents[] = array('text' => $keys);
$contents[] = array('align' => 'center', 'text' => '<br />' . tep_draw_button(IMAGE_SAVE, 'disk', null, 'primary') . tep_draw_button(IMAGE_CANCEL, 'close', tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'])));
break;
can anyone help me out here?
Thanks in advance
Lili
#2105
Posted 02 August 2012 - 08:12 PM
Any help would be highly appreciated.
Best Regards,
Evan
GanodermaCoffee.com
#2106
Posted 12 August 2012 - 06:07 PM
Thanks
Lili
#2107
Posted 13 August 2012 - 03:41 PM
http://forums.oscommerce.com/user/68227-satish/
#2108
Posted 07 September 2012 - 09:46 AM
Once more we are having a problem to integrate this add-on (that we love!) with another function... this time is PayPal. When the costumer chooses to pay with PayPal the Reward Points are not attributed neither discounted, as if there was not be made any order. With all other payment methods, this add-on works perfectly. Can someone help please? If there's already a post about this can someone indicate me where? Thanks!
#2109
Posted 04 November 2012 - 03:02 PM
#2110
Posted 05 November 2012 - 08:15 AM
#2111
Posted 07 November 2012 - 03:29 PM
Thanks
Evan
#2112
Posted 09 November 2012 - 09:57 AM
lilitoy, on 29 July 2012 - 08:10 PM, said:
I've been trying to install this great contri, think I'm almost done,
however when I want to add the module in the admin sector - total order
(so points can be seen in the checkout_confirmation page)
I get this error :
Warning: reset() [function.reset]: Passed variable is not an array or object in /home/lilijewel/domains/pretty-juwelen.com/public_html/prettyadmin/modules.php on line 240
Warning: Variable passed to each() is not an array or object in /home/lilijewel/domains/pretty-juwelen.com/public_html/prettyadmin/modules.php on line 241
There are many topics about this but I can't find a solution to fix this.
this is what's in admin/modules.php around lines 240/241
switch ($action) {
case 'edit':
$keys = '';
reset($mInfo->keys);
while (list($key, $value) = each($mInfo->keys)) {
$keys .= '<strong>' . $value['title'] . '</strong><br />' . $value['description'] . '<br />';[/b]
[b] if ($value['set_function']) {
eval('$keys .= ' . $value['set_function'] . "'" . $value['value'] . "', '" . $key . "');");
} else {
$keys .= tep_draw_input_field('configuration[' . $key . ']', $value['value']);
}
$keys .= '<br /><br />';
}
$keys = substr($keys, 0, strrpos($keys, '<br /><br />'));[/b]
[b] $heading[] = array('text' => '<strong>' . $mInfo->title . '</strong>');[/b]
[b] $contents = array('form' => tep_draw_form('modules', FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'] . '&action=save'));
$contents[] = array('text' => $keys);
$contents[] = array('align' => 'center', 'text' => '<br />' . tep_draw_button(IMAGE_SAVE, 'disk', null, 'primary') . tep_draw_button(IMAGE_CANCEL, 'close', tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'])));
break;
can anyone help me out here?
Thanks in advance
Lili
Did you or anyone find a solution for this problem?
I have the same problem, I tried to send Satish a message, but he can't receive messages anymore. Hope someone can help with this.
#2113
Posted 10 November 2012 - 01:06 AM
Wesite: oscprofessionals.com
#2114
Posted 13 November 2012 - 02:27 PM
#2115
Posted 07 December 2012 - 04:23 AM
How to support Discount code module?
http://addons.oscommerce.com/info/4269
Discount Coupon Codes
#2116
Posted 07 December 2012 - 09:33 AM
Has anyone implemented this contribution successfully for v2.3.1 following the guide?
The documentation on http://addons.oscommerce.com/info/3220 states it was tested on Version 2.2MS2 yet on the history page the most recent entry states "Complete Package for 2.3x".
#2117
Posted 08 December 2012 - 10:50 AM
The Lego Man, on 07 December 2012 - 09:33 AM, said:
Has anyone implemented this contribution successfully for v2.3.1 following the guide?
The documentation on http://addons.oscommerce.com/info/3220 states it was tested on Version 2.2MS2 yet on the history page the most recent entry states "Complete Package for 2.3x".
yes. it work. I install it before.
#2118
Posted 12 December 2012 - 10:59 AM
I installed the points and rewards add on but am getting the following error when I click on edit for Points Redeemptions in the order total under modules
Hi
I installed the points and rewards add on but am getting the following error when I click on edit for Points Redeemptions in the order total under modules
Warning: reset() expects parameter 1 to be array, null given in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php on line 227 Warning: Variable passed to each() is not an array or object in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php on line 228
Also when I click save I get the following error
Warning: reset() expects parameter 1 to be array, null given in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php on line 35 Warning: Variable passed to each() is not an array or object in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php on line 36 Warning: Cannot modify header information - headers already sent by (output started at /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php:35) in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/includes/functions/general.php on line 34
Please help me as I really want this on my website
Also I am getting no text regarding the points redeem as on my other customers website I am, instead on my website I am getting a long rectangle with a border and nothing in it
Please help me
Kind regards
Ian
Edited by ianhaney, 12 December 2012 - 11:02 AM.
#2119
Posted 12 January 2013 - 05:21 AM
working very fine but i have a question,
how a member can refer another member if there is no referrals link and/or referral ID box in create_account.php
thank you very much and great job
#2120
Posted 19 February 2013 - 07:55 PM
ianhaney, on 12 December 2012 - 10:59 AM, said:
I installed the points and rewards add on but am getting the following error when I click on edit for Points Redeemptions in the order total under modules
Hi
I installed the points and rewards add on but am getting the following error when I click on edit for Points Redeemptions in the order total under modules
Warning: reset() expects parameter 1 to be array, null given in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php on line 227 Warning: Variable passed to each() is not an array or object in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php on line 228
Also when I click save I get the following error
Warning: reset() expects parameter 1 to be array, null given in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php on line 35 Warning: Variable passed to each() is not an array or object in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php on line 36 Warning: Cannot modify header information - headers already sent by (output started at /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php:35) in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/includes/functions/general.php on line 34
Please help me as I really want this on my website
Also I am getting no text regarding the points redeem as on my other customers website I am, instead on my website I am getting a long rectangle with a border and nothing in it
Please help me
Kind regards
Ian
Hi there
I had the same issue and resolved it by removing the module and re-installing it
A big thanks to the developers for this addon, it's awesome









