Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Disable Right Click For User Groups Details »
Disable Right Click For User Groups
Mod Version: 1.00, by da_judge (Coder/Designer) da_judge is offline
Developer Last Online: Oct 2017 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (5 votes - 4.00 average) Installs: 19
Released: 23 Feb 2014 Last Update: Never Downloads: 0
Supported Template Edits Re-usable Code  

This is a simple modification for your header template.

Not sure if this been posted before but though i would share it.

You can prevent chosen usergroups from using right click or ctrl+c etc

To Install is very simple, open your header template and paste code below at the top.

You must add the usergroups you want to stop using right click, separated by a comer


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


Tested in Internet Explorer, Firefox and Chrome

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 23 Feb 2014, 21:08
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Works well, installed
Reply With Quote
  #3  
Old 24 Feb 2014, 11:42
Krusty1231's Avatar
Krusty1231 Krusty1231 is offline
 
Join Date: Aug 2010
Real name: Jerry
Agreed, even better than the one I had. Installed/Rated.
Reply With Quote
  #4  
Old 24 Feb 2014, 16:18
Seven Skins's Avatar
Seven Skins Seven Skins is online now
 
Join Date: Sep 2008
If we do this, won't we get two body tags?
Reply With Quote
  #5  
Old 24 Feb 2014, 19:44
da_judge's Avatar
da_judge da_judge is offline
 
Join Date: Jan 2006
Not on mine mate ? only one body in my header
Reply With Quote
  #6  
Old 25 Feb 2014, 00:06
Seven Skins's Avatar
Seven Skins Seven Skins is online now
 
Join Date: Sep 2008
This is what I am saying .. this screen shot is from your own site.
Find a way to append css to body tag.




Attached Images
File Type: png 000656.png (19.3 KB, 20 views)
Reply With Quote
  #7  
Old 25 Feb 2014, 22:35
da_judge's Avatar
da_judge da_judge is offline
 
Join Date: Jan 2006
My point is.. it works with 0 issues

It cause no problems that i see.. i been using for over a year.. just thought id share..
Reply With Quote
  #8  
Old 12 Jul 2014, 21:23
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
I like this!

I just changed around some code, and added a bit of code for my needs.
My code gives the Usergroup a small message when they right click. I have Right-Click disabled for Guests, so when a guest tries to right click, the message they get is: "Right Click is Disabled for Guests!"

Here is my code, if anyone would like to use it:




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

Change the code in RED to your liking. That's the message the Usergroups get when they Right Click, and the Usergroups that cannot right click.

All credit goes to the OP da_judge, I just changed the code a bit. Thank You!!

If anyone wants to see the popup message before adding this code, go to my site and try it yourself. You dont need to login or anything, I have Disabled Right Click for Guests.
Demo: https://thetechgenius.net

Last edited by thetechgenius; 12 Jul 2014 at 21:29.
Reply With Quote
  #9  
Old 25 Mar 2015, 01:53
keyla31 keyla31 is offline
 
Join Date: Feb 2009
beautiful, I love this
Reply With Quote
  #10  
Old 10 Apr 2015, 17:01
concepts's Avatar
concepts concepts is offline
 
Join Date: May 2005
Real name: Jamale
Thanks!
__________________

Achieving Superior Aesthetic Conditioning
Reply With Quote
  #11  
Old 10 Apr 2015, 21:50
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Real name: Mel
Originally Posted by thetechgenius View Post
If anyone wants to see the popup message before adding this code, go to my site and try it yourself. You dont need to login or anything, I have Disabled Right Click for Guests.
Demo: https://thetechgenius.net
FYI,

I was able to right-click and get the right-click context menu on any page on the Demo site.

Using Chrome on LinuxMint.
__________________
VB5 mods - RepliClock VB4 mods - Member Online Status
Reply With Quote
  #12  
Old 17 Apr 2015, 02:29
MacroPhotoPro MacroPhotoPro is offline
 
Join Date: Feb 2012
What if I don't want to disable right-click altogether (i.e., I want it left on for text) but I just want to disable right-clicking on an image?

How would I tweak this?

Thanks,
Reply With Quote
  #13  
Old 23 Jun 2015, 21:02
Macgiber's Avatar
Macgiber Macgiber is offline
 
Join Date: Apr 2009
Real name: Omar
Thanks!
__________________
vb4
vb5

I invite you want to know.
Reply With Quote
  #14  
Old 03 Dec 2017, 05:05
risecompany risecompany is offline
 
Join Date: Nov 2014
Real name: rise company
Not Working with chrome! It will be great if you fixed the code, Thanks in advance.

Last edited by risecompany; 03 Dec 2017 at 05:10.
Reply With Quote
  #15  
Old 03 Dec 2017, 06:08
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by risecompany View Post
Not Working with chrome! It will be great if you fixed the code, Thanks in advance.
Try this product:

Disable Right Click

It requires no template hacking, and it works with Chrome.
__________________


Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
Reply


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

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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 18:58.

Layout Options | Width: Wide Color: