PDA

View Full Version : Miscellaneous Hacks - Disable Right Click on your Forum


Mastar
05-24-2007, 10:00 PM
This disables right clicking on all images only or everything and text selection.
With Usergroup Permission and specified forums.

Although its not 100% proof it will discourage people from trying to steal your images and site content.
Hopefully. I know there are many ways to get around this but its a start.

You must have javascript enable!

Uninstall any other Right CLick Hacks/Mods.
Import the product via the ACP.
Go to vbulletin Options -->> BAJI26 - Disable Right Click and adjust your settings.
Setting the FORUMID to 0 will disable the entire forum.
Time: 30 secs


- Updated: Disable Right Click for images and total right click disabled.
- Update: Added options to turn the hack on/off from vb options.
- Update: Added disable per usergroup option.
- Update: Added option to custom alert messages.
- Update: Added option to disable text selection per usergroup.
- Update: Added option to apply hack to certain forums, and users.




CLICK INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=148078)

kkeezer
05-25-2007, 02:55 AM
Once it becomes support, I'll install it.

Great Idea, Thank you! :up:

Kyle

HMBeaty
05-25-2007, 02:59 AM
Once it becomes support, I'll install it.

Great Idea, Thank you! :up:

Kyle
I just looked it over and there's nothing wrong with it TO support it, so it would be pointless to have this as supported as its adding the "Disable Right Click" Javascript to your header template automatically for you.

Nice mod though OP. And GLAD you mentioned that it doesn't 100% fully prevent people from stealing images :)

Mastar
05-25-2007, 03:04 AM
Thanks! As Redline said there is really nothing to support unless you need assistance on how to import a product. All it does really is adds the code in your forum so it makes it easier for you to upgrade vbulletin without having to worry about another template edit, which I hate.

If you need assistance with anything I will try my best to help yah. Thanks!

kkeezer
05-25-2007, 03:06 AM
Thanks for pointing that out Redline...;) Thank you to Mastar!

Kyle

LisaD1
05-25-2007, 03:10 AM
I have been looking for something like this! Thanks. And preventing some will hopefully discourage them from trying again.

HMBeaty
05-25-2007, 03:11 AM
No problem everyone. :) Glad I could help

Zerovb
05-25-2007, 03:28 AM
After I Import The Product I Can Click On The Mouse Right Click Easy

Tell Me If I Can Do Anything Else After Importing The Product

HMBeaty
05-25-2007, 03:29 AM
Make sure you have Javascript enabled on your computer

Mastar
05-25-2007, 03:33 AM
Its for no right click on images... I should have make that bold. Will edit now.

FreshFroot
05-25-2007, 04:16 AM
this hack is already made... I think Ziki made one...

HMBeaty
05-25-2007, 04:22 AM
this hack is already made... I think Ziki made one...
You are right, see here (https://vborg.vbsupport.ru/showthread.php?t=124470). BUT, I think his is disabling right click everywhere. The one here disables right click on images

Mastar
05-25-2007, 04:25 AM
Oh yeah didn't even see that. Well there is two here now, one for images and one for the entire right click disable. :)

iogames
05-25-2007, 04:58 AM
You are right, see here (https://vborg.vbsupport.ru/showthread.php?t=124470). BUT, I think his is disabling right click everywhere. The one here disables right click on images

Where can I contact you Mr Red?

HMBeaty
05-25-2007, 04:59 AM
Where can I contact you Mr Red?
Contact me for what?

rjmjr69
05-25-2007, 05:09 AM
Nice idea. Does this block staff/admins as well? If so would you consider updating it so one could select users that are allowed to use right click?

-----reserved--------

Endurer
05-25-2007, 05:55 AM
Installed, I was looking for one that could disable right click on images only. Is there a way to make this work with photoplog lite as well?

Thanks.

iogames
05-25-2007, 06:54 AM
Contact me for what?

Nooo, with that attitude? for nothing ;)

6piston
05-25-2007, 09:12 AM
funny

it doesn't work on my site
http://www.zerotohundred.com/newforums

i imported the product and tried right clicking on the images and i could?
anyone experiencing this?

Thanks
Tom

Barakat
05-25-2007, 09:59 AM
i was useing like this but not as a product ,,,,,

just codes which you can put it in the headinclues template

any way thanks a lot ,,,,,

Travlur
05-25-2007, 10:24 AM
Will this work with other add-ons like photoplog anyone?

BTW iogames - freud and hmmmm

maxicep
05-25-2007, 01:23 PM
disable right click image do not work on Firefox .

projectego
05-25-2007, 01:45 PM
Nice idea. While as you say it isn't fool-proof, it should hopefully help. Thank!

Mastar
05-25-2007, 03:07 PM
Sorry for the disable right on images I messed up.... it works now and also I added a on/off option from vb options.

Download the one that's there now. Thanks!

pictureboarduk
05-25-2007, 03:52 PM
Great idea, but can it be operational on a forum by forum basis?

Don't want it for the whole site.

:)

