Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • I am having the same problem. Clicking the *Export* tab gives the “Sorry, you are not allowed to access this page.” error.

    Thread Starter moraitis

    (@moraitis)

    I have some shortcodes I need to process in the add, but I want to avoid having the extra break tags and paragraph tags added by wpautop. Maybe I just need to use the plain text ad type, but then use a filter to do_shortcode.

    Any advice on how to always do the shortcode for the plain text ad type?

    Would it be something like this in my functions.php:

    
    // Enable the use of shortcodes in plain text ad types
    add_filter( 'advanced_ads', 'do_shortcode' );
    

    Or I could enable the php for the plain text ad type and use this code for my shortcode:

    
    <?php echo do_shortcode('[name_of_shortcode]'); ?>
    

    Thanks for the quick response. I really like your plug-in a lot, and enjoy recommending the plug-in in my blog resources PDF. I like using the plug-in for promotional campaigns, and reliably adding small content items to posts such as affiliate link disclaimers.

    Thanks Again,
    Tim

    Thread Starter moraitis

    (@moraitis)

    UPDATE

    I found a newer version of the Jquery Countdown, and with a couple of quick edits to the script, I was able to set-up a 20 minute countdown and continue to use the CSS from WPC Shortcodes that I like so much.

    To make the script match the output from WPC Shortcodes, I replaced a few span strings with div and a few “-” (dashes) strings with “_” (underscores). Then the WPC Shortcodes CSS worked with the new countdown timer generated by the script.

    My script ended up looking like this:

    <script>
            $(function () {
                $('#until20m').countdown({
                    until: '+20m',
                    format: 'DHMS'
                });
            });
        </script>

    And my HTML ended up looking like this:

    <div class="wc-shortcodes-item">
            <div class="wc-shortcodes-countdown-bg4">
                <div class="wc-shortcodes-countdown-bg3">
                    <div class="wc-shortcodes-countdown-bg2">
                        <div class="wc-shortcodes-countdown-bg1">
                            <div id="until20m" class="wc-shortcodes-countdown hasCountdown"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    It would be nice if WPC Shortcodes supported some of the other modes and features in the script. Maybe if you could pass “until” with the shortcode just like you pass “format”, then the timer features would be added.

    So the shortcode could look like this:
    [wc_countdown date="" until="+20m" format="dHMs" message="Offer Extended"]

    Thanks for considering the feature request.

    You could try putting this JQuery script in your header:

    
    jQuery(document).ready(function ($) {
        // Make jQuery Work with $ instead of compatibility mode
        // https://premium.wpmudev.org/blog/adding-jquery-scripts-wordpress
        $('.hideable').on('click', function () {
            $(this).hide();
        })
        // Listen for a click on a link to change display from block to none
        $('#closemymodalplease').click(function () {
            $('#wbounce-modal').css('display', 'none');
        });
    });
    

    Then in the HTML try this link:

    
    <a id="closemymodalplease" href="#wbounce-modal" name="closemymodalplease">Click to show the wBounce Modal</a>
    

    Let me know if this works for you. I was able to do the reverse to show the modal on a button or link click.

    Forum: Plugins
    In reply to: [wBounce] Re-fire window

    After some trial and error with learning about how JQuery works in WordPress, I loaded this script into the header. First the script allows the $ sign to work instead of the compatibility mode where you need to have JQuery instead of the $. Then the script sets the CSS display property to block when the link is clicked:

    
    jQuery(document).ready(function ($) {
        // Make jQuery Work with $ instead of compatibility mode
        // https://premium.wpmudev.org/blog/adding-jquery-scripts-wordpress
        $('.hideable').on('click', function () {
            $(this).hide();
        })
        $('#triggermymodalplease').click(function () {
            $('#wbounce-modal').css('display', 'block');
        });
    });
    

    And this is the HTML for the link to trigger the pop-up to display as block instead of none:

    
    <a id="triggermymodalplease" href="#wbounce-modal" name="triggermymodalplease">Click to show the wBounce Modal</a>
    

    After some trial and error with learning about how JQuery works in WordPress, I loaded this script into the header. First the script allows the $ sign to work instead of the compatibility mode where you need to have JQuery instead of the $. Then the script sets the CSS display property to block when the link is clicked:

    
    jQuery(document).ready(function ($) {
        // Make jQuery Work with $ instead of compatibility mode
        // https://premium.wpmudev.org/blog/adding-jquery-scripts-wordpress
        $('.hideable').on('click', function () {
            $(this).hide();
        })
        $('#triggermymodalplease').click(function () {
            $('#wbounce-modal').css('display', 'block');
        });
    });
    

    And this is the HTML for the link to trigger the pop-up to display as block instead of none:

    
    <a id="triggermymodalplease" href="#wbounce-modal" name="triggermymodalplease">Click to show the wBounce Modal</a>
    
    Thread Starter moraitis

    (@moraitis)

    Yes, I would like to include the user’s password. Not a password for a protected post.

    The entire site requires log-in, so only the user’s main password is needed.

    Thanks for the link about BCC to avoid spam email limits.

    My need is usually only emailing one specific user at a time or at most 3 or 4 in one day.

Viewing 7 replies - 1 through 7 (of 7 total)