AndreiD
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Fastest Cache] Clear cache dailythanks, is working
Forum: Plugins
In reply to: [Post Views Counter] Where is stored total viewsNo, 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.
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
In reply to: [WP-UserOnline] How to display only number of online usersfunction 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 7 years, 5 months ago by AndreiD.
I have swtiched to a custom plugin. Thanks.
Forum: Plugins
In reply to: [WP-UserOnline] How to display only number of online usersI mean useers logged-in, not guests.
Forum: Plugins
In reply to: [bbPress Advanced Statistics] Display only the number of active usersHi, 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
In reply to: [Ad Inserter - Ad Manager & AdSense Ads] Profiles by Post TypeI 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
In reply to: [bbPress Advanced Statistics] Display only the number of active usersThanks, 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
In reply to: [bbPress Advanced Statistics] Display only the number of active usersYes, 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
In reply to: [Post Views Counter] Remove admin column for user rolescool, worked
thanksForum: Plugins
In reply to: [Admin Block Country] Suggestioni will use the plugin, looks simple and good
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).
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
In reply to: [Iptanus File Upload] Get input value after form submit“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.