Title: mxpimp47's Replies | WordPress.org

---

# mxpimp47

  [  ](https://wordpress.org/support/users/mxpimp47/)

 *   [Profile](https://wordpress.org/support/users/mxpimp47/)
 *   [Topics Started](https://wordpress.org/support/users/mxpimp47/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mxpimp47/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mxpimp47/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mxpimp47/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mxpimp47/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mxpimp47/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 121 total)

1 [2](https://wordpress.org/support/users/mxpimp47/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/mxpimp47/replies/page/3/?output_format=md)…
[7](https://wordpress.org/support/users/mxpimp47/replies/page/7/?output_format=md)
[8](https://wordpress.org/support/users/mxpimp47/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/mxpimp47/replies/page/9/?output_format=md)
[→](https://wordpress.org/support/users/mxpimp47/replies/page/2/?output_format=md)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [wp_reset_postdata not working](https://wordpress.org/support/topic/wp_reset_postdata-not-working-2/)
 *  Thread Starter [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wp_reset_postdata-not-working-2/#post-8538707)
 * anyone able to confirm if I am not following the codex correctly?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [query_posts limit number of attachments retrieved?](https://wordpress.org/support/topic/query_posts-limit-number-of-attachments-retrieved/)
 *  Thread Starter [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/query_posts-limit-number-of-attachments-retrieved/#post-8502506)
 * anyone have any idea of what I am doing wrong?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CMB2] Using the plugin for light weight user meta options?](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/)
 *  Thread Starter [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/page/2/#post-6243367)
 * Never mind that question, I am blind and ‘manage_options’ is in two places! Thanks
   again, I will be extending on this a little bit, and adding an address field.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CMB2] Using the plugin for light weight user meta options?](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/)
 *  Thread Starter [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/page/2/#post-6243365)
 * Holy smokes that was awesome, thank you for the code! I am kind of confused by
   the control of the user roles. I see ‘manage_options’ – if I change it to ‘read’
   which is the lowest role capability it wont display. I don’t think I will use
   that of course. But trying to wrap my head around that part.
 * Thank you again for the wonderful help using this plugin in so many ways!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CMB2] Using the plugin for light weight user meta options?](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/)
 *  Thread Starter [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/#post-6243364)
 * Do I need to specify the user id? I read the wp doc’s on get_user_meta() and 
   it seems you have to be specific.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CMB2] Using the plugin for light weight user meta options?](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/)
 *  Thread Starter [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/#post-6243361)
 * I cant get anything to echo. I have tried so many things. Here is my code currently
   [http://pastebin.com/Ki1i8qiD](http://pastebin.com/Ki1i8qiD) my prefix is ‘rio_members’
   but I should be using $prefix right?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CMB2] Using the plugin for light weight user meta options?](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/)
 *  Thread Starter [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/#post-6243352)
 * I am struggling to find the correct way to target the cmb2 date meta for the 
   user. I was able to return other user meta using this method
 * [https://codex.wordpress.org/Function_Reference/get_currentuserinfo](https://codex.wordpress.org/Function_Reference/get_currentuserinfo)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CMB2] Using the plugin for light weight user meta options?](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/)
 *  Thread Starter [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/#post-6243349)
 * can I simply echo the value of the stored meta for the current user specifically
   when they are a “user” role capability?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CMB2] Using the plugin for light weight user meta options?](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/)
 *  Thread Starter [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/#post-6243344)
 * Here is an if statement wrapped around the date field. But I am doing something
   wrong. It either displays or it doesn’t when I change the capability. But when
   it does it is always editable. How do I change it to display but not be editable
   for a subscriber? The capability would be “read” for that role. I just don’t 
   want them to be able to change the date of the custom meta, just view it. [http://pastebin.com/UAaePEbY](http://pastebin.com/UAaePEbY)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CMB2] Using the plugin for light weight user meta options?](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/)
 *  Thread Starter [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [11 years ago](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/#post-6243255)
 * is there anything in the documentation on this? This will be a new thing for 
   me to mess with controlling permissions like that.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CMB2] Using the plugin for light weight user meta options?](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/)
 *  Thread Starter [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [11 years ago](https://wordpress.org/support/topic/using-the-plugin-for-light-weight-user-meta-options/#post-6243224)
 * What about not allowing the users with subscriber permissions to edit the field
   and just view it? Membership status would only be controlled by admin permissions.
   But subscribers do need to be able to see that their membership is active or 
   expired.
 * I have only changed permissions for custom meta fields to be editable by lower
   level users. It either was editable or not there at all for lower level users.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CMB2] Displaying Admin Options for other users besides admin?](https://wordpress.org/support/topic/displaying-admin-options-for-other-users-besides-admin/)
 *  Thread Starter [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/displaying-admin-options-for-other-users-besides-admin/#post-6104693)
 * Thank you for the information. Got it handled.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CMB2] Reset a cmb2 option after x amount of time?](https://wordpress.org/support/topic/reset-a-cmb2-option-after-x-amount-of-time/)
 *  Thread Starter [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/reset-a-cmb2-option-after-x-amount-of-time/#post-5947232)
 * ok thank you for the help!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CMB2] Reset a cmb2 option after x amount of time?](https://wordpress.org/support/topic/reset-a-cmb2-option-after-x-amount-of-time/)
 *  Thread Starter [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/reset-a-cmb2-option-after-x-amount-of-time/#post-5947224)
 * What about using WordPress transient?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CMB2] Reset a cmb2 option after x amount of time?](https://wordpress.org/support/topic/reset-a-cmb2-option-after-x-amount-of-time/)
 *  Thread Starter [mxpimp47](https://wordpress.org/support/users/mxpimp47/)
 * (@mxpimp47)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/reset-a-cmb2-option-after-x-amount-of-time/#post-5947197)
 * Regardless of the day and time the box is checked which is currently all working
   via custom admin, I just want it to reset when the time reaches the next calendar
   date. Doesnt matter what day it is technically of when it’s checked. So today
   is friday, I login and check the box, it displays the message I have in my if
   statement, and at 12am Saturday it resets and is back to the unchecked state.
   So 12am is the key.
 * Did I explain clear enough? Please let me know if I am not clear.
 * Thank you for the response!

Viewing 15 replies - 1 through 15 (of 121 total)

1 [2](https://wordpress.org/support/users/mxpimp47/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/mxpimp47/replies/page/3/?output_format=md)…
[7](https://wordpress.org/support/users/mxpimp47/replies/page/7/?output_format=md)
[8](https://wordpress.org/support/users/mxpimp47/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/mxpimp47/replies/page/9/?output_format=md)
[→](https://wordpress.org/support/users/mxpimp47/replies/page/2/?output_format=md)