juanmiwordpress
Forum Replies Created
-
Forum: Plugins
In reply to: [Members - Membership & User Role Editor Plugin] List of Shortcodes?Hi Justin! The fisrt thanks for your work π
I have a question about the shortcodes. Is posible use the distinct operator like this:
[members_access role!=”editor”]Not to editors[/members_access]
Thanks in advance!
Juanmi
Yes, it’s works !!!!!!
Thank you very much π
If you need a Spanish translation I can help you π
Perfect, i wait the next update π
Thanks other time π
I put this and no work π
<a class="popmake-post-'. get_the_ID() . ' " href="' . get_the_permalink() . '">LINK</a><?php echo do_shortcode("[popup id='post-". get_the_ID() ."' size='small' theme='5385' title='". get_the_title() ."']". get_the_content() . "[/popup]");?>Thanks in advance π
I think this is a good future sugestion π
Thanks in advance!
Forum: Plugins
In reply to: [Expire Users] expire_users_expired hookYes! It’s solved π
The code must be in function.php of our theme.
Thanks!
Forum: Plugins
In reply to: [Expire Users] expire_users_expired hookYes, the role is changin OK. I needed follow this steps for the cron 4 days ago.
If i write your code
function my_expire_users_expired( $user ) { $user->remove_expire_date(); $user->save_user(); } add_action( 'expire_users_expired', 'my_expire_users_expired' );in /wp-includes/functions.php the web don’t works, only show a white color. No error, no text, nothing only the white color. If I del the add_action line on fuctions.php the web works but when the user expire nothing happens.
Thanks π
Forum: Plugins
In reply to: [Expire Users] expire_users_expired hookDon’t work π
I put your code at the end of the functions.php
I have wordpress 3.7.1 es_ES, Expire users plugins
I need download anything else?
Forum: Plugins
In reply to: [Expire Users] Some future suggestionsHi Ben,
Other future suggestion Ben.
1.- In expiry settings We will can set as default if we want the user can login to the wordpress site or not.
Thanks π
Forum: Plugins
In reply to: [Expire Users] expire_users_expired hookHi other time Ben!
The Fist sorry for my English, i’m Sspanish and my English is not very good.
The second thing, thanks for your plugin, it’s great.I don’t know how tu use the expire_user_expired hook. I need make 2 things, the first:
I’m using your plugin for change the role of the user an i need change the expiration meta_key on user to N, if this value it’s set to Y the user can’t login on the web.
I try with this code on functions.php
function my_expire_users_expired( $user ) { $wpdb->query("UPDATE $wpdb->usersmeta SET meta_value = 'N' WHERE user_id = $expired_user AND meta_key = '_expire_user_expired'"); }Where I write the add_action? If i put the add_action code on fucntions.php the wordpress don’t work.
The second thing to make when user expired is submit a form with ajax, but this I will make when the first will be OK.
Thanks other time!