View Full Version : Right Click warning
kennethb
Aug-19-2007, 10:56 AM
I used this command that was posted by Andy which has been changed as far as content
rightClickWarning = "All photos are © Ken Bryant. All rights reserved. Unauthorized use is prohibited."
It doesn't seem to work did I miss something?
Thanks
Ken
http://www.kenb.smugmug.com
Andy
Aug-19-2007, 10:59 AM
Hi, please look at FAQ# 20, you are missing a ;
http://www.smugmug.com/help/customize-faq.mg
kennethb
Aug-19-2007, 11:09 AM
Hi, please look at FAQ# 20, you are missing a ;
http://www.smugmug.com/help/customize-faq.mg
Thanks used the one from adavnce FAQ which is missing the ; as well ... dang just too many places to get good stuff to use!
Thanks again and Have a nice weekend or at lease whats left off it!
Cheers
Ken
mrcoons
Aug-20-2007, 01:04 PM
Does this command have to be anywhere in particular in the Javascript box Andy?
All I get is the standard message in stead of the one I entered.
:scratch
Allen
Aug-20-2007, 01:40 PM
Does this command have to be anywhere in particular in the Javascript box Andy?
All I get is the standard message in stead of the one I entered.
:scratch
Put a ; at the end of it and see if that helps.
rightClickWarning = "All photos are property of Moon River Photography. All rights reserved. Unauthorized use is prohibited.";
mrcoons
Aug-20-2007, 01:45 PM
Put a ; at the end of it and see if that helps.
rightClickWarning = "All photos are property of Moon River Photography. All rights reserved. Unauthorized use is prohibited.";
I have one Allen, is there suppose to be 2? Here is what I have:
rightClickWarning = "All photos are property of Music Man5 Photos. All rights reserved. Unauthorized use is prohibited.";
Allen
Aug-20-2007, 01:50 PM
I have one Allen, is there suppose to be 2? Here is what I have:
rightClickWarning = "All photos are property of Music Man5 Photos. All rights reserved. Unauthorized use is prohibited.";
Might be two, the one I saw it was missing.
Nope, it's missing. Maybe it's an illegal character?
rightClickWarning = "These photos are copyright Mark R Coons. All rights reserved. Unauthorized use is prohibited."
Found other one.
rightClickWarning = "All photos are property of Music Man5 Photos. All rights reserved. Unauthorized use is prohibited.";
mrcoons
Aug-20-2007, 02:00 PM
Might be two, the one I saw it was missing.
Nope, it's missing. Maybe it's an illegal character?
rightClickWarning = "These photos are copyright Mark R Coons. All rights reserved. Unauthorized use is prohibited."
Found other one.
rightClickWarning = "All photos are property of Music Man5 Photos. All rights reserved. Unauthorized use is prohibited.";
There were 2 of them, the one you saw and the one I put in today that I listed above. So I took out the incorrect one, saved the change and tested it but still get the stock message. Most strange.
kennethb
Aug-20-2007, 03:09 PM
Hi, please look at FAQ# 20, you are missing a ;
http://www.smugmug.com/help/customize-faq.mg
I must be missing some else doesn't seem to work, tried it from two different pc's.
Thanks
Ken
http://www.kenb.smugmug.com
Andy
Aug-20-2007, 03:22 PM
I must be missing some else doesn't seem to work, tried it from two different pc's.
Thanks
Ken
http://www.kenb.smugmug.com
Hi Ken, it's a pro feature on SmugMug. You are at the Power Account Level.
Sorry for the misunderstanding.
kennethb
Aug-20-2007, 03:31 PM
Hi Ken, it's a pro feature on SmugMug. You are at the Power Account Level.
Sorry for the misunderstanding.
Thanks!
mrcoons
Aug-20-2007, 03:32 PM
Hi Ken, it's a pro feature on SmugMug. You are at the Power Account Level.
Sorry for the misunderstanding.
So what am I doing wrong Andy?
dhlewis
Aug-20-2007, 06:19 PM
Same question, where does this line need to go in the Javascript box? I'm only getting the standard Smugmug message.
Thanks
Allen
Aug-20-2007, 06:35 PM
Same question, where does this line need to go in the Javascript box? I'm only getting the standard Smugmug message.
Thanks
I'd put it at the bottom. But doesn't make any difference where.
mrcoons
Aug-21-2007, 08:05 AM
bump
Andy
Aug-21-2007, 08:16 AM
bump
You have appearance set to "SmugMug" in some of your galleries. Change it to "custom" to get your customizing.
I toggled that setting here:
http://musicman5.smugmug.com/gallery/2320273/1/121350582/Large
you can see the custom right click message now.
I'm using the following Java code on my power account, works Ok.
/*============================*/
/*== Right Click Protect ==*/
/*============================*/
<!--
document.oncontextmenu = rightProtect;
function rightProtect(e) {
if (window.event) {
var srcEl = event.srcElement ? event.srcElement : event.target;
}
else {
var srcEl = e.srcElement ? e.srcElement : e.target;
}
if (srcEl.tagName.toLowerCase() == 'img') {
window.alert(rightClickWarning);
return false;
}
else {
return true;
}
}
var rightClickWarning = "All images copyright © 2004-2007 Simon Morton. All rights reserved. Unauthorized use is prohibited.";
//-->
mrcoons
Aug-21-2007, 09:16 AM
You have appearance set to "SmugMug" in some of your galleries. Change it to "custom" to get your customizing.
I toggled that setting here:
http://musicman5.smugmug.com/gallery/2320273/1/121350582/Large
you can see the custom right click message now.
I always wondered what that setting was for and I guess I should have known that. Thank you Andy.
dhlewis
Aug-21-2007, 05:39 PM
Thanks MOG, worked like a champ :clap
Crystal Clear Photography
Apr-16-2008, 04:32 PM
does this code not work anymore??...it was fine a few days ago, but some of my java code dissapeared today and I'v had to peice it back together.
right click warning is the only thing that I can't get to work again!:scratch
this is in my java header (i tried moving it to the top and in the java footer but nothing worked)
rightClickWarning = "All photos are copyright of Crystal Reynolds - Crystal Clear Photography ©. All rights reserved. Unauthorized use is prohibited.";
Andy
Apr-16-2008, 04:45 PM
does this code not work anymore??...it was fine a few days ago, but some of my java code dissapeared today and I'v had to peice it back together.
right click warning is the only thing that I can't get to work again!:scratch
this is in my java header (i tried moving it to the top and in the java footer but nothing worked)
rightClickWarning = "All photos are copyright of Crystal Reynolds - Crystal Clear Photography ©. All rights reserved. Unauthorized use is prohibited.";
http://img.skitch.com/20080416-8p664iu5wwu112i415aa29qrgn.jpg
workin fine :thumb
Crystal Clear Photography
Apr-16-2008, 05:50 PM
workin fine :thumb
hhhmmm...still not showing any warning here or at my husbands PC at work.
We use IE 7
Andy
Apr-16-2008, 06:41 PM
hhhmmm...still not showing any warning here or at my husbands PC at work.
We use IE 7
are you blocking javascript?
IE7:
http://img.skitch.com/20080417-q42bi21bmr97tkde4xc39x4922.jpg
Crystal Clear Photography
Apr-17-2008, 04:30 AM
are you blocking javascript?
IE7:
http://img.skitch.com/20080417-q42bi21bmr97tkde4xc39x4922.jpg
I have no idea...how would I find out if I were blocking java script??
good to know it still works..
Andy
Apr-17-2008, 06:26 AM
I have no idea...how would I find out if I were blocking java script??
good to know it still works..
Make sure your IE security settings are at Default level :thumb
Crystal Clear Photography
Apr-17-2008, 07:52 AM
Make sure your IE security settings are at Default level :thumb
yep..settings are at default...it still doesn't work on my husband's Pc at work either (IE 7 there, too)
would there be something in my Java code that is interfering with it??:dunno
Andy
Apr-17-2008, 07:59 AM
yep..settings are at default...it still doesn't work on my husband's Pc at work either (IE 7 there, too)
would there be something in my Java code that is interfering with it??:dunno
No, you have something (firewall, security software, addons, plugin?) that is blocking you from see it. Write our help desk please, and reference this thread, so that our heroes can try and help okay? Thanks!
The feauture is working perfectly on your site.
Crystal Clear Photography
Apr-17-2008, 11:06 AM
No, you have something (firewall, security software, addons, plugin?) that is blocking you from see it. Write our help desk please, and reference this thread, so that our heroes can try and help okay? Thanks!
The feauture is working perfectly on your site.
thanks Andy, I'll do that...sorry to be a pain :)
Andy
Apr-25-2008, 04:41 PM
Hi Ken, it's a pro feature on SmugMug. You are at the Power Account Level.
Sorry for the misunderstanding.
But guess what? As of now, it's available to you :thumb
jlvpeng
Apr-26-2008, 01:51 AM
How come mine works on some galleries, and doesn't work on some other galleries?
http://jlvpeng.smugmug.com/gallery/4705301_SxTku Doesn't work
http://jlvpeng.smugmug.com/gallery/4643134_Gv5Eg Works
Why?
denisegoldberg
Apr-26-2008, 04:37 AM
How come mine works on some galleries, and doesn't work on some other galleries?
http://jlvpeng.smugmug.com/gallery/4705301_SxTku Doesn't work
http://jlvpeng.smugmug.com/gallery/4643134_Gv5Eg Works
Why?
I believe the first gallery doesn't show your right click message because customization is turned off in that gallery. When I clicked your link, the url switched from jlvpeng.smugmug.com to www.smugmug.com (http://www.smugmug.com). Make sure that hide owner in your gallery is set to no.
--- Denise
jlvpeng
Apr-26-2008, 05:38 AM
I believe the first gallery doesn't show your right click message because customization is turned off in that gallery. When I clicked your link, the url switched from jlvpeng.smugmug.com to www.smugmug.com (http://www.smugmug.com). Make sure that hide owner in your gallery is set to no.
--- Denise
Thanks again!... It's that hide owner problem! I got it now... thanks...
James S
May-15-2008, 06:36 AM
I have a right click code on mine and need to find a way to link photos in the dgrin forum without deleteing that code everytime to get the location of the photo. I saw there was a mod for this but can't find it now. Anyone know where I can find that?
Andy
May-15-2008, 07:40 AM
I have a right click code on mine and need to find a way to link photos in the dgrin forum without deleteing that code everytime to get the location of the photo. I saw there was a mod for this but can't find it now. Anyone know where I can find that?
One way is to turn the easy sharing feature on, in your gallery customizing screen.
Then add this to your CSS:
.share_button {display: none;}
.loggedIn .share_button {display: block;}
James S
May-15-2008, 08:39 AM
Thanks Andy.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.