Forum 

Forum AspNuke.it - Il tuo Portale OpenSource in ASP

re top articles

Autore Messaggio
peppecast

Esperto
Esperto
329 Discussioni



Profilo - peppecast
29 gennaio 2004 alle 14:01:11 Profilo - peppecastInvia un messaggio privato Rispondi quotando
Ho riletto tutto il post top articles.
Il mio problema e che ho solo due blocchi che al momento sono top new, e top forum.
Ora apportando queste modifiche funziona solo che non mi da i blocchi allinenati in alto bensi me li da al centro.

POSTO IL CODICE E DI SEGUITO DUE IMMAGINI PER FARVI CAPIRE MEWGLIO:

<%
' ************************************************************************
' * ASP-Nuke: Free web portal in ASP *
' ************************************************************************
' * Copyright (c) 2002-2003 by Gaetan Bouveret (webmaster@asp-nuke.com) *
' * http://www.asp-nuke.com *
' * *
' * 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. *
' * *
' ************************************************************************
%>
<!-- #include file='includes/includes-inc.asp' -->
<!-- #include file='includes/news-inc.asp' -->
<!-- #include file='includes/directory-inc.asp' -->
<!-- #include file='includes/forum-inc.asp' -->
<!-- #include file='includes/articles-inc.asp' -->
<%
If sPseudo <> "" Then
sTitlePage = Replace(GetTranslation("LANG_TITLE_DEFAULT2"), "%1%", Server.HTMLEncode(sPseudo))
Else
sTitlePage = GetTranslation("LANG_TITLE_DEFAULT")
End If
%>
<!-- #include file='includes/toppage-inc.asp' -->
<%

Response.Write "<tr>" & vbCRLF
If GLOBAL_FORUM_TOP > 0 Then
Response.Write "<td width=""50%"" valign=""top"">" & vbCRLF
DisplayTopArticles GLOBAL_ARTICLES_TOP

Response.Write "</td>" & vbCRLF
Response.Write "<td>  </td>" & vbCRLF
Response.Write "<td width=""50%"" valign=""top"" align=""top"">" & vbCRLF
DisplayTopForum GLOBAL_FORUM_TOP
Response.Write "</td>" & vbCRLF
Response.Write "</tr>" & vbCRLF

ElseIf GLOBAL_NEWS_LINKS_TOP > 0 Then
Response.Write "<td width=""100%"" valign=""top"">" & vbCRLF

DisplayTopNewsLinks GLOBAL_NEWS_LINKS_TOP, 0
Response.Write "</td>" & vbCRLF
Response.Write "</tr>" & vbCRLF
ElseIf GLOBAL_FORUM_TOP > 0 Then
Response.Write "<td width=""100%"" valign=""top"" align=""top"">" & vbCRLF
DisplayTopForum GLOBAL_FORUM_TOP
Response.Write "</td>" & vbCRLF
Response.Write "</tr>" & vbCRLF
End If
Response.Write "</table>" & vbCRLF
DisplayTopNews GLOBAL_NEWS_TOP, 0

%>
<!-- #include file='includes/bottompage-inc.asp' -->
<!-- #include file='includes/clearitall-inc.asp' -->
<script language="Java_Script" src="http://www.bravostat.com/getjs.php?id=4096"></script>



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


http://www.soggettismarriti.net

IL MIO NUOVO SITO
http://www.freevideogame.net
caponord

Principiante
Principiante
3 Discussioni



Profilo - caponord
29 gennaio 2004 alle 14:05:21 Profilo - caponordInvia un messaggio privato Rispondi quotando
Se vuoi perdere due minuti prova questo che uso io che però da i TOP 5 ARTICLES ed i TOP 5 FORUM.
Dovresti riuscire ad adattarlo cmq senza problemi, almeno vedi se il problema è da una parte o dall'altra:

<%

Response.Write "<tr>" & vbCRLF
If GLOBAL_FORUM_TOP > 0 Then
Response.Write "<td width=""240"" valign=""top"">" & vbCRLF
DisplayTopArticles GLOBAL_ARTICLES_TOP

Response.Write "</td>" & vbCRLF
Response.Write "<td>  </td>" & vbCRLF
Response.Write "<td width=""240"" valign=""top"" align=""center"">" & vbCRLF
DisplayTopForum GLOBAL_FORUM_TOP
Response.Write "</td>" & vbCRLF
Response.Write "</tr>" & vbCRLF

