| Precedente :: Successivo |
| Autore |
Messaggio |
Destino Maestro


Registrato: Feb 08, 2009 Messaggi: 314 Località: Reggi Calabria
|
Inviato: Ven Apr 02, 2010 3:41 pm Oggetto: FERMARE il copie e incolla nella news |
|
|
ciao a tutti ho un problema. altri siti inerenti al mio hanno copiati diverse mie news..facendo semplicemente copia e incolla (furbi),....vorrei che questo nn accadesso spiù..c'è un qualkosa che fa si che nn si possa fare il copia incolla o quache altro metodo....? _________________
 |
|
| Torna in cima |
|
 |
matteoiamma Moderatore


Registrato: May 17, 2008 Messaggi: 531 Località: Torremaggiore(Foggia)
|
|
| Torna in cima |
|
 |
Destino Maestro


Registrato: Feb 08, 2009 Messaggi: 314 Località: Reggi Calabria
|
Inviato: Sab Apr 03, 2010 8:50 am Oggetto: |
|
|
grx,,,,però vorrei che si applicasse solo alla news...oppure che solo agli admin venisse concesso di fare copia e incolla...xke a me serve...il tasto destro _________________
 |
|
| Torna in cima |
|
 |
matteoiamma Moderatore


Registrato: May 17, 2008 Messaggi: 531 Località: Torremaggiore(Foggia)
|
Inviato: Sab Apr 03, 2010 6:28 pm Oggetto: |
|
|
| Codice: |
<?php if (empty($_COOKIE['admin'])){ ?>
codice javascript
<?php } ?>
|
_________________ Non inviatemi messaggi privati o email,
gratis aiuto solo sui forum.
CLEANUKE.IT - CLEAN NUKE OFFICIAL COMMUNITY
MATTEOIAMMARRONE.COM
FORUMRAGAZZI.IT |
|
| Torna in cima |
|
 |
Destino Maestro


Registrato: Feb 08, 2009 Messaggi: 314 Località: Reggi Calabria
|
Inviato: Sab Apr 03, 2010 6:31 pm Oggetto: |
|
|
| matteoiamma ha scritto: | | Codice: |
<?php if (empty($_COOKIE['admin'])){ ?>
codice javascript
<?php } ?>
|
|
allora ho provato a metterlo ma io uso firefox come broswer..quindi il codice che dice la nei trucchi nn è giusto..potresti modificarlo tu conla moodifica per gli admin che hai messo ora..xfavore.. _________________
 |
|
| Torna in cima |
|
 |
queen_live78 Amministratore


Registrato: Nov 10, 2006 Messaggi: 2457 Località: Cagliari (CA) - Maniago (PN)
|
|
| Torna in cima |
|
 |
Destino Maestro


Registrato: Feb 08, 2009 Messaggi: 314 Località: Reggi Calabria
|
Inviato: Mar Apr 06, 2010 8:15 am Oggetto: |
|
|
| queen_live78 ha scritto: | inserite dopo l'apertura del tag body un piccolo controllo : | Codice: | <body bgcolor=ffffff onselectstart="return(false);">
…
</body>
|
|
devo mettere solo questo codice...o anke quello di prima? _________________
 |
|
| Torna in cima |
|
 |
queen_live78 Amministratore


Registrato: Nov 10, 2006 Messaggi: 2457 Località: Cagliari (CA) - Maniago (PN)
|
|
| Torna in cima |
|
 |
Destino Maestro


Registrato: Feb 08, 2009 Messaggi: 314 Località: Reggi Calabria
|
Inviato: Mar Apr 06, 2010 8:29 am Oggetto: |
|
|
| queen_live78 ha scritto: | | Questo codice evita la selezione, quindi premendo control+c non si ha nessun effetto, l'altro codice che si puo' inserire è quello per bloccare semplicemente il tasto destro. |
ok...quindi per inserire quello che mi hai dato to..in quale file lo devo mettere....? _________________
 |
|
| Torna in cima |
|
 |
queen_live78 Amministratore


Registrato: Nov 10, 2006 Messaggi: 2457 Località: Cagliari (CA) - Maniago (PN)
|
|
| Torna in cima |
|
 |
Destino Maestro


Registrato: Feb 08, 2009 Messaggi: 314 Località: Reggi Calabria
|
Inviato: Mar Apr 06, 2010 8:37 am Oggetto: |
|
|
| queen_live78 ha scritto: | | Apri il file header.html del tuo tema !!! ed inseriscilo li |
nn c'è l'ho questo file nel tema... _________________
 |
