Author Topic: CRE Loaded Sneak Links  (Read 6251 times)

0 Members and 1 Guest are viewing this topic.

DevilsOwn

  • Newbie
  • *
  • Offline Offline
  • Posts: 5
  • Karma: 0
    • View Profile
Re: CRE Loaded Sneak Links
« Reply #10 on: October 05, 2008, 08:35:57 PM »
Ok, he had refered to it as 6.2 thats why i was confused.  Looking foward to seeing the update to the .5 and something people can help make the software something great. 

inetbiz

  • eCommerce Strategy Consultant
  • Administrator
  • Full Member
  • *****
  • Offline Offline
  • Posts: 135
  • Karma: 22
  • SKYNET; T3; Apple Inc. Coincidence?
    • View Profile
    • Hosting for Creloaded Cart
Re: CRE Loaded Sneak Links
« Reply #9 on: October 05, 2008, 03:37:27 PM »
That is correct. In open source standards, if you break off of the project, you fork it and copyright the branding name and provide the open source of the new project. I think you will like the direction we are taking it. But, in the spirit of true open source, the community drives the feature set.

DevilsOwn

  • Newbie
  • *
  • Offline Offline
  • Posts: 5
  • Karma: 0
    • View Profile
Re: CRE Loaded Sneak Links
« Reply #8 on: October 05, 2008, 03:02:39 PM »
I guess i will take that as eos  version of the code. 

inetbiz

  • eCommerce Strategy Consultant
  • Administrator
  • Full Member
  • *****
  • Offline Offline
  • Posts: 135
  • Karma: 22
  • SKYNET; T3; Apple Inc. Coincidence?
    • View Profile
    • Hosting for Creloaded Cart
Re: CRE Loaded Sneak Links
« Reply #7 on: October 05, 2008, 02:53:51 PM »
So you will be posting a cleaned version of 6.2?  or posting a newer version of eos  which is cleaned?
Visit Strikehawk eCommerce Sponsors EOS Online Merchant You can get a complete overview of the repository, bug tracker, feature request, et al.

DevilsOwn

  • Newbie
  • *
  • Offline Offline
  • Posts: 5
  • Karma: 0
    • View Profile
Re: CRE Loaded Sneak Links
« Reply #6 on: October 05, 2008, 01:50:30 PM »
So you will be posting a cleaned version of 6.2?  or posting a newer version of eos  which is cleaned?

David M. Graham

  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 380
  • Karma: 12
    • View Profile
    • osCommerce University
Re: CRE Loaded Sneak Links
« Reply #5 on: September 29, 2008, 09:51:56 AM »
Agreed.  We will be posting the final 6.2 releases to a repository soon, and preparing distributions which omit these sneaky links.  This will also provide a point at which service providers can share fixes for existing code.   The issue tracker is already in place.

To be clear, we have no plans to charge for these distributions.

David

HoosierWeb

  • Web Designers
  • Newbie
  • *****
  • Offline Offline
  • Posts: 7
  • Karma: 1
    • View Profile
    • Hoosier Web
Re: CRE Loaded Sneak Links
« Reply #4 on: September 17, 2008, 04:20:33 PM »
the ga script is in all admin versions.. but does not work as they had designed.. it will only show the page name, and not the url to which the script was coming from.. (they missed 2 required lines for that)

but none the less, that script should not be used
Jason Miller
Hoosier Web
Hosting - CRE Loaded Support - eCommerce http://www.hoosierwebdesigners.com

David M. Graham

  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 380
  • Karma: 12
    • View Profile
    • osCommerce University
Re: CRE Loaded Sneak Links
« Reply #3 on: September 13, 2008, 07:10:29 PM »
Also,  if you are running a Standard install, check admin/index.php for the Google Analytics script which reports your admin site to Chain Reaction.


David M. Graham

  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 380
  • Karma: 12
    • View Profile
    • osCommerce University
Re: CRE Loaded Sneak Links
« Reply #2 on: September 13, 2008, 06:02:29 PM »
in admin/messages.php you find:

<style type="text/css">
body {
  background-color:transparent;
}
</style>
<?php
$s = ((isset($_GET['s']) && $_GET['s'] != NULL) ? $_GET['s'] : '');
switch($s) {
  case 'header':
  $n = 'ac18b95b';
  $zone = '4';
  echo cre_iframe($n,$zone);
  break;

  case 'footer':
  $n = 'a0842127';
  $zone = '5';
  echo cre_iframe($n,$zone);
  break;

  case 'crem':
  $n = 'abd4dde6';
  $zone = '62';
  echo cre_iframe($n,$zone);
  break;

  case 'upgrade': //index
  $n = 'a7d7b7d2';
  $zone = '48';
  echo cre_iframe($n,$zone);
  break;

  case 'promo': //index
  $n = 'a902a6fd';
  $zone = '63';
  echo cre_iframe($n,$zone);
  break;

  case 'cremkt': //market
  $n = 'ae1ae225';
  $zone = '52';
  echo cre_iframe($n,$zone);
  break;
 
  default:
  $n = '';
  $zone = '';
  break;



}

function cre_iframe($n,$zone) {
if($n!='' && $zone !='') {
$iframe_content = <<<EOF
<script language='JavaScript' type='text/javascript' src='https://adserver.authsecure.com/adx.js'></script>
<script language='JavaScript' type='text/javascript'>
<!--
   if (!document.phpAds_used) document.phpAds_used = ',';
   phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
   
   document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
   document.write ("https://adserver.authsecure.com/adjs.php?n=" + phpAds_random);
   document.write ("&amp;what=zone:$zone");
   document.write ("&amp;exclude=" + document.phpAds_used);
   if (document.referrer)
      document.write ("&amp;referer=" + escape(document.referrer));
   document.write ("'><" + "/script>");
//-->
</script><noscript><a href='https://adserver.authsecure.com/adclick.php?n=$n' target='_blank'><img src='https://adserver.authsecure.com/adview.php?what=zone:$zone&amp;n=$n' border='0' alt=''>[/url]</noscript>
EOF;
} else {
$iframe_content = '';
}
return $iframe_content;

}
?>

comment out the top block, and viola,  no more sloooooow Admin pages....

David

David M. Graham

  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 380
  • Karma: 12
    • View Profile
    • osCommerce University
CRE Loaded Sneak Links
« Reply #1 on: September 13, 2008, 05:20:50 PM »
CRE Loaded has a bad habit of placing involuntary links in their distributions under the theory that if you are going to mooch, you ought to at least provide them some bandwidth and have to look at their advertising.

The cart side footer header includes http://creloaded.com/cre_google.js from /includes/javascript/carts_links.js .

This javascript is called from the footer files in the standard distributions and reads:

<?php if ($cart_links == 'close'){$cart_link1= 'dothis';} else if ($cart_links == 'close') {$paymentclose = 'true';} if ( strstr(basename($_SERVER['SCRIPT_FILENAME']),'popup_') != basename($_SERVER['SCRIPT_FILENAME'] ) ) {@include('http://www.creloaded.com/cre_google.js');}?>

To remove this problem, simply comment out the entire content of the php tags.

David