No-Right Click

This forum is now closed as part of retiring phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.

No-Right Click

Postby Zenon1 » Wed Apr 27, 2005 8:56 pm

I've used boards before but this is the first and I am new to using the pbb boards, so I need a little help. I wanted to know how do I install the "no right click" code and the code that shows who's viewing/browsing each forum. The board will be used for viewing images but I don't want people to copy the images, so I want the "no right click" code. If I posted in wrong thread you can point me to right forum for my question. Thanks a lot!
Zenon1
Registered User
 
Posts: 6
Joined: Wed Apr 27, 2005 8:40 pm

Postby Jesselnz » Thu Apr 28, 2005 3:44 am

Right-click blockers are pointless, annoying, and easily bypassed...
Jesselnz
Registered User
 
Posts: 9
Joined: Fri Jun 04, 2004 2:15 am

Postby MrDeathLlama » Thu Apr 28, 2005 3:49 am

Script from http://www.dynamicdrive.com/dynamicindex9/noright3.htm

Open up templates/subSilver/overall_header.tpl and paste this at the top.

Code: Select all
<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.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
// -->
</script>


Although it might be helpful, i suggest you don't use a right click blocker since it can get annoying when the web page client needs to do certain things.
MrDeathLlama
Registered User
 
Posts: 57
Joined: Tue Apr 05, 2005 1:58 am


Return to [2.0.x] MOD Requests

Who is online

Users browsing this forum: No registered users and 6 guests