Title: AndreiD's Replies | WordPress.org

---

# AndreiD

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/andreiro37/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/andreiro37/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Fastest Cache - WordPress Cache Plugin] Clear cache daily](https://wordpress.org/support/topic/clear-cache-daily/)
 *  Thread Starter [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/clear-cache-daily/#post-10102049)
 * thanks, is working
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Views Counter] Where is stored total views](https://wordpress.org/support/topic/where-is-stored-total-views/)
 *  Thread Starter [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/where-is-stored-total-views/#post-9625355)
 * No, i mean total number of views for a post, where is stored, in which post meta
   or where in the database?
 * I can make a code to update daily a custom post meta with total views, but i 
   dont know where is stored this number – total views for a post.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ShortPixel Image Optimizer - Optimize Images, Convert WebP & AVIF] Images already optimized](https://wordpress.org/support/topic/images-already-optimized/)
 *  Thread Starter [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/images-already-optimized/#post-9590680)
 * Which is the wp_post mta filed name for each post or the table name? I plan to
   use it on multiple sites, i will let you know if indeed i see is working slower
   due your plugin, i will test more.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-UserOnline] How to display only number of online users](https://wordpress.org/support/topic/how-to-display-only-number-of-online-users/)
 *  Thread Starter [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/how-to-display-only-number-of-online-users/#post-9583080)
 *     ```
       function my_theme_online_users_cb( $atts, $content = "" ){
          global $wpdb;
   
          $online_users = $wpdb->get_var( "SELECT COUNT(*) FROM wp_useronline WHERE user_type = 'member'" );
   
          return $online_users;
       }
       add_shortcode( "my_theme_online_users", "my_theme_online_users_cb" );
       ```
   
 * To display:
 * 1. php code
    `<?php echo do_shortcode("[my_theme_online_users]"); ?>`
 * 2. or insert in wp admin editor
    `[my_theme_online_users]`
 * thanks!
    -  This reply was modified 8 years, 10 months ago by [AndreiD](https://wordpress.org/support/users/andreiro37/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery by 10Web - Mobile-Friendly Image Gallery] Does not work on Samsung Galaxy S4](https://wordpress.org/support/topic/does-not-work-on-samsung-galaxy-s4/)
 *  Thread Starter [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/does-not-work-on-samsung-galaxy-s4/#post-9583036)
 * I have swtiched to a custom plugin. Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-UserOnline] How to display only number of online users](https://wordpress.org/support/topic/how-to-display-only-number-of-online-users/)
 *  Thread Starter [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/how-to-display-only-number-of-online-users/#post-9569500)
 * I mean useers logged-in, not guests.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[bbPress Advanced Statistics] Display only the number of active users](https://wordpress.org/support/topic/display-only-the-number-of-active-users/)
 *  Thread Starter [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/display-only-the-number-of-active-users/#post-9542135)
 * Hi, i noticed on the development site that site crach after plugin update. Is
   an easier way to display the number of Online users with this new version? thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ad Inserter - Ad Manager & AdSense Ads] Profiles by Post Type](https://wordpress.org/support/topic/profiles-by-post-type/)
 *  Thread Starter [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/profiles-by-post-type/#post-9508696)
 * I have put some conditinal php to show the code with your plugin and is working.
   I will use the feature when will be available. Thanks 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[bbPress Advanced Statistics] Display only the number of active users](https://wordpress.org/support/topic/display-only-the-number-of-active-users/)
 *  Thread Starter [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/display-only-the-number-of-active-users/#post-9440471)
 * Thanks, this worked well. I work on a client site and he wanted to display this
   number on BBpress forum.
 * Will be great to make available shortcodes of php functions to get all statistics
   items as separate things, in ordr to combine and use them as you want.
 * I will update the script when you will update the plugin, untill then i will 
   give a 5 stars review.
 * thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[bbPress Advanced Statistics] Display only the number of active users](https://wordpress.org/support/topic/display-only-the-number-of-active-users/)
 *  Thread Starter [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/display-only-the-number-of-active-users/#post-9438793)
 * Yes, i need only to echo $number_of_online_users
    Isnt any variable for this?
   I know some php. (i do not need to display all statistics for the moment)
 * thanks in advance
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Views Counter] Remove admin column for user roles](https://wordpress.org/support/topic/remove-admin-column-for-user-roles/)
 *  Thread Starter [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/remove-admin-column-for-user-roles/#post-9180077)
 * cool, worked
    thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Block Country] Suggestion](https://wordpress.org/support/topic/suggestion-199/)
 *  Thread Starter [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/suggestion-199/#post-9117570)
 * i will use the plugin, looks simple and good
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions] Prevent redirect when Register](https://wordpress.org/support/topic/prevent-redirect-when-register/)
 *  Thread Starter [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/prevent-redirect-when-register/#post-9001156)
 * I will post a review. The plugin has a lot of features, was a litttle annoying
   to start with it: my sugegstion is to make the link “Autocreate pages” after 
   plugin install more visible because i created custom pages and didnt worked.
 * Another question: after user log in in WordPress, how to prevent them to be redirected
   to membership levels page? (the same problem as for Register action).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions] Prevent redirect when Register](https://wordpress.org/support/topic/prevent-redirect-when-register/)
 *  Thread Starter [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/prevent-redirect-when-register/#post-9000037)
 * Users register via default WP page. Later on to unlock some premium features 
   they will go to membership levels page to choose a paid plan.
 * Your code solved my problem, thanks. I will recommend to client to upgrade the
   plugin to premium if he will have paid members.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Iptanus File Upload] Get input value after form submit](https://wordpress.org/support/topic/get-input-value-after-form-submit/)
 *  Thread Starter [AndreiD](https://wordpress.org/support/users/andreiro37/)
 * (@andreiro37)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/get-input-value-after-form-submit/#post-8975180)
 * “two shortcodes by setting different upload id”
 * Those 2 shortcodes does nto have ids, should i add id attribute manually in shortcode?
 * I ended creating custom code, but the plugin looks good and maybe i will use 
   it for other projects.

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

1 [2](https://wordpress.org/support/users/andreiro37/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/andreiro37/replies/page/2/?output_format=md)