¿Nuevo usuario?
Puedes registrarte aquí
 
       
Menú principal
 
 Navegación
Buscar
dpForo
dpFAQ
dpManuales
dpDescargas
dpThemes
Noticias por Temas
Recomiéndanos
Enlaces
Créditos
dzStaffStatus
Miembros:  Administradores
No Conectado  el_cuervo  
No Conectado  Dixso  
Miembros:  Colaboradores
No Conectado  AnyKiller  
No Conectado  nestormateo  
No Conectado  docser  
Miembros:  Moderadores
No Conectado  cardiru  
No Conectado  javiermisol  
Miembros:  Traductores
No Conectado  gnrx  
Miembros:  Miembros:
Ultimo:  Nuevos Hoy: 0
Ultimo:  Nuevos Ayer: 9
Ultimo:  Total: 71806
Ultimo:  Ultimo:
keventt
Miembros:  Conectados
Miembros:  Miembros: 1
Invitados:  Invitados: 47
Total:  Total: 48
Miembros:  Miembros Online
Conectado  Bucle  
Sponsor
dp-Tools
 Generador de Menús
 Pop-Up Maker
 Generador de Bloques
 Generador de Módulos
Enlázanos


Texto del enlace:


Otros Banners:



Theme creado por
dev-postnuke.com

 Foro dev-postnuke.com
  Postnuke :: Configuración de Themes
  Giga_gui_signal

Bienvenido invitado

Moderado por: el_cuervo, Dixso, AnyKiller, cardiru, javiermisol << Tema anterior   Tema siguiente >>
Imprimir tema
Ir a la pagina : Página previa 1 2
Autor Tema: Giga_gui_signal
Invitado 
Enviado: 04/11/2003 a las 22:11
Usuario no registrado Si es que me estaba complicando a lo tonto cuando tendría que haber mirado mejor donde estaba poniendo las cosas y por qué smile

Ahí lo llevas con bloques centrales:

<?php
global $sepcolor, $thename, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $bgcolor5;
$thename = "Giga_gui_signal";
$bgcolor1 = "#808080";
$bgcolor2 = "#999999";
$bgcolor3 = "#7D7D7D";
$bgcolor4 = "#999999";
$sepcolor = "#000000"; // Color for the seperator used in the theme. Theme only.
$textcolor1 = "#000000";
$textcolor2 = "#000000";
$postnuke_theme = true;

themes_get_language();

function OpenTable() {
global $bgcolor1, $bgcolor2;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\">
\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\">
\n";
}

function OpenTable2() {
global $bgcolor1, $bgcolor2;
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\">
\n";
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\">
\n";
}

function CloseTable() {
echo "
\n ";
}

function CloseTable2() {
echo "
\n ";
}

function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = ""._NOTE."$notes\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
echo "$thetext
$notes\n";
} else {
$boxstuff .= "$thetext

$notes\n";
echo "$boxstuff\n";
}
}

