The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Protecting photos

5 posters

Go down

Solved Protecting photos

Post by itoh March 1st 2013, 11:54 pm

Is there any way to protect photos on threads in a forum? I tried including a protect script (no right click), but it does not work.
Any other way to protect photos on the forum from people copying them?
itoh
itoh
Forumember

Posts : 203
Reputation : 0
Language : english
Location : Japan

Back to top Go down

Solved Re: Protecting photos

Post by Derri March 2nd 2013, 3:21 am

Other than a disable right click script then I don't know what to suggest. If someone wants to take a photo then they'll find a way.

This will more annoy your members as well as many people will use a right click to copy/paste text etc.

Derri
Derri
Helper
Helper

Male Posts : 8711
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

Solved Re: Protecting photos

Post by itoh March 2nd 2013, 8:47 pm

I just wanted to "protect" the photos on one thread, not on the entire forum. As I mentioned, I tried using a "no right click" script, but it does not work for some reason. And that is why I asked if there is another "script" that might work on my Forumotion forum.
It appears that Forumotion does not recognize the "no right click" script.
itoh
itoh
Forumember

Posts : 203
Reputation : 0
Language : english
Location : Japan

Back to top Go down

Solved Re: Protecting photos

Post by Sir Chivas™ March 2nd 2013, 9:21 pm

Try this one,
Code:
<SCRIPT TYPE="text/javascript">
<!--
//Disable right click script
//visit http://www.rainbow.arch.scriptmania.com/scripts/
var message="Sorry, right-click has been disabled";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</SCRIPT>

ACP >> Modules >> JS management.
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6980
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

https://aforums.org

Back to top Go down

Solved Re: Protecting photos

Post by itoh March 3rd 2013, 1:58 am

CJ11™ wrote:Try this one,
Code:
<SCRIPT TYPE="text/javascript">
<!--
//Disable right click script
//visit http://www.rainbow.arch.scriptmania.com/scripts/
var message="Sorry, right-click has been disabled";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</SCRIPT>

ACP >> Modules >> JS management.

========
Thank you. But I already used that script, and Forumotion did not accept it.
itoh
itoh
Forumember

Posts : 203
Reputation : 0
Language : english
Location : Japan

Back to top Go down

Solved Re: Protecting photos

Post by Sanket March 3rd 2013, 4:55 am

Just add this much code in the JS Management.
Code:
var message="Sorry, right-click has been disabled";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Protecting photos

Post by itoh March 4th 2013, 3:58 am

Sanket wrote:Just add this much code in the JS Management.
Code:
var message="Sorry, right-click has been disabled";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")

Thank you kindly, but how do I add that "Just add this much code in the JS Management."

Where do I add that code in the one thread whee I want to protect the photos? I looked in Edit for that thread but do not see anything mentioned for 'JS Management.'
As I mentioned, I only want to protect the photos in only one thread (where the photos are posted).
Or is there one place where I can enter that code that would "protect" everything on my forum?
(I m fairly new at this and that is why so many questions.)
itoh
itoh
Forumember

Posts : 203
Reputation : 0
Language : english
Location : Japan

Back to top Go down

Solved Re: Protecting photos

Post by Sir Chivas™ March 4th 2013, 4:00 am

ACP >> Modules >> JS Management >> Create a new one >> Placement : In all pages


Will refrain from right clicking inside the whole forum.
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6980
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

https://aforums.org

Back to top Go down

Solved Re: Protecting photos

Post by itoh March 5th 2013, 1:20 am

CJ11™ wrote:ACP >> Modules >> JS Management >> Create a new one >> Placement : In all pages
Will refrain from right clicking inside the whole forum.

Thank you. Would this be the correct page?

HTML & JAVASCRIPT Javascript codes management Add a Javascript Code


Title: (Would I type "Right Click Disabled" in this box?)
Placement: (Check) "In all the pages"

And then add the following into the "Javascript code" box?

var message="Sorry, right-click has been disabled";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")


If for some reason it did not work, I could also delete all that info - correct?
itoh
itoh
Forumember

Posts : 203
Reputation : 0
Language : english
Location : Japan

Back to top Go down

Solved Re: Protecting photos

Post by Sir Chivas™ March 5th 2013, 1:33 am

Yes,

Exactly like that. Yes, if it doesn't work, you can delete the JavaScript.
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6980
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

https://aforums.org

Back to top Go down

Solved Re: Protecting photos

Post by Sir Chivas™ March 5th 2013, 2:28 am

Ah, there is one way to stop it from happen with guests.

ACP >> General >> Categories & Forums >> Edit >> Permission [Tab] >> See images in the messages : Members.
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6980
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

https://aforums.org

Back to top Go down

Solved Re: Protecting photos

Post by itoh March 5th 2013, 5:10 am

CJ11™ wrote:Yes,

Exactly like that. Yes, if it doesn't work, you can delete the JavaScript.

Thank you. Did that and now when right click is done, nothing pops-up (like the properities box, etc) as happened before. I thought a message might pop-up stating "right click disabled." But that is okay.

It didn't work until I clicked on the "Enable Javascript code management." I clicked "YES" and then it worked.
itoh
itoh
Forumember

Posts : 203
Reputation : 0
Language : english
Location : Japan

Back to top Go down

Solved Re: Protecting photos

Post by Sanket March 5th 2013, 5:11 am

Is this solved then?
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Protecting photos

Post by ishankap March 5th 2013, 1:52 pm

yes bro thanxxxxxxxxxxxxxxxxx nice keep it up :wouhou:
avatar
ishankap
New Member

Posts : 2
Reputation : 1
Language : php

http://wwww.techpech.com

Back to top Go down

Solved Re: Protecting photos

Post by Sir Chivas™ March 5th 2013, 1:55 pm

Topic Solved & Locked
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6980
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

https://aforums.org

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum