hello XF members i wanted to know if this is possible , theres this guy copying everything i got on my site like my account upgrades sparkly colors my smilies and my forum ranks i was wondering if i could do something like when they try to copy css and they load inspect elemnt if it showed random symbols .
and when someone try's to copy your image address and when they put it on their site show my websites logo rather then the smilie
russ bits its annoying this guy keeps on copying everything i got and now he has better community then me and thats why i closed my forum and got new theme new logo and i want to stop him copying my staff and yeah atleast make it harder for himThe more time you spend focusing on your site and worrying less about others copying you the better off you'll be.
i achieved it but its only for guest members im trying to figure it out for members too but i disabled the right click so now they cant use copy or inspect element
Code:<xen:if is="!{$visitor.user_id}"> <script type="text/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="Right click is disabled for guests!"; /////////////////////////////////// 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> </xen:if>
To change the error message that will appear to guests when right clicking at your forum, change this part:
Code:
var message="Right click is disabled for guests!";
to anythuing you want
Code:
var message="Your custom message here";
anyone that right-clicks to open links, copy&paste, search google, use the dictionary or spellcheck, etc is going to hate you and hate using your site.i achieved it but its only for guest members im trying to figure it out for members too but i disabled the right click so now they cant use copy or inspect element
Code:<xen:if is="!{$visitor.user_id}"> <script type="text/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="Right click is disabled for guests!"; /////////////////////////////////// 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> </xen:if>
To change the error message that will appear to guests when right clicking at your forum, change this part:
Code:
var message="Right click is disabled for guests!";
to anythuing you want
Code:
var message="Your custom message here";
We use essential cookies to make this site work, and optional cookies to enhance your experience.