Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

radhavallabh

Members
  • Posts

    711
  • Joined

  • Last visited

Posts posted by radhavallabh

  1. Hi

    I want to remove this c id or convert the _ underscore of the URL to a - please?

    Example from this url

    additions-c-25_68.html

    I want to either remove this cID from the url completely

    It would be great if it can be made like this

    like

    additions.html

    or

    remove the underscore.

    additions-c-25-68.html

    Please can you guide me on how to do it...

    Thank you in advance;

    Regds/

    radhavallabh

  2. Hi.. I am planning to install this in Frozen CE version (Latest)

    My queryDoes this module create the sitemap with the Ultimate seo urls??

    I mean with the urls that are created with ultimate seo addon?

    Warm Regds./

    radhavallabh

  3. 10 hours ago, raiwa said:

    Hello @radhavallabh,

    Your output looks strange:

    - you have no image size values

    - your image is not a kiss it thumbnail, it is a normal image instead

    I get this output if only the main image is used:

    
    <div class="piGal"><img width="250" height="250" src="images/thumbs/250_250/microsoft/intkeyboardps2.gif" title="Microsoft Internet Keyboard PS/2" alt="Microsoft Internet Keyboard PS/2" class="img-responsive" data-highres="images/microsoft/intkeyboardps2.gif" /></div></div>

    and this if additional big images are used:

    
    <div class="piGal" data-imgcount="155"><img width="250" height="250" src="images/thumbs/250_250/samsung/galaxy_tab_1.jpg" title="Samsung Galaxy Tab 1" alt="Samsung Galaxy Tab 1" class="img-responsive" id="piGalImg_1" data-highres="images/thumbs/640_480/samsung/galaxy_tab_1.jpg" /><img width="83" height="83" src="images/thumbs/83_83/samsung/galaxy_tab_2.jpg" title="Samsung Galaxy Tab 2" alt="Samsung Galaxy Tab 2" class="img-responsive" id="piGalImg_2" data-highres="images/thumbs/640_480/samsung/galaxy_tab_2.jpg" /><img width="83" height="83" src="images/thumbs/83_83/samsung/galaxy_tab_3.jpg" title="Samsung Galaxy Tab 3" alt="Samsung Galaxy Tab 3" class="img-responsive" id="piGalImg_3" data-highres="images/thumbs/640_480/samsung/galaxy_tab_3.jpg" /><img width="83" height="83" src="images/thumbs/83_83/samsung/galaxy_tab_4.jpg" title="Samsung Galaxy Tab 4" alt="Samsung Galaxy Tab 4" class="img-responsive" id="piGalImg_4" data-highres="images/thumbs/640_480/samsung/galaxy_tab_4.jpg" /></div><div hidden><div id="piGalDiv_4"><iframe width="560" height="315" src="http://www.youtube.com/embed/tAbsmHMAhrQ" frameborder="0" allowfullscreen></iframe></div></div></div>

    Can you please provide more info:

    - your exact oscommerce version is the latest 2.3.4.1 CE Frozen release, please confirm

    - you are using the latest kissit image thumbnailer version 2.8.1., please confirm

    - you are using the image gallery content module provided with kiss it image thumbnaile and it is unmodified, please confirm

    - your relevant kissit image thumbnailer configuration values are the original settings, please confirm or post the settings

    - please explain any changes you applied to the image settings if they are not standard

    Thanks and best regards

    Rainer

    Hi,

    I am using latest 2.3.4.1 CE Frozen release.. AND latest Kissitthumbnailer version using all files intact unedited.

    Sorry it was my silly mistake while going through again I realized.. I forgot to save the html_output.php edited file. It works like a charm now.:biggrin:

    I HAD A QUERY IS IT POSSIBLE TO LOCK THE RIGHT CLICK FUNCTION ON THE IMAGES AND LOCK THE IMAGE TO AVOID THE USERS TO DOWNLOAD THEM ON DESKTOP OR MOBILE..I REALLY NEED THIS TO GET WORKING..

     

    THANK YOU

    WARM REGDS.

    RADHAVALLABH

     

     

  4. 38 minutes ago, radhavallabh said:

    The error it throws is TypeError: $.cookie is not a function

    FIXED ISSUE-

    IF ANYONE FACES THIS ISSUE IN LATEST OSCOMMERCE FROZEN EDGE CE VERSION-

    REPLACE BELOW CODE IN ht_ajax_product-listing.php

     if ( \'' . (defined('MODULE_HEADER_TAGS_GRID_LIST_VIEW_STATUS') && MODULE_HEADER_TAGS_GRID_LIST_VIEW_STATUS == 'True') . '\' && \'' . (strpos(MODULE_HEADER_TAGS_GRID_LIST_VIEW_PAGES, $page) !== false) . '\' ) {
            bodyContent_listing.append($("<script>$(function() { var cc = $.cookie(\'list_grid\'); if (cc == \'list\') { $(\'#products .item\').removeClass(\'grid-group-item\').addClass(\'list-group-item\'); } else { $(\'#products .item\').removeClass(\'list-group-item\').addClass(\'grid-group-item\'); } $(document).ready(function() { $(\'#list\').click(function(event){ event.preventDefault(); $(\'#products .item\').addClass(\'list-group-item\').removeClass(\'grid-group-item\'); $.cookie(\'list_grid\', \'list\'); }); $(\'#grid\').click(function(event){ event.preventDefault(); $(\'#products .item\').removeClass(\'list-group-item\').addClass(\'grid-group-item\'); $.cookie(\'list_grid\', \'grid\'); }); }); });<\/script>")[0]);
          }

    with

    
    if ( \'' . (defined('MODULE_HEADER_TAGS_GRID_LIST_VIEW_STATUS') && MODULE_HEADER_TAGS_GRID_LIST_VIEW_STATUS == 'True') . '\' && \'' . (strpos(MODULE_HEADER_TAGS_GRID_LIST_VIEW_PAGES, $page) !== false) . '\' ) {
            bodyContent_listing.append($("<script>$(function() { var cc = sessionStorage[\'list_grid\']; if (cc == \'list\') { $(\'#products .item\').removeClass(\'grid-group-item\').addClass(\'list-group-item\'); } else { $(\'#products .item\').removeClass(\'list-group-item\').addClass(\'grid-group-item\'); } $(document).ready(function() { $(\'#list\').click(function(event){ event.preventDefault(); $(\'#products .item\').addClass(\'list-group-item\').removeClass(\'grid-group-item\'); sessionStorage[setItem](\'list_grid\', \'list\'); }); $(\'#grid\').click(function(event){ event.preventDefault(); $(\'#products .item\').removeClass(\'list-group-item\').addClass(\'grid-group-item\'); sessionStorage[setItem](\'list_grid\', \'grid\'); }); }); });<\/script>")[0]);
          }

    VOILA.....MODULE WILL CONTINUE WORKING LIKE A CHARM.....

    REGARDS/

    RADHAVALLABH

    :biggrin:

  5. 21 hours ago, radhavallabh said:

    Hi I installed it on the latest EDGE CE version but it gives below error:-

    On clicking a category URL becomes-

    http://localhost/Responsive-osCommerce/FILENAME_DEFAULT?cPath=313

    Object not found!

    The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

    If you think this is a server error, please contact the webmaster.

    Error 404

     

    Help to fix it will be deeply appreciated

    Fixed this already..

  6. I have added this wonderful addon to my latest CE version-

    One thing there is a bug that shows up on the live side of product info.php-

    The images have a extra /> at each end

    The Error debug Console displays the following which shall elaborate what I am trying to say...

    <img src="images/aura-of-diamond.jpg" alt="Aura Of Daimond Krishna Crown 1" title="Aura Of Daimond Krishna Crown 1" class="img-responsive" id="piGalImg_1" <img="" width="400" height="300"></img>   />

    Code causing it is from cm_pi_gallery_kissit.php

     $pi_output .=  tep_image('images/' . $pi['image'], htmlspecialchars ($product_info['products_name']) . ' ' . $pi_counter, (($pi_counter > 1 )? round(KISSIT_MAIN_PRODUCT_IMAGE_WIDTH/(($pi_total <= 5)? $pi_total-1 : 5)) : KISSIT_MAIN_PRODUCT_IMAGE_WIDTH), (($pi_counter > 1 )? round(KISSIT_MAIN_PRODUCT_IMAGE_HEIGHT/(($pi_total <= 5)? $pi_total-1 : 5)) : KISSIT_MAIN_PRODUCT_IMAGE_HEIGHT), 'id="piGalImg_' . $pi_counter . '" '. ((KISSIT_MAIN_PRODUCT_WATERMARK_SIZE > 0)? preg_replace('%<img width="[0-9 ]+" height="[0-9 ]+" src="(.*)title=.+%', 'data-highres="$1', tep_image('images/' . $pi['image'], null, $width, $height)) : 'data-highres="'. 'images/' . $pi['image'] . '"'));
              }  

    Any help fixing this would be deeply appreciated...

    Regds./

    radhavallabh

  7. Hi I installed it on the latest EDGE CE version but it gives below error:-

    On clicking a category URL becomes-

    http://localhost/Responsive-osCommerce/FILENAME_DEFAULT?cPath=313

    Object not found!

    The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

    If you think this is a server error, please contact the webmaster.

    Error 404

     

    Help to fix it will be deeply appreciated

  8. 1 hour ago, frankl said:

    @radhavallabh

    I'm not sure. Perhaps something to do with your minification script again. I find minification more trouble than it's worth, the savings aren't that great and it screws up a lot of other things. If you want to persist it might be a better idea to run a script on the database entries to remove all the tags.

    Hi I did as you said, switched off minification and tested it but it still displays the html tags in the text of the testimonial. Seems some other way to remove them has to be used.. Please could you help and guide me do it.

    Warm Regds/

    radhavallabh

  9. 2 hours ago, frankl said:

    The script on your page is (I have reformatted it for ease of reading):

    
    <script>
       function reviewVote(vote_action, review_id){
          var posturl = '<?php echo tep_href_link('ajax_review_votes.php','',$request_type);?>';
          var pass_data = 'action=' + vote_action + '&reviews_id=' + review_id;
        
          $.ajax({
                 url:  posturl,
                 data: pass_data,
                 type: 'POST',
                 success: function(data) {
                    
                    if(data == 'NOTOK'){
                       var message = 'You are not allowed to send this form!';
                    }else if(data == 'already_voted'){
                       var message = 'Your vote has been already recorded. Thank you!';
                       alert(message);
                    }else if(data == ''){
                      var message = 'Sorry! Please try again.';
                       alert(message);
                    }else if(data.match(/^\d+$/)){
                      if(vote_action == 'votesUp'){
                         $("#vUP_" + review_id).html(" " + data + " ");  
                         $("#vUP_" + review_id).show();
    </script> 

     

    whereas it should be:
     

    
    <script>
       function reviewVote(vote_action, review_id){
          var posturl = '<?php echo tep_href_link('ajax_review_votes.php','',$request_type);?>';
          var pass_data = 'action=' + vote_action + '&reviews_id=' + review_id;
        
          $.ajax({
                 url:  posturl,
                 data: pass_data,
                 type: 'POST',
                 success: function(data) {
                    
                    if(data == 'NOTOK'){
                       var message = 'You are not allowed to send this form!';
                    }else if(data == 'already_voted'){
                       var message = 'Your vote has been already recorded. Thank you!';
                       alert(message);
                    }else if(data == ''){
                      var message = 'Sorry! Please try again.';
                       alert(message);
                    }else if(data.match(/^\d+$/)){
                      if(vote_action == 'votesUp'){
                         $("#vUP_" + review_id).html(" " + data + " ");  
                         $("#vUP_" + review_id).show();
                         //alert(data);
                      }else if(vote_action == 'votesDown'){
                        $("#vDOWN_" + review_id).html(" " + data + " ");
                        $("#vDOWN_" + review_id).show();
                        //alert(data);  
                      }
                    }else{
                        alert(data);
                         alert("Error in code!");
                    }
                    
                    //alert(data);    
                 },
                 error: function() {
                          var message = 'Error in ajax!Please try again.';
                          alert(message);
                          
                 }
    
            });//end call ajax
    
      }
    </script> 

     

    You have somehow cut the end off the javascript function. Fix that and it should work.

    Hi,

    The Minification script was striping the comments from the javascript... So the fucntion ahead of the script was getting removed.

    I removed all comments from it.

    And Voila! it works Great Thank you so much for all your help!!!

    And also thank you very much for such a wonderful addon....

    Very Warm Regards/

    radhavallabh

  10. 57 minutes ago, frankl said:

    The script on your page is (I have reformatted it for ease of reading):

    
    <script>
       function reviewVote(vote_action, review_id){
          var posturl = '<?php echo tep_href_link('ajax_review_votes.php','',$request_type);?>';
          var pass_data = 'action=' + vote_action + '&reviews_id=' + review_id;
        
          $.ajax({
                 url:  posturl,
                 data: pass_data,
                 type: 'POST',
                 success: function(data) {
                    
                    if(data == 'NOTOK'){
                       var message = 'You are not allowed to send this form!';
                    }else if(data == 'already_voted'){
                       var message = 'Your vote has been already recorded. Thank you!';
                       alert(message);
                    }else if(data == ''){
                      var message = 'Sorry! Please try again.';
                       alert(message);
                    }else if(data.match(/^\d+$/)){
                      if(vote_action == 'votesUp'){
                         $("#vUP_" + review_id).html(" " + data + " ");  
                         $("#vUP_" + review_id).show();
    </script> 

     

    whereas it should be:
     

    
    <script>
       function reviewVote(vote_action, review_id){
          var posturl = '<?php echo tep_href_link('ajax_review_votes.php','',$request_type);?>';
          var pass_data = 'action=' + vote_action + '&reviews_id=' + review_id;
        
          $.ajax({
                 url:  posturl,
                 data: pass_data,
                 type: 'POST',
                 success: function(data) {
                    
                    if(data == 'NOTOK'){
                       var message = 'You are not allowed to send this form!';
                    }else if(data == 'already_voted'){
                       var message = 'Your vote has been already recorded. Thank you!';
                       alert(message);
                    }else if(data == ''){
                      var message = 'Sorry! Please try again.';
                       alert(message);
                    }else if(data.match(/^\d+$/)){
                      if(vote_action == 'votesUp'){
                         $("#vUP_" + review_id).html(" " + data + " ");  
                         $("#vUP_" + review_id).show();
                         //alert(data);
                      }else if(vote_action == 'votesDown'){
                        $("#vDOWN_" + review_id).html(" " + data + " ");
                        $("#vDOWN_" + review_id).show();
                        //alert(data);  
                      }
                    }else{
                        alert(data);
                         alert("Error in code!");
                    }
                    
                    //alert(data);    
                 },
                 error: function() {
                          var message = 'Error in ajax!Please try again.';
                          alert(message);
                          
                 }
    
            });//end call ajax
    
      }
    </script> 

     

    You have somehow cut the end off the javascript function. Fix that and it should work.

    Hi, I just updated the code but still no avail.... It seems to cut off all javascript after the if statement within elseif.....

    I checked the source in Chrome-

    It shows below function in source-

    <script>function reviewVote(vote_action,review_id)
      {var posturl='http://www.xxxxxxxxxx.com/ajax_review_votes.php';var pass_data='action='+vote_action+'&reviews_id='+review_id;
       $.ajax({url:posturl,data:pass_data,type:'POST',success:function(data){
         if(data=='NOTOK'){var message='You are not allowed to send this form!'}
                else if(data=='already_voted'){var message='Your vote has been already recorded. Thank you!';alert(message)}
         else if(data==''){var message='Sorry! Please try again.';alert(message)}
         else if(data.match(/^\d+$/)){
           if(vote_action=='votesUp'){$("#vUP_"+review_id).html(" "+data+" ");$("#vUP_"+review_id).show();</script>

    Please your guidance would be of great help...

    I fail to understand the issue...

    Warm Regds.

    radhavallabh

  11. 2 hours ago, frankl said:

    @radhavallabh

    I have no idea why that wasn't working for you, tested this end and it was fine.

    In any case, I've updated the app. It's now easier to install and is more self contained. Uninstall the the previous version by reversing the installation instructions, then download the new version http://addons.oscommerce.com/info/9493 and follow the new installation instructions. Let me know how that goes.

    Hi,

    Thank you I have updated the addon;

    Please check the upvote and downvote still does not work :(

    I have pm you the link;

    Awaiting your earliest response and guidance...

    Warm Regds/

    radhavallabh

  12. On 28/7/2016 at 8:19 AM, frankl said:

    Allows for better, more detailed reviews than stock osCommerce.

     

    Suitable for osCommerce 2.34BS Edge.

     

    Customers rate your products on whatever criteria you choose (included is Ease of use, Value for money and Quality – these can be changed).

     

    There are also fields for Best Feature, Worst Feature and a text box for a review description.

     

    Customers can choose a nickname to display on the review.

     

    Other customers can up or downvote reviews according to how helpful they are (one vote per IP for each review).

     

    On product pages reviews are displayed in the order of highest stars/highest number of upvotes.

     

    Reviews need to be approved by admin before going live. Reviews can be edited by admin if necessary.

     

    http://addons.oscommerce.com/info/9493


    Hi;

    I have added this beautiful addon to my shop but my upvote and down vote do not work.

    In firefox- error console it gives a ReferenceError: reviewVote is not defined error on detail it says

    <anonymous>  ____________________________ javascript:reviewVote('votesUp',%2054):1:1

    Your help and guidance on this would be deeply appreciated;

    Awaiting your solution

    Regds/

    radhavallabh

  13. 18 hours ago, activeebiz said:

     

    That add-on is for managing existing oscommerce cache files.

     

    You are probably looking for something more like this: http://addons.oscommerce.com/info/2873

     

    Hi;

    I tried implementing something like below instead.. But the output file is not writing to cache- Could you please enlighten me where am I going wrong-

    One more thing I am also trying to add the language id to it can you guide me also on how can that be done.

            <?php
    $file = '../includes/cache/cache_custom_categories.php'; //location of cache file
    $current_time = time();
    $cache_last_modified = filemtime($file); //time when the cache file was last modified
    
    if(file_exists($file) && ($current_time < strtotime('+1 month', $cache_last_modified))){ //check if cache file exists and hasn't expired yet
      include($file); //include cache file
    }else{
      ob_start(); //start output buffering
    ?>
    <?php
     /* big menu */
             include(DC_BLOCKS . 'custom_categories.php'); 
             /*big menu*/
      $fp = fopen($file, 'w'); //open cache file
      fwrite($fp, ob_get_contents()); //create new cache file
      fclose($fp); //close cache file
      ob_end_flush(); //flush output buffered
    }
    ?>

    Awaiting your valuable reply;

    Warm Regds/

    radhavallabh

     

  14. 9 minutes ago, activeebiz said:

     

    That add-on is for managing existing oscommerce cache files.

     

    You are probably looking for something more like this: http://addons.oscommerce.com/info/2873

     

    Hi I went through this add-on previously but the main issue I am facing is getting it working with the complete category generation script on that file.

    IT shows on how to use it with array; text and cfgqueries beautifully. But when I tried incorporating it in my category file the whole script broke.

    Please if you could guide me in more detail.. it would be great

    Awaiting your valuable response

    Warm rgds

    Radhavallabh

     

  15. Hi,

    On 19/12/2014 at 11:23 AM, auzStar said:

    Support Thread for Advanced Cache Control Tool for osCommerce version 2.3.x

     

    Report problems here.

     

    I will monitor this thread and try to answer as many questions as I can.

     

    Feedback and comments appreciated.

     

     

     

    Download link:

    http://addons.oscommerce.com/info/9189
     

     

     

    Dom

    Can we use this addon to cache a output out a custom-categories.php  fiile which outputs the nav bar in header of the store?

    Your guidance on this will be really helpful, Hope I could use your wonderful addon for this too....

    The Category nav bar generated can be seen on my store at http://www.radhavallabh.com/radhakrishna-store

    Awaiting your respose;

    Very warm Regds/

    radhavallabh

×
×
  • Create New...