PDA

View Full Version : Miscellaneous Hacks - vBulletin Total Restriction (4 Restriction Features till now)


Omranic
01-18-2006, 10:00 PM
This product is no longer supported!



Discription: This Hack Give You Four Options for Restrict some User and System Preference (Disabling), These four options are:
Disable Image Toolbar script
Disable right mouse click on images
Disable right mouse click totaly with alert
Disable right mouse click totaly without alert

& you Have Two Options To Customise the MSG Alert Displayed for users when any of the 2nd & 3rd options selected.

Disable Image Toolbar script = Disable The Toolbar Appears When The Mouse Moves On Any Image

Disable right mouse click on images = Disable Right Click On Images & Displaying Customised Alert.

Disable right mouse click totaly with alert = Disable Mouse Right Click All Over The Forums Every Where & Displaying Customised Alert.

Disable right mouse click totaly without alert = Disable Mouse Right Click All Over The Forums Every Where Without Displaying Alert.

& you have the Option Not To Disable any Preference = Don't Disable any thing.



Stats:
1 Product Adds 4 Settings, 13 phrase.
Template Edits 2 in one template (headinclude)


Import the Attached Product File.
open headinclude & add before the first line of it the following code:
<if condition="$vboptions[disimagtool]">
<META HTTP-EQUIV="imagetoolbar" CONTENT="no">
</if>

open headinclude & after the last line in it add the following code:
<if condition="$vboptions[rightcrmode]==0">
&nbsp;
<else />
<if condition="$vboptions[rightcrmode]==1">
<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="$vboptions[rmcimagesalert]"

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>
<else />
<if condition="$vboptions[rightcrmode]==2">
<script language=JavaScript>
<!--

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="$vboptions[totalrightcalert]";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// -->
</script>
</if>
<else />
<if condition="$vboptions[rightcrmode]==3">
<script language=JavaScript>
<!--

//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com

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>


Note: all Java Scripts Here Are Submited From www.dynamicdrive.com

This Is the Initial Version with Limited Features So I Hope You All Suggest More Features To Be Added In This Hack.

Note:
All Features Tested & Works Perfectly on IE (InterNet Explorer)
All Features Tested on Firfox but there is one Feature Hasn't Effect (Disabling Image Tool Bar) & The second Feature Doesn't work Perfectly (Disable Right Click on Images) It displays the alert but after you submit the alert it opens the drop down menu for the right click.
Not Tested On other Explorers.

Don't Forget To Click INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=105714)

VaaKo
01-19-2006, 03:43 PM
will it work with the photopost vbagallery ?

Snake
01-19-2006, 03:50 PM
Screenshot?

MentaL
01-19-2006, 04:00 PM
we need a screenshot

nexialys
01-19-2006, 04:38 PM
/me adore people that keeps credits in their scripts... BRAVO !!!

btw, good hack...

waza
01-19-2006, 04:43 PM
how the hell can you show a sreenshot of this?
These things disable things as right click etc, did you guys even read the post?

Omranic
01-19-2006, 05:00 PM
Don Corleone ===> it will work any where headinclude template processed (So it will work with integrated photopost with vbulletin)

nexialys ===> SolidSnake@GTI hate people that doesn't keeps credits in their scripts.:)

Omranic
01-19-2006, 05:02 PM
how the hell can you show a sreenshot of this?
These things disable things as right click etc, did you guys even read the post?

mentalrz, Aftermath !!!!.....ScreenShot .....!!!!

VaaKo
01-19-2006, 06:03 PM
Great hack, will install it first thing in the morning!
will also be suggestion ideas to improve this hack!

/me clicks install!

puertoblack2003
01-19-2006, 06:05 PM
for those curious in mine :rolleyes:

http://img459.imageshack.us/img459/5643/shot13if.gif (http://www.puertotech.com)

Omranic
01-19-2006, 06:41 PM
Don't Forget Suggestions :)

Vizionz
01-19-2006, 06:59 PM
i got a suggestion slap the people asking for a screenshot of a right click script :P

common sence
ya right click = it dont work.
an alert = some text that says you cant right click or whatever ya put in it.

it's not like when you right click a amazing window of freshness is gonna unfold the user who right clicked with flowing waterfalls of freshness and naked girls giving out lollipops

by-the-way nice hack i will try it out later tonight

Barakat
01-19-2006, 10:37 PM
thanks for that nice hack ...........................

Developer
01-20-2006, 12:37 AM
mohammed is this work with firefox or opera ???

VaaKo
01-20-2006, 06:01 AM
what's the image toolbar script?

Diggazz
01-20-2006, 07:34 AM
Works good with IE but Cntr C Cntrl V still work

Doesnt work currently with Opera

Not sure with FF

Clicks install

Omranic
01-20-2006, 10:01 AM
Developer ===> Who Is Mohammed ?!
All Features Tested & Works Perfectly on IE (InterNet Explorer)
All Features Tested on Firfox but there is one Feature Hasn't Effect (Disabling Image Tool Bar) & The second Feature Doesn't work Perfectly (Disable Right Click on Images) It displays the alert but after you submit the alert it opens the drop down menu for the right click.
Not Tested On other Explorers.

Omranic
01-20-2006, 10:02 AM
Don Corleone ===> Image Tool Bar Is the small Icons Appears right left any big image you moves your mouse on it.

Omranic
01-20-2006, 10:04 AM
Diggazz ===> I tested It Only On IE & FF & Put a note in the thread about observation

Diggazz
01-20-2006, 01:10 PM
NP SolidSnake@GTI Thanks for the hack I have installed and will use it

If you get time to make it work with Opera it would be awesome We have a fairly high % of Opera users & growing by the day. Now its a free download it has become very popular.

hoangminh
01-20-2006, 03:33 PM
we need a screenshot

Screenshot is a ... right click ? :D

Developer
01-20-2006, 04:02 PM
Developer ===> Who Is Mohammed ?!
All Features Tested & Works Perfectly on IE (InterNet Explorer)
All Features Tested on Firfox but there is one Feature Hasn't Effect (Disabling Image Tool Bar) & The second Feature Doesn't work Perfectly (Disable Right Click on Images) It displays the alert but after you submit the alert it opens the drop down menu for the right click.
Not Tested On other Explorers.
sorry abd el rahman معلش دى فترة امتحانات عندى و دماغى ضايعة

Omranic
01-21-2006, 04:26 AM
Diggazz ===> I'll Do my best To improve this hack & to make it work with opera & FireFox as soon I have time for that, thanks.

hoangminh ===> Exactly ;)

Developer ===> god bless you

Mudvayne
02-02-2006, 07:32 PM
if this hack is a extension.. Then which file should I upload via ftp?

hiiped
02-03-2006, 03:39 AM
i got a suggestion slap the people asking for a screenshot of a right click script :P

common sence
ya right click = it dont work.
an alert = some text that says you cant right click or whatever ya put in it.

it's not like when you right click a amazing window of freshness is gonna unfold the user who right clicked with flowing waterfalls of freshness and naked girls giving out lollipops

by-the-way nice hack i will try it out later tonight

^^^^^ with him...


suggestion


disable DRAG on image
( because people can somehow DRAG an image and drop it on a downloadmanager dropspot and still get the file )

they can even DRAG the image to the Address bar and then save it

hiiped
02-03-2006, 03:41 AM
Import the Attached Product File.

1: Import the Attached Product File.

using the plugin manager thingie


NO FTP is used

Omranic
02-06-2006, 07:37 PM
^^^^^ with him...


suggestion


disable DRAG on image
( because people can somehow DRAG an image and drop it on a downloadmanager dropspot and still get the file )

they can even DRAG the image to the Address bar and then save it

I Don't think that there is something like that (can you post any example plz)

Then which file should
No File Editing / No File Uploading So No FTP using
Only template edits + Product Import

Mudvayne
02-07-2006, 05:00 AM
No File Editing / No File Uploading So No FTP using
Only template edits + Product Import
I meant.. Ur hack is on vBulletin.org Forum > vB3.5 Modifications > vB3.5 Extensions > vBulletin Total Restriction (4 Restriction Features till now).. The hack should b in either template modification section or plugins section.. Coz thr is no file to upload..

Omranic
02-07-2006, 05:24 AM
I hesitated before posting it for that issue but I thought that since it contains a product file it goes to vB3.5 Extensions

Hope i was right

Zia
02-08-2006, 04:29 PM
seemd if image hosted on imageshack/photobucket then its not working on the image......
what to do now?

Omranic
02-14-2006, 05:38 AM
it works on any images in your boards regardless the hoster

Mudvayne
02-21-2006, 12:55 PM
Hello brother.. Its not working with OPERA.. Could U plz do that? Plz... Another thing is how to put a warning msg in 2 lines..
Say : abcdefgh ijklmnop
I want it like:
abcdefgh
ijklmnop
is it possible?

Omranic
02-27-2006, 06:21 AM
Its not working with OPERA.. Could U plz do that?

Now I don't think that I can do it


warning msg in 2 lines..
Say :
Quote:
abcdefgh ijklmnop


I want it like:

Quote:
abcdefgh
ijklmnop


is it possible?
yes its possible & i'll do it if i have some time for it

rjmjr69
05-12-2007, 09:30 PM
Can you get this to work for new VB 3.6.6?

EnIgMa1234
05-12-2007, 09:50 PM
it should still work^^