Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Pop-up Anywhere module released

 
Reply
   X-Cart forums > News and Announcements
 
Thread Tools
  #121  
Old 11-13-2014, 02:33 PM
 
Kman Kman is offline
 

Senior Member
  
Join Date: Oct 2008
Posts: 124
 

Default Re: Pop-up Anywhere module released

We've used this module at times, and have it wired as far as the functionality is concerned. Very useful. But . . .

In modules/Popup_Anwhere/js/popups.js there is this code:

window.fbAsyncInit = function() {
FB.init({
status: true, // check login status
cookie: true, // enable cookies to allow the server to access the session
xfbml: true // parse XFBML
});
};

(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
var host = document.location.protocol == "https:" ? "https:" : "http:";
js.src = host + "//connect.facebook.net/en_US/all.js";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));


which among other things loads Facebook's all.js

With this loaded, these browser warnings occur:

Invalid App Id: Must be a number or numeric string representing the application id. all.js:58
The "fb-root" div has not been created, auto-creating all.js:58
FB.getLoginStatus() called before calling FB.init().


A little research shows that this is an error that may trigger when FB.init is not called before FB.login, which is not the case here.

Since we have not changed any of the basic templates or js files, I have to assume that we are not the only ones who have this issue.

Qualiteam - what's up with this?
__________________
4.6.1 Gold Plus, working on moving to the latest 4.x soon
reBOOT Template (the best!)


AlteredCart Checkout One, Checkout One Tools & Checkout One Payments
AlteredCart SmartSearch & Search by Filters
AlteredCart On Sale
CDSEO
xCMS
BCS Point of Sale, Pre-order / Back Order
Magnetic One's Autoresponder

Heavily modified
Reply With Quote
  #122  
Old 11-14-2014, 12:58 AM
 
vladimir.gritsenko vladimir.gritsenko is offline
 

X-Cart team
  
Join Date: Aug 2005
Posts: 202
 

Default Re: Pop-up Anywhere module released

Quote:
Originally Posted by Kman
We've used this module at times, and have it wired as far as the functionality is concerned. Very useful. But . . .
...

Qualiteam - what's up with this?

Hi, Kman!

Thanks for the report. I doubt it's related to Popup anywhere though. You may find the very same warning at Home page of X-Cart demo: http://demo.x-cart.com/demo/home.php There is no Pop-up anywhere enabled.

As I understand, this is a FB side issue.

Thank you.
__________________
Sincerely yours,
Vladimir Gritsenko
VP Marketing @ X-Cart
Reply With Quote
  #123  
Old 11-14-2014, 01:40 PM
 
Kman Kman is offline
 

Senior Member
  
Join Date: Oct 2008
Posts: 124
 

Default Re: Pop-up Anywhere module released

The relationship is this - the offending facebook js is called by the Popup Anywhere file, popups.js. Toggle off this module and the errors vanish.

It may just be one of those issues for which there is no good solution.
__________________
4.6.1 Gold Plus, working on moving to the latest 4.x soon
reBOOT Template (the best!)


AlteredCart Checkout One, Checkout One Tools & Checkout One Payments
AlteredCart SmartSearch & Search by Filters
AlteredCart On Sale
CDSEO
xCMS
BCS Point of Sale, Pre-order / Back Order
Magnetic One's Autoresponder

Heavily modified
Reply With Quote
  #124  
Old 11-16-2014, 09:17 PM
 
vladimir.gritsenko vladimir.gritsenko is offline
 

X-Cart team
  
Join Date: Aug 2005
Posts: 202
 

Default Re: Pop-up Anywhere module released

Quote:
Originally Posted by Kman
The relationship is this - the offending facebook js is called by the Popup Anywhere file, popups.js. Toggle off this module and the errors vanish.

It may just be one of those issues for which there is no good solution.

Indeed, the module calls the FB js library but like you said, there's hardly something to be done at our side. Nevertheless, I passed it to our architects for review. I doubt they'll give this warning high priority but still.

Thank you for report.
__________________
Sincerely yours,
Vladimir Gritsenko
VP Marketing @ X-Cart
Reply With Quote
  #125  
Old 12-13-2014, 11:42 AM
 
masada3336 masada3336 is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 115
 

Default Re: Pop-up Anywhere module released

Has anyone had issues on IE with this? The popup appears on EVERY page, EVERY time - no matter if you're signed up or you "x" our of it, or you say, "no thanks" - it's persistent on every page load with IE
__________________
4.4.5 - with Customized Smart Template
Reply With Quote
  #126  
Old 12-13-2014, 09:49 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Pop-up Anywhere module released

Quote:
Originally Posted by masada3336
Has anyone had issues on IE with this? The popup appears on EVERY page, EVERY time - no matter if you're signed up or you "x" our of it, or you say, "no thanks" - it's persistent on every page load with IE
Are you allowing cookies with IE? Have you tried from another computer?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #127  
Old 12-14-2014, 09:54 AM
 
masada3336 masada3336 is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 115
 

Default Re: Pop-up Anywhere module released

Yep...lots of customers complained, I tested it, and had a few other people test it.
__________________
4.4.5 - with Customized Smart Template
Reply With Quote
  #128  
Old 12-25-2014, 07:49 AM
 
shwekhaw shwekhaw is offline
 

Senior Member
  
Join Date: Nov 2004
Posts: 148
 

Default Re: Pop-up Anywhere module released

Quote:
Originally Posted by masada3336
Has anyone had issues on IE with this? The popup appears on EVERY page, EVERY time - no matter if you're signed up or you "x" our of it, or you say, "no thanks" - it's persistent on every page load with IE

Have you tried upgrading the popup Anywhere module? QT released new version back Aug 2014 for 4.4.5. Check your current file date to see if you have older version. I was having some php errors in func.php and just checked the to see if there is new version. I found newer version released in Dec 2 2014. I just updated mine and php errors are gone.

I think QT should email out every customer who bought the module when a module got updated, especially if the update includes fixing a bug.
__________________
X-Cart Gold Plus 4.5.5
Checkout ONE
Checkout ONE DPM
BCSE CIM
Apache
Linux
Reply With Quote
  #129  
Old 03-18-2015, 08:47 PM
 
BBM_ BBM_ is online now
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: Pop-up Anywhere module released

Can anyone please provide some assistance on the below?

I have this module integrated into a custom skin (4.4.4 store) and all appears to work correctly except that the pop-up position is always at the top of the screen.

Edit: It's a jquery conflict that causes the above.
__________________
Multiple instances of X-cart
Reply With Quote
  #130  
Old 04-08-2015, 02:41 AM
 
BBM_ BBM_ is online now
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: Pop-up Anywhere module released

I just wanted to see does anyone use this module with CDSEO PRO as the feature to make popups only appear on specific pages does not work in conjunction with the urls being rewritten by CDSEO pro.

Thanks in advance
__________________
Multiple instances of X-cart
Reply With Quote
Reply
   X-Cart forums > News and Announcements


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:24 AM.

   

 
X-Cart forums © 2001-2020