PDA

View Full Version : ZH - Right Click Disabled


Ziki
08-19-2006, 10:00 PM
This modification was brought to you by
KXDesign
http://www.kxdesign.com/


~Hack name
Disable Right Click

~Hack description
Disables right click in forums.(Works in 3.6)

~Hack options

Turn on/off
Change Alert box text
Exclude staff
Exclude certain usergroups


~Hack info
File uploads: 0
Template edits: 0
File edits: 0
Plugins: 1
SQL Queries: 0
Phrases: 7
Settings: 3

Install time: 3 sec
Install level: Easy

~Hack installation
Step 1: Import product



~Hack screenshots
None


~Hack copyright
This may not be distributed,released or claimed as your work without author's permission.

Ziki
08-20-2006, 01:55 PM
~1.0.0
-Initial Release

~1.0.1
-Thanx to Ntfu2 for expanding code!

~1.0.2
-Abilty to edit alert text!

~1.0.3
-Ability to exclude staff members from nrc!

~1.0.4
-Removed unneeded query

~1.0.5
-Removed exclude staff option and replaced by exclude certain usergroups option

~1.0.6
-Right click now doesn't work in Opera

AcidX
08-20-2006, 02:16 PM
* AcidX installs.

Edit:
There is a bug though. I'm using Firefox and although a "stop" window pops up, after clicking "OK" I can still see the "right click" options.
My vB Version is. 3.5.0, and my Firefox version 1.5.0.6.

Keep that in mind ;)

Ziki
08-20-2006, 02:17 PM
So please click install :)

EDIT: AcidX check the second post :)

AcidX
08-20-2006, 02:29 PM
Ah, you wrote it doesn't work in Mozilla. :)

Ziki
08-20-2006, 02:31 PM
7 mins b4 you did :D

Ntfu2
08-20-2006, 02:36 PM
You should take this a few steps further, and try to destroy all functionaltiy

Disable the microsoft image toolbar, anywhere in your head include template.

<meta http-equiv="imagetoolbar" content="no">


Disable the right click in Mozilla as well, in your head include (this also works for IE)

<body oncontextmenu="return false">


Disable copy and pasting in your headinclude put:

<body ondragstart="return false" onselectstart="return false">

Ziki
08-20-2006, 02:37 PM
Will put in right now.Thanx :)

Ziki
08-20-2006, 02:43 PM
1.0.1 released

Snake
08-21-2006, 09:57 AM
Thanks! :)

RaceJunkie
08-21-2006, 03:45 PM
Can someone still hightlight the text and use ctl-c?

Ziki
08-21-2006, 05:49 PM
Yup that option stays but this is mostly to prevent image downloading

Breaker
08-21-2006, 09:32 PM
more of a pain than help, if you want to steal an image, you dont need to right-click. but some extensions to browsers do require a right click to work :|

Ziki
08-22-2006, 06:54 AM
Ok but you get what the point is :D

Ziki
08-22-2006, 08:18 PM
1.0.2 released.Read post 2 for more info

Ajavas
08-23-2006, 02:54 PM
Hi Ziki, thanks and installed, but would it be posible to exclude some usergroups (like moderators and administrators) from this, so they can use the rightclick option?

Ziki
08-24-2006, 08:02 AM
Nice idea.Will do on Monday cause I going away :)

Ajavas
08-24-2006, 03:43 PM
Nice idea.Will do on Monday cause I going away :)

Thanks a lot and have some nice days. :)

Watched
08-25-2006, 07:40 AM
now this would be nice.. IF it worked for mozilla.

Ziki
08-28-2006, 03:54 PM
It works for mozilla!!!!

blind-eddie
08-28-2006, 04:58 PM
Hi Ziki, thanks and installed, but would it be posible to exclude some usergroups (like moderators and administrators) from this, so they can use the rightclick option?



Any word on this request yet?

Ziki
08-29-2006, 02:59 PM
1.0.3 released

Ajavas
08-29-2006, 03:13 PM
1.0.3 released

Thanks Ziki, great job! :up:

Ziki
08-29-2006, 03:26 PM
Glad you like it :D

Peter_Rosado
08-29-2006, 09:37 PM
hmm, how about making it only for threads and posts? An option for that.

Ziki
08-29-2006, 10:49 PM
lol why only for threads and posts?

mktrilogy
08-30-2006, 01:10 AM
Does this works for 3.6 ?

Ziki
08-30-2006, 09:03 AM
I guess so.I don't know.Try

Ziki
09-02-2006, 07:41 AM
1.0.4 released

Ziki
09-04-2006, 11:28 AM
~1.0.5 released
-Removed exclude staff option and replaced by exclude certain usergroups option

Gizmo5h1t3
09-18-2006, 01:05 PM
weird this
if i add more than one usergroup in the excluded section, it doesnt work.....but if i leave the admin (6) as the only one, it works fine

i seperated the usergroup numbers with commas as stated, yet it gooses up, and stops admin from right clikcing, if more than one usergroup is put in the box.......

also, it might cause a problem if say....members are using the imagehosting hack on here, which gives the html code in a text box, for you to copy and paste into your posts, to display images......

any ideas?

im asking as ive found out a member is blatantly copying threads, to post elsewhere......

Ziki
09-22-2006, 03:59 PM
Will test out.Gimme time

Ziki
09-22-2006, 04:06 PM
OK tested and works fine.The usergroups are fine.No idea why yours doesn't work :S

Gizmo5h1t3
09-22-2006, 04:34 PM
nah, theres something amiss m8...

in the usergroup exclude box, if i put 6 only, admins can right click, no one else can...

if i put 2,5,6

no one can right click..admins included.

Ziki
09-22-2006, 07:42 PM
I will do more testing tommorow.But it worked fine for me though :-/

pedroenf
11-08-2006, 01:08 AM
I there. Nice hack. What about Opera browser? This hack doesn't work in Opera. Could it be fixed? Thanks.

Ziki
11-17-2006, 12:15 PM
1.0.6 Released

dano
11-17-2006, 02:40 PM
nah, theres something amiss m8...

in the usergroup exclude box, if i put 6 only, admins can right click, no one else can...

if i put 2,5,6

no one can right click..admins included.
Yep, having the same issue.

Ziki
11-25-2006, 08:59 AM
GOnna look at it right now.

Merjawy
06-19-2007, 11:41 PM
good hack thanks..

Any progress on the issue with multi groups? it stops working for everyone if you add more than one group

Ziki
06-20-2007, 08:46 AM
sorry I haven't been working on it yet.

cmb7684
09-10-2007, 03:09 AM
guys will this work on Vbulletin 3.0.6?

When Iattempted to upload it in the Admin cp it tells me that it wasnt designed for this version of bulletin and doesnt allow me to go any further. Can anyone tell me if there is anyway around this as i really need this add on

Ziki
09-10-2007, 04:02 AM
I don't code for 3.0 series.

cmb7684
09-10-2007, 04:32 AM
ahhh ok ...was just hoping that there was a way to insert the code to make it happen. Nice work though....maybe someone else may come along that can tell me how to do this.

Thanks

cmb7684
09-11-2007, 10:07 AM
Ok i upgraded to 3.6.8 just to use this proggie ...thanks for the work.

One question though..is it possible to make it to where no one can click the file and edit options at the top of the page and also disable the print page option?

I know its impossible to stop them from copying totally but trying to make it where the known methods are disabled

Ziki
09-11-2007, 07:26 PM
Ok i upgraded to 3.6.8 just to use this proggie ...thanks for the work.

One question though..is it possible to make it to where no one can click the file and edit options at the top of the page and also disable the print page option?

I know its impossible to stop them from copying totally but trying to make it where the known methods are disabled

Well if I understood correctly, this product won't do that.This is a pretty simple code.I'm really sorry that I'm giving such short answers with no support really but I didn't code for 7 months :-/.

cmb7684
09-11-2007, 08:16 PM
No your effort is appreciated tremendously. Maybe someone who may know a little more on the topic can give a few pointers to see if its possible if that is ok with you?

Ziki
09-12-2007, 01:18 PM
Sure

SBlueman
10-05-2007, 07:37 PM
weird this
if i add more than one usergroup in the excluded section, it doesnt work.....but if i leave the admin (6) as the only one, it works fine

i seperated the usergroup numbers with commas as stated, yet it gooses up, and stops admin from right clikcing, if more than one usergroup is put in the box.......

in the usergroup exclude box, if i put 6 only, admins can right click, no one else can...

if i put 2,5,6

no one can right click..admins included.

Yep, having the same issue.

Any progress on the issue with multi groups? it stops working for everyone if you add more than one group



I seem to be having the same problem too. Anyone know of how this can be fixed?

Lombardo
02-24-2008, 05:11 PM
same problem for me :S

d0zer
04-21-2010, 07:05 AM
ctrl+c Copy,banned ctrl+c ?