Ultimi topic in basso a Home forum
-
Salve ragazzi! Mi piacerebbe implementare nel mio forum una mod per visualizzare in basso alla index gli ultimi topic sapete per caso il nome? Grazie!

Un' esempio lo trovate qui: http://www.forumlandia.com/styles_demo/
-
Prego
Scarica questa Mod
http://www.phpbbhacks.com/load.php?id=589
Nel file di installazione ti chiede quest modifica:
# #-----[ OPEN ]------------------------------------------ # # e.g. templates/xxx/index_body.tpl # #-----[ ADD wherever you want to display the recent topics ]------------------------ # <table width="100%" cellpadding="1" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th colspan="5">{L_RECENT_TITLE}</th> </tr> <!-- BEGIN recent --> <tr> <td class="{recent.ROW_CLASS}" align="center" valign="middle"><img src="{recent.TOPIC_FOLDER_IMG}" alt="{recent.TOPIC_FOLDER_ALT}" title="{recent.TOPIC_FOLDER_ALT}" /></td> <td class="{recent.ROW_CLASS}" nowrap="nowrap"><span class="topictitle">{recent.NEWEST_IMG}{recent.TOPIC_TYPE}<a href="{recent.U_VIEW_TOPIC}" class="topictitle">{recent.TOPIC_TITLE}</a></span> <span class="gensmall">{recent.GOTO_PAGE}<br />{recent.FIRST_TIME}{recent.FIRST_AUTHOR}<br /></span></td> <td class="{recent.ROW_CLASS}" width="8%" align="left"><span class="postdetails"> {recent.L_REPLIES}: {recent.REPLIES} <br /> {recent.L_VIEWS}: {recent.VIEWS}</span></td> <td class="{recent.ROW_CLASS}" width="25%" nowrap="nowrap"> <span class="forumlink"><a href="{recent.U_VIEW_FORUM}" class="forumlink">{recent.FORUM_NAME}</span></td> <td class="{recent.ROW_CLASS}" width="25%" nowrap="nowrap"><span class="postbody">{recent.POST_TEXT}</span><br /> <span class="gensmall"> {recent.LAST_URL} {recent.LAST_TIME} {recent.LAST_AUTHOR}</span></td> </tr> <!-- END recent --> </table>Questa modifica applicala nel:
viewforum
viewtopic
index_body.tplSe ti sfasa la grafica devi aggiungere qualche tag per sistemare il template.
La devi inserire in basso a tutto il codice ad esempio sotto i pulsanti di moderazione
-
-
Chrys non conosco quella mod, magari questa, dato che è simile, potrebbe esserti utile.
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi