Pagina 1 din 2
Cum sa apara pe index data ultimului post altfel?
Scris: 14-Sep-2008, 12:44:42
de SOR!N
Pe majoritatea forumurilor, pe index, data ultimului post dintr-un forum apare la fel ca aici. De exemplu: Last Post - Dum, 14 sep, 12:42
Cum as putea sa fac sa apara: Today, 12:42 sau "2 minutes ago".
Asa cum e pe Vbulletin sau IPB. Exista vreun mod sau vreo setare din ACP?
Multumesc.

Scris: 15-Sep-2008, 19:20:06
de SOR!N
Nu stie nimeni?
Scris: 15-Sep-2008, 20:24:10
de Muzet
Pune aici forumlist_body.html din tema ta.
Scris: 15-Sep-2008, 20:39:50
de SOR!N
Salut Muzet. In forumlist_body.tpl este urmatorul cod:
Cod: Selectaţi tot
<div class="forumbar">
<table width="100%" cellspacing="0" border="0">
<tr>
<td align="left"><!-- IF not S_IS_BOT and U_MARK_FORUMS --><span class="gensmall"><a href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a></span><!-- ENDIF --></td>
</tr>
</table>
</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="18" height="18"><img src="{T_THEME_PATH}/images/tl.png" width="18" height="18" alt="" /></td>
<td height="18" style="background:url('{T_THEME_PATH}/images/tm.png');"></td>
<td width="18" height="18"><img src="{T_THEME_PATH}/images/tr.png" width="18" height="18" alt="" /></td>
</tr>
<tr>
<td width="18" style="background:url('{T_THEME_PATH}/images/ml.png');"></td>
<td>
<!-- BEGIN forumrow -->
<!-- IF not forumrow.S_IS_CAT and forumrow.S_FIRST_ROW -->
<table class="tablebg" cellspacing="0" width="100%">
<tr>
<th colspan="2"> {L_FORUM} </th>
<th width="50"> {L_TOPICS} </th>
<th width="50"> {L_POSTS} </th>
<th> {L_LAST_POST} </th>
</tr>
<!-- ENDIF -->
<!-- IF forumrow.S_IS_CAT -->
<!-- IF not forumrow.S_FIRST_ROW -->
</table>
</td>
<td width="18" style="background:url('{T_THEME_PATH}/images/mr.png');"></td>
</tr>
<tr>
<td width="18" height="18" align="right"><img src="{T_THEME_PATH}/images/bl.png" width="18" height="18" alt="" /></td>
<td height="18" style="background:url('{T_THEME_PATH}/images/bm.png');"></td>
<td width="18" height="18"><img src="{T_THEME_PATH}/images/br.png" width="18" height="18" alt="" /></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="18" height="18"><img src="{T_THEME_PATH}/images/tl.png" width="18" height="18" alt="" /></td>
<td height="18" style="background:url('{T_THEME_PATH}/images/tm.png');"></td>
<td width="18" height="18"><img src="{T_THEME_PATH}/images/tr.png" width="18" height="18" alt="" /></td>
</tr>
<tr>
<td width="18" style="background:url('{T_THEME_PATH}/images/ml.png');"></td>
<td>
<!-- ENDIF -->
<table class="tablebg" cellspacing="0" width="100%">
<tr>
<th colspan="2"> {L_FORUM} </th>
<th width="50"> {L_TOPICS} </th>
<th width="50"> {L_POSTS} </th>
<th> {L_LAST_POST} </th>
</tr>
<tr>
<td colspan="5" align="left" class="row3h"><h4><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></h4></td>
</tr>
<!-- ELSEIF forumrow.S_IS_LINK -->
<tr>
<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
<td class="row1h">
<!-- IF forumrow.FORUM_IMAGE -->
<div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};">
<!-- ENDIF -->
<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
<p class="forumdesc">{forumrow.FORUM_DESC}</p>
<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
</td>
<!-- IF forumrow.CLICKS -->
<td class="row2" colspan="3" align="center"><span class="genmed">{L_REDIRECTS}: {forumrow.CLICKS}</span></td>
<!-- ELSE -->
<td class="row2" colspan="3" align="center"> </td>
<!-- ENDIF -->
</tr>
<!-- ELSE -->
<!-- IF forumrow.S_NO_CAT -->
<tr>
<th colspan="2"> {L_FORUM} </th>
<th width="50"> {L_TOPICS} </th>
<th width="50"> {L_POSTS} </th>
<th> {L_LAST_POST} </th>
</tr>
<!-- ENDIF -->
<tr>
<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
<td class="row1h" width="100%">
<!-- IF forumrow.FORUM_IMAGE -->
<div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};">
<!-- ENDIF -->
<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
<p class="forumdesc">{forumrow.FORUM_DESC}</p>
<!-- IF forumrow.MODERATORS -->
<p class="forumdesc"><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}</p>
<!-- ENDIF -->
<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS -->
<span class="gensmall"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</span>
<!-- ENDIF -->
<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
</td>
<td class="row2" align="center"><p class="topicdetails">{forumrow.TOPICS}</p></td>
<td class="row2" align="center"><p class="topicdetails">{forumrow.POSTS}</p></td>
<td class="row2" align="center" nowrap="nowrap">
<!-- IF forumrow.LAST_POST_TIME -->
<p class="topicdetails">{forumrow.LAST_POST_TIME}</p>
<p class="topicdetails">{forumrow.LAST_POSTER_FULL}
<a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a>
</p>
<!-- ELSE -->
<p class="topicdetails">{L_NO_POSTS}</p>
<!-- ENDIF -->
</td>
</tr>
<!-- ENDIF -->
<!-- BEGINELSE -->
<tr>
<td class="row1" colspan="5" align="center"><p class="gensmall">{L_NO_FORUMS}</p></td>
</tr>
<!-- END forumrow -->
</table>
</td>
<td width="18" style="background:url('{T_THEME_PATH}/images/mr.png');"></td>
</tr>
<tr>
<td width="18" height="18" align="right"><img src="{T_THEME_PATH}/images/bl.png" width="18" height="18" alt="" /></td>
<td height="18" style="background:url('{T_THEME_PATH}/images/bm.png');"></td>
<td width="18" height="18"><img src="{T_THEME_PATH}/images/br.png" width="18" height="18" alt="" /></td>
</tr>
</table>
Scris: 15-Sep-2008, 21:01:06
de Muzet
SOR!N scrie:Salut Muzet. In forumlist_body.tpl este urmatorul cod:
Ce versiune de phpBB foloseşti ?
Scris: 15-Sep-2008, 21:34:28
de SOR!N
3.0.1 folosesc.
E vorba de forumul
www.forum.pe-net.org .
Scris: 16-Sep-2008, 11:48:17
de zaien
sorin , off topic : ce reputation mod folosesti?
Scris: 16-Sep-2008, 13:49:31
de SOR!N
zaien scrie:sorin , off topic : ce reputation mod folosesti?
Modul il gasesti aici:
http://www.phpbb.com/community/viewtopi ... &sk=t&sd=a
Am instalat si aia cu Most Popular users, iar in footer le-am aranjat eu.
Oricum, are 3-4 zile forumul. Mai am o groaza de lucrat la alte subdomenii, dupa ma ocup de promovare.
Un raspuns la prima mea intrebare din acest topic nu-mi poate da nimeni?
Scris: 16-Sep-2008, 18:44:47
de Muzet
Ai liniile:
Cod: Selectaţi tot
<p class="topicdetails">{forumrow.LAST_POST_TIME}</p>
<p class="topicdetails">{forumrow.LAST_POSTER_FULL}
<a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a>
</p>
<!-- ELSE -->
Încearcă:
Cod: Selectaţi tot
<p class="topicdetails">{forumrow.LAST_POSTER_FULL}
<a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a>
</p>
<!-- ELSE -->
Să dai refresh după ce faci modificările.
Scris: 16-Sep-2008, 18:49:52
de SOR!N
Am urmat indicatia, dar acum nu mai afiseaza deloc data postului. Eu as fi vrut sa o afiseze, dar in alt format.