Changeset 1447808
- Timestamp:
- 07/02/2016 03:16:14 PM (10 years ago)
- Location:
- tradetracker-store
- Files:
-
- 69 added
- 4 edited
-
tags/4.6.29 (added)
-
tags/4.6.29/Tradetracker-Store.php (added)
-
tags/4.6.29/cache (added)
-
tags/4.6.29/debug.php (added)
-
tags/4.6.29/front.php (added)
-
tags/4.6.29/functions.php (added)
-
tags/4.6.29/images (added)
-
tags/4.6.29/images/No_image.png (added)
-
tags/4.6.29/images/Thumbs.db (added)
-
tags/4.6.29/images/ajax-loader.gif (added)
-
tags/4.6.29/images/more.png (added)
-
tags/4.6.29/import (added)
-
tags/4.6.29/import/database.php (added)
-
tags/4.6.29/import/xml.php (added)
-
tags/4.6.29/import/xmlsplit.php (added)
-
tags/4.6.29/js (added)
-
tags/4.6.29/js/expand.js (added)
-
tags/4.6.29/menu (added)
-
tags/4.6.29/menu/expand.js (added)
-
tags/4.6.29/menu/faq.php (added)
-
tags/4.6.29/menu/images (added)
-
tags/4.6.29/menu/images/Premium-addons.png (added)
-
tags/4.6.29/menu/images/add-edit-stores.png (added)
-
tags/4.6.29/menu/images/debug.png (added)
-
tags/4.6.29/menu/images/enhanced-distribution.png (added)
-
tags/4.6.29/menu/images/item-selection.png (added)
-
tags/4.6.29/menu/images/kruisje.png (added)
-
tags/4.6.29/menu/images/layout-settings.png (added)
-
tags/4.6.29/menu/images/overlay.png (added)
-
tags/4.6.29/menu/images/product-page.png (added)
-
tags/4.6.29/menu/images/screenshot-1.png (added)
-
tags/4.6.29/menu/images/tb-close.png (added)
-
tags/4.6.29/menu/images/vinkje.png (added)
-
tags/4.6.29/menu/images/xml-feed-options.png (added)
-
tags/4.6.29/menu/itemselect.php (added)
-
tags/4.6.29/menu/layout.php (added)
-
tags/4.6.29/menu/main.js (added)
-
tags/4.6.29/menu/menu.css (added)
-
tags/4.6.29/menu/menu.php (added)
-
tags/4.6.29/menu/news.php (added)
-
tags/4.6.29/menu/pluginsettings.php (added)
-
tags/4.6.29/menu/premium.php (added)
-
tags/4.6.29/menu/releaselog.php (added)
-
tags/4.6.29/menu/search.php (added)
-
tags/4.6.29/menu/showlayout.php (added)
-
tags/4.6.29/menu/store.php (added)
-
tags/4.6.29/menu/style.css (added)
-
tags/4.6.29/menu/xmlfeed.php (added)
-
tags/4.6.29/menu/xmloption.php (added)
-
tags/4.6.29/readme.txt (added)
-
tags/4.6.29/screenshot-1.png (added)
-
tags/4.6.29/screenshot-2.png (added)
-
tags/4.6.29/screenshot-3.png (added)
-
tags/4.6.29/splits (added)
-
tags/4.6.29/tinymce (added)
-
tags/4.6.29/tinymce/cart.png (added)
-
tags/4.6.29/tinymce/test.js (added)
-
tags/4.6.29/tinymce/tinyTT.php (added)
-
tags/4.6.29/tinymce/tinymce.php (added)
-
tags/4.6.29/tinymce/ttmce.js (added)
-
tags/4.6.29/translation (added)
-
tags/4.6.29/translation/default.mo (added)
-
tags/4.6.29/translation/default.po (added)
-
tags/4.6.29/translation/tradetracker-store-nl_NL.mo (added)
-
tags/4.6.29/translation/tradetracker-store-nl_NL.po (added)
-
tags/4.6.29/uninstall.php (added)
-
tags/4.6.29/upgrading.php (added)
-
tags/4.6.29/widget (added)
-
tags/4.6.29/widget/widget.php (added)
-
trunk/Tradetracker-Store.php (modified) (1 diff)
-
trunk/front.php (modified) (6 diffs)
-
trunk/import/database.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tradetracker-store/trunk/Tradetracker-Store.php
r1431406 r1447808 3 3 * Plugin Name: Tradetracker-Store 4 4 * Plugin URI: http://wpaffiliatefeed.com 5 * Version: 4.6.2 85 * Version: 4.6.29 6 6 * Description: A Plugin that will add a TradeTracker affiliate feed to your site with several options to choose from. 7 7 * Author: Robert Braam -
tradetracker-store/trunk/front.php
r1327054 r1447808 349 349 $multixmlfeed = ""; 350 350 } else { 351 $multixmlfeed = "and xmlfeed = ".$multi_val->multixmlfeed."";351 $multixmlfeed = "and xmlfeed in ( ".$multi_val->multixmlfeed." )"; 352 352 } 353 353 $i="1"; … … 512 512 $multixmlfeed = ""; 513 513 } else { 514 $multixmlfeed = "and xmlfeed = ".$multi_val->multixmlfeed."";514 $multixmlfeed = "and xmlfeed in ( ".$multi_val->multixmlfeed." )"; 515 515 } 516 516 if($multi_val->multiproductpage == "1" ){ … … 729 729 $producturl = "".get_option("Tradetracker_productpageURL")."?ttproductid=".$product->productID.""; 730 730 $urltarget =""; 731 $rel = ""; 731 $relimage = ""; 732 $relurl = ""; 732 733 } elseif (isset($outpage) && !empty($outpage)){ 733 734 $producturl = "".$outpage."?id=".$product->productID.""; 734 735 $urltarget ="target=\"_blank\""; 735 $rel = ""; 736 $relimage = ""; 737 $relurl = ""; 736 738 } else { 737 739 $producturl = htmlspecialchars($product->productURL); 738 740 $urltarget ="target=\"_blank\""; 739 $rel = "rel=\"nofollow\""; 741 $relimage = "rel=\"nofollow\""; 742 $relurl = "rel=\"nofollow\""; 740 743 } 741 744 if($product->imageURL==""){ … … 784 787 $image = $imageURL; 785 788 $target = ""; 786 $rel = "";789 $relimage = ""; 787 790 $imagerel = "rel=\"lightbox[store]\""; 788 791 if($fancylink ==1){ … … 806 809 ".$logo." 807 810 <div class=\"".$storename."store-image store-image\"> 808 <a href=\"".$image."\" ".$rel ." ".$imagerel." ".$target.">811 <a href=\"".$image."\" ".$relimage." ".$imagerel." ".$target."> 809 812 <img src=\"".$imageURL."\" ".$alt." ".$title." style=\"max-width:".$width."px;max-height:180px;width:auto;height:auto;\"/> 810 813 </a> … … 816 819 ".$more." 817 820 <div class=\"".$storename."buttons buttons\"> 818 <a href=\"".$producturl."\" ".$rel ." class=\"regular\" ".$urltarget." title=\"".$productname."\">821 <a href=\"".$producturl."\" ".$relurl." class=\"regular\" ".$urltarget." title=\"".$productname."\"> 819 822 ".$buynow." 820 823 </a> -
tradetracker-store/trunk/import/database.php
r1319488 r1447808 205 205 $wpdb->flush(); 206 206 if($product->categories->category==""){ 207 $wpdb->insert($ttstorecattable ,array('productID' => $productID,'categorie' => "empty category",'categorieid' => md5($xmlfeed[$xmlfeednumber][0]."empty category") ),array('%s','%s','%s')); 207 if (isset($newcategory) && $newcategory == "1"){ 208 $wpdb->insert($ttstorecattable ,array('productID' => $productID,'categorie' => "empty category",'categorieid' => md5($xmlfeed[$xmlfeednumber][0]."empty category") ),array('%s','%s','%s')); 209 } else { 210 $wpdb->insert($ttstorecattable ,array('productID' => $productID,'categorie' => "empty category",'categorieid' => md5("empty category") ),array('%s','%s','%s')); 211 } 208 212 } else { 209 213 $querycat = ""; -
tradetracker-store/trunk/readme.txt
r1431406 r1447808 5 5 Requires at least: 4 6 6 Tested up to: 4.4 7 Stable tag: 4.6.2 87 Stable tag: 4.6.29 8 8 9 9 A plugin that lets you import an XML productfeed from TradeTracker. … … 42 42 43 43 == Changelog == 44 = 4.6.29 = 45 - Small fix to make rel=nofollow also work when using lightbox 46 44 47 = 4.6.28 = 45 48 - Small fix to make image work in specific tradetracker feed
Note: See TracChangeset
for help on using the changeset viewer.