Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.


  • Content count

  • Joined

  • Last visited

Everything posted by RCSails

  1. I'm trying to use iQsc 3.0 together with Multizone-Multitable Contribution MZMT - totally distorted screen on checkout_shipping. Every shipping option is there but unradable stacked one on another. Anybody have any idea how to get the screen in checkout shipping lined up? Cheers Roland
  2. Just stumbled over the same problem, it is a variable mismatch - the solution is very simple: find in checkout.php : var pass = $('input[name=password]', $dialog).val(); change to : var pass = $('input[name=login_password]', $dialog).val(); That's it Cheers
  3. RCSails

    [Contribution] STS v4

    Multimixer you're a genius! with your help pointing me to where I have to search I finally found the solution - simply added the infobox_header.php.html from the full template and voila - the heading is there. Thank you very much. @all any ideas on the second issue? Thanks Roland
  4. RCSails

    [Contribution] STS v4

    STS runs fine on my site except two issues - the first one is driving me mad for a while already. In product_info with STS is running I can see the 'also purchased' product pictures and descriptions, but I cannot see the heading "Customers also purchased...". With STS off the heading appears. Anybody had the same problems and solved it? My second problem is new: I installed Simple Photo Gallery which runs fine except the slideshow in a left column infobox. The slideshow propagates pictures all available pictures downwards instead of having one picture a time as a slideshow. When I disable STS the slideshow runs fine. I have attached the slideshow code here: <?php /* $Id: all_specials_slideshow.php v1.0 created by Michael Hazzard May 19 2007 http://www.miramardesign.com based on all_specials.php v1.01 created by Kornel Hartung on 2003/11/03 21:02:00 hpdl Exp $ based on /includes/boxes/specials.php of MS2 Example can be seen here: www.livecarts.com osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // for PHP 4 versions if (PHP_VERSION < 5) { function scandir($dir) { $dh = opendir($dir); while (false !== ($filename = readdir($dh))) { $files[] = $filename; } sort($files); return $files; } } $dir = './thumbnails/gallery/'; if (is_dir($dir)) { $pictures = array_diff(scandir($dir), array('.', '..', '.DS_Store','thumbnails')); //set up the max thumbs number here $max_thumbs=BOX_SLIDESHOW_MAX_THUMBS; //if there aren't enough thumbs use less if (count($pictures)< BOX_SLIDESHOW_MAX_THUMBS){ $max_thumbs=count($pictures); } if (count($pictures)==1){ $rand_keys[]=array_rand($pictures,1); }else{ $rand_keys=array_rand($pictures,$max_thumbs); } } if (count($rand_keys) > 0) { ?> <!-- gallery_slideshow_bof //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_GALLERY); new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_GALLERY)); $box_text = ''; $rown = count($rand_keys); $row = 0; foreach ($rand_keys as $pict_key) { if(!empty($pictures[$pict_key])){ $row++; $box_text .= '<table border=0 cellpadding=0 cellspacing=0 width="100%" id="special'.$row.'"> <tr> <td align="center" class="boxText"><a href="' . tep_href_link(FILENAME_GALLERY,'','NONSSL') . '">' . TEXT_GALLERY . '</a> </td> </tr> <tr> <td align="center"><a href="' . tep_href_link(FILENAME_GALLERY,'','NONSSL') . '">' . tep_image($dir.$pictures[$pict_key],BOX_GALLERY_TOOLTIP,SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> </td> </tr> <tr> <td align="center" class="boxText"><p>'.BOX_TEXT_GALLERY_LINK.'</p></td> </tr> </table>'; if ($rown == $row) { $box_text .= "\n"; }else{ $box_text .= '' . "\n"; } } } $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => $box_text); new infoBox($info_box_contents); ?> </td> </tr> <script language="javascript"> // all category box slideshow michael hazzard http://www.miramardesign.com // you could move this to an external js file but u would have to call start() on every page var row = <?php echo $row; ?>; var numpics = <?php echo count($pictures); ?>; function start(){ var k = Math.floor(Math.random()* row +1) //make random starting special //http://www.shawnolson.net/a/789/make-javascript-mathrandom-useful.html var i ; for(i= 1; i < (row + 1); i++){ //echo total # of special's if(i == k) { document.getElementById('special'+i).style.display=""; }else{ document.getElementById('special'+i).style.display="none"; //hide all } } // need to randomize beginnning value setTimeout("slideshow("+ k +")",3000); //change 3000 to custom time if desired //setTimeout("slideshow(1)",3000); //static if starting at 1 } function slideshow(i){ document.getElementById('special'+i).style.display=""; if (i > 1) { var j = i - 1; document.getElementById('special'+j).style.display="none"; }else { document.getElementById('special'+ row).style.display="none"; } ++i; if (i > row ){ i = 1; } setTimeout("slideshow("+i+")",3000); } if (numpics>1){ start(); } </script> <!-- gallery_slideshow_eof //--> <?php } ?> Thank you very much for your help Roland
  5. RCSails

    photo gallery for oscommerce

    Just stumbled about this contribution and have to say - great it works out of the box. There is only one big problem when using STS ( latest version) the slide show does not slide but propagate downward picture by picture until the last one in the left column and Highslide does display erratic. It STS is off everything is fine. Has anybody out there got this contribution to run with STS and can help me out with some tips on how to get it run with STS as well Thanks a lot Roland
  6. Nice contribution, I have messed around with it for a week now - but with so many bugs as STS compatibility issues, login problems, discount coupon issues calculation issues and the applications own features not working well and no support from the contributor OnePage Checkout should not be used on live shops. I have fixed several issues by myself but there are still many things buried deep inside js. I will wait until a updated version with bug fixes for all those issues is available and will give it another try then. Cheers Roland
  7. exclude the 0.00 EUR products from coupon - then it works Cheers Roland
  8. Hi Cord, I'm using sts4.6 and have created the module by creating a new file named sts_mailhive.php in catalog/includes/languages/english/modules/sts Here is the code: <?php /* $Id: sts_mailhive.php,v 1.0 2005/11/03 23:09:49 Rigadin Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2005 osCommerce Released under the GNU General Public License * Module for STS v4 */ define('MODULE_STS_MAILHIVE_TITLE', 'MailBeez.com STS compatibility'); define('MODULE_STS_MAILHIVE_DESCRIPTION', 'This Module makes STS compatible with MailBeez.com V1.5 (v1.0.0)'); ?> I can enable your function sts_mailhive.php in catalog/includes/modules/sts (I have amended the output text) here is the code: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2005 osCommerce Released under the GNU General Public License STS v4 module for mailhive.php by www.mailbeez.com * Requires STS v4.4 or newer */ class sts_mailhive { var $template_file; function sts_mailhive (){ $this->code = 'sts_mailhive'; $this->title = 'MailBeez.com STS compatibility'; $this->description = 'This Module makes STS compatible with MailBeez.com V1.5 (v1.0.0)'; $this->sort_order=6; $this->enabled = ((MODULE_STS_MAILHIVE_STATUS == 'true') ? true : false); } function find_template (){ // Return an html file to use as template return ''; // No specific template found, so we don't use template at all } function capture_fields () { // Returns list of files to include from folder sts_inc in order to build the $template fields return ''; } function replace () { // If we do not use a content template, extract the content from buffer return ''; } //====================================== // Private Functions //====================================== //====================================== // Functions needed for admin //====================================== function check() { if (!isset($this->_check)) { $check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_STS_MAILHIVE_STATUS'"); $this->_check = tep_db_num_rows($check_query); } return $this->_check; } function keys() { return array('MODULE_STS_MAILHIVE_STATUS'); } function install() { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Exclude MailBeez from STS', 'MODULE_STS_MAILHIVE_STATUS', 'false', 'Do you want to exclude MailBeez from STS', '6', '1','tep_cfg_select_option(array(\'true\', \'false\'), ', now())"); } function remove() { tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } }// end class ?> Your code looks ok but unfortunately the code does not work and the documentation & support forum for STS is not much helpful. If you have another idea I an happy to test it for you if you like. Cheers Roland
  9. I have tried your code but so far without success cheers Roland
  10. Hi Cord, thank you for pointing me into the right direction - I have solved the STS issue too! Here is the solution I found across the boards: 1: open the file catalog/includes/modules/sts/sts_default.php 2: find around line 43: if (strstr($scriptbasename, "popup")|| strstr($scriptbasename, "info_shopping_cart")) return ''; // We don't use template for these scripts change to: if (strstr($scriptbasename, "popup")|| strstr($scriptbasename, "mailhive.php")|| strstr($scriptbasename, "info_shopping_cart")) return ''; // We don't use template for these scripts 3: save the changes Voila, everything is fine!. Cheers Roland
  11. Hi, I have installed the module 1.5. The only problems were the strange output with STS - (is there still n o solution to this? ) and the missing SQL.file which would make the upgrade more easy (no need to uninstall all and then reinstall) Hopefully there will be a solution for the STS screen and report output problem soon. Besides the STS quirk the application works great. Cheers Roland
  12. RCSails

    [Contribution] STS v4

    Hi all, I have managed to get my template running on the catalog site but the admin site is still ugly. When I go to the admin/catalog the products pictures are full size instead of the thumbnails that used to be there. Also when I switch STS off my original site view is stretched in user view - the huge 'thumbnails' remain at the admin site. Anybody had a similar problem and found a solution? Thanks Roland
  13. RCSails

    integration problem - please help

    Hi DonCano, I had the same problems with a fresh install. To get the installation work you have to edit the SQL database and manually enter your Moneybookers ID in there. 1. Use PHPMyAdmin and open your OSCommerce SQL database 2. select the TABLE --- CONFIGURATION 3. search for this configuration_key : MODULE_PAYMENT_MONEYBOOKERS_ID 4. edit this row and type your ID in 5. save Now enter OSCommerce admin and your MB installation should work PS. I also typed my secret word manually the same way as the ID Regards Roland
  14. RCSails

    MoneyBookers - activating account to accept credit cards

    I did have the same problem until I changed the modules 'Sort order of display' to be unique. If another payment module has the same order the ACC module won't show up, all other modules don't have this behavior. I hope this helps all who are running into this trap. ;)