Page 255 of 373 FirstFirst ... 155205245253254255256257265305355 ... LastLast
Results 2,541 to 2,550 of 3726
  1. #2541
    Join Date
    Feb 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    Default Re: Zen Lightbox...

    thanks, you guys...i have the solution and am not asking for any special programming...just how to get a javascript file, which normally automatically loads on every page in zencart, to load on the lightbox presentation page. You know, like the css file does. So I'll look for how the css links to the lightbox event and try that.

    I don't post my link here because in the past my sight has been overwhelmed and the bandwidth through the roof.

    here is the js code..it is a common old script. thanks for your time:

    Code:
    /*
    Disable right click script II (on images)- By Dynamicdrive.com
    For full source, Terms of service, and 100s DTHML scripts
    Visit http://www.dynamicdrive.com
    */
    
    var clickmessage="Images Copyrighted. Please do not copy."
    
    function disableclick(e) {
    if (document.all) {
    if (event.button==2||event.button==3) {
    if (event.srcElement.tagName=="IMG"){
    alert(clickmessage);
    return false;
    }
    }
    }
    else if (document.layers) {
    if (e.which == 3) {
    alert(clickmessage);
    return false;
    }
    }
    else if (document.getElementById){
    if (e.which==3&&e.target.tagName=="IMG"){
    alert(clickmessage)
    return false
    }
    }
    }
    
    function associateimages(){
    for(i=0;i<document.images.length;i++)
    document.images[i].onmousedown=disableclick;
    }
    
    if (document.all)
    document.onmousedown=disableclick
    else if (document.getElementById)
    document.onmouseup=disableclick
    else if (document.layers)
    associateimages()

  2. #2542
    Join Date
    Feb 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    Default Re: Zen Lightbox...

    well...it's no wonder you guys were puzzled...although I still want to know how to get a js file to load here....

    I found that I had not uploaded the lightbox file in the main store directory...just the images and includes folders....somehow overlooked the main php file; it worked without it but now when I right click it is a different menu, less blatantly "please steal this image" in both ie and firefox.

    I'll try installing ih2 and see what happens.

  3. #2543
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Zen Lightbox...

    Quote Originally Posted by athena View Post
    well...it's no wonder you guys were puzzled...although I still want to know how to get a js file to load here....

    I found that I had not uploaded the lightbox file in the main store directory...just the images and includes folders....somehow overlooked the main php file; it worked without it but now when I right click it is a different menu, less blatantly "please steal this image" in both ie and firefox.

    I'll try installing ih2 and see what happens.
    FYI you can post your link without it becoming "clickable" pretty easily just by adding spaces to the appropriate places.. People do it all the time here..

    For example: http:// yoursite . com OR http:// yoursite dot com.

    or

    you can enclose your URL inside CODE shortcodes like this:
    Code:
    http://www.yoursite.com
    The reason folks ask for the site link is that for nearly all modules, it is DIFFICULT and near impossible to help with troubleshooting issues without a link to the site.. This way the people you are asking for help can see what you see.. It's a much more efficient way to help..

    For me, given that I work in software dev, I've learned over the years that a written description of the problem is not always in and of itself enough to KNOW and SEE what is happening.. I have to see what you see so that I can get right to the issue versus guessing at what it MIGHT be.. So I personally won't even try an lob guesses at a problem I can't "see" (others may feel differently)..
    Last edited by DivaVocals; 26 Mar 2011 at 05:14 PM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  4. #2544
    Join Date
    Nov 2009
    Posts
    285
    Plugin Contributions
    5

    Default Re: Zen Lightbox...

    Quote Originally Posted by DivaVocals View Post
    For me, given that I work in software dev, I've learned over the years that a written description of the problem is not always in and of itself enough to KNOW and SEE what is happening.. I have to see what you see so that I can get right to the issue versus guessing at what it MIGHT be.. So I personally won't even try an lob guesses at a problem I can't "see" (others may feel differently)..
    Totally agree DivaVocals,
    I'm waiting to see a link before I chime in on where the 'fix' might be able to be placed. Half of the time even a link isn't enough, so its almost impossible without.

    @athena, you could always PM a few of us the link if you are that afraid of the bandwidth.

    daniel

  5. #2545
    Join Date
    Nov 2009
    Posts
    285
    Plugin Contributions
    5

    Default Re: Zen Lightbox...

    Quote Originally Posted by mretzloff View Post
    Lightbox was working for me up until a short while ago. Now when I click on a product's image, I just get this:


    Could someone please let me know what is causing this? The only thing I can remember doing since Lightbox was working is installing the Reward Points Full Suite module.
    Please update to ZLB 1.6 and this issue should be resolved

    daniel
    Last edited by niestudio; 26 Mar 2011 at 05:23 PM.

  6. #2546
    Join Date
    Feb 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    Default Re: Zen Lightbox...

    Sorry to double post....went to wrong thread...long weekend:

    thanks for the tips...zen lightbox crew...

    Got image handler working ! Great Mod! Don't know how I missed this...but our server said they did not support it.....news to them!

    Just to recount:

    Zencart automatically loads in jscript files in the My_Template > jscript folder

    Right?

    My disable right-click jscript works just find in zencart...but not in the lightbox. Why doesn't it load in the lightbox?

    js code is in above post....

    my test site...very raw so don't expect to be impressed:

    Code:
     www.geoodyssey.com/Products/

  7. #2547
    Join Date
    Nov 2009
    Posts
    285
    Plugin Contributions
    5

    Default Re: Zen Lightbox...

    Quote Originally Posted by athena View Post

    My disable right-click jscript works just find in zencart...but not in the lightbox. Why doesn't it load in the lightbox?

    js code is in above post....
    Hi Athena,
    first of all, you should note that on a mac your current right click blocker is not working at all in chrome or safari. Even on the regular images that show before ZLB comes into play. So I would suggest you look for a more current solution since this is so important to you.
    Even on a PC you can just drag them to the desktop without using a right click menu.

    Now for ZLB, do you plan to use additional images on your site, or just the one main image?
    If you DO NOT plan to use additional images I have a simple hack you can make to the slimbox code that will prevent the right click menu that does pop up from showing a save image as option.

    If you DO plan to use additional images, you might have to look for a pretty customized solution. I have done some google searches for adding this functionality to slimbox and most seem to say its not possible. Here on the zen cart forum the people on the faul slimbox thread have been talking about this option since 2008 and they get the same response: just use watermarks because you can really block them anyway.

    let me know if you want to try the hack and i'll tell you what to modify.

    daniel

  8. #2548
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Zen Lightbox...

    So now that your images are watermarked why the continued concern about image theft and outdated right click scripts??

    Quote Originally Posted by athena View Post
    Sorry to double post....went to wrong thread...long weekend:

    thanks for the tips...zen lightbox crew...

    Got image handler working ! Great Mod! Don't know how I missed this...but our server said they did not support it.....news to them!

    Just to recount:

    Zencart automatically loads in jscript files in the My_Template > jscript folder

    Right?

    My disable right-click jscript works just find in zencart...but not in the lightbox. Why doesn't it load in the lightbox?

    js code is in above post....

    my test site...very raw so don't expect to be impressed:

    Code:
     www.geoodyssey.com/Products/
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  9. #2549
    Join Date
    Feb 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    Default Re: Zen Lightbox...

    i give up....

  10. #2550
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Zen Lightbox...

    Quote Originally Posted by athena View Post
    i give up....
    I know you're not happy with the responses you've recieved, but there's a REASON why none of us are really jumping at the chance to help implement what is in fact an OUTDATED, and INSECURE method of securing your images.. Sorry.. There ARE better ways of REALLY securing your images, and watermarking is really still considered a good way to protect website images.

    Now I think ScriptJunkie's post on the IH2 thread says a LOT as she too is a DIYer for her own website and she hits the nail on the head:
    Quote Originally Posted by ScriptJunkie View Post
    Can I just add to that sentiment? Websites that use a no right click script are, IMHO, just lame and they communicate a message of "website homemade by paranoid person".

    While it's not paranoid to want to protect yourself from theft, it does look paranoid to use "beginner tools" to do it. People who are serious about loss prevention use the appropriate modern tools to manage their inventories and property.

    I agree that watermarking is the way to go. If your biggest concern is that you want a copyright notice shown to visitors, then use the copyright notice as the watermark.

    Also, it's just not that easy (unless you know how and most image thieves do not) to get images out of light boxes. The fact that they look cool is only one of the reasons people started using them - the other was to protect their images.

    So using a light box WITH a right click script is just overkill.

    Lastly, if you've installed IH2 and can't get the watermarks to work, you've done something wrong and need to READ the README and then either adjust your settings or your images or reinstall - not revert back to outdated tools created for amateur site builders.
    One last thing I found that might be of interest on this topic..

    However, as powerful as those methods are, they can only address some of the ways to circumvent Lightbox. The only real way to secure Lightbox, or any gallery for that matter, is to ensure that the full image is never downloaded to the user’s computer by watermarking them before they are sent out, either on your machine or on your server.

    ...when it comes to image protection, Webmasters often times misplace their trust into techniques and methods that were never designed to stop theft. In a desperate attempt to abate very real and very reasonable worries about theft and plagiarism, some will turn to anything that even gives the vague appearance of offering protection.

    Sadly, this kind of misguided trust is more dangerous than having no protection at all. If one is vulnerable and they know they are at risk, they can take precautions and seek out real methods to address the problem. If they put their faith in false protection, they do nothing but remain just as vulnerable.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 

Similar Threads

  1. Free Shipping Rules addon [Support Thread]
    By numinix in forum Addon Shipping Modules
    Replies: 36
    Last Post: 2 Dec 2016, 01:56 PM
  2. v151 Reviews Reply addon [Support Thread]
    By mikestaps in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 17 Oct 2014, 01:29 AM
  3. Jquery Lightbox [Support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 257
    Last Post: 2 Aug 2012, 10:57 PM
  4. File Upload Required addon [Support Thread]
    By 1100101 in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 10 Dec 2011, 03:00 AM
  5. [Support Thread] IE only JavaScripts and Stylesheets Addon
    By Meshach in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 31 May 2011, 08:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR