freedom667
Forum Replies Created
-
Forum: Plugins
In reply to: [Smart WooCommerce Search] WPML translate placeholder textsyou already helped me by email. thanks for help
I made it this is my function. If you want, you can add to your plugin but this function have to work with cron.
function my_cronjob_action () { $current_date = date("Y-m-d"); $users = get_users(); foreach( $users as $user){ $date_to_compare = get_the_author_meta( 'year_of_birth', $user->ID ); if (strtotime($current_date) > strtotime($date_to_compare) ) { $user_levels = rua_get_user($user)->get_level_ids(false, false, true); foreach ($user_levels as $level) { rua_get_user($user)->remove_level($level); } } echo $date_to_compare; } } add_action('my_cronjob_action', 'my_cronjob_action');
you will give a date to a user, then the date which you give to user bigger than today, the levels will remove from user
- This reply was modified 4 years, 6 months ago by freedom667.
- This reply was modified 4 years, 6 months ago by freedom667.
- This reply was modified 4 years, 6 months ago by freedom667.
Forum: Plugins
In reply to: [Cronjob Scheduler] execute a function each dayI made it myself
I wrote it in foreach loop but does not work
hey, why don’t you reply me?
Well, will you add a e-mail feature for the plugin at future?
it does not work like it already? maybe you can make it. becuase there is no another user access plugin with user expire and working shortcode
If you make it for me. I would pay you a fee
well, can you make it? because, i need that
OK, I will write this issue in woocommerce forums but I do not think so they will help
- This reply was modified 4 years, 10 months ago by freedom667.
Forum: Plugins
In reply to: [WooCommerce] Product images not showing up in order mailswhy don’t you help me?
Forum: Plugins
In reply to: [WooCommerce] Product images not showing up in order mailsyes. I tested the mail in hotmail, images are displaying. does not work in gmail
I found it. this issue is happening because of WooCommerce plugin
there is no a membership plugin. I have many plugin but nothing is for members
yes. I want expiration for individual users not for levels. When I assign a user to a level, I have to give a end time to user.
for example Gold Level
A user’s gold level end time 05/2020
B user’s gold level end time 06/2020
C user’s gold level end time 07/2020Maybe it is possible. I don’t know your system(codes) but perhaps it can be like this. just the level expiration will be for individual users
- This reply was modified 4 years, 11 months ago by freedom667.