| Precedente :: Successivo |
| Autore |
Messaggio |
chatgil Newbie


Registrato: Jun 13, 2006 Messaggi: 84
|
Inviato: 09-05-2008 12:32 Oggetto: Blocco fatto male.. |
|
|
Ho un blocco che si vede male, l'intestazione è sulla destra e non in alto..
si tratta del primo blocco al centro su riccardodj.it "Video Collection..!"
come posso risolverlo? |
|
| Torna in cima |
|
 |
duebit Newbie


Registrato: Feb 01, 2006 Messaggi: 415
|
Inviato: 09-05-2008 14:21 Oggetto: |
|
|
c'è un qualche align di troppo? E' una tabella magari divisa in due colonne? Oppure fa riferimento ad un .css del modulo stesso.
Sarebbe utile dare un'occhiata al codice come vedi le ipotesi sono tante. Vagliane qualcuna....
ciao |
|
| Torna in cima |
|
 |
chatgil Newbie


Registrato: Jun 13, 2006 Messaggi: 84
|
Inviato: 09-05-2008 14:26 Oggetto: |
|
|
| Codice: | <?php
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// ------------------------------------------------------------------------- //
//----------------------------------------//
//
//Center Block by Dawg//
//Based on The Random video block by Q @ www.3c0x1.net //
//----------------------------------------//
//Center Block to show Latest Video, Highest Rated and Most Viewed//
if (eregi("block-Video_H_3.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
global $prefix, $prefix, $db;
$limit = 1;
//Views
$result = $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY (views) DESC LIMIT $limit");
while ($row = $db->sql_fetchrow($result)) {
$imsrc = $row['imgurl'];
if ($row['vidname'] != '') {
$thumb_title = $row['vidname'];
} else {
$thumb_title = substr($row['imgurl'], 0, -4);
}
$content .="<td>";
$content .="<center><B><font color=\"#FFFFFF\">IL VIDEO PIU VISTO</font></B></center><BR>\n";
$content .="<center><a href=modules.php?name=Video_Stream&page=watch&id=".$row['id']."><img src=".$row['imgurl']." border=\"0\" width=145 alt=".$row['vidname']."></a>\n";
$content .="<br><a href=modules.php?name=Video_Stream&page=watch&id=".$row['id']."><font color=\"#FFFFFF\">".$row['vidname']."</font></a></center></td>";
}
//Latest Added
$result = $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY id DESC LIMIT $limit");
while ($row = $db->sql_fetchrow($result)) {
$imsrc = $row['imgurl'];
if ($row['vidname'] != '') {
$thumb_title = $row['vidname'];
} else {
$thumb_title = substr($row['imgurl'], 0, -4);
}
$content .="<td>";
$content .="<center><B><font color=\"#FFFFFF\">ULTIMO VIDEO PUBBLICATO</font></B></center><BR>\n";
$content .="<center><a href=modules.php?name=Video_Stream&page=watch&id=".$row['id']."><img src=".$row['imgurl']." border=\"0\" width=145 alt=".$row['vidname']."></a>\n";
$content .="<br><a href=modules.php?name=Video_Stream&page=watch&id=".$row['id']."><font color=\"#FFFFFF\">".$row['vidname']."</font></a></center></td>";
}
//Rated
$result = $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY (rating/rates) DESC LIMIT $limit");
while ($row = $db->sql_fetchrow($result)) {
$imsrc = $row['imgurl'];
if ($row['vidname'] != '') {
$thumb_title = $row['vidname'];
} else {
$thumb_title = substr($row['imgurl'], 0, -4);
}
$content .="<td>";
$content .="<center><B><font color=\"#FFFFFF\">IL VIDEO PIU VOTATO</font></B></center><BR>\n";
$content .="<center><a href=modules.php?name=Video_Stream&page=watch&id=".$row['id']."><img src=".$row['imgurl']." border=\"0\" width=145 alt=".$row['vidname']."></a>\n";
$content .="<br><a href=modules.php?name=Video_Stream&page=watch&id=".$row['id']."><font color=\"#FFFFFF\">".$row['vidname']."</font></a></center></td>";
}
?>
|
|
 |
|
| Torna in cima |
|
 |
duebit Newbie


Registrato: Feb 01, 2006 Messaggi: 415
|
Inviato: 09-05-2008 14:40 Oggetto: |
|
|
fai un backup del tuo file e prova con il seguente codice
| Codice: | <?php
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// ------------------------------------------------------------------------- //
//----------------------------------------//
//
//Center Block by Dawg//
//Based on The Random video block by Q @ www.3c0x1.net //
//----------------------------------------//
//Center Block to show Latest Video, Highest Rated and Most Viewed//
if (eregi("block-Video_H_3.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
global $prefix, $prefix, $db;
$limit = 1;
//Views
$result = $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY (views) DESC LIMIT $limit");
while ($row = $db->sql_fetchrow($result)) {
$imsrc = $row['imgurl'];
if ($row['vidname'] != '') {
$thumb_title = $row['vidname'];
} else {
$thumb_title = substr($row['imgurl'], 0, -4);
}
$content .="<tr><td>";
$content .="<center><B><font color=\"#FFFFFF\">IL VIDEO PIU VISTO</font></B></center><BR>\n";
$content .="<center><a href=modules.php?name=Video_Stream&page=watch&id=".$row['id']."><img src=".$row['imgurl']." border=\"0\" width=145 alt=".$row['vidname']."></a>\n";
$content .="<br><a href=modules.php?name=Video_Stream&page=watch&id=".$row['id']."><font color=\"#FFFFFF\">".$row['vidname']."</font></a></center></td></tr>";
}
//Latest Added
$result = $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY id DESC LIMIT $limit");
while ($row = $db->sql_fetchrow($result)) {
$imsrc = $row['imgurl'];
if ($row['vidname'] != '') {
$thumb_title = $row['vidname'];
} else {
$thumb_title = substr($row['imgurl'], 0, -4);
}
$content .="<tr><td>";
$content .="<center><B><font color=\"#FFFFFF\">ULTIMO VIDEO PUBBLICATO</font></B></center><BR>\n";
$content .="<center><a href=modules.php?name=Video_Stream&page=watch&id=".$row['id']."><img src=".$row['imgurl']." border=\"0\" width=145 alt=".$row['vidname']."></a>\n";
$content .="<br><a href=modules.php?name=Video_Stream&page=watch&id=".$row['id']."><font color=\"#FFFFFF\">".$row['vidname']."</font></a></center></td></tr>";
}
//Rated
$result = $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY (rating/rates) DESC LIMIT $limit");
while ($row = $db->sql_fetchrow($result)) {
$imsrc = $row['imgurl'];
if ($row['vidname'] != '') {
$thumb_title = $row['vidname'];
} else {
$thumb_title = substr($row['imgurl'], 0, -4);
}
$content .="<tr><td>";
$content .="<center><B><font color=\"#FFFFFF\">IL VIDEO PIU VOTATO</font></B></center><BR>\n";
$content .="<center><a href=modules.php?name=Video_Stream&page=watch&id=".$row['id']."><img src=".$row['imgurl']." border=\"0\" width=145 alt=".$row['vidname']."></a>\n";
$content .="<br><a href=modules.php?name=Video_Stream&page=watch&id=".$row['id']."><font color=\"#FFFFFF\">".$row['vidname']."</font></a></center></td></tr>";
}
?>
|
|
 |
|
| Torna in cima |
|
 |
chatgil Newbie


Registrato: Jun 13, 2006 Messaggi: 84
|
Inviato: 09-05-2008 14:42 Oggetto: |
|
|
| nada |
|
| Torna in cima |
|
 |
rino Amministratore


Registrato: Sep 28, 2004 Messaggi: 4659 Località: Anzio
|
Inviato: 09-05-2008 15:18 Oggetto: |
|
|
Scusa ma che fine ha fatto il copyright PHPNuke nel footer  |
|
| Torna in cima |
|
 |
chatgil Newbie


Registrato: Jun 13, 2006 Messaggi: 84
|
Inviato: 09-05-2008 15:19 Oggetto: |
|
|
questa versione che ho è presa in un altro sito non qua.. non saprei manco come si cambia quel messaggio.. nel testo di lingua non c'è!!  |
|
| Torna in cima |
|
 |
rino Amministratore


Registrato: Sep 28, 2004 Messaggi: 4659 Località: Anzio
|
Inviato: 10-05-2008 15:56 Oggetto: |
|
|
Basta inserire il copyright dove hai inserito tutto questo...
| Citazione: | Sito Ufficiale di Riccardo DJ
Tutti i contenuti del sito sono protetti da copyright e diritti di Autore
Sito web, grafica e contenuti creati da Daniele
Per qualsiasi comunicazione, anche in relazione a probabili violazioni di copyright, scrivere a staff@riccardodj.it |
E' vietato l'uso degli open source senza indicare il copyright inoltre alcuni moduli non funzionano se non trovano tale copyright. |
|
| Torna in cima |
|
 |
chatgil Newbie


Registrato: Jun 13, 2006 Messaggi: 84
|
Inviato: 10-05-2008 18:55 Oggetto: |
|
|
rino come ben saprai certe voci le modifichi dalle impostazioni del nuke..
x qnt riguarda il copyright, se il tema non li ha di certo nn ce li metto io.. saluti.. |
|
| Torna in cima |
|
 |
rino Amministratore


Registrato: Sep 28, 2004 Messaggi: 4659 Località: Anzio
|
Inviato: 10-05-2008 19:22 Oggetto: |
|
|
| Il tema non c'entra niente, al max può contenere i riferimenti all'autore del tema. Chi usa PHPNuke è responsabile della pubblicazione dei riferimenti all'autore o al software utilizzato, non è una scelta ma un obbligo di legge. |
|
| Torna in cima |
|
 |
chatgil Newbie


Registrato: Jun 13, 2006 Messaggi: 84
|
Inviato: 10-05-2008 19:29 Oggetto: |
|
|
si dal caso che non so manco da dove si modifiki il copyright.. di conseguenza nn è affar mio..
saluti. |
|
| Torna in cima |
|
 |
robco Amministratore


Registrato: Mar 29, 2005 Messaggi: 216
|
Inviato: 11-05-2008 08:13 Oggetto: |
|
|
| admin preferenze, i messaggi in foot li hai modificati tu, il copyrigth del Nuke stanno li, quindi LI HAI ELIMINATI TU! |
--------------------------------------------------
Non inviate MP per richieste di aiuto. grazie |
|
| Torna in cima |
|
 |
rino Amministratore


Registrato: Sep 28, 2004 Messaggi: 4659 Località: Anzio
|
Inviato: 11-05-2008 11:25 Oggetto: |
|
|
Ok, non si può gestire un sito senza conoscere e rispettare le leggi che governano i diritti d'autore. Se non sai farlo è indispensabile che ti rivolga a chi sa farlo per chiedere istruzioni (che vedo già ti sono arrivate da robco).
I siti che non citano PHPNuke.org come detentore del copyright vengono segnalati al Burzi ed inseriti nella black list. |
|
| Torna in cima |
|
 |
|