Forumotion Tricks & Tips
Welcome To Forumotion Tricks & Tips!

Currently This Site Is New,Help Us Build It By Signing Up And Posting! =)

This Site Offers You The Ability To Post A Tutorial Forumotion Refused,Get Access To VIP,And Get Access To 1337 =)

HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Navigation
---------------------------------
List Of Templates Tutorials
---------------------------------
List Of CSS Tutorials
---------------------------------
List Of HTML Tutorials
---------------------------------
Other Tutorials
---------------------------------
Graphic Section
---------------------------------

Share | 
 

 How To Block Users From Right Clicking

View previous topic View next topic Go down 
AuthorMessage
SC__Programmer
The Most Epic =)
The Most Epic =)

avatar

Posts : 50
Cash : 131
Rep : 5
Join date : 2011-07-05

PostSubject: How To Block Users From Right Clicking   Sun Jul 10, 2011 6:38 pm

This will show you how to disable right click on your forum,with a message or without a message.

Go to Display>Templates>overall_footer.

----Message Block----

Example: http://fmtricks.forumotion.com/h3-block-message

Insert this code at the top,
Code:
<script language=Javascript1.2> function ejs_nodroit() { alert('Blocked!');
return(false); } document.oncontextmenu = ejs_nodroit; </script>
-------------------

----Block - No Message----

Example: http://fmtricks.forumotion.com/h4-block-no-message

Insert this code at the top,
Code:
<body oncontextmenu="return false"></body>
-------------------

Tips: You can also add it to your site description.
Back to top Go down
View user profile http://fmtricks.forumotion.com
 

How To Block Users From Right Clicking

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Forumotion Tricks & Tips :: Templates :: Tutorials-

Affiliates: Free Domain Name | It'sYourSite | DevSchool | Your Website Here!
Create a forum on Forumotion | © phpBB | Free forum support | Contact | Report an abuse | Free forum