Forum Replies Created

Viewing 15 replies - 61 through 75 (of 78 total)
  • Thread Starter steplab

    (@steplab)

    This bug went after upgrading AdRotate to 3.19 version, so is an issue went using AdRotate 3.19
    If you can’t fix this, maybe you have to display a warning about a possible loss of widgets settings inside upgrade log.
    If you have around twenty ad groups ids numbers you can’t remember all of them.

    Thread Starter steplab

    (@steplab)

    Inside function popupClick after return false; added this:

    
    function popupClick(event) {
    if (typeof event.target.href !== 'undefined' || typeof event.target.parentElement.href !== 'undefined') {
    $('#popupModal').fadeOut(popup_modal.id==-1?0:400, function() { // Hide the popup
    									$('#popupModal').removeAttr('class');
    									$('html').removeClass('popup-modal-open');
    									if (debugPopupModal) console.log('--------------');
    									if (typeof popup_modal_admin === 'undefined') popupModal(); // Check to see if there's another popup to show during this pageview
    								});
    $('body').css('overflow', 'auto !important');
    $('html.popup-modal-open body').css('overflow', 'auto !important');
    $('html.popup-modal-open').css('overflow', 'auto !important');
    return false;
    }
    
    Thread Starter steplab

    (@steplab)

    I resolved adding this to popup-modal.js:

    
    function popupClick(event) {
    if (typeof event.target.href !== 'undefined' || typeof event.target.parentElement.href !== 'undefined') {
    $('#popupModal').fadeOut(popup_modal.id==-1?0:400, function() { // Hide the popup
    									$('#popupModal').removeAttr('class');
    									$('html').removeClass('popup-modal-open');
    									if (debugPopupModal) console.log('--------------');
    									if (typeof popup_modal_admin === 'undefined') popupModal(); // Check to see if there's another popup to show during this pageview
    								});
    return false;
    							}
    

    Finally work, Thanks!!

    Thread Starter steplab

    (@steplab)

    Hi @supsysticcom,

    As I started the ticket I think is a error for this plugin the screenshot I posted on the starting ticket. So a user that open a website and see two popup showing togher one that cover the other for my opinion is not a good thing to see, the user may think there is an error on the website. My need is that popups are loaded singolarly, so if I set two or three or four popups to show in the Front page, I want that the user see only one popup each refresh of the homepage and each time the user go to the homepage, and not see four popups togheter one over the other in the same page.
    I am sorry if I have not explained well.

    Thread Starter steplab

    (@steplab)

    Hello,

    Improvement I can suggest:

    1. popups must open once, in alternance so not togheter at the same time as my case
    2. another improvement that I can suggest is that a popup can have a cookie to store the closing action, so display popup only one time for the user before an expire time

    Hi,
    The HTML of the popup is a simple <a href="https://www.example.com"><img src="..." /></a>

    In my case I have Buttons Location:No Buttons, Print:No, if on the popup I click on the image, the link not working. In this case I expect the link url is opened.

    Could be the function popupClick to edit?

    Right If I use the print functionality (Print:Yes) and the Buttons Location is set to Left-Center-Right and I click on the image in the popup Print action start.

    An alternative is to add the ability to add a button like “Read more” before Print button, and add a setting “Link” with the url and an option to popup click action Close-Print-Link.

    Valentina

    • This reply was modified 7 years, 11 months ago by steplab.

    Hi,
    good plugin, I have installed the last version of the plugin v 1.8 but I have same issue of @aragosta.
    You can tell me how to fix it?

    Thanks
    Valentina

    Thread Starter steplab

    (@steplab)

    Example of what we want:

    popup1
    condition: homepage
    Trigger: auto open, no cookie
    Cookie: On popup close: cookie-close-pop1

    popup2
    condition: homepage
    Trigger: auto open, no cookie
    Cookie: On popup close: cookie-close-pop2

    I have popup1 and popup2 that have condition to display them in Home page:

    1. I open the website, i’m in the home page

    2. popup1 displayed, I close it (cookie of popup1 start, cookie-close-pop1) [actual error: also cookie of popup2 start]

    3. I read a post

    4. now return to home page, well popup2 is displayed [actual error: popup1 is displayed also if I closed it 1 minute ago]

    5. I close popup2 (cookie of popup2 start, cookie-close-pop2) [actual error: popup2 never displayed]

    5. .. time passed ..

    6. I’m on homepage cookie time of popup1 has expired, well popup1 is displayed, I close it

    7. I refresh the home page, popup2 displayed

    Is that possible?

    customer website

    Thanks

    • This reply was modified 7 years, 11 months ago by steplab.
    • This reply was modified 7 years, 11 months ago by steplab.
    Thread Starter steplab

    (@steplab)

    Hi,

    I want to show two or more popup in the same page.

    Example:

    1. I open the website, i’m in the home page

    2. open popup1, i close it

    3. i read a post, i return to home page

    4. open popup2, because before i closed popup1

    Is this possible with this plugin? Thanks

    Thread Starter steplab

    (@steplab)

    Hi,
    the plugin directory changed the owner ID:0 like a sudo command, so is as the plugin changed the owner to the super admin.
    Other plugins directory and the other files and directory in the site has as owner ID:5005 that can be the user id used to access via FTP.
    So on FTP if I try to delete the directory I receive the error:
    Recv> 550 Could not delete …: Permission denied

    What you suggest to delete the wordfence directory? and after?
    I have to delete database tables? Or leave tables and do manual install via FTP of the plugin?

    Hi Ernesto,
    Yes the .htaccess with that code.

    /.htaccess

    RewriteEngine On
    RewriteCond %{REQUEST_URI} !^/site
    RewriteRule ^(.*)$ site/$1 [L]

    /site/wp-config.php
    You also edited the wp-config.php file? Instead for this file you have to “ADD” before mySQL settings rows

    define('WP_HOME','https://www.emdia.eu');
    define('WP_SITEURL','https://www.emdia.eu');

    If this not work try also:

    define('WP_HOME','https://www.emdia.eu/site/');
    define('WP_SITEURL','https://www.emdia.eu');

    /site/.htaccess

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Hope this helps you

    Bye,
    Valentina

    Thread Starter steplab

    (@steplab)

    The version of the plugin iThemes Security is 5.6.4

    Try to add in the ftp root (outside the directory site/) a .htaccess file with this content:

    
    RewriteEngine On
    RewriteCond %{REQUEST_URI} !^/site
    RewriteRule ^(.*)$ site/$1 [L]
    

    And set WordPress address and Site Address to the desired url:
    Inside the directory site/ inside file wp-config.php before mySQL settings add:

    
    define('WP_HOME','https://www.emdia.eu');
    define('WP_SITEURL','https://www.emdia.eu');
    
    Thread Starter steplab

    (@steplab)

    Well, I resolved with jQuery:

    $(".menu-newmainmenu-container li.menu-item").click(function(){
       window.location=$(this).find("a").attr("href"); 
       return false;
    	});

    Thanks anyway

Viewing 15 replies - 61 through 75 (of 78 total)