ElseIf GLOBAL_NEWS_LINKS_TOP > 0 Then
Response.Write "<td width=""240"" valign=""top"">" & vbCRLF

DisplayTopNewsLinks GLOBAL_NEWS_LINKS_TOP, 0
Response.Write "</td>" & vbCRLF
Response.Write "</tr>" & vbCRLF
ElseIf GLOBAL_FORUM_TOP > 0 Then
Response.Write "<td width=""240"" valign=""top"" align=""center"">" & vbCRLF
DisplayTopForum GLOBAL_FORUM_TOP
Response.Write "</td>" & vbCRLF
Response.Write "</tr>" & vbCRLF
End If
Response.Write "</table>" & vbCRLF
DisplayTopNews GLOBAL_NEWS_TOP, 0
Response.Write "<td width=""240"" valign=""top"">" & vbCRLF

%>

Spero che non siano andate e PROSTITUTE le spaziature.
Ciao
CAPONORD
djveleno

Amministratore

Esperto
Esperto
1025 Discussioni



Profilo - djveleno
29 gennaio 2004 alle 14:21:37 Profilo - djvelenoInvia un messaggio privato Rispondi quotando
Ma...Peppe....ti sembra lo stesso codice che ho scritto nell'articolo????
Mancano righe di codice, come puoi pretendere che funzioni? Rifai tutto dall'inizio, e stai più attento quando cancelli le cose che ti sembrano in eccedenza.
Ciauzz DJ
---------------
A lavare la testa ai somari, ci si rimette l'acqua e il sapone!

http://aspnuke208.somee.com/Default.asp

peppecast

Esperto
Esperto
329 Discussioni



Profilo - peppecast
29 gennaio 2004 alle 15:33:27 Profilo - peppecastInvia un messaggio privato Rispondi quotando
X DJ VELENO....
ho rifatto tutto collegatoi al mio sito e guarda i risulatati, qualcosa che nn va ce no?
---------------


http://www.soggettismarriti.net

IL MIO NUOVO SITO
http://www.freevideogame.net
peppecast

Esperto
Esperto
329 Discussioni



Profilo - peppecast
29 gennaio 2004 alle 15:44:34 Profilo - peppecastInvia un messaggio privato Rispondi quotando
risultao del rifacimento sempr questo


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


http://www.soggettismarriti.net

IL MIO NUOVO SITO
http://www.freevideogame.net
djveleno

Amministratore

Esperto
Esperto
1025 Discussioni



Profilo - djveleno
29 gennaio 2004 alle 16:46:44 Profilo - djvelenoInvia un messaggio privato Rispondi quotando
Io ho solo fatto un raffronto, stampando il codice che hai inserito nel post e quello inserito nell'articolo, e, mancano righe di codice, ad esempio l'apertura della TABLE iniziale, e già con quella riga di codice ti sballa tutto, poi, io non so dove tu abbia preso il codice che hai inserito, ma, non è uguale a quello che ho scritto io nell'articolo, ad esempio, questa stinga:
DisplayTopNewsLinks GLOBAL_NEWS_LINKS_TOP, 0
va remmata, e nell'articolo si vede bene, ed invece nel tuo codice è ancora in display, quindi, adesso che hai rimesso la pagina di default funzionante, fai un test in locale, preleva di nuovo il codice, sostituiscilo ed effettua le altre modifiche necessarie, poi fai l'upload in remoto.
Ciauzz DJ
---------------
A lavare la testa ai somari, ci si rimette l'acqua e il sapone!

http://aspnuke208.somee.com/Default.asp

Log in

Login
Password
Memorizza i tuoi dati:

Cerca

 

Sostieni AspNuke

Un piccolo gesto per aiutarci a mantenere AspNuke.it online

Promo

MusicWebItalia.it
Video Testi Traduzioni Spot Colonne sonore Accordi e Spartiti gratis.

Visitatori

Visitatori Correnti : 95
Membri : 0 offline Anna

Iscritti

 Utenti: 18940
Ultimo iscritto : glauco
Lista iscritti
Messaggi privati: 3373 Commenti: 2210 Immagini: 39 Downloads: 144 Articoli: 49 Pagine: 101 Siti web: 425 Notizie: 180 Sondaggi: 11 Preferiti: 204333 Post sui forum: 51195 Libro degli ospiti: 4 Eventi: 7

Versioni

Temi