Forum 

Forum AspNuke.it - Il tuo Portale OpenSource in ASP

MOD TOP ARTICLES

Autore Messaggio
alextheforce

Amatore
Amatore
37 Discussioni



Profilo - alextheforce
28 giugno 2003 alle 14:10:56 Profilo - alextheforceInvia un messaggio privato Rispondi quotando
Ho installato il mod top articles, ma non funge, ho seguito le istruzioni all'interno del file ma niente. Ecco il mio default.asp
<%
' ************************************************************************
' * 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/articleshp-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 "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF
Response.Write " <tr>" & vbCRLF
If GLOBAL_NEWS_LINKS_TOP > 0 and GLOBAL_FORUM_TOP > 0 Then
Response.Write " <td width=""50%"" valign=""top"">" & vbCRLF
DisplayTopNewsLinks GLOBAL_NEWS_LINKS_TOP, 0
Response.Write " </td>" & vbCRLF
Response.Write " <td>  </td>" & vbCRLF
Response.Write " <td width=""50%"" valign=""top"" align=""right"">" & 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=""right"">" & vbCRLF

DisplayTopForum GLOBAL_FORUM_TOP
Response.Write " </td>" & vbCRLF
Response.Write " </tr>" & vbCRLF

Response.Write " <tr>" & vbCRLF
Response.Write " <td colspan=""3"" width=""100%"" valign=""top"">" & vbCRLF
DisplayTopArticles GLOBAL_ARTICLES_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' -->
bloobs2003

Utente
Utente
81 Discussioni



Profilo - bloobs2003
28 giugno 2003 alle 16:18:55 Profilo - bloobs2003Invia un messaggio privato blooobs2003 Rispondi quotando
Ciao Alextheforce.. mi sembra che, se non è soltanto un errore di scrittura qui nel post, hai tra gli includes il file articleshp-inc.asp mentre dovrebbe essere articles-inc.asp, a meno che tu non abbia cambiato i nomi ai file..
inoltre se non è quello il problema puoi provare ad usare questa parte di codice sostituendolo nel tuo file default.asp..ricordando di fare una copia del default.asp prima di fare le modifiche... spero ti possa essere utile..

Response.Write " <tr>" & vbCRLF
If GLOBAL_NEWS_LINKS_TOP > 0 and GLOBAL_FORUM_TOP > 0 Then
Response.Write " <td width=""50%"" valign=""top"">" & vbCRLF
DisplayTopNewsLinks GLOBAL_NEWS_LINKS_TOP, 0
Response.Write " </td>" & vbCRLF
Response.Write " <td>  </td>" & vbCRLF
Response.Write " <td width=""50%"" valign=""top"" align=""right"">" & 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=""right"">" & vbCRLF
DisplayTopForum GLOBAL_FORUM_TOP
Response.Write " </td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
End If
Response.Write "</table>" & vbCRLF
DisplayTopArticles GLOBAL_ARTICLES_TOP
DisplayTopNews GLOBAL_NEWS_TOP, 0

%><!-- #include file='includes/bottompage-inc.asp' --><!-- #include file='includes/clearitall-inc.asp' -->

---------------
L'umiltà è la virtù dei grandi... http://www.blooobs.com/aspnuke

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 : 106
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: 204425 Post sui forum: 51195 Libro degli ospiti: 4 Eventi: 7

Versioni

Temi