• Resolved Fropky

    (@fropki)


    After updating there is a dismiss popup in admin panel which is refuse to close. Is there any solution?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Fropky

    (@fropki)

    /*-------------------------------------------------------------
     Name:      adrotate_welcome_pointer
     Purpose:   Show dashboard pointers
     Since:		3.9.14
    -------------------------------------------------------------*/
    function adrotate_welcome_pointer() {
        $pointer_content = '<h3>AdRotate '.ADROTATE_DISPLAY.'</h3>';
        $pointer_content .= '<p>'.__('Thank you for choosing AdRotate. Everything related to AdRotate is in this menu. If you need help getting started take a look at the', 'adrotate').' <a href="http:\/\/ajdg.solutions\/manuals\/adrotate-manuals\/" target="_blank">'.__('manuals', 'adrotate').'</a> '.__('and', 'adrotate').' <a href="https:\/\/ajdg.solutions\/forums\/forum\/adrotate-for-wordpress\/" target="_blank">'.__('forums', 'adrotate').'</a>. These links are also available in the help tab in the top right.</p>';
    
        $pointer_content .= '<p><strong>AdRotate Professional - <a href="admin.php?page=adrotate-pro">Learn more &raquo;</a></strong><br />If you like AdRotate, consider upgrading to AdRotate Pro and benefit from many <a href="admin.php?page=adrotate-pro">extra features</a> to make your campaigns more profitable!</p>';
    
        $pointer_content .= '<p><strong>Ad blockers</strong><br />Disable your ad blocker in your browser so your adverts and dashboard show up correctly. AdRotate Pro has a <a href="admin.php?page=adrotate-pro">disguise feature</a> for adverts to help you avoid ad blockers.</p>';
    ?>
    	<script type="text/javascript">
    		jQuery(document).ready(function($) {
    			$('#toplevel_page_adrotate').pointer({
    				'content':'<?php echo $pointer_content; ?>',
    				'position':{ 'edge':'left', 'align':'middle' },
    				close: function() {
    	                $.post(ajaxurl, {
    		                pointer:'adrotatefree_'+<?php echo ADROTATE_VERSION.ADROTATE_DB_VERSION; ?>, 
    		                action:'dismiss-wp-pointer'
    					});
    				}
    			}).pointer("open");
    		});
    	</script>
    <?php
    }

    Dismiss button create by this code not working. A popup is sticked in administration panel all the time.

    Plugin Author Arnan de Gans

    (@adegans)

    The little popup thingy didn’t change or come back in recent versions.
    If you clicked it away a while ago, there is no new one in the last few updates.

    Anyway, I’ve reset all pointers and clicked the AdRotate Free one away without trouble on my test site.
    So not sure what’s going wrong for you but the mechanic works ??

    Maybe some other plugin is in the way with a broken of conflicting javascript.

    Hi I have the same problem even with the latest update ..

    I found that there are times that I could make it go away by disabling Jetpack .. is it possible to check what is the part fo the script that is causing this?

    Or do you have a recommended setting in Jetpack to prevent this??

    THanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dismiss Popup’ is closed to new replies.