function themeheader() {
global $thename, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $sepcolor, $sitename, $slogan, $banners, $index;
echo "</HEAD>\n"
."<BODY>\n"
."
\n";
if ($banners) {
include("banners.php");
}
echo "
"
."<table width=\"780\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">"
.""
."<td colspan=\"3\">"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">"
.""
."<td width=\"210\"><img src=\"themes/$thename/images/title_r1_c1.gif\" width=\"210\" height=\"90\" border=\"0\">"
."<td width=\"220\" background=\"themes/$thename/images/title_r1_c2.gif\">"
."<a class=\"pn-logo\" href=\"index.php\">$sitename
\n"
."<font class=\"pn-logo-small\">$slogan\n"
."<td align=\"right\">"
."
"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">"
.""
."<td width=\"10\"><img src=\"themes/$thename/images/button_r1_c1.gif\" width=\"10\" height=\"22\" border=\"0\" alt=\"\">"
.'
'
."<td align=\"right\" background=\"themes/$thename/images/button_r1_c2.gif\" width=\"100%\" CLASS=\"pn-title\">"
.'<input type="hidden" name="name" value="Search">'
.'<input type="hidden" name="file" value="index">'
.'<input type="hidden" name="op" value="modload">'
.'<input type="hidden" name="action" value="search">'
.'<input type="hidden" name="overview" value="1">'
.'<input type="hidden" name="active_stories" value="1">'
.'<input type="hidden" name="bool" value="AND">'
.'<input type="hidden" name="stories_cat" value="">'
.'<input type="hidden" name="stories_topics" value="">'
.''._SEARCH.' '
."<input class=\"pn-text\" NAME=\"q\" TYPE=\"text\" VALUE=\"$q\"> \n"
.""
.''
."<td width=\"16\">"
."<img src=\"themes/$thename/images/button_r1_c3.gif\" width=\"16\" height=\"22\" border=\"0\" alt=\"\">"
.""
."<td width=\"10\">"
."<img src=\"themes/$thename/images/button_r2_c1.gif\" width=\"10\" height=\"7\" border=\"0\" alt=\"\">"
."<td width=\"100%\" background=\"themes/$thename/images/button_r2_c2.gif\">"
."<img src=\"themes/$thename/images/pixel.gif\" alt=\"\" width=\"1\" height=\"1\">"
."<td width=\"16\"><img src=\"themes/$thename/images/button_r2_c3.gif\" width=\"16\" height=\"7\" border=\"0\" alt=\"\">"
.""
."<font class=\"pn-logo-small\">";
echo strftime(_DATETIMEBRIEF, (GetUserTime(time())));
echo "
\n"
.""
.""
.""
."<td width=\"170\" valign=\"top\" align=\"center\">"
."<table width=\"170\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"
."<td colspan=3>"
."<img border=0 height=25 src=\"themes/$thename/images/nav-topA.gif\" width=170 alt=\"\">"
.""
."<td width=\"55\" background=\"themes/$thename/images/nav-left_bg.gif\" valign=\"top\">"
."<img border=0 height=115 src=\"themes/$thename/images/nav-left.gif\" width=55 alt=\"\">"
.""
."<td bgcolor=\"#808080\" width=\"90\">";
blocks('left');
echo ""
."<td width=\"25\" background=\"themes/$thename/images/nav-right.gif\"> "
.""
."<td colspan=3>"
."<img border=0 height=30 src=\"themes/$thename/images/nav-sub.gif\" width=170 alt=\"\">"
.""
."

<a href=\"http://www.guistuff.com\" target=\"blank\"><img border=0 height=78 src=\"themes/$thename/images/gui.gif\" width=105 alt=\"\">

"
.""
."<td width=\"100%\" align=\"center\" valign=\"top\">";

if ($index ==1) {
blocks('centre');
}


}

function themefooter() {
global $index, $thename, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $sepcolor;
echo "
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"
.""
."<img border=0 height=39 src=\"themes/$thename/images/header2.gif\" width=243 alt=\"\">"
.""
.""
."<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">"
.""
."<td width=\"10\"><img src=\"themes/$thename/images/pixel.gif\" alt=\"\" width=\"10\" height=\"1\">"
.""
."<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\" bgcolor=\"$bgcolor2\">"
.""
."<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\" bgcolor=\"#7D7D7D\">"
."";
footmsg();
echo ""
.""
.""
.""
."";

if ($index == 1) {
echo "<td valign=\"top\" width=\"140\">";
blocks('right');
echo "";
}
echo ""
."
";
}

function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $tipath, $anonymous, $thename, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $sepcolor;
if ($informant == "") {
$informant = $anonymous;
}
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"
.""
."<img border=0 height=39 src=\"themes/$thename/images/header.gif\" width=243 alt=\"\">"
.""
.""
.""
."<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">"
.""
."<td width=\"10\"><img src=\"themes/$thename/images/pixel.gif\" alt=\"\" width=\"10\" height=\"1\">"
.""
."<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\" bgcolor=\"#CCCCCC\">"
.""
.""
."<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\" bgcolor=\"$bgcolor2\">"
.""
.""
."<font CLASS=\"pn-title\">$title
"
."<font CLASS=\"pn-sub\">"._POSTEDBY.": $informant "._ON." $time $timezone"
."

"
."<a href=\"search.php?query=&topic=$topic\"><img src=\"$tipath$topicimage\" border=\"0\" Alt=\"$topictext\" align=\"left\" hspace=\"5\" vspace=\"5\">\n";
FormatStory($thetext, $notes, $aid, $informant);
echo ""
.""
.""
.""
."<td width=\"10\"><img src=\"themes/$thename/images/pixel.gif\" alt=\"\" width=\"10\" height=\"1\">"
."<td align=\"right\">"
."<table width=\"75%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\" bgcolor=\"#CCCCCC\">"
.""
.""
."<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\" bgcolor=\"$bgcolor2\">"
.""
."<td align=\"right\" CLASS=\"pn-sub\">($counter "._READS.") $morelink"
.""
.""
.""
.""
."
";
}

function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $admin, $sid, $tipath, $thename, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $sepcolor;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"
.""
."<img border=0 height=39 src=\"themes/$thename/images/header.gif\" width=243 alt=\"\">"
.""
.""
.""
."<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">"
.""
."<td width=\"10\"><img src=\"themes/$thename/images/pixel.gif\" alt=\"\" width=\"10\" height=\"1\">"
.""
."<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\" bgcolor=\"#CCCCCC\">"
.""
.""
."<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\" bgcolor=\"$bgcolor2\">"
.""
.""
."<font CLASS=\"pn-title\">$title
"
."<font CLASS=\"pn-sub\">"._POSTEDBY.": $informant"
."

";
if ($admin) {
echo "<font class=\"pn-sub\"> [ <a href=\"admin.php?op=EditStory&sid=$sid\">"._EDIT." | <a href=\"admin.php?op=RemoveStory&sid=$sid\">"._DELETE." ]

\n";
}
echo ""._TOPIC." <a href=\"search.php?query=&topic=$topic&author=\">$topicte xt
\n";
FormatStory($thetext, $notes, $aid, $informant);
echo ""
.""
.""
.""
."<td width=\"10\"><img src=\"themes/$thename/images/pixel.gif\" alt=\"\" width=\"10\" height=\"1\">"
."<td align=\"right\">"
."<table width=\"60%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"#CCCCCC\">"
.""
.""
."<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"2\" bgcolor=\"$bgcolor2\">"
.""
."<td align=\"right\">more links"
.""
.""
.""
.""
.""
.""
.""
.""
.""
.""
."
";
}

function themesidebox($block) {
global $thename, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $bgcolor5, $block_side;
if($block_side == "l") { //lowercase letter L
echo "<font CLASS=\"pn-title\">$block[title]\n"
."
\n"
."
\n"
."<FONT CLASS=\"pn-normal\">$block[content]\n"
."
\n"
."
\n";
}
else {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"140\">"
.""
."<td width=\"10\"><img src=\"themes/$thename/images/button_r1_c1.gif\" width=\"10\" height=\"22\" border=\"0\" alt=\"\">"
."<td align=\"center\" background=\"themes/$thename/images/button_r1_c2.gif\" width=\"114\" CLASS=\"pn-title\">$block[title]"
."<td width=\"16\">"
."<img src=\"themes/$thename/images/button_r1_c3.gif\" width=\"16\" height=\"22\" border=\"0\" alt=\"\">"
.""
.""
."<td width=\"10\">"
."<img src=\"themes/$thename/images/button_r2_c1.gif\" width=\"10\" height=\"7\" border=\"0\" alt=\"\">"
."<td width=\"114\" background=\"themes/$thename/images/button_r2_c2.gif\">"
."<img src=\"themes/$thename/images/pixel.gif\" alt=\"\" width=\"1\" height=\"1\">"
."<td width=\"16\"><img src=\"themes/$thename/images/button_r2_c3.gif\" width=\"16\" height=\"7\" border=\"0\" alt=\"\">"
.""
.""
."<td width=\"10\"> "
."<td valign=\"top\" width=\"114\">"
."<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\">"
.""
.""
."<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"1\" bgcolor=\"$bgcolor1\">"
.""
."<td CLASS=\"pn-normal\">$block[content]"
.""
.""
.""
.""
.""
.""
."<td width=\"16\"> "
.""
."
";
}
}
?>

Lo acabo de probar en nuestro servidor el theme.php éste y va de muerte el theme smile

Un saludo.


Epicureo
Enviado: 05/11/2003 a las 01:11
Frecuente
Frecuente


Karma: 0 (0 Votos)

Registrado: 01/11/03
Mensajes: 47

Estado: Desconectado
Ultima visita: 23/01/08
Jejeje No veas si me gusta como queda. Le voy a probar a ver que tal me va. Me parece que me lo voy a quedar. smile

VerisZanks Waisen!! :thumbup:

Epicureo Enviar MP
Invitado 
Enviado: 05/11/2003 a las 02:11
Usuario no registrado Nada hombre, si para eso estamos smile
Epicureo
Enviado: 05/11/2003 a las 12:11
Frecuente
Frecuente


Karma: 0 (0 Votos)

Registrado: 01/11/03
Mensajes: 47

Estado: Desconectado
Ultima visita: 23/01/08
Lo dicho Waisen, me gusta muchísimo como queda.
De momento se va a quedar este en la web. Anoche le estuve adaptando un poco y voy a ver si soy capaz de terminar de pulirlo.
¿Te gusta a ti el Theme???

Saludos!! smile
Epicureo Enviar MP
Invitado 
Enviado: 05/11/2003 a las 19:11
Usuario no registrado A mi me encanta, lo vi hace como 2 años en una web de counter-strike (no recuerdo cual, pero se que era famosilla y española) y la verdad es que me encanto. Es un poco antiguo pero la verdad es que su autor se lo trabajo mucho.

Quizas te sea un poco complejo personalizarlo a tu gusto debido a su estructura, pero si el cambio es solo de "estetica", esto es, cambiar colores e imagenes, creo que no te costara mucho smile

Cualquier problemilla que se te presente y te pueda ayudar, ni te lo pienses.

¿Alguien controla el tema de Puertas Logicas y Álgebra de Boole? :P No debi faltar a tantas clases, ahora me va a tocar estudiarmelo todo por el metodo del autoaprendizaje smile

Dios!!! por 2 semanas de clase a principio de curso sin atender en clase me he kedado atras y no me entero de nada!!! MAY DAY!!! :P

Lo dicho, un gran theme, si señor smile

[Editado el 5/11/2003 por Waisen]
Epicureo
Enviado: 06/11/2003 a las 01:11
Frecuente
Frecuente


Karma: 0 (0 Votos)

Registrado: 01/11/03
Mensajes: 47

Estado: Desconectado
Ultima visita: 23/01/08
Pues no pienso hacer demasiados cambios, pero más que nada por que me gusta como queda.

Si no te importa voy a comentarte los fallos que me he encontrado.

Primero que al estar logado como administrador y leer una noticia no me enseña las opciones EDITAR-BORRAR. Es un problema por que con este diseño he de retocar todas y hacerlas mas pequeñas. Tengo publicadas 779...

Donde deberia enseñar el link de vuelta al topic, muestra un link así:
Tema xt
y el xt te enlaza a http://www.misitio.com/search.php?query=&topic=31&author=
osea, a una página que no existe.

Y por ultimo, como hacer para que no salgan las imagenes del topic en las notícias del index? Además es que la ruta de la imagen está mal y no carga. Pero yo quiero quitarla.

Estos son todos los fallos que da el Theme. Es cuestión de seguir modificando el theme.php??

PD: Si con esto lo llevo crudo... con las Puertas Logicas y el Álgebra ese imagína.. wow
Epicureo Enviar MP
Invitado 
Enviado: 06/11/2003 a las 02:11
Usuario no registrado Intentare resolverte tus dudas porque puede que sea mi ultimo post smile

Para borrar el topic elimina esta linea:

."<a href=\"search.php?query=&topic=$topic\"><img src=\"$tipath$topicimage\" border=\"0\" Alt=\"$topictext\" align=\"left\" hspace=\"5\" vspace=\"5\">\n";

Justo en la anterior, ."

"
añade un ;

Igual con:

echo ""._TOPIC." <a href=\"search.php?query=&topic=$topic&author=\">$topicte xt
\n";


pero en este caso no añadas nada en la linea anterior ya que es justo la que mencionas de editar y borrar noticias:

if ($admin) {
echo "<font class=\"pn-sub\"> [ <a href=\"admin.php?op=EditStory&sid=$sid\">"._EDIT." | <a href=\"admin.php?op=RemoveStory&sid=$sid\">"._DELETE." ]

\n";
}


Lo cual deberias sustituir por:

if (pnSecAuthAction(0, 'Stories::Story', "$info[aid]:$info[cattitle]:$info[sid]", ACCESS_EDIT)) {
echo "<span class=\"pn-sub\"> [ <a href=\"admin.php?module=NS-AddStory&op=EditStory&sid=$info[sid]\">"._EDIT." ]";
if (pnSecAuthAction(0, 'Stories::Story', "$info[aid]:$info[cattitle]:$info[sid]", ACCESS_DELETE)) {
echo " [ <a href=\"admin.php?module=NS-AddStory&op=RemoveStory&sid=$info[sid]\">"._DELETE." ]";
}


Ya me diras que tal smile
Epicureo
Enviado: 06/11/2003 a las 04:11
Frecuente
Frecuente


Karma: 0 (0 Votos)

Registrado: 01/11/03
Mensajes: 47

Estado: Desconectado
Ultima visita: 23/01/08
Lo primero para eliminar el topic, ok! smile

Lo segundo no me ha funcionado...

Dices que borre:

if ($admin) {
echo "<font class=\"pn-sub\"> [ <a href=\"admin.php?op=EditStory&sid=$sid\">"._EDIT." | <a href=\"admin.php?op=RemoveStory&sid=$sid\">"._DELETE." ]

\n";
}

y escriba:

if (pnSecAuthAction(0, 'Stories::Story', "$info[aid]:$info[cattitle]:$info[sid]", ACCESS_EDIT)) {
echo "<span class=\"pn-sub\"> [ <a href=\"admin.php?module=NS-AddStory&op=EditStory&sid=$info[ sid]\">"._EDIT." ]";
if (pnSecAuthAction(0, 'Stories::Story', "$info[aid]:$info[cattitle]:$info[sid]", ACCESS_DELETE)) {
echo " [ <a href=\"admin.php?module=NS-AddStory&op=RemoveStory&sid=$inf o[sid]\">"._DELETE." ]";
}


A ver si mañana mas fresquito me rula. wow

Tu último post??
Epicureo Enviar MP
Invitado 
Enviado: 12/11/2003 a las 22:11
Usuario no registrado Me gustaria saber que tal al final con lo de la administracion smile

Un saludo!
Epicureo
Enviado: 09/12/2003 a las 03:12
Frecuente
Frecuente


Karma: 0 (0 Votos)

Registrado: 01/11/03
Mensajes: 47

Estado: Desconectado
Ultima visita: 23/01/08
Hola de nuevo!

Pues finalmente decidí abandonar el Theme. La web es de mucha lectura y los usuarios se quejaban de poca claridad con los colores y fuentes.

Ahí sigo diambulando sin decidir un Theme fijo...

Muchas gracias por toda la ayuda Waisen. smile
Epicureo Enviar MP
Ir a la pagina : Página previa 1 2




Powered by pnForum Version 2.6

Inicio  |  dpFaq  |  dpManuales  |  dpDescargas  |  dpThemes  |  Contacta

Web site powered by PostNuke MySQL PHP Postnuke Spain PHP RSSPixel Add to Technorati Favorites

Todos los logos y marcas registradas en este sitio son propiedad de sus respectivos dueños. Los comentarios son propiedad de sus autores, el resto es de este sitio Web (c) 2003, que fue creado con PostNuke, un sistema portal Web escrito en PHP. PostNuke es Software Libre liberado bajo la licencia GNU/GPL.

Dev-CMS.com :: Amplía tus horizontes.

HOSPEDAJE Y DOMINIOS -- Tu Hosting
Alojamiento Web --- Registro de Dominios