bitdefuser
05-25-2007, 06:29 PM
Isn't this kind of a bad thing? Like if users need to copy and paste text, it'll discourage them from posting. (Unless they use CTRL + C and V but, I'm sure not many know about that method.)

Mastar
05-26-2007, 12:39 AM
Isn't this kind of a bad thing? Like if users need to copy and paste text, it'll discourage them from posting. (Unless they use CTRL + C and V but, I'm sure not many know about that method.)

Updated where you have the option to allow your members to use right click on text.

ninjamaster
05-28-2007, 08:22 AM
thanks m8

Mrdby
05-28-2007, 03:25 PM
phpbb has a mod like this..and u can use it under your ACP..and have mods and admins the onl yones that are able to right click. Maybe someone could like it the code and make one for vbull?

Mastar
05-28-2007, 04:16 PM
phpbb has a mod like this..and u can use it under your ACP..and have mods and admins the onl yones that are able to right click. Maybe someone could like it the code and make one for vbull?

Admins and mods are not affected by the right click disabled.

RENDY81
05-29-2007, 11:41 AM
install, thanks pal..

Mrdby
05-29-2007, 12:09 PM
how can we change the message? also next release can we have an option..when people and try to right click it logs them out?

Mastar
05-29-2007, 02:52 PM
how can we change the message? also next release can we have an option..when people and try to right click it logs them out?

To change the message open the product:

Find
var message="That feature has been Disabled. If you need any content contact the Site Owner!";

And change what's between the quotes in red.

To add that option is a thought and I'll look into it.

Mrdby
05-29-2007, 03:52 PM
To change the message open the product:

Find
var message="That feature has been Disabled. If you need any content contact the Site Owner!";

And change what's between the quotes in red.

To add that option is a thought and I'll look into it.

MANY THANKS!!!

Mrdby
05-29-2007, 04:02 PM
oops..where do i find this? product manager?

Mastar
05-29-2007, 06:01 PM
oops..where do i find this? product manager?

That is in the zip that you downloaded, the xml file.

Mrdby
05-29-2007, 07:31 PM
<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="Disable_Right_Click" active="1">
<title>Disable_Right_Click</title>
<description>Disabling The Use Of Right Click 3.0.0</description>
<version>3.00</version>
<url><![CDATA[https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=rightclick_disable-Mastar]]></url>
<versioncheckurl><![CDATA[https://vborg.vbsupport.ru/misc.php?do=productcheck&pid=rightclick_disable-Mastar]]></versioncheckurl>
<dependencies>
</dependencies>
<codes>
</codes>
<templates>
<template name="DisableAll" templatetype="template" date="0" username="Mastar" version=""><![CDATA[<if condition="$vboptions[DisableAllcode1]">
<if condition="!is_member_of($bbuserinfo, 5, 6, 7)">
<script language=JavaScript>
var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document. onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontext menu=clickIE;}
document.oncontextmenu=new Function("return false")
</script>
</if>
</if>
]]></template>
<template name="DisableImage" templatetype="template" date="0" username="Mastar" version=""><![CDATA[
<if condition="$vboptions[DisableImagecode2]">
<if condition="!is_member_of($bbuserinfo, 5, 6, 7)">


<script language="JavaScript1.2">
/*
Disable right click script II (on images)- By Dynamicdrive.com
For full source, Terms of service, and 100s DTHML scripts
Visit http://www.dynamicdrive.com
*/

var clickmessage="Right click disabled on images! If you need an image please contact the Site Owner."

function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName=="IMG"){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName=="IMG"){
alert(clickmessage)
return false
}
}
}
function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}
if (document.all)
document.onmousedown=disableclick
else if (document.getElementById)
document.onmouseup=disableclick
else if (document.layers)
associateimages()
</script> </if>
</if>
]]></template>
</templates>
<plugins>
<plugin active="1" executionorder="5">
<title>Disable_Right_Click</title>
<hookname>cache_templates</hookname>
<phpcode><![CDATA[$globaltemplates = array_merge($globaltemplates, array('DisableImage'));
]]></phpcode>
</plugin>
<plugin active="1" executionorder="5">
<title>Disable_Right_Click</title>
<hookname>cache_templates</hookname>
<phpcode><![CDATA[$globaltemplates = array_merge($globaltemplates, array('DisableAll'));
]]></phpcode>
</plugin>
<plugin active="1" executionorder="5">
<title>Right Click Disabled on Images</title>
<hookname>global_start</hookname>
<phpcode><![CDATA[$search_text = '<!-- Do not remove this copyright notice -->';
$vbulletin->templatecache['footer'] = str_replace($search_text,
$search_text.fetch_template('DisableImage'),$vbull etin->templatecache['footer']);
]]></phpcode>
</plugin>
<plugin active="1" executionorder="5">
<title>Disable_Right_Click</title>
<hookname>global_start</hookname>
<phpcode><![CDATA[$search_text = '<!-- /logo -->';
$vbulletin->templatecache['header'] = str_replace($search_text,
$search_text.fetch_template('DisableAll'),$vbullet in->templatecache['header']);
]]></phpcode>
</plugin>
</plugins>
<phrases>
<phrasetype name="vBulletin Settings" fieldname="vbsettings">
<phrase name="setting_DisableAllcode1_desc" date="0" username="Mastar" version="3.0.0"><![CDATA[
Yes to enable / No to disable]]></phrase>
<phrase name="setting_DisableAllcode1_title" date="0" username="Mastar" version="3.0.0"><![CDATA[
Prevent Right Click On Everything?]]></phrase>
<phrase name="setting_DisableImagecode2_desc" date="0" username="Mastar" version="3.0.0"><![CDATA[
Yes to enable / No to disable]]></phrase>
<phrase name="setting_DisableImagecode2_title" date="0" username="Mastar" version="3.0.0"><![CDATA[
Prevent Right Click On Images?]]></phrase>
<phrase name="settinggroup_Allgroup" date="0" username="Mastar" version="3.0.0"><![CDATA[
Disable Right Click by Mastar aka BAJI26]]></phrase>
</phrasetype>
</phrases>
<options>
<settinggroup name="Allgroup" displayorder="8904">
<setting varname="DisableAllcode1" displayorder="20">
<datatype>boolean</datatype>
<optioncode>yesno</optioncode>
<defaultvalue>1</defaultvalue>
</setting>
<setting varname="DisableImagecode2" displayorder="30">
<datatype>boolean</datatype>
<optioncode>yesno</optioncode>
<defaultvalue>1</defaultvalue>
</setting>
</settinggroup>
</options>
<helptopics>
</helptopics>
<cronentries>
</cronentries>
<faqentries>
</faqentries>
</product>

where?

Mastar
05-29-2007, 08:08 PM
<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="Disable_Right_Click" active="1">
<title>Disable_Right_Click</title>
<description>Disabling The Use Of Right Click 3.0.0</description>
<version>3.00</version>
<url><![CDATA[https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=rightclick_disable-Mastar]]></url>
<versioncheckurl><![CDATA[https://vborg.vbsupport.ru/misc.php?do=productcheck&pid=rightclick_disable-Mastar]]></versioncheckurl>
<dependencies>
</dependencies>
<codes>
</codes>
<templates>
<template name="DisableAll" templatetype="template" date="0" username="Mastar" version=""><![CDATA[<if condition="$vboptions[DisableAllcode1]">
<if condition="!is_member_of($bbuserinfo, 5, 6, 7)">
<script language=JavaScript>
var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document. onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontext menu=clickIE;}
document.oncontextmenu=new Function("return false")
</script>
</if>
</if>
]]></template>
<template name="DisableImage" templatetype="template" date="0" username="Mastar" version=""><![CDATA[
<if condition="$vboptions[DisableImagecode2]">
<if condition="!is_member_of($bbuserinfo, 5, 6, 7)">


<script language="JavaScript1.2">
/*
Disable right click script II (on images)- By Dynamicdrive.com
For full source, Terms of service, and 100s DTHML scripts
Visit http://www.dynamicdrive.com
*/

var clickmessage="Right click disabled on images! If you need an image please contact the Site Owner."

function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName=="IMG"){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName=="IMG"){
alert(clickmessage)
return false
}
}
}
function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}
if (document.all)
document.onmousedown=disableclick
else if (document.getElementById)
document.onmouseup=disableclick
else if (document.layers)
associateimages()
</script> </if>
</if>
]]></template>
</templates>
<plugins>
<plugin active="1" executionorder="5">
<title>Disable_Right_Click</title>
<hookname>cache_templates</hookname>
<phpcode><![CDATA[$globaltemplates = array_merge($globaltemplates, array('DisableImage'));
]]></phpcode>
</plugin>
<plugin active="1" executionorder="5">
<title>Disable_Right_Click</title>
<hookname>cache_templates</hookname>
<phpcode><![CDATA[$globaltemplates = array_merge($globaltemplates, array('DisableAll'));
]]></phpcode>
</plugin>
<plugin active="1" executionorder="5">
<title>Right Click Disabled on Images</title>
<hookname>global_start</hookname>
<phpcode><![CDATA[$search_text = '<!-- Do not remove this copyright notice -->';
$vbulletin->templatecache['footer'] = str_replace($search_text,
$search_text.fetch_template('DisableImage'),$vbull etin->templatecache['footer']);
]]></phpcode>
</plugin>
<plugin active="1" executionorder="5">
<title>Disable_Right_Click</title>
<hookname>global_start</hookname>
<phpcode><![CDATA[$search_text = '<!-- /logo -->';
$vbulletin->templatecache['header'] = str_replace($search_text,
$search_text.fetch_template('DisableAll'),$vbullet in->templatecache['header']);
]]></phpcode>
</plugin>
</plugins>
<phrases>
<phrasetype name="vBulletin Settings" fieldname="vbsettings">
<phrase name="setting_DisableAllcode1_desc" date="0" username="Mastar" version="3.0.0"><![CDATA[
Yes to enable / No to disable]]></phrase>
<phrase name="setting_DisableAllcode1_title" date="0" username="Mastar" version="3.0.0"><![CDATA[
Prevent Right Click On Everything?]]></phrase>
<phrase name="setting_DisableImagecode2_desc" date="0" username="Mastar" version="3.0.0"><![CDATA[
Yes to enable / No to disable]]></phrase>
<phrase name="setting_DisableImagecode2_title" date="0" username="Mastar" version="3.0.0"><![CDATA[
Prevent Right Click On Images?]]></phrase>
<phrase name="settinggroup_Allgroup" date="0" username="Mastar" version="3.0.0"><![CDATA[
Disable Right Click by Mastar aka BAJI26]]></phrase>
</phrasetype>
</phrases>
<options>
<settinggroup name="Allgroup" displayorder="8904">
<setting varname="DisableAllcode1" displayorder="20">
<datatype>boolean</datatype>
<optioncode>yesno</optioncode>
<defaultvalue>1</defaultvalue>
</setting>
<setting varname="DisableImagecode2" displayorder="30">
<datatype>boolean</datatype>
<optioncode>yesno</optioncode>
<defaultvalue>1</defaultvalue>
</setting>
</settinggroup>
</options>
<helptopics>
</helptopics>
<cronentries>
</cronentries>
<faqentries>
</faqentries>
</product>

where?



Here:

var clickmessage="Right click disabled on images! If you need an image please contact the Site Owner."

I didn't know you meant the image right click one.

SCRIPT3R
06-02-2007, 09:13 PM
is possible to add <if> condition for forum based application on/off?

(<if condition="!is_forumdisplay.php?($f=X, X, X)"> or something to that effect so that this would not apply to certain selected forums?

Mastar
06-03-2007, 04:52 AM
is possible to add <if> condition for forum based application on/off?

(<if condition="!is_forumdisplay.php?($f=X, X, X)"> or something to that effect so that this would not apply to certain selected forums?

Gonna work on that, thatnks!

Mrdby
07-27-2007, 12:05 AM
why does ERROR come up when i see the plug in?

Disable_Right_Click 3.00 Error Disabling The Use Of Right Click 3.0.0

shadowevil
07-27-2007, 02:25 AM
It's not work to FireFox .... Check again :-s

adc-arab
07-28-2007, 12:11 AM
it works really great ;) but i wanan prevent users from marking the words it doesn't do that it only prevents the right click -_- even when Prevent Right Click On Everything is on is there a way to prevent members from marking the words

LjubavnaZona
08-04-2007, 01:32 AM
This is awesome. I was waiting for something like this. Thank you very much.
Installed.

Salvar
08-05-2007, 05:20 AM
Yeah nice archive

missty72
08-05-2007, 02:25 PM
great mod! less chance of peeps robbing my piccies now :)

