Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Disable Right Click Details »
Disable Right Click
Mod Version: 1.00, by Shadow (Coder/Designer) Shadow is offline
Developer Last Online: Dec 2015 I like it Show Printable Version Email this Page

vB Version: 5.0.0 Beta 11 Rating: (1 vote - 5.00 average) Installs: 12
Released: 13 Oct 2012 Last Update: 16 Oct 2012 Downloads: 80
Not Supported Template Edits Re-usable Code Translations  

This script will act as a sort of barrier to prevent people from right clicking on your forum thus offering some sort of protection. There are ways to get round this but think of it as a hurdle which may put some people off.

Add the following code to the header template:

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

While this blocks the ability to Right Click, it also blocks the ability to copy and paste through the context menu that appears when Right Clicking. Copy and paste functionality is still available through the Ctrl+C and Ctrl+V shortcuts respectively.

Editing the Error Message:
Changing the message shown is a piece of cake. This can be done by finding this line near the top of the script:


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

Change the text in quotes to anything you like.

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.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Disable Right Click On Everything Stunner vBulletin 3.6 Template Modifications 20 16 May 2007 02:35

Comments
  #2  
Old 13 Oct 2012, 20:46
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Suggestion :

1) Create Template with this code
2) create a hook : in Header_head
Template Name : from template 1


then there is no need to edit the template

with VB5 alot of use will be aiming towards using template hooks to do all the tasks for use
__________________
http://www.multihunters.co.uk - all your coding needs
Reply With Quote
  #3  
Old 14 Oct 2012, 09:58
Shadow's Avatar
Shadow Shadow is offline
 
Join Date: Jan 2011
Location: Planet Earth
Good suggestion. Thanks for the tip
Reply With Quote
  #4  
Old 16 Oct 2012, 14:16
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
now you can create a mod
Reply With Quote
  #5  
Old 16 Oct 2012, 16:52
Shadow's Avatar
Shadow Shadow is offline
 
Join Date: Jan 2011
Location: Planet Earth
Added an xml file that will automatically add the template changes. You can also edit the error message from the Settings page instead of through the template when using the xml file.
Reply With Quote
  #6  
Old 16 Oct 2012, 17:48
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Real name: Md Tajirul Islam
Have an update for 4.1.10 ?
Reply With Quote
  #7  
Old 16 Oct 2012, 19:14
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Originally Posted by Nirjonadda View Post
Have an update for 4.1.10 ?
this is for VB5 only, you need to request a VB4 version

in this case you would be asking the developer to downgrade the mod

VB5 uses a completly new hook system and will not work on VB4
__________________
http://www.multihunters.co.uk - all your coding needs
Reply With Quote
  #8  
Old 05 Jan 2013, 17:35
JamalFree JamalFree is offline
 
Join Date: Dec 2012
thanks iwill applied in my forums
Reply With Quote
  #9  
Old 31 Mar 2013, 00:38
Dorgham's Avatar
Dorgham Dorgham is offline
 
Join Date: May 2012
Lock the right button of the mouse has some advantages:
Such as lack of access to the source of the page
And do not copy the content of Thread
And do not copy URL
Thanks
__________________
AdSense revenue sharing 100% - [ Hanan ]
News, egypt : أخبار مصر - Photo, picture : صور
Reply With Quote
  #10  
Old 31 Mar 2013, 05:24
Keythacker's Avatar
Keythacker Keythacker is offline
 
Join Date: Mar 2013
May seem like a stupid question but this "hook" your talking about how does one go about doing that? I know how to create the template but the hook is something I am not familiar with. Will be glad to read some if I need to learn.
Reply With Quote
  #11  
Old 01 Jun 2014, 06:27
MajorKokosnuss MajorKokosnuss is offline
 
Join Date: Apr 2014
how can i disable this block for admins ?
Reply With Quote
  #12  
Old 01 Jun 2014, 06:53
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Originally Posted by MajorKokosnuss View Post
how can i disable this block for admins ?
http://www.vbulletin.org/forum/showthread.php?t=310210
This plugin is better
Reply With Quote
  #13  
Old 01 Jun 2014, 07:57
MajorKokosnuss MajorKokosnuss is offline
 
Join Date: Apr 2014
i need one for v 5.1.1
Reply With Quote
  #14  
Old 01 Jun 2014, 09:20
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Did not see this was vb5 section
Reply With Quote
  #15  
Old 01 Jun 2014, 09:30
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
We are a photography forum.
We don't implement anti-right click.
Why? Its just too easy to circumvent and it only keeps honest people away.

You are better off making attachments not visible to guests/not logged in than doing this.

Just sayin, it gives people a very false sense of security
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
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 15:32.

Layout Options | Width: Wide Color: