. ::  Vendi downloads con Disposable Links  ::  PRO Nuke Forms  ::  Ts Members 2.1  ::  Rilasciato Content Plus 2.2.1  ::  Nuke Debuggeer ::.
Benvenuto su PHP-Nukefordonkeys.com Donkeys76 Mercatino 1200Temi Manuale
 
Benvenuto su PHP-Nukefordonkeys.com

  Iscriviti! E' Gratis!                                                                                                   
La Tua WebAgency


Menu Generale
Home
News
Mappa del Sito
Recensioni
Trova Tutto
Utenti
Forums
Downloads
Contatti
Promo Tuo Sito
Tutorials
Speciali
Manuali
PHPNuke Tools
Utility
Gallerie
Nuke Shopping
Documenti

Recensioni Siti
· MemHT Portal
· Web Agency
· Calcio
· Dieta
· Giochi
· Gossip - SMS
· Investimenti
· Ricette cucina

**************
·casino online
·Sfrutta meglio il web
·Prestito auto

Consigliati



PHP-Nukefordonkeys.com: Forums

Phpnukefordonkeys.com :: Leggi il Topic - eliminare blocchi di sinistra
 FAQFAQ   CercaCerca   Gruppi utentiGruppi utenti   ProfiloProfilo   Messaggi PrivatiMessaggi Privati   LoginLogin 

eliminare blocchi di sinistra
Vai a pagina 1, 2, 3  Successivo
 
Nuovo Topic   Rispondi    Indice del forum -> Grafica e Temi
Precedente :: Successivo  
Autore Messaggio
slaney
Newbie
Newbie


Registrato: Oct 02, 2006
Messaggi: 40

MessaggioInviato: 11-06-2007 18:02    Oggetto: eliminare blocchi di sinistra Rispondi citando

Salve a tutti ho un problema che mi sta facendo impazzire...utilizzo il tema Nature e non risco ad eliminare i blocci di sinistra posto una parte di codice...

/************************************************************/
/* Function themeheader() */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************************/

function themeheader() {
global $user, $banners, $sitename, $name, $slogan, $cookie, $prefix, $db;
cookiedecode($user);
$username = $cookie[1];
if ($username == "") {
$username = "Anonymous";
}
echo "<body text=\"#000000\" link=\"#004080\" vlink=\"#004080\" alink=\"#004080\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";include("themes/Nature/images/topics.php");
if ($banners) {
include("banners.php");
}
$topics_list = "<select name=\"topic\" onChange='submit()'>\n";
$topics_list .= "<option value=\"\">All Topics</option>\n";
$toplist = $db->sql_query("select topicid, topictext from ".$prefix."_topics order by topictext");
while(list($topicid, $topics) = $db->sql_fetchrow($toplist)) {
$topicid = intval($topicid);
if ($topicid==$topic) { $sel = "selected "; }
$topics_list .= "<option $sel value=\"$topicid\">$topics</option>\n";
$sel = "";
}
if ($username == "Anonymous") {
$theuser = " ;; ;;<a href=\"modules.php?name=Your_Account\">Create an account";
} else {
$theuser = " ;; ;;Welcome $username!";
}
$public_msg = public_message();
$tmpl_file = "themes/Nature/header.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;


if ($name=='Forums') {}
else
if ($name=='Private_Messages') {}
else
if ($name=='Members_List') {}
else
if ($name=='Web_Links') {}
else
blocks("left");



$tmpl_file = "themes/Nature/left_center.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;


}


/************************************************************/
/* Function themefooter() */
/* */
/* Control the footer for your site. You don't need to */
/* close BODY and HTML tags at the end. In some part call */
/* the function for right blocks with: blocks(right); */
/* Also, $index variable need to be global and is used to */
/* determine if the page your're viewing is the Homepage or */
/* and internal one. */
/************************************************************/

function themefooter() {
global $index, $foot1, $foot2, $foot3, $foot4, $name;
if ($index == 0) {
$tmpl_file = "themes/Nature/center_right.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;

blocks("right");

}
$footer_message = "$foot1$foot2$foot3$foot4";
$tmpl_file = "themes/Nature/footer.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}



/************************************************************/
/* Function themeindex() */
/* */
/* This function format the stories on the Homepage */
/************************************************************/

function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath, $cookie, $loonr, $vasak, $parem, $kokku, $storyhome, $storynum;
$ThemeSel = get_theme();
if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
$t_image = "themes/$ThemeSel/images/topics/$topicimage";
} else {
$t_image = "$tipath$topicimage";
}
$loonr = ($loonr+1);
if (isset($cookie[3])) {
$storynum = $cookie[3];
} else {
$storynum = $storyhome;
}
$ridaaa1 = round($loonr/2);
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
$content = "$thetext$notes\n";
} else {
if($informant != "") {
$content = "<a href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;username=$informant\">$informant</a> ";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
}
$posted = ""._POSTEDBY." ";
$posted .= get_author($aid);
$posted .= " "._ON." $time $timezone ($counter "._READS.")";
if (($ridaaa1*2) != $loonr) {
$tmpl_file = "themes/Nature/story_home.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
$vasak .= "$r_file";
} else {
$tmpl_file = "themes/Nature/story_home.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
$parem .= "$r_file";
}
if ($loonr == $storynum OR $loonr == $kokku) {
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
echo "<tr>";
echo "<td width=\"49%\" valign=\"top\">";
print $vasak;
echo "</td>";
echo "<td width=\"5\" cellpadding=\"0\" cellspacing=\"0\" valign=\"top\"></td>";
echo "<td width=\"49%\" valign=\"top\">";
print $parem;
echo "</td>";
echo "</tr>";
echo "</table>";
}
}

/************************************************************/
/* Function themeindex() */
/* */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home */
/************************************************************/




così non succede nulla eliminando l' uguale e lasciandone uno solo cioè così:

else
if ($name='Web_Links') {}
else
blocks("left");


sparisco i blocchi di sinistra da tutte le pagine...vorrei che sparissero solo da alcune...

utilizzo

PhpNuke_Donkeys_76v1.0.2

Grazie
Torna in cima
Profilo Messaggio privato
_tony_
Newbie
Newbie


Registrato: Apr 06, 2007
Messaggi: 213

MessaggioInviato: 11-06-2007 18:17    Oggetto: Rispondi citando

hai letto questi?

http://www.phpnukefordonkeys.com/sections-viewarticle-135.html
http://www.phpnukefordonkeys.com/sections-viewarticle-115.html
http://www.phpnukefordonkeys.com/sections-viewarticle-290.html

ciao
Torna in cima
Profilo Messaggio privato HomePage
slaney
Newbie
Newbie


Registrato: Oct 02, 2006
Messaggi: 40

MessaggioInviato: 11-06-2007 18:24    Oggetto: Rispondi citando

Si le ho provate tutte ma niente...non capisco proprio il motivo.... queste son le prove che ho fatto:

//if ($name=='Forums') {
if (($name=='Forums') OR ($name=='Members_List')) {
/* Don't display it. */
}
else {
blocks(left);
}

-----------------------------
-----------------------------

if ($name=='Members_List'){
/* Don't display it. */
}
else
if ($name=='Forums'){
/* Don't display it. */
}
else {
blocks(left);
}

-------------------
------------------

non so proprio come fare....

Se quacuno potesse aiutarmi ne sare davvero gratto...
Torna in cima
Profilo Messaggio privato
slaney
Newbie
Newbie


Registrato: Oct 02, 2006
Messaggi: 40

MessaggioInviato: 11-06-2007 19:17    Oggetto: Rispondi citando

nessuno mette una mano nel cuore e mi da una mano?
Torna in cima
Profilo Messaggio privato
_tony_
Newbie
Newbie


Registrato: Apr 06, 2007
Messaggi: 213

MessaggioInviato: 11-06-2007 19:38    Oggetto: Rispondi citando

slaney ha scritto:
nessuno mette una mano nel cuore e mi da una mano?


guarda io sono il meno indicato a dare consigli però nella guida dice di sostituire blocks(left); con:

if ($name='forums') {}
else {
blocks(left);
}


hai provato a mettere questo? Sono un pò ignorante ma in quello che scrivi tu vedo di differente il ==....buh, può darsi che non c'entra nula!!!!
ciao
Torna in cima
Profilo Messaggio privato HomePage
slaney
Newbie
Newbie


Registrato: Oct 02, 2006
Messaggi: 40

MessaggioInviato: 11-06-2007 20:09    Oggetto: Rispondi citando

ti ringrazio tantissimo, con i due == non succede nulla invecce con uno solo spariscono i blocchi da tutte le pagine e a me nn serve che spariscano da tutte ma bensì dal forum, gallery ecc....

Chissa che quancuno decida di darmi una mano.....
Torna in cima
Profilo Messaggio privato
_tony_
Newbie
Newbie


Registrato: Apr 06, 2007
Messaggi: 213

MessaggioInviato: 11-06-2007 20:32    Oggetto: Rispondi citando

slaney ha scritto:
ti ringrazio tantissimo, con i due == non succede nulla invecce con uno solo spariscono i blocchi da tutte le pagine e a me nn serve che spariscano da tutte ma bensì dal forum, gallery ecc....

Chissa che quancuno decida di darmi una mano.....