Nick2112
08-17-2007, 04:52 PM
sup? *clicks install*

Mrdby
12-09-2007, 11:00 PM
Disable_Right_Click 3.00 Error what does this mean?

Mastar
12-10-2007, 03:08 AM
I have no idea what that error means. Sorry!

sawatdee
12-15-2007, 05:51 AM
Come on??? Why are the comments about Firefox 100% ignored? If it can't work in Firefox please say so rather than ignoring the members.

I understand that the world has not yet seen past IE, but some forums do have a pretty big userbase of Mozilla users. :) Is this issue not able to be addressed? I have tried it in Firefox, I do get the dialog for right click is disabled, as soon as I click ok the right click menu pops up. But hey this does work great in IE. Excellent mod and great idea on the images only concept!

Mastar
12-15-2007, 01:34 PM
I don't get any errors in FF so I can't reallly find any thing to fix. If another coder wants to give it a shot they have my blessing, I'm absent on the forums here because of the lack of time.

turbo.:R
12-15-2007, 11:39 PM
I have tried it in Firefox, I do get the dialog for right click is disabled, as soon as I click ok the right click menu pops up. But hey this does work great in IE. Excellent mod and great idea on the images only concept!

me too. after the message then the box pops up where u can save the image...

Mastar
12-15-2007, 11:55 PM
I'll try to look more into this, please bare with me.

sedline
12-16-2007, 04:21 PM
Thx man !!!!!!!!!!!:up:

Alibass
12-16-2007, 09:13 PM
@Mastar

Noticed when viewing as guest or member with custom skin(s) you can right click anything and copy except for images even though I have copy anything/images set to no.
Your hack works like it suppose to when viewing with vB default skin, the right click is disabled on copy anything or image. Any ideas what could be causing the copy anything to be enabled when viewing with custom skin even though the image right click is disabled in custom skin? :confused:

Alibass
12-23-2007, 08:11 PM
**BUMP**

I thought this hack was supported? It's been 7 days and still no reply!

Mastar
12-23-2007, 09:29 PM
The hack is looking for "<!-- /logo -->" in your header, so if your custom code doesn't have it it will not work in its entirety.

What I can suggest is after your Logo code add "<!-- /logo -->" .

Alibass
12-23-2007, 11:18 PM
That did the trick Mastar, thanks and Happy Holidays!

Mastar
12-24-2007, 12:50 AM
Glad its working now!

Mrdby
12-24-2007, 02:34 AM
Thanks!!

Mastar
12-25-2007, 12:49 AM
Hack is updated with alittle more features, let me know whatcha think!

dackdigital
12-26-2007, 03:06 PM
Good job, it could also work to specific users, too, by id

Mrdby
12-28-2007, 08:52 PM
Your default message should be ALLOWED not No right clicking ALLOW..lol just thought I'd point that out.lol

missty72
12-28-2007, 09:07 PM
just installed v5 and its left a piece of text in one of the templates that says "search_text"

this goes away once you log in but is on the login template somewhere. Couldnt find where it was so i uninstalled V5 and went back to v4. Works a treat, and will install v5 when bugs have been ironed out.

Mrdby
12-28-2007, 09:10 PM
UMMM admins can't right click now..lol any solutions?

Mastar
12-28-2007, 10:42 PM
Ok I'm working on it, I guess I didn't see that but I thought all was working. Stay Tuned!

turbo.:R
12-28-2007, 11:03 PM
UMMM admins can't right click now..lol any solutions?
x2..

Mrdby
12-29-2007, 01:40 AM
lol thanks

Mastar
12-29-2007, 02:29 PM
I'm still working on it, shouldn't be too long!

basilrath
12-29-2007, 03:27 PM
There is a little thing ive been working on but its actually relevant to the photoplog lite system..............the no right click is an image or text or everything, however when you select an image in photoplog and the selct the image again it actually takes the image "out of the site" as it were so the right click is available hence the image can easily be harvested just curious how we can remove the right click on the photoplog image (the final image as it does disable the normal viewing of the images)

Mrdby
12-30-2007, 01:28 PM
i do notice while in forumdisplay i can right click..but when i'm on the index of my forum..and try to right click i get the no right click message.

basilrath
12-30-2007, 01:50 PM
also vbadvanced users beware...................it displays search_text at the top left when installed im trying to find out why.

dackdigital
12-30-2007, 05:26 PM
ok fantastico

turbo.:R
12-30-2007, 11:55 PM
I'm still working on it, shouldn't be too long!

any word??:eek:

Mastar
12-31-2007, 12:20 AM
any word??:eek:

I'm on it as I type...

Finished.... Fixed all bugs that were found.

Mastar
12-31-2007, 06:16 AM
Setting the Forumid to "0" will disable the entire forum for that particular setting.

Biggles
12-31-2007, 11:11 AM
This is a great hack that has been working well on my site - until I installed today's update of v5.0.0. For some reason the usergroups for which I disable right click have text appearing above the header image. It reads "search_text" and pushes the header image down a little.

For this reason, I have uninstalled v5.0.0 and re-installed v4.0.1, which does not do this but works fine.

Great work dude, but perhaps needs a tweak here and there on v5.0.0

Best wishes for the New Year :up:

Biggles

Alibass
12-31-2007, 01:04 PM
@Mastar

