dassoubarna
Forum Replies Created
-
Forum: Plugins
In reply to: [Portfolio] Post Grid- Exclude Latest PostOk. Thanks anyway for the quick reply.
- This reply was modified 2 years, 8 months ago by dassoubarna.
That’s great. Thanks for the help.
Is it possible to filter by Post name?
I made these shortcodes and they work like a charm! Thanks again for the help!
//PMO Days Left Shortcode function my_pmpro_days_left_members__shortcode( $theuser ) { $today = date( "d-m-Y" ); //get today's date $theuser->membership_level = pmpro_getMembershipLevelForUser( $theuser->ID ); $user_enddate = $theuser->membership_level->enddate; $days_left = ( $user_enddate - strtotime( $today ) ) / 86400; if( $user_enddate != 0 ){ return $days_left ; }else{ return "Never Expires"; } } add_shortcode( 'pmo_days_left', 'my_pmpro_days_left_members__shortcode' );
//PMO Validity Shortcode function my_pmpro_validity_members__shortcode( $theuser ) { $theuser->membership_level = pmpro_getMembershipLevelForUser( $theuser->ID ); $user_enddate = $theuser->membership_level->enddate; $user_startdate = $theuser->membership_level->startdate; $validity = ( $user_startdate - $user_enddate ); if( $user_enddate != 0 ){ return abs(round($validity / 86400)); }else{ return "Unlimited"; } } add_shortcode( 'pmo_validity', 'my_pmpro_validity_members__shortcode' );
Thanks
Thanks
Forum: Plugins
In reply to: [Videopack] Resolution Selection Control for the ViewerIt’s working perfectly. Your plugin is just awesome.
Forum: Plugins
In reply to: [Videopack] Fast Forward and Rewind ControlCan you please give some guideline on how to install Video.JS plugins in your player. It will be very helpful for me. Please help!
Forum: Plugins
In reply to: [Videopack] Resolution Selection Control for the ViewerI installed FFMPEG in my server and it’s enabled in the plugin option and check the “Default video encode formats: 1080p H.264, 720p H.264, 480p H.264, 360p H.264” but still the resolution selection gear is not showing in the player. I selected Video.JS player as the Video Player. Please help!
I find the solution. Just add
add_filter( “pmpro_register_redirect”, “__return_false” );
to function.php and it works.Forum: Plugins
In reply to: [Videopack] Fast Forward and Rewind ControlThanks a lot for the reply. So to use a video.js plugin I have to upload it in the “\video-embed-thumbnail-generator\video-js” folder. Is it ok or I have to do some coding also?
Forum: Plugins
In reply to: [Videopack] Resolution Selection Control for the ViewerThanks!
Forum: Plugins
In reply to: [Contact Form by Supsystic] Mail not send to any email addressNo, It’s not resolved. I tried every possibility but all in vain. I gave up! Test mail send to my email perfectly, but contact form submission is not working.
Forum: Plugins
In reply to: [WC - APG SMS Notifications] Vendor NotifictionsPleae PM me at [email protected].
Forum: Plugins
In reply to: [API KEY for Google Maps] Theme and Plugin supportOk… Thanks..