Not a WPMU DEV member?
Get access to super-powered hosting, site management tools for all your sites on any host, 24/7 live support, premium plugins, and private member forums!
Learn more Already a member? Login

-
Brandon commented on Hustle conflicting with my site design and functionJun 24, 2019
Thanks Nithin. I'm able to override the css myself which I have done on the live site. I guess that the bigger issue is that because the select2 css is being remotely called, I cannot disable it within Hummingbird. If I could disable the call, the issue would be fixed. I shouldn't really need to write more css to revert it back to how it was. -
Brandon commented on Snippet of code not rendering after recent Hustle updateMay 08, 2019
Thanks Ash, Yes this fixes the output conflict. I appreciate the help. Take care -
Brandon commented on [Hustle Pro] Hide trigger button when popup is not shownApr 27, 2019
I can happily confirm that it is working properly. Thank you so much Konstantinos! -
Brandon commented on [Hustle Pro] Hide shortcode text/button if popup module trigger isn't activeApr 25, 2019
Dev support has helped to achieve this functionality on a per module basis. They were able to tie it into the cookies set by the "no longer show this popup across the site for 1 day" setting. See the response below: I've made some changes to the code in the functions.php file. The code you'll find now will be like so: add_action( 'wp_footer', function() { ?> <script> ( function( $ ) { function wpmudev_sls_getCookie( cname ) { var name = cname + '=', decodedCookie = decodeURIComponent(document.cookie), ca = decodedCookie.split( ';' ); for( var i = 0; i < ca.length; i++ ) { var c = ca; while ( c.charAt( 0 ) == ' ' ) { c = c.substring( 1 ); } if ( c.indexOf( name ) == 0 ) { return c.substring( name.length, c.length ); } } return ''; } function wpmudev_sls_checkCookie() { var popupCookie = wpmudev_sls_getCookie( 'inc_optin_popup_long_hidden-11' ); if ( popupCookie != '' ) { $( '.hustle_module_shortcode_trigger.hustle_module_11').css( 'display', 'none' ); } } wpmudev_sls_checkCookie(); } ( jQuery ) ) </script> <?php }, 999 ); Everything is about the popup with id 11, as that's the one that is triggered by the button. As mentioned above the button will be visible during the 1st visit of the site but on a refresh / re-visit it will be hidden until the timer passes. So if you find this to be useful for your own use case, you will need to change the module IDs to your own module ID. Since this is how the shortcode button trigger should operate, I would love to see this functionality built into the plugin. From a UX perspective, the button should not be visible if the popup trigger is no longer active. Thank you for your hard work support! -
Brandon commented on [Hustle Pro] Hide trigger button when popup is not shownApr 25, 2019
You're awesome! You nailed it spot on. This is exactly what I was wanting to do I just wasn't sure how to tie into the cookies like you have successfully done. I will have to wait till tomorrow to make sure the button becomes visible again properly. But so far it is working perfectly. I made a Features & Feedback post about this. It would be awesome if this functionality could be written into the plugin itself so that the script doesn't have to be set up per module ID. But I understand it would likely be difficult to do. Thank you very much! -
Brandon commented on [Hustle Pro] Hide trigger button when popup is not shownApr 25, 2019
Hi Konstantinos! I appreciate the very detailed response. I understand the intricacies of this request. Keeping the popup functionality in mind, Case 1 is the option we want. My reasoning: User visits the website, clicks the button and gets the popup. Closes the popup. Clicks the button again in the same visit, the popup trigger is still active, so we want the button to remain visible. It is not until the page is refreshed/they come back later that the "After Pop-up is closed -- No longer show this message across the site -- for 1 day" setting becomes active and the popup is disabled. So that is when we want the button to hide. Is there a way to build this functionality (the button visibility) into the "After Pop-up is closed -- No longer show this message across the site -- for 1 day" setting javascript of the plugin? I hope this makes sense! Thank you -
Brandon commented on [Hustle Pro] Hide shortcode text/button if popup module trigger isn't activeApr 25, 2019
Hi Nithin, You are correct. I am using the "Click" Pop-up trigger with the shortcode but instead of "Click here" I have an email icon button. If the pop-up is set to only show once per X days (I have it set to once per day) the text/button continues to show even though the click pop up trigger is no longer active. I have a support ticket open but I figured this would be a good feature to have built into the plugin. The text/button shouldn't show if the popup trigger is not active. Thanks! -
Brandon commented on [Hustle Pro] Hide trigger button when popup is not shownApr 25, 2019
Absolutely! Thank you guys for your help in this matter. -
Brandon commented on [SNAPSHOT] backup is not sending to google driveOct 19, 2018
Hello, The FTP timeout is due to the way our firewall is configured. I forgot about that! We will need to whitelist your IP. What's the best way for you to send me that? I'll pass the cURL info on to the guy who handled the server configuration. Thank you very much for the help so far! -
Brandon commented on [SNAPSHOT] backup is not sending to google driveOct 17, 2018
Hello, Konstantinos, I have sent the information. Thank you!
Upgrade Membership
Hello - you seem to have stumbled upon a super-secret ultra-private members-only page on the WPMU DEV forums. This is where people go to discuss their business secrets and development tips. Want in?
- Access to business, marketing and development sparring with peers
- Access to business, marketing and development sparring with peers
- Access to all our premium plugins
- Access to all our premium plugins
- Full Security, SEO, Backup and Performance service suites
- Full Security, SEO, Backup and Performance service suites