![]() |
Disable right click on your forum.
1 Attachment(s)
This script taken from dynamic drive will disable the right click on your forum for guests. As to offer some protection to your materials being stolen from your forum.
Note: This will prevent them only for the right click and copy/paste directly. Anyway, add the following code to the very begin of the headinclude template. Code:
<vb:if condition="$show['guest']"> Code:
var message="Right click is disabled for guests!"; Code:
Right click is disabled for guests! |
This disable and the "CODE" "/CODE" .....?
|
Quote:
|
...what about ctrl+c???...
|
Quote:
Quote:
|
Why bother ?
When the context menu has been disabled like this it can be easily re-enabled by typing javascript:void oncontextmenu(null) into the address bar of the browser. View source code in nearly every browser. Opera ignores no right clicks anyhoo. All you will do is piss people off |
You got a point TimberFloorAu. There is no 100% of preventing that but we might as well try to make them work harder :D
|
LOL
You should do the javascript version. When they right click they get a warning, if they do it again : it will redirect them to a porn site ! |
how do i set it so no one can do it ?? for certain user groups
|
Quote:
Code:
<vb:if condition="is_member_of($bbuserinfo, 1,2,3)"> And change the gids 1,2,3 with your own usergroups ids that you don''t want to use the right click function at your forum. |
Can this work if I want to allow right click in one section only? I want to allow it there, but no where else on the site.
|
Quote:
|
I use TYNT. If someone copies and pastes it will leave a link back (unless they remove it). You can also monitor how much and what is being copied.
|
Working fine.
Thanks! |
You are welcome.
|
How can I select wich groups additional to the guests, can not use right click?
|
Not work (in vb4.0.3) :erm:
Should work in all browsers?. It may be configured to apply to certain groups of users?. Greetings!. |
It works fine on a vb 4.0.3. as well. Did you add it according to the instructions?
Whereas to make it so it will apply to other usergroups as well, have a look at the template conditionals at the Article Sections. |
Quote:
https://vborg.vbsupport.ru/showthread.php?t=231525 |
can we have this for particular forum?
|
Quote:
|
This is great but I am using the light box image viewer
when people click the thumbnail twice to maximize the image size the 'disable right click' function does not work. Can you help me with this please? How can I disable the function that allows guests to click on thumbnails two times? Thanks! |
Only for copy/paste :(
Is there something for look the site info cq source ? |
Installed cheers! I have a graphics site so this is perfect!!!
|
I just copied this and pasted it into my header include twice, one for guests and one for members, so nobody can right click. Thanks for the mod...this was a piece of cake.
Chris |
Where exactly where do you add the code?
|
umm you do know that even if you disable right click all they have to do is disable javascript. or better yet all they have to do is click view > Page Source.. so this really wouldnt matter
|
I been looking for this for months,
Thank You.. |
as I do to put a given message when I right click disable all forum content serves these codes.
|
IS there a way that we can make this mod work in a way that no one can even highlight the thread or post ? If we can do that no one will be able to even copy it via keyboard by pressin ctrl c i have seen couple of sties they have done that ? is there any other mod for that ?? Thanks
|
1 Attachment(s)
Interesting idea, but doesn't work well in newer browser version ... ;)
For example, FireFox 4.01 shows the "block" as in the pic attached, but if the user clicks the checkbox shown, the block doesn't work from then onwards. :D Anyway, would be great to have mod like this that would be more effective in blocking guests from capturing copyrighted pics. Regardless, thanks to the developer here for his efforts in posting this one .. :up: Regards, Doug |
with this script you can disable text selection. like in the first post you must copy into top of headinclude template. enjoy. :)
Code:
<vb:if condition="is_member_of($bbuserinfo, 1,2,3)"> |
Can it disable right click for the members also?
|
Quote:
This script can also be used for other user groups? Please Help |
Works but in Chrome the scrollbars dont work, so if you dont have a mouse wheel you can't scroll down to read the full content.
I'm using both the right click disable & the disable copy text, not sure which one or both causes this to happen. |
Quote:
if u can make it please share it with us |
Quote:
|
Thank you so much for this. I have included all 3 although only the 'prevent highlight' should do the job alone.
|
Quote:
|
How do you make it so no one can right click even if there signed in?
|
All times are GMT. The time now is 05:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|