Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 17 Apr 2015, 00:54
MacroPhotoPro MacroPhotoPro is offline
 
Join Date: Feb 2012
Code for "No Right Click" on Forums

Hi;

I am running an image-hosting forum and would be interested in a hack that I could protect images displayed on showthread.php (forum display thread default) from a right-click save. The following javascripting isn't working:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

What code would you recommend to disable right-clicking and display the message: This image is protected by legal copyright and is the property of its owner ?

Would be grateful for any input,

Jack
Reply With Quote
  #2  
Old 17 Apr 2015, 01:22
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
http://ozzmodz.com/showthread.php/70...B3-8%29-v1-0-1
Reply With Quote
  #3  
Old 17 Apr 2015, 02:14
MacroPhotoPro MacroPhotoPro is offline
 
Join Date: Feb 2012
Thank you. It works perfectly for the photos ... unfortunately, it also disables right-clicking on TEXT too in the Edt text section

--------------- Added 17 Apr 2015 at 02:14 ---------------

Any other ideas?
Reply With Quote
  #4  
Old 17 Apr 2015, 02:59
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
talk to ozzy on his site see if he will add in what option you need
Reply With Quote
  #5  
Old 17 Apr 2015, 04:00
Elite_360_'s Avatar
Elite_360_ Elite_360_ is offline
 
Join Date: Nov 2012
Add this at the end of your footer Template.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Found it at DynamicDrive.com
Reply With Quote
  #6  
Old 17 Apr 2015, 05:15
MacroPhotoPro MacroPhotoPro is offline
 
Join Date: Feb 2012
I appreciate this, thank you ... where can I place the following verbiage:

"This image is protected by legal copyright and is the property of its owner." ?
Reply With Quote
  #7  
Old 17 Apr 2015, 14:47
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
You can't in the above it you need to be rewritten
Reply With Quote
  #8  
Old 17 Apr 2015, 17:53
Elite_360_'s Avatar
Elite_360_ Elite_360_ is offline
 
Join Date: Nov 2012
Originally Posted by MacroPhotoPro View Post
I appreciate this, thank you ... where can I place the following verbiage:

"This image is protected by legal copyright and is the property of its owner." ?
Try this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The code above might stop a normal user from stealing your images but you can always steal an image by inspect element in your browsers.
Reply With Quote
  #9  
Old 17 Apr 2015, 18:25
MacroPhotoPro MacroPhotoPro is offline
 
Join Date: Feb 2012
Thank you very much!

If you can't right-click, how do you employ inspect element?

--------------- Added 17 Apr 2015 at 18:28 ---------------

This works perfectly, thank you.

--------------- Added 17 Apr 2015 at 18:30 ---------------

BTW, I see what you're saying on the inspect element. But at least it's a cursory deterrent. Thanks again.

--------------- Added 17 Apr 2015 at 21:04 ---------------

Actually, there is a problem.

I get the "No right click" message ... however, when I click-away the error message, then my right-click menu pops up, so I can do the same thing anyway

How do I get rid of that second-appearance of my full right-click menu?

Thanks again,

Jack
Reply With Quote
  #10  
Old 18 Apr 2015, 23:40
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
You realize that if the user is viewing the image using a browser, the image is already downloaded to their computer, right?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #11  
Old 19 Apr 2015, 00:17
MacroPhotoPro MacroPhotoPro is offline
 
Join Date: Feb 2012
Yes, I realize that (ultimately) no deterrent can stop someone who really knows what they're doing.

However, no-right-click does deter the lion's share of people trying for free downloads.

It's kind of like locking your home/car. Do you realize that, if someone is hell-bound intent on getting into your car, or home, they can?

But you still lock your car and your home, right?

In the same way, employing a no-right-click is still a good idea for an image-hosing forum, as it prevents most people from trying.

Thanks and, btw, do you have a solution?

Jack
Reply With Quote
  #12  
Old 19 Apr 2015, 13:14
alcazarx's Avatar
alcazarx alcazarx is offline
 
Join Date: Jul 2014
Do you realize that you should use a better tone against an administrative member?

Also, if you deactivate JS in your Browser, many of these "scripts" wont work.
Besides, you can also use screenshots/snapshots to get images.

Solution? If you dont want them to be seen on other pages you can using .htaccess to prevent hot linking or watermark them.
Best solution is, if you dont want images to be shared or loaded, dont post them on internet (but this you probably dont want to hear )
Reply With Quote
  #13  
Old 19 Apr 2015, 14:49
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Real name: Zachery Woods
I stop using websites that prevent me from right clicking.
__________________
Looking for ImpEx?
Reply With Quote
  #14  
Old 19 Apr 2015, 16:23
Elite_360_'s Avatar
Elite_360_ Elite_360_ is offline
 
Join Date: Nov 2012

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by Elite_360_; 19 Apr 2015 at 16:52. Reason: Previous code did not work
Reply With Quote
  #15  
Old 19 Apr 2015, 17:21
MacroPhotoPro MacroPhotoPro is offline
 
Join Date: Feb 2012
Originally Posted by Elite_360_ View Post
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Thank you very much for your time. Sincerely appreciated.

Jack
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:25.

Layout Options | Width: Wide Color: