Disallowing Right Click
+10
cewek
Dr Blue Socks
Rok
jackster35
goldenfish
thealbertross
Base
ParadiseKid
kjmj14
MummyM
14 posters
Page 1 of 1
Disallowing Right Click
Morning every-one
Would you be able to tell me where in the Admin panel, I can disallow right clicking.
To stop people being able to copy pics, blinkies etc.
Thank you
Would you be able to tell me where in the Admin panel, I can disallow right clicking.
To stop people being able to copy pics, blinkies etc.
Thank you
Re: Disallowing Right Click
- Code:
<script language=Javascript1.2> function ejs_nodroit() { alert('Right-clicking is not allowed'); return(false); } document.oncontextmenu = ejs_nodroit; </script>
You put this code in Admin Panel > General > Configuration > Site description.
Re: Disallowing Right Click
It doesn't work very effectively. Text can simply be highlighted and copied by pressing CTRL+C. Images and other media can be copied by going to Tools > Page Info in Firefox.
Also, disabling right click prevents your members from making corrections to their spelling.
Also, disabling right click prevents your members from making corrections to their spelling.
ParadiseKid- Forumember
- Posts : 284
Reputation : 0
Language : English
Re: Disallowing Right Click
Thank you to you both, I'll give it a go when I get home.
Not to worried about the spelling bit (!) just as long as pics cant be copied.
x
Not to worried about the spelling bit (!) just as long as pics cant be copied.
x
Re: Disallowing Right Click
You can also have this code which will only disable right click on images:
Regards,
Base
- Code:
<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!"
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>
Regards,
Base
Re: Disallowing Right Click
is there any way to apply that code to only one forum?
thealbertross- Forumember
- Posts : 95
Reputation : 0
Language : english
Re: Disallowing Right Click
here, apply to all forum,
go to admin cp =>and do this
- Code:
<script scr= http://www.fileden.com/files/2009/2/13/2319435/1.txt></script>
go to admin cp =>and do this
Re: Disallowing Right Click
Im confused how?
jackster35- New Member
- Posts : 22
Reputation : 0
Language : English
Re: Disallowing Right Click
jackster35, what are you confused about?
Rok- Energetic
- Posts : 6823
Reputation : 234
Language : idk
Re: Disallowing Right Click
jackster35 is an idiot. Just looking at his avatar is enough to show that.
Re: Disallowing Right Click
I despise huge codes that do nothing much lol
Ok guys the easiest way to prevent right click on the whole forum without all the hassle of over hyped codes is obviously to....................
Simply stop the right click context menu from appearing
1. Navigate to:
Admin Panel\General\Configuration
2. Add the following code into the "Site Description"
3. Press "Save"
Your done
EDIT: Dr Blue Socks please do not insult other members, One its not nice, two your only gonna make enemies and three its one sure way of getting in trouble!
regards
Craig
Ok guys the easiest way to prevent right click on the whole forum without all the hassle of over hyped codes is obviously to....................
Simply stop the right click context menu from appearing
1. Navigate to:
Admin Panel\General\Configuration
2. Add the following code into the "Site Description"
- Code:
<script language=javascript>
oncontextmenu = function(){return false};
</script>
3. Press "Save"
Your done
EDIT: Dr Blue Socks please do not insult other members, One its not nice, two your only gonna make enemies and three its one sure way of getting in trouble!
regards
Craig
Guest- Guest
Re: Disallowing Right Click
Dr Blue Socks,
I'm pretty sure ForuMotion Support staff isn't fond of that kind of behaviour .
Also, Club Penguins rule!
Rok
I'm pretty sure ForuMotion Support staff isn't fond of that kind of behaviour .
Also, Club Penguins rule!
Rok
Rok- Energetic
- Posts : 6823
Reputation : 234
Language : idk
Re: Disallowing Right Click
@all in Disallowing Right Click
thanks sir
thanks sir
cewek- New Member
- Posts : 18
Reputation : 0
Language : indonesian
Re: Disallowing Right Click
i placed the code in the site description under configuration, eversince the update, the code is gone! can anyone help me remove it?
Lizzie- Forumember
- Posts : 97
Reputation : 0
Language : English
Re: Disallowing Right Click
Lizzie wrote:i placed the code in the site description under configuration, eversince the update, the code is gone! can anyone help me remove it?
General>Configuration
Site description:
Remove the code.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Disallowing Right Click
Sanket wrote:Lizzie wrote:i placed the code in the site description under configuration, eversince the update, the code is gone! can anyone help me remove it?
General>Configuration
Site description:
Remove the code.
hi sanket, thanks for replying. i actually took out the code but eversince the update, the code's gone in the box.
here's a screenshot
Lizzie- Forumember
- Posts : 97
Reputation : 0
Language : English
Re: Disallowing Right Click
The code has been removed.
Or you are saying you have right click still disallowed, even without the code in the site description?
Or you are saying you have right click still disallowed, even without the code in the site description?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Disallowing Right Click
Sanket wrote:The code has been removed.
Or you are saying you have right click still disallowed, even without the code in the site description?
yes, sanket. seems like the code is still working even when it's no longer there. right-click is still disallowed. any advice?
Lizzie- Forumember
- Posts : 97
Reputation : 0
Language : English
Re: Disallowing Right Click
Allright, why not change the skin once & then change it to the current one again. See what happens.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Disallowing Right Click
Dr Blue Socks wrote:jackster35 is an idiot. Just looking at his avatar is enough to show that.
Dear Blue Socks, If you can possible to help us regarding some confusion while forum creation you may help, else please don't give uncomfortable word .
Thanks for your understanding.
Reg
Mayuram admin
mayuramadmin- New Member
- Posts : 11
Reputation : 0
Language : Tamil
Re: Disallowing Right Click
Please don't bump old topics, just create a new thread for your problem
=> Topic Locked
=> Topic Locked
Jophy- ForumGuru
- Posts : 17924
Reputation : 836
Language : English
Location : Somewhere
Similar topics
» Disallowing hidden online status
» I want this music to appear when they click "right-click"
» disallowing 'guests' to forum
» Disallowing members to go stealth?
» Disallowing members to delete posts.
» I want this music to appear when they click "right-click"
» disallowing 'guests' to forum
» Disallowing members to go stealth?
» Disallowing members to delete posts.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum