Latest News: (loading..)
Tsimi

Converting Points and Rewards system for osC BS

233 posts in this topic

2 minutes ago, raiwa said:

@Omar_one,

fixed, indeed the old configuration entry has been left. I revised also all other files, all should be updated now.

in admin/customers_points.php line 114:


            $expire  = date('Y-m-d', strtotime('+ '. POINTS_AUTO_EXPIRES .' month'));

change to:


            $expire  = date('Y-m-d', strtotime('+ '. MODULE_HEADER_TAGS_POINTS_REWARDS_POINTS_POINTS_AUTO_EXPIRES .' month'));

 

Works for me now

raiwa likes this

Share this post


Link to post
Share on other sites

@Tsimi, @LeeFoster, @Omar_one,

several updates pushed to clean up language files and remove core changes in application_top.php

Please consider a complete update.

Share this post


Link to post
Share on other sites

@Tsimi,

maybe this can help for the german translation:

google: my_points_help.php site:de

Tsimi likes this

Share this post


Link to post
Share on other sites

@Tsimi, @LeeFoster,

Adding the admin hook, I found that the hook naming and directory structure is not correct in the shop side.

Instead to have all shop hooks in one file and directory (points), they should be separated for each page file:

includes/hooks/shop/create_account/points.php

includes/hooks/shop/checkout_payment/points.php

and so on.

Like this the hook register on each page and the directory can be used for different contributions/hooks.

If you agree and as we are on time I'll go to fix this now.

Share this post


Link to post
Share on other sites

Pushed Hooks update

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now