PDA

View Full Version : Help me too


Lynda
Jul-27-2006, 07:29 PM
No problem, happy to help!

I'm sorry, but I couldn't figure out how to start a HELP request of my own. I was trying to put the right click warning on my website and now I can't see any of the galleries. What to do, what to do????:dunno:dunno:dunno:dunno

memoriescaptured.smugmug.com

Thanks,
Lynda

Andy
Jul-27-2006, 07:35 PM
I'm sorry, but I couldn't figure out how to start a HELP request of my own. I was trying to put the right click warning on my website and now I can't see any of the galleries. What to do, what to do????:dunno:dunno:dunno:dunno

memoriescaptured.smugmug.com

Thanks,
Lynda
Lynda, you just click "new thread." I moved your post.

Andy
Jul-27-2006, 07:36 PM
Ok you are using an unsupported (by me at least) javascript hack to do right click protection. I'm not sure where you got the code, but the person that wrote it is best to help :D

I did remove the extra rightclick warning message that you put in your css, it for sure doesn't belong there.

James S
Jul-27-2006, 08:08 PM
Can't you just select this in the customize gallery page?

http://jstantonjr.smugmug.com/photos/84434325-M.jpg

brandofamily
Jul-27-2006, 08:22 PM
I was given this code awhile back


<!--******** language="JavaScript">

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 on this site are the sole property of Anthony Brandolino- Brandolino Imaging and subject to protection under copyright and other intellectual proprty law. All unauthorised use is prohibited. Refer to the 'All Rights Reserved' link below.";
//-->
</********>

It can be customized to give a right click message of your choosing. Put this in your footer...

Just replace this "********" at the beginning with the word script. And put the word script in place of "********" at the end...

James S
Jul-27-2006, 08:48 PM
That is a nice touch. Must you put any code anywhere else or do you have to turn off protection in the customize gallery section?

Andy
Jul-27-2006, 09:24 PM
Can't you just select this in the customize gallery page?

http://jstantonjr.smugmug.com/photos/84434325-M.jpg
She is a power user not a pro user. So, she doesnt have that choice.

James S
Jul-27-2006, 09:27 PM
Figured that was the only reason she had a hack. But having a personal one sounds kinda nice.

brandofamily
Jul-28-2006, 02:44 AM
That is a nice touch. Must you put any code anywhere else or do you have to turn off protection in the customize gallery section?
rex, even a pro user can use the code. even w/ the protection turned on. No worries. The code will make it so every image (even your slide show) will render a protection message when right clicked..

Lynda
Jul-28-2006, 03:39 AM
Ok you are using an unsupported (by me at least) javascript hack to do right click protection. I'm not sure where you got the code, but the person that wrote it is best to help :D

I did remove the extra rightclick warning message that you put in your css, it for sure doesn't belong there.

My main problem right now is that I can't get to my control panel. It doesn't even give me the option when I sign in. Can you remove the right click warning so I can get to the control page? (i put it in the footer, header, and java script..kept adding until I screwed up) I'll be out of pocket until 4:00 but will check back.

memoriescaptured.smugmug.com

Thanks,
Lynda

Andy
Jul-28-2006, 05:58 AM
My main problem right now is that I can't get to my control panel. It doesn't even give me the option when I sign in. Can you remove the right click warning so I can get to the control page? (i put it in the footer, header, and java script..kept adding until I screwed up) I'll be out of pocket until 4:00 but will check back.

memoriescaptured.smugmug.com

Thanks,
Lynda

Fixed. Back to normal...

BTW, you can always get to control panel if you do this:
http://nickname.smugmug.com/homepage/controlpanel.mg

Lynda
Jul-28-2006, 02:47 PM
Fixed. Back to normal...

BTW, you can always get to control panel if you do this:
http://nickname.smugmug.com/homepage/controlpanel.mg

Okay, I've put the following in the footer and it's not giving me the right click warning....WHAT am I doing wrong??????

var rightClickWarning = "All photos are © Lynda Carnley and Memories Captured, LLC. All rights reserved. Unauthorized use is prohibited."
//-->

memoriescaptured.smugmug.com

HELP,
Lynda

brandofamily
Jul-28-2006, 03:06 PM
Okay, I've put the following in the footer and it's not giving me the right click warning....WHAT am I doing wrong??????

var rightClickWarning = "All photos are © Lynda Carnley and Memories Captured, LLC. All rights reserved. Unauthorized use is prohibited."
//-->

memoriescaptured.smugmug.com

HELP,
Lynda
Is there a reason you did not add ALL the code I posted?

Lynda
Jul-28-2006, 08:20 PM
Is there a reason you did not add ALL the code I posted?

Okay, I've posted the code you gave me but I can still right click on the pictures. I didn't really understand what you meant by word script so I could have screwed that up. Anyway, it still isn't working.

memoriescaptured.smugmug.com

Lynda

brandofamily
Jul-28-2006, 08:57 PM
I see the problem... in the 1st line remove !--******* and replacew/ the word "script"
and at the end of the code there is a string of ******'s
Remove them and in their place type the word "script"

brandofamily
Jul-28-2006, 09:02 PM
in this line that you have

<!--Memories Captured, LLC and Lynda Carnley language="JavaScript">

remove the red and replace w/ the word script

brandofamily
Jul-28-2006, 09:05 PM
in this line

</Memories Captured, LLC and Lynda Carnley>

remove all the text, except the "/" and replace w/ the word script

Lynda
Jul-29-2006, 07:52 AM
in this line

</Memories Captured, LLC and Lynda Carnley>

remove all the text, except the "/" and replace w/ the word script

Okay, I hate to tell you this but I've done what you told me to do and I can still right click on the pictures......

memoriescaptured.smugmug.com

Lynda

brandofamily
Jul-29-2006, 08:54 AM
You did almost everything I told you....

this line
<!--script language="JavaScript">

remove the red pieces.....

Lynda
Jul-29-2006, 07:10 PM
You did almost everything I told you....

this line
<!--script language="JavaScript">

remove the red pieces.....

Great! It works! Thank you sooooo much!

brandofamily
Jul-29-2006, 07:15 PM
Great! It works! Thank you sooooo much!
It's those tiny details that always get ya.... Glad you got it to work....