![]() |
Disable Right Click For User Groups
1 Attachment(s)
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 :) Code:
<vb:if condition="is_member_of($bbuserinfo, 1,2,3)"> Tested in Internet Explorer, Firefox and Chrome |
Works well, installed
|
Agreed, even better than the one I had. Installed/Rated.
|
If we do this, won't we get two body tags?
|
Not on mine mate ? only one body in my header :)
|
1 Attachment(s)
This is what I am saying .. this screen shot is from your own site.
Find a way to append css to body tag. https://vborg.vbsupport.ru/external/2014/02/9.png |
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.. |
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: Code:
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 |
beautiful, I love this
|
Thanks!
|
All times are GMT. The time now is 09:57 PM. |
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:
|