The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

No Right Click on Images or Content

View previous topic View next topic Go down

Solved No Right Click on Images or Content

Post by JH37 on July 15th 2015, 1:57 am

Hello there,

Is there any way that I can have a code or something when you try to right click your mouse to save as a image, that it comes up No right clicking? I only want to have this option to be used on the Portal page?

I know when you make a webpage that you can put a code in there to come up no right click allowed or Copyrighted... and so on...

Can we have an option for forums to do this too? Like I said I only want it to be on the Portal page, since everyone see that page.


Thank you,
Jen


Last edited by JH37 on July 15th 2015, 2:14 am; edited 1 time in total

JH37
Forumember

Posts : 63
Reputation : 1
Language : Eglish

Back to top Go down

Solved Re: No Right Click on Images or Content

Post by SLGray on July 15th 2015, 2:10 am



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35661
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: No Right Click on Images or Content

Post by JH37 on July 15th 2015, 2:14 am

Complete

JH37
Forumember

Posts : 63
Reputation : 1
Language : Eglish

Back to top Go down

Solved Re: No Right Click on Images or Content

Post by Van-Helsing on July 15th 2015, 2:20 am

Hello @JH37,
To disable right click on images go to your ACP->Modules->Javascript Management

Create a new Javascript
Title: What you wish
Placement: In all the pages
Javascript Code:
Code:

        $(document).ready(function(){
        $('img').on('contextmenu', function(e) {
        alert('Forum Name: Copy Content is prohibited on this forum.');
        return false;
        });
        $('img').on('dragstart', function(e) {
        alert('Forum Name: Copy Content is prohibited on this forum.');
        return false;
        });
        });

and press submit.

You can replace the value "Forum Name:" with your forum name. This code is disable right click on images and drag n' drop functions.

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: No Right Click on Images or Content

Post by SLGray on July 15th 2015, 2:32 am

Topic solved and archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35661
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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