|
| Torna in cima |
|
 |
Destino Maestro


Registrato: Feb 08, 2009 Messaggi: 314 Località: Reggi Calabria
|
Inviato: Mar Apr 06, 2010 11:23 am Oggetto: |
|
|
io ho il file Theme.php, themplates.php e poi il CSS _________________
 |
|
| Torna in cima |
|
 |
queen_live78 Amministratore


Registrato: Nov 10, 2006 Messaggi: 2457 Località: Cagliari (CA) - Maniago (PN)
|
|
| Torna in cima |
|
 |
Destino Maestro


Registrato: Feb 08, 2009 Messaggi: 314 Località: Reggi Calabria
|
Inviato: Ven Apr 09, 2010 1:48 pm Oggetto: |
|
|
| queen_live78 ha scritto: | | puoi inserirlo anche nel theme.php |
potreste inserire il codice voi..mi sentirei più sicuro:
| Codice: | <?php
$bgcolor1 = "#000000";
$bgcolor2 = "#000000";
$bgcolor3 = "#46a4a1";
$bgcolor4 = "#46a4a1";
$textcolor1 = "#ffffff";
$textcolor2 = "#fgfgfgf";
function OpenTable() {
global $bgcolor1, $bgcolor2;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable() {
echo "</td></tr></table></td></tr></table>\n";
}
function OpenTable2() {
global $bgcolor1, $bgcolor2;
echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable2() {
echo "</td></tr></table></td></tr></table>\n";
}
function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
echo "<font class=\"news\">$thetext$notes</font>\n";
} else {
if($informant != "") {
$boxstuff = "<a href=\"user.php?op=userinfo&uname=$informant\"><b>$informant</a> ";
} else {
$boxstuff = "<b>Un anonimo ";
}
$boxstuff .= "segnala:</b> \"$thetext\"$notes\n";
echo "<font class=\"content\">$boxstuff</font>\n";
}
}
function themeheader() {
global $banners, $name;
echo "<body text=\"#ffffff\" link=\"0000ff\" leftmargin=0 rightmargin=0 topmargin=0>\n";
if ($banners) {
include("banners.php");
}
########## Modifica header #########
if ($name=='Forums') {
$logo="Header_forum.jpg";
} else {
$logo="Heade2222.jpg";
}
#########################
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"10\" align=\"center\">\n"
."<tr><td width=\"100%\" height=\"10\" valign=\"bottom\">\n"
."<map name=\"FPMap0\">"
."</map>"
."<img border=\"0\" src=\"themes/siteground4/images/$logo\" usemap=\"#FPMap0\" width=\"1036px\" height=\"282px\">"
."<tr><td width=\"1040px\" align=\"center\" >\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"1040px\">\n"
."<tr><td width=\"1040\" bgcolor=\"#000000\"><table width='1040%' cellspacing='0' cellpadding='0' border='0' ><tr><td>\n";
echo "</td></tr></table><table width=\"\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n"
."<tr valign=\"top\">\n"
."<td width=\"10400\" valign=\"top\" style=\"padding:10px;\">\n";
if ($name=='Forums') {}
else if ($name=='Members_List') {}
else if ($name=='Private_Messages') {}
else {
blocks(left);
$sg = 'banner'; include "templates.php";
}
echo "</td><td width=\"980%\" style=\"padding:10px 10px 10px 0px;\">\n";
}
function themefooter() {
global $index;
echo "<br>";
if (defined('INDEX_FILE')) {
echo "</td><td valign=\"top\" width=\"130\" style=\"padding:10px 10px 10px 0px;\">\n";
blocks(right);
echo "<td>";
}
else {
echo "</td><td colspan=\"2\" style=\"padding:10px 10px 10px 0px;\">";
}
echo "<br><br></td></tr></table>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"
style=\"border-collapse: collapse\" width=\"100%\"><tr><td width=\"100%\">"
."<br><center>";
echo "<br>";
// DO NOT REMOVE THE FOLLOWING COPYRIGHT LINE. YOU'RE NOT ALLOWED TO REMOVE NOR EDIT THIS.
echo "<p align=\"center\">";
$sg = ''; include "templates.php";
echo "</p>";
echo "</center></table></table></table>";
}
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#666666\">\n"
."<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\"><tr>\n"
."<td background=\"themes/siteground4/images/barranews.gif\" width=\"609\" height=\"44\"><font class=\"option\"><b> $title</b></font></td></tr>\n"
."<tr><td background=\"themes/siteground4/images/back1.gif\"colspan=\"2\" bgcolor=\"#333333\">\n"
."<table border=\"0\" width=\"100%\" align=\"center\"><tr><td>\n"
."<a href=\"modules.php?name=News&new_topic=$topic\"><img src=\"$tipath$topicimage\" alt=\"$topictext\" border=\"0\" align=\"right\"></a>";
FormatStory($thetext, $notes, $aid, $informant);
echo "</td></tr></table>\n"
."</td></tr></table>\n"
."</td></tr><tr><td bgcolor=\"#000000\" align=\"center\">\n"
." "
."<b><font class=\"tiny\">"._POSTEDBY." ";
formatAidHeader($aid);
echo " - $time $timezone <br></font>\n"
."<font class=\"content\">$morelink</font></center>\n"
."<img src=\"themes/siteground4/images/pixel.gif\" border=\"0\" height=\"1\">"
."</td></tr></table>\n"
."</td></tr><tr><td background=\"themes/siteground4/images/header_news_down.gif\" width=\"607\" height=\"32\"></tr>"
."<tr><td bgcolor=\"#000000\"><img src=\"themes/siteground4/images/pixel.gif\" width=\"100%\" height=\"4\"></td></tr></table>\n";
}
function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid, $tipath;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\">\n"
."<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\">"
."<tr><td background=\"themes/siteground4/images/barranews.gif\" width=\"609\" height=\"44\"><font class=\"option\"><b> $title</b></font></td></tr>\n"
."<tr><td colspan=\"2\" background=\"themes/siteground4/images/back1.gif\"><br>\n"
."<table border=\"0\" width=\"98%\" align=\"center\"><tr><td>\n"
."<a href=\"modules.php?name=News&new_topic=$topic\"><img src=\"$tipath$topicimage\" alt=\"$topictext\" border=\"0\" align=\"right\"></a>";
FormatStory($thetext, $notes="", $aid, $informant);
echo "</td></tr></table>\n"
."</td></tr></table><br>\n"
."</td></tr>\n"
."</table></td></tr>\n"
."<tr><td background=\"themes/siteground4/images/barrasottodopo.gif\" width=\"607px\" height=\"32\"></tr>"
."<tr><td><br><div align=\"center\"></div></td></tr>\n"
."<tr><td bgcolor=\"#2897dd\"></td></tr></table>\n";
}
function themesidebox($title, $content) {
echo "<table border=\"0\" align=\"center\" width=\"200\" cellpadding=\"0\" cellspacing=\"0\">"
."<tr><td background=\"themes/siteground4/images/menu_top1.jpg\" width=\"200\" height=\"1\">"
." <font color=\"#46a4a1\" style=\"font-size:13px;\"><b>";
if (file_exists("$title.png")){ //Mod by matteoiamma - // www.matteoiammarrone.com
echo "<img src='$title.png'/>";
} else {
echo $title;
}
echo "</b></font>"
."</td></tr></table>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"200\">\n"
."<tr><td width=\"160\" bgcolor=\"#46a4a1\">\n"
."<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" width=\"200\">\n"
."<tr><td background=\"themes/siteground4/images/menu_middle.jpg\" width=\"200\" height=\100\">\n"
."$content"
."</td></tr></table></td></tr><td background=\"themes/siteground4/images/menu_bottom.jpg\" width=\"200\" height=\"9\"></td><tr><td><img src=\"themes/siteground4/images/pixel.gif\" width=\"130\" height=\"4\"></td></tr></table>";
}
?> |
_________________
 |
|
| Torna in cima |
|
 |
matteoiamma Moderatore


Registrato: May 17, 2008 Messaggi: 531 Località: Torremaggiore(Foggia)
|
Inviato: Ven Apr 09, 2010 2:21 pm Oggetto: |
|
|
| Codice: | <?php
$bgcolor1 = "#000000";
$bgcolor2 = "#000000";
$bgcolor3 = "#46a4a1";
$bgcolor4 = "#46a4a1";
$textcolor1 = "#ffffff";
$textcolor2 = "#fgfgfgf";
function OpenTable() {
global $bgcolor1, $bgcolor2;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable() {
echo "</td></tr></table></td></tr></table>\n";
}
function OpenTable2() {
global $bgcolor1, $bgcolor2;
echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable2() {
echo "</td></tr></table></td></tr></table>\n";
}
function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
echo "<font class=\"news\">$thetext$notes</font>\n";
} else {
if($informant != "") {
$boxstuff = "<a href=\"user.php?op=userinfo&uname=$informant\"><b>$informant</a> ";
} else {
$boxstuff = "<b>Un anonimo ";
}
$boxstuff .= "segnala:</b> \"$thetext\"$notes\n";
echo "<font class=\"content\">$boxstuff</font>\n";
}
}
function themeheader() {
global $banners, $name, $module_name;
echo "<body text=\"#ffffff\" link=\"0000ff\" leftmargin=0 rightmargin=0 topmargin=0>\n";
if ($module_name == "News"){
?>
QUI CODICE JAVASCRIPT, NN ME LO FA METTERE SUL FORUM, PER SICUREZZA
<?php
}
if ($banners) {
include("banners.php");
}
########## Modifica header #########
if ($name=='Forums') {
$logo="Header_forum.jpg";
} else {
$logo="Heade2222.jpg";
}
#########################
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"10\" align=\"center\">\n"
."<tr><td width=\"100%\" height=\"10\" valign=\"bottom\">\n"
."<map name=\"FPMap0\">"
."</map>"
."<img border=\"0\" src=\"themes/siteground4/images/$logo\" usemap=\"#FPMap0\" width=\"1036px\" height=\"282px\">"
."<tr><td width=\"1040px\" align=\"center\" >\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"1040px\">\n"
."<tr><td width=\"1040\" bgcolor=\"#000000\"><table width='1040%' cellspacing='0' cellpadding='0' border='0' ><tr><td>\n";
echo "</td></tr></table><table width=\"\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n"
."<tr valign=\"top\">\n"
."<td width=\"10400\" valign=\"top\" style=\"padding:10px;\">\n";
if ($name=='Forums') {}
else if ($name=='Members_List') {}
else if ($name=='Private_Messages') {}
else {
blocks(left);
$sg = 'banner'; include "templates.php";
}
echo "</td><td width=\"980%\" style=\"padding:10px 10px 10px 0px;\">\n";
}
function themefooter() {
global $index;
echo "<br>";
if (defined('INDEX_FILE')) {
echo "</td><td valign=\"top\" width=\"130\" style=\"padding:10px 10px 10px 0px;\">\n";
blocks(right);
echo "<td>";
}
else {
echo "</td><td colspan=\"2\" style=\"padding:10px 10px 10px 0px;\">";
}
echo "<br><br></td></tr></table>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"
style=\"border-collapse: collapse\" width=\"100%\"><tr><td width=\"100%\">"
."<br><center>";
echo "<br>";
// DO NOT REMOVE THE FOLLOWING COPYRIGHT LINE. YOU'RE NOT ALLOWED TO REMOVE NOR EDIT THIS.
echo "<p align=\"center\">";
$sg = ''; include "templates.php";
echo "</p>";
echo "</center></table></table></table>";
}
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#666666\">\n"
."<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\"><tr>\n"
."<td background=\"themes/siteground4/images/barranews.gif\" width=\"609\" height=\"44\"><font class=\"option\"><b> $title</b></font></td></tr>\n"
."<tr><td background=\"themes/siteground4/images/back1.gif\"colspan=\"2\" bgcolor=\"#333333\">\n"
."<table border=\"0\" width=\"100%\" align=\"center\"><tr><td>\n"
."<a href=\"modules.php?name=News&new_topic=$topic\"><img src=\"$tipath$topicimage\" alt=\"$topictext\" border=\"0\" align=\"right\"></a>";
FormatStory($thetext, $notes, $aid, $informant);
echo "</td></tr></table>\n"
."</td></tr></table>\n"
."</td></tr><tr><td bgcolor=\"#000000\" align=\"center\">\n"
." "
."<b><font class=\"tiny\">"._POSTEDBY." ";
formatAidHeader($aid);
echo " - $time $timezone <br></font>\n"
."<font class=\"content\">$morelink</font></center>\n"
."<img src=\"themes/siteground4/images/pixel.gif\" border=\"0\" height=\"1\">"
."</td></tr></table>\n"
."</td></tr><tr><td background=\"themes/siteground4/images/header_news_down.gif\" width=\"607\" height=\"32\"></tr>"
."<tr><td bgcolor=\"#000000\"><img src=\"themes/siteground4/images/pixel.gif\" width=\"100%\" height=\"4\"></td></tr></table>\n";
}
function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid, $tipath;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#000000\">\n"
."<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\">"
."<tr><td background=\"themes/siteground4/images/barranews.gif\" width=\"609\" height=\"44\"><font class=\"option\"><b> $title</b></font></td></tr>\n"
."<tr><td colspan=\"2\" background=\"themes/siteground4/images/back1.gif\"><br>\n"
."<table border=\"0\" width=\"98%\" align=\"center\"><tr><td>\n"
."<a href=\"modules.php?name=News&new_topic=$topic\"><img src=\"$tipath$topicimage\" alt=\"$topictext\" border=\"0\" align=\"right\"></a>";
FormatStory($thetext, $notes="", $aid, $informant);
echo "</td></tr></table>\n"
."</td></tr></table><br>\n"
."</td></tr>\n"
."</table></td></tr>\n"
."<tr><td background=\"themes/siteground4/images/barrasottodopo.gif\" width=\"607px\" height=\"32\"></tr>"
."<tr><td><br><div align=\"center\"></div></td></tr>\n"
."<tr><td bgcolor=\"#2897dd\"></td></tr></table>\n";
}
function themesidebox($title, $content) {
echo "<table border=\"0\" align=\"center\" width=\"200\" cellpadding=\"0\" cellspacing=\"0\">"
."<tr><td background=\"themes/siteground4/images/menu_top1.jpg\" width=\"200\" height=\"1\">"
." <font color=\"#46a4a1\" style=\"font-size:13px;\"><b>";
if (file_exists("$title.png")){ //Mod by matteoiamma - // www.matteoiammarrone.com
echo "<img src='$title.png'/>";
} else {
echo $title;
}
echo "</b></font>"
."</td></tr></table>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"200\">\n"
."<tr><td width=\"160\" bgcolor=\"#46a4a1\">\n"
."<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" width=\"200\">\n"
."<tr><td background=\"themes/siteground4/images/menu_middle.jpg\" width=\"200\" height=\100\">\n"
."$content"
."</td></tr></table></td></tr><td background=\"themes/siteground4/images/menu_bottom.jpg\" width=\"200\" height=\"9\"></td><tr><td><img src=\"themes/siteground4/images/pixel.gif\" width=\"130\" height=\"4\"></td></tr></table>";
}
?> |
_________________ Non inviatemi messaggi privati o email,
gratis aiuto solo sui forum.
CLEANUKE.IT - CLEAN NUKE OFFICIAL COMMUNITY
MATTEOIAMMARRONE.COM
FORUMRAGAZZI.IT |
|
| Torna in cima |
|
 |
strix26 Allievo


Registrato: Jan 13, 2008 Messaggi: 21
|
Inviato: Mer Apr 14, 2010 1:35 pm Oggetto: |
|
|
ciao io ho inserito questo script nel theme.php
| Codice: | <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> |
il codice funziona alla grande unico problema.....
c'è una soluzione per evitare lo script nel forum!?! perchè li in genere c'è da selezionare per quotare.... o magari per velocizzare la scrittura!
HELPPPPPPPPP
 |
|
| Torna in cima |
|
 |
matteoiamma Moderatore


Registrato: May 17, 2008 Messaggi: 531 Località: Torremaggiore(Foggia)
|
Inviato: Mer Apr 14, 2010 2:17 pm Oggetto: |
|
|
Li' c'è il controllo che deve apparire solo se il modulo in questione è News, com'è possibile che il code giri anche quando il modulo e' Forums? _________________ Non inviatemi messaggi privati o email,
gratis aiuto solo sui forum.
CLEANUKE.IT - CLEAN NUKE OFFICIAL COMMUNITY
MATTEOIAMMARRONE.COM
FORUMRAGAZZI.IT |
|
| Torna in cima |
|
 |
strix26 Allievo


Registrato: Jan 13, 2008 Messaggi: 21
|
Inviato: Mer Apr 14, 2010 2:21 pm Oggetto: |
|
|
veramente agisce sul tutto il sito!
e ci sono dei moduli dove vorrei disabilitarlo..... c'è una soluzione!?!? |
|
| Torna in cima |
|
 |
|
|
Non puoi inserire nuovi Topic in questo forum Non puoi rispondere ai Topic in questo forum Non puoi modificare i tuoi messaggi in questo forum Non puoi cancellare i tuoi messaggi in questo forum Non puoi votare nei sondaggi in questo forum
|
|