beh....hai provato a vedere nel file index.php di quei moduli?
Torna in cima
Profilo Messaggio privato HomePage
slaney
Newbie
Newbie


Registrato: Oct 02, 2006
Messaggi: 40

MessaggioInviato: 12-06-2007 15:35    Oggetto: Rispondi citando

scusa il ritardo, si ho controllato anche nei moduli...mi basterebbe eliminarli solo dal magic frame vorrei eliminarli entrambi...avete una soluzione?
Torna in cima
Profilo Messaggio privato
ferdy08
Newbie
Newbie


Registrato: Sep 26, 2006
Messaggi: 50
Località: Alex

MessaggioInviato: 12-06-2007 15:39    Oggetto: Rispondi citando

se vuoi toglire i blocchi di sinistra da dei moduli in particolare .... io ho usato questo nel tema....
Codice:
if ($name=='nome-modulo'){
/* Don't display it. */
}
else {
blocks(left);
}


ciao Smile
Torna in cima
Profilo Messaggio privato
slaney
Newbie
Newbie


Registrato: Oct 02, 2006
Messaggi: 40

MessaggioInviato: 12-06-2007 15:44    Oggetto: Rispondi citando

ti ringrazio...ma come ho scritto nei post precedenti non riesco in nessun modo ad eliminarli così, penso ci sia qualche errore nel theme....se qualcuno sarebbe cosi gentile da darmi una mano...
Torna in cima
Profilo Messaggio privato
slaney
Newbie
Newbie


Registrato: Oct 02, 2006
Messaggi: 40

MessaggioInviato: 12-06-2007 15:48    Oggetto: Rispondi citando

quello che non riesco a capire è perche con due == non cambia nulla e con uno elimina i blocchi di sinistra da tutte le pagine...

if ($name='Gallery'){
/* Don't display it. */
}
else {
blocks(left);
}
Torna in cima
Profilo Messaggio privato
slaney
Newbie
Newbie


Registrato: Oct 02, 2006
Messaggi: 40

MessaggioInviato: 12-06-2007 18:27    Oggetto: Rispondi citando

cè nessuno?
Torna in cima
Profilo Messaggio privato
slaney
Newbie
Newbie


Registrato: Oct 02, 2006
Messaggi: 40

MessaggioInviato: 12-06-2007 18:58    Oggetto: Rispondi citando

il problema non cè se il link è diretto ( http://nome_sito/modules.php?name=Forums

Ma nella versione --- PhpNuke_Donkeys_76v1.0.2

il link diventa in automatico così

http://nome_sito/Forums.html

come posso fare?

aiutatemi sto impazzendo....
Torna in cima
Profilo Messaggio privato
slaney
Newbie
Newbie


Registrato: Oct 02, 2006
Messaggi: 40

MessaggioInviato: 13-06-2007 17:24    Oggetto: Rispondi citando

qualcuno sa dirmi dove trovo una guida per capire come funziona il fatto di eliminare una pagina dal percorso html...cioè:

index.php

diventa automaticamente

index.html

un modulo es. http://tuo_sito/modules.php?name=Gallery

diventa

http://tuo_sito/Gallery.html

devo solo eliminare i blocchi di sinistra da una pagina ci sono appresso 3 gg qualcuno può aiutarmi?
Torna in cima
Profilo Messaggio privato
rino
Amministratore
Amministratore


Registrato: Sep 28, 2004
Messaggi: 4660
Località: Anzio

MessaggioInviato: 13-06-2007 19:20    Oggetto: Rispondi citando

Le guide ci sono ma in inglese, basta cercare su Google e ne trovi. Cmq è un discorso abbastanza complicato. Su quale modulo vuoi togliere il blocco sx? Hai provato a cambiare tema?

Torna in cima
Profilo Messaggio privato Invia email HomePage
Mostra prima i messaggi di:   
Nuovo Topic   Rispondi    Indice del forum -> Grafica e Temi Tutti i fusi orari sono GMT + 2 ore
Vai a pagina 1, 2, 3  Successivo
Pagina 1 di 3

 
Vai a:  
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



Powered by phpBB © 2001 - 2007 phpBB Group
Forums ©


Debt Consolidation - Arizona Pools - Internet Marketing - Loans
Siti consigliati: Weblord - Tiempolibresite - jugo- pcprimipassi - aliek - tweakness - Script e Manuali - net-free - Manuali - HardwareMax - Web Promotion - Directory - Tuttosoft.it - GBComputer - Computerxtreme
Network: PHP Nuke Maximus - 1 Million Free Games - 1 Million Nuke Pixel - Corvoingordo - Ingegneria Gestionale - Torre del Greco

Generazione pagina: 3.49 Secondi