Any plans of getting this hack to work on 3.7? It works now on b3 to a point, but you have no control of who can or cannot use the feature. It stays on for everyone. :(

Mastar
12-31-2007, 02:35 PM
@Mastar

Any plans of getting this hack to work on 3.7? It works now on b3 to a point, but you have no control of who can or cannot use the feature. It stays on for everyone. :(

I'll have to dl and install vb3.7, I was waiting for the release of a more stable one but I guess I can try the present. It was made for vb3.6 and vb3.7 is alot different than vb3.6.

This is a great hack that has been working well on my site - until I installed today's update of v5.0.0. For some reason the usergroups for which I disable right click have text appearing above the header image. It reads "search_text" and pushes the header image down a little.

For this reason, I have uninstalled v5.0.0 and re-installed v4.0.1, which does not do this but works fine.

Great work dude, but perhaps needs a tweak here and there on v5.0.0



Best wishes for the New Year :up:

Biggles


Uninstall and Download and install the present one that is here now which has been updated. Thanks!

bashy
12-31-2007, 06:26 PM
Why was i PM'ed with the link to this hack Mastar

Mastar
12-31-2007, 06:38 PM
I saw you were look for a right click disabling hack with options you were asking about.

SCRIPT3R
12-31-2007, 11:04 PM
5.0.0.zip is applying to usergroups even though they're not entered w/in the Usergroup ID. Also, any possibility to take into account Secondary Usergorup; ie. have a yes override any no for application?

Mastar
01-01-2008, 12:16 AM
5.0.0.zip is applying to usergroups even though they're not entered w/in the Usergroup ID. Also, any possibility to take into account Secondary Usergorup; ie. have a yes override any no for application?


Which part of the hack is applying to usergroups, disable all, disable images or select text?

In the forumid do not put "0" or leave it blank and download the new v5.

apiasto
01-03-2008, 03:31 PM
great work.i think i had requested this to someone,many thnx you got my vote

SCRIPT3R
01-03-2008, 04:11 PM
5.0.0.zip is applying to usergroups even though they're not entered w/in the Usergroup ID. Also, any possibility to take into account Secondary Usergorup; ie. have a yes override any no for application?

Which part of the hack is applying to usergroups, disable all, disable images or select text?

In the forumid do not put "0" or leave it blank and download the new v5.

For example... the Administrator Usergroup (6) has NOT been entered into any Usergroup ID box, yet the right-click is disabled for Admins in all forum sections to which this hack has been enabled.

Mastar
01-03-2008, 06:57 PM
For example... the Administrator Usergroup (6) has NOT been entered into any Usergroup ID box, yet the right-click is disabled for Admins in all forum sections to which this hack has been enabled.

Do you have anything in any of your FORUMID box?
Can you take a screenshot of your settings.

SCRIPT3R
01-04-2008, 03:18 PM
Do you have anything in any of your FORUMID box?
Can you take a screenshot of your settings.
Here's the screenshot...

imports
01-11-2008, 05:26 PM
I installed this mod but it doesn't work with firefox. the pop up msg shows up then after you click ok the options will show as there's no right click disable?

imports
01-11-2008, 05:34 PM
i installed the 5.0.0 and it work with EI but not on firefox?

Mastar
01-11-2008, 06:12 PM
I have tested it on FF and IE and all functions work.

Go here using FF Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 and tell me if you are able to right click or copy text.
http://www.custom-computerz.com/forums/

Remember you must have javascript enabled.

SCRIPT3R
01-11-2008, 07:00 PM
I have tested it on FF and IE and all functions work.
Well, not ALL functions... as reported above. Verified on a clean install using both FF and IE.

imports
01-11-2008, 08:15 PM
I have tested it on FF and IE and all functions work.

Go here using FF Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 and tell me if you are able to right click or copy text.
http://www.custom-computerz.com/forums/

Remember you must have javascript enabled.

javascript enable? where can i change this setting? i can't right click on yours but i can right click on mine.

here is mine www.importsview.com

satforce
01-21-2008, 06:30 PM
Can you update the product to allow text selection for code ?

Mastar
01-22-2008, 01:22 AM
There is an option in your ACP for that.

Mrdby
01-24-2008, 07:14 PM
i need to prevent ctrl+c and cntrl+v

Mastar
01-25-2008, 05:34 AM
i need to prevent ctrl+c and cntrl+v

Use the "No text selection option:.

satforce
01-29-2008, 09:17 AM
I don't find any settings to allow copying only code or quote something like this..

Please help ...

Mastar
01-29-2008, 02:24 PM
I don't find any settings to allow copying only code or quote ..

Please help ...


Look in your vbulletin options.

satforce
01-31-2008, 08:52 PM
No, my freind I mean .. for example when I write a tutorial for my users I want to allow only copying what is into the CODE...

Mastar
01-31-2008, 09:32 PM
There is no option to allow this! You didn't click install.

BigDog56
02-03-2008, 04:07 PM
GREAT MOD! Thank you very much!:D

JaBaT
02-04-2008, 01:53 PM
For example... the Administrator Usergroup (6) has NOT been entered into any Usergroup ID box, yet the right-click is disabled for Admins in all forum sections to which this hack has been enabled.

I have the same problem.

Jase2
02-04-2008, 03:03 PM
This is pointless.

There are too many ways of getting an image.

It doesn't take a 'brainbox' to disable your browsers 'Javascript'.

Regards Jason :)

Mastar
02-04-2008, 08:33 PM
This is pointless.

There are too many ways of getting an image.

It doesn't take a 'brainbox' to disable your browsers 'Javascript'.

Regards Jason :)

If you took time to read the discription "brainbox" you will see that is states what the intentions are.

Mastar
02-04-2008, 08:35 PM
I have the same problem.


I believe it might be another hack or something that might be causing this, I'm not able to duplicate the problem but will continue to examin it.

JaBaT
02-07-2008, 04:57 PM
I dont know whats the problem, i'll try to explain:
I want to Prevent Right Click On Images on forum id=100 only for Usergroup ID=5. The result is block in all forums, even on index.
The same for Prevent text selection and Prevent Right Click On Everything
To Put forum id numbers have no effect.

Thanks

Mastar
02-07-2008, 10:22 PM
I dont know whats the problem, i'll try to explain:
I want to Prevent Right Click On Images on forum id=100 only for Usergroup ID=5. The result is block in all forums, even on index.
The same for Prevent text selection and Prevent Right Click On Everything
To Put forum id numbers have no effect.

Thanks

I'll test it and see.

JaBaT
02-24-2008, 03:42 PM
I'll test it and see.

no solution??

thanks

mariocaz
02-24-2008, 04:06 PM
Nice Mod

Mastar
02-24-2008, 08:17 PM
Would you allow me permission in your ACP?

