We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Clients not to steal each other's photos | Forum

Gjovani
Gjovani Feb 17 '16
"The third one is how can I deactivate the "right-click" or the drag with the "left-click" on my site.Clients not to steal each other's photos..Who does this and makes if does,as it cost me..thanks...
ross Team
ross Feb 17 '16
Hello Gjovani, 


please do the search on google how to disable right click of the mouse with javascript, but keep in mind that this may affect the functionality of the plugins. 


The Forum post is edited by ross Feb 17 '16
Gjovani
Gjovani Feb 17 '16
Thanks I'll try it,, I wish you nice day

Gjovani
Gjovani Feb 19 '16

I've tried want you said to me, but I didn't figured it out. I've tried to add it at "appearance"-> "customize" at "CSS" and put it in there. In the website (not in the server).
Could you please take a look at the code ? Also could you please tell me where have I to put the code and how ? My domain is: albaniaescort.com 

Kind Regards,

Gjoni


function clickIE4(){

if (event.button==2){

alert(message);

return false;

}

}


function clickNS4(e){

if (document.layers||document.getElementById&&!document.all){

if (e.which==2||e.which==3){

alert(message);

return false;

}

}

}


if (document.layers){

document.captureEvents(Event.MOUSEDOWN);

document.onmousedown=clickNS4;

}

else if (document.all&&!document.getElementById){

document.onmousedown=clickIE4;

}


document.oncontextmenu=new Function("alert(message);return false")


// --> 

</script>

Kяuncн Leader
Kяuncн Feb 19 '16
You can disable right-click all day long, there are way too many other methods for harvesting images, this would prove a constant battle.

/admin/settings/page at: Custom head code input

<script language=JavaScript>
    var message = "Function Disabled!";

    function clickIE4() {
        if (event.button == 2) {
            alert(message);
            return false;
        }
    }

    function clickNS4(e) {
        if (document.layers || document.getElementById && !document.all) {
            if (e.which == 2 || e.which == 3) {
                alert(message);
                return false;
            }
        }
    }
    if (document.layers) {
        document.captureEvents(Event.MOUSEDOWN);
        document.onmousedown = clickNS4;
    } else if (document.all && !document.getElementById) {
        document.onmousedown = clickIE4;
    }
    document.oncontextmenu = new Function("alert(message);return false")
</script>

Can change the var message to whatever you wish/Need it to say..
The Forum post is edited by Kяuncн Feb 19 '16
Gjovani
Gjovani Feb 19 '16
Yes, I know. 
But could you please just tell where do I enter the code. I know it is in the body section of the javascript but how do I enter the javascript and change that code ? 
Kяuncн Leader
Kяuncн Feb 19 '16
I did,, *points up*

The Forum post is edited by Kяuncн Feb 19 '16
Gjovani
Gjovani Feb 19 '16
Thanks...
Kяuncн Leader
Kяuncн Feb 20 '16
Wow, I have no idea,, did you add a bad code to one of the widgets?
Gjovani
Gjovani Feb 21 '16
every day once every 24 hours automatically replaced theme I wish to say let's  theme facebook, is replaced with other self on this theme (see foto1)
Attachments:
  1.JPG (123Kb)
Kяuncн Leader
Kяuncн Feb 21 '16
You have pointed to the (Admin theme)
Nothing to do with the (Available Themes) section..

Refer to --->
The Forum post is edited by Kяuncн Feb 21 '16
Patricia Zorrilla Leader
Patricia Zorrilla Feb 21 '16
More simple:

in http://yoursite.com/admin/settings/page, ;Custom head code, simple add the following lines:

<script language="Javascript" type="text/javascript">

document.oncontextmenu = function(){return false}

</script>

ross Team
ross Feb 21 '16
Gjovani, you have Skadate software and this is Oxwall Support forum, we do not provide assistance to Skadate clients, please contact Skadate support team to assist you with your issues and requests. 
Gjovani
Gjovani Feb 22 '16
No that's not see correctly, my domain is albaniaescort.com of you. I have this trouble when I user and password give always comes this see image-1
Attachments:
  1.JPG (51Kb)
Gjovani
Gjovani Feb 22 '16
Hello,Ross,

My hosting is FastComet.com if you want to help me please help me,

I have nothing to do with SkaDate

Gjovani
Gjovani Feb 22 '16
....that is script from oxwall.
ross Team
ross Feb 22 '16
You have another screenshot in this post. 


Please do not duplicate your posts: http://www.oxwall.org/forum/topic/45526

Gjovani
Gjovani Feb 22 '16
...
Gjovani
Gjovani Feb 22 '16

Quote from ross You have another screenshot in this post. 


Please do not duplicate your posts: http://www.oxwall.org/forum/topic/45526

but that is the same, domain albainiaescort.com
Attachments:
  3.JPG (142Kb)
ross Team
ross Feb 22 '16
please do not duplicate your posts, I replied to you in this post: http://www.oxwall.org/forum/topic/45526
Pages: 1 2 »