Genel Forumlar Haylazforum.Net

Genel Forumlar Haylazforum.Net (https://haylazforum.net/)
-   vBulletin 4.x Eklentileri (https://haylazforum.net/364-vbulletin-4-x-eklentileri/)
-   -   Vbulletin 4 (Misafirlere) Üye Olmayanlara Kopyalama Yasagı Nasıl Yapabiliriz ? (https://haylazforum.net/vbulletin-4-x-eklentileri/7274-vbulletin-4-misafirlere-uye-olmayanlara-kopyalama-yasagi-nasil-yapabiliriz.html)

aSpeNDos 08.Ocak.2019 21:58

Vbulletin 4 (Misafirlere) Üye Olmayanlara Kopyalama Yasagı Nasıl Yapabiliriz ?
 
Vbulletin 4 (Misafirlere) Üye Olmayanlara Kopyalama Yasagı Nasıl Yapabiliriz ?

Yalnızca misafirlere kopyalama yasagı koymak için Alttaki Kodu
Header Templatesini en altına aşğıdaki kodları yapıştırın

Kod:

<vb:if condition="$show['guest']">
<script type="text/javascript">
//form tags to omit in NS6+:
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
</script>
</vb:if>



Bütün herkeze yasak koymak istiyorsanız Aşagıdaki KOdu kullanmanız gerekiyor
Header Templatesini en altına aşğıdaki kodları yapıştırın

Kod:

<SCRIPT language=JavaScript>curPage=1;
document.oncontextmenu = function(){return false}
if(document.layers) {
  window.captureEvents(Event.MOUSEDOWN);
  window.onmousedown = function(e){
      if(e.target==document)return false;
  }
}
else {
  document.onmousedown = function(){return false}
}</SCRIPT>
<script language="JavaScript1.2">

//Disable select-text script (IE4+, NS6+)- By Andy Scott
//Exclusive permission granted to Dynamic Drive to feature script
//Visit http://www.dynamicdrive.com for this script

function disableselect(e){
return false
}

function reEnable(){
return true
}

//if IE4+
document.onselectstart=new Function ("return false")

//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>


Yine yalnızca Misafirler için Son ve Farklı olarak şunu ekledim. Bu verdigim kod Hem mause ile seçememekte ve Ters Tıklama Yapılamamaktadır.

Header Templatesini en altına aşğıdaki kodları yapıştırın

Kod:

<vb:if condition="$show['guest']">
<SCRIPT language=JavaScript>curPage=1;
document.oncontextmenu = function(){return false}
if(document.layers) {
  window.captureEvents(Event.MOUSEDOWN);
  window.onmousedown = function(e){
      if(e.target==document)return false;
  }
}
else {
  document.onmousedown = function(){return false}
}</SCRIPT>
<script type="text/javascript">
//form tags to omit in NS6+:
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
</script>
</vb:if>








2.Yolu




Bir başka yolu daha var..

Şöyle bir çözüm ile sağ tık kapanabilir.

Şu templateyi bul






Kod:

headinclude

en altına şunu ekle

Kod:

<vb:if condition="$show['guest']">
<SCRIPT language=JavaScript>curPage=1;
document.oncontextmenu = function(){return false}
if(document.layers) {
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown = function(e){
if(e.target==document)return false;
}
}
else {
document.onmousedown = function(){return false}
}</SCRIPT>
</vb:if>


hayro 06.Mayıs.2021 14:41

Cevap: Vbulletin 4 (Misafirlere) Üye Olmayanlara Kopyalama Yasagı Nasıl Yapabiliriz ?
 
teşekkürler


Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 13:35.

Powered by vBulletin® Version 3.8.9
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.
Search Engine Optimization by vBSEO 3.6.1

User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.Navbar with Avatar by Motorradforum