Lombardo
02-24-2008, 08:21 PM
when i installed it,even when i turned it off when you clicked to go on my forum my whole screen was taken over by my chatbox,couldn't get on my forum at all it was just a page of all the conversation from my chatbox.

KanmaiseR
02-29-2008, 07:45 PM
Thank you to Mastar..

jvonmuenster
04-14-2008, 04:22 PM
Is it OK if I leave the user id field set at 0? The hack is working perfectly otherwise... Thank you...

kimmie-99
04-25-2008, 01:48 PM
I like this however I have a problem where if a user clicks on an attachment, it opens it up in another window where they can right click there. I don't want to prevent them from opening up this other window as many of the thumbnails are hard to see otherwise.

Deadly Assassin
04-28-2008, 03:49 AM
I have installed this, but it conflicts with chattbox i have.

When ever i load my forum home the chatbox is full screen. I uninstall this mod and the problem goes away.

Mrdby
04-30-2008, 01:20 AM
3.7.0 final release?

mariocaz
05-21-2008, 01:24 AM
Yes is this woking on 3.7 gold ??, because for me not, please help.

I am the admin of the mod and I didnĀ“t put my ID in the Mod configuration but also I am disabled to use the right click, this mod I had it installed in 3.6.9 and was working great but now in 3.7 I am having that problem

Cagonni
01-17-2009, 11:40 AM
There is a problem with THIS (https://vborg.vbsupport.ru/showthread.php?t=123415) hack when install yours..

newsoftw
02-01-2009, 06:56 AM
thank alot mate........it's Fine working with VB 3.8.1......................i need this mod.............thxxxxxxxxxxxxxxxxxxxxxx

iswarudin
03-08-2009, 09:28 AM
Nice script but

How to disable right click on

mydomain.com/images/image1.jpg ?

Any script?

2L8
07-05-2009, 02:24 PM
yes it works on 3.8.3 thank you brother

the problem is you cannot post any links in the shoutbox :(

or i make some mistakes?help me

Allnick
07-07-2009, 11:29 PM
I dont know whats the problem, i'll try to explain:
I want to Prevent Right Click On Images on forum id=100 only for Usergroup ID=5. The result is block in all forums, even on index.
The same for Prevent text selection and Prevent Right Click On Everything
To Put forum id numbers have no effect.

ThanksSame problem here....just trying to prevent text selection in one forum, but forum selection doesn't work. It globally prevents!
I've uninstalled for now......
Any solution?

ilrglen
07-08-2009, 08:40 PM
I'm a little new to all of this modification of programs stuff. Can someone dumb down exactly how to import this Mod into my vB? I have my admin control panel open but can figure out where you import this or where to find the settings. Please help. Thanks.

chikkoo
09-15-2009, 06:56 AM
Initially I could stop people with this MOD from copying my contents, but this does not protect "view Printable Version" page, so people are now copying from there.

How do I stop that?

krucial82
09-15-2009, 03:53 PM
I just installed. Great mod probably the best I have come around yet. I been always wanting to protect my contents. Great job and thank you.

gosiah23
02-26-2010, 07:53 PM
Installed, but the forum selection or User Group Id doesn't work. It globally prevents for all forums and users!

Any updates on improving this?

Thanks

WhiskeyOSS
12-15-2010, 12:05 PM
I am using version 4.08 have tried all of the downloads you have provided and none of them are working
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1280) : eval()'d code on line 13

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1280) : eval()'d code on line 15

rughis
01-05-2011, 09:35 AM
Do anyone knows if exist a similar mod for 4.x.x?

alhidaya
03-08-2012, 10:25 PM
Hello,

Can you do for vbulletin 4.XXX

Please !!!!

ricardoNJ
04-23-2012, 03:32 PM
Installed, but the forum selection or User Group Id doesn't work. It globally prevents for all forums and users!

Any updates on improving this?

Thanks
Yes. It works but for every user, admin like me include. vB3.8.4 here

blind-eddie
04-24-2012, 09:14 AM
Read this (http://www.sitepoint.com/dont-disable-right-click/) for those really wanting to disable right click.

You can always add the following code to the top of your headinclude template to disable right click without the popup.

<body oncontextmenu="return false;">

But none of this will stop anyone from getting content from your site, Ever....

ukdalai
08-26-2013, 06:56 PM
does anyone have this working on vb4.2, ive tried v4.1 and v5.0 and both throw errors
Craig