PDA

View Full Version : Mini Mods - Disable Right Click


seb5594
04-02-2017, 09:00 PM
Introduction
This product allows you to prevent the usage of the contextmenu by configuring affected usergroups in the settings.


Compatibility
Developed and tested on vB 4.2.4, but it should also works fine on any other vB 4.XX.

Backup / Warning
This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

Installation
1. Download the attached .xml file.
2. Goto AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
3. Click on "Choose File" and browse to the product .xml file.
4. Click "Import."
5. You MUST enable the product in the settings before it will function.
6. Configure the remaining settings to your liking.

Changelog

1.0.1
- plugin doesn't rely on jquery anymore, thanks to MarkFL
1.0.0
- initial release

steviewonder44
04-03-2017, 08:24 PM
cool will give it a try and see
EDIT tried it but not working full context still shows

MarkFL
04-03-2017, 09:36 PM
cool will give it a try and see
EDIT tried it but not working full context still shows

I just downloaded it and installed on my local dev site...and it works exactly as advertised for me. :up:

Did you enable the product and include one of your usergroups (primary and/or secondary) as those being affected?

Looking at the code, it appears you may need to load the jQuery library first if you don't already have it loaded before the script will function.

blind-eddie
04-03-2017, 09:52 PM
You do realize you can still get any info from any site even with your addon right?

seb5594
04-03-2017, 09:59 PM
You do realize you can still get any info from any site even with your addon right?

Yes i know that. Shortcuts are still working fine.

steviewonder44
04-03-2017, 11:22 PM
jQuery library must be the reason as I have it enabled for all user groups

MarkFL
04-03-2017, 11:25 PM
jQuery library must be the reason as I have it enabled for all user groups

The developer is working on adding code to load the library if it's not already loaded. :)

seb5594
04-04-2017, 04:45 PM
jQuery library must be the reason as I have it enabled for all user groups

Just fixed the mod, retry it now :)

steviewonder44
04-04-2017, 09:50 PM
will do right now thanks

Edit: Works great now thanks and no template edits to do yaa

scottkoz20
12-16-2017, 02:52 AM
slick mod

this is something that I can use to help prevent someone taking images of someone elses property and claiming this as their own. Of course, this does not stop someone from using Print Screen or using a snipping tool, but there will always be a way to capture this information