Cum sa apara pe index data ultimului post altfel?

Pentru întrebări legate de facilităţile forumului phpBB 3.0.x, acest loc este cel mai potrivit.
Reguli forum
Aveti o problema si vreti sa primiti ajutor? Click aici ! Nu uitati si de regulamentul forumului !
SOR!N
Utilizator înregistrat
Mesaje: 179
Membru din: 03-Ian-2007, 10:05:22
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Cum sa apara pe index data ultimului post altfel?

Mesaj 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. :)
Bancuri
Scoruri Live
Director Web - Linkul reciproc nu e obligatoriu.
SOR!N
Utilizator înregistrat
Mesaje: 179
Membru din: 03-Ian-2007, 10:05:22
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de SOR!N »

Nu stie nimeni?
Bancuri
Scoruri Live
Director Web - Linkul reciproc nu e obligatoriu.
Avatar utilizator
Muzet
Fost coleg
Mesaje: 2295
Membru din: 18-Mar-2008, 23:29:52
Versiune: 0.0
Ext: Nu
Server: UNIX/Linux
Nivel phpBB: Experimentat
Nivel php: Experimentat

Mesaj de Muzet »

Pune aici forumlist_body.html din tema ta.
SOR!N
Utilizator înregistrat
Mesaje: 179
Membru din: 03-Ian-2007, 10:05:22
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj 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">&nbsp;{L_FORUM}&nbsp;</th>
	<th width="50">&nbsp;{L_TOPICS}&nbsp;</th>
	<th width="50">&nbsp;{L_POSTS}&nbsp;</th>
	<th>&nbsp;{L_LAST_POST}&nbsp;</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">&nbsp;{L_FORUM}&nbsp;</th>
              <th width="50">&nbsp;{L_TOPICS}&nbsp;</th>
              <th width="50">&nbsp;{L_POSTS}&nbsp;</th>
              <th>&nbsp;{L_LAST_POST}&nbsp;</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">&nbsp;</td>
			<!-- ENDIF -->
		</tr>
	<!-- ELSE -->
		<!-- IF forumrow.S_NO_CAT -->
			<tr>   
              <th colspan="2">&nbsp;{L_FORUM}&nbsp;</th>
              <th width="50">&nbsp;{L_TOPICS}&nbsp;</th>
              <th width="50">&nbsp;{L_POSTS}&nbsp;</th>
              <th>&nbsp;{L_LAST_POST}&nbsp;</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>
Bancuri
Scoruri Live
Director Web - Linkul reciproc nu e obligatoriu.
Avatar utilizator
Muzet
Fost coleg
Mesaje: 2295
Membru din: 18-Mar-2008, 23:29:52
Versiune: 0.0
Ext: Nu
Server: UNIX/Linux
Nivel phpBB: Experimentat
Nivel php: Experimentat

Mesaj de Muzet »

SOR!N scrie:Salut Muzet. In forumlist_body.tpl este urmatorul cod:
Ce versiune de phpBB foloseşti ?
SOR!N
Utilizator înregistrat
Mesaje: 179
Membru din: 03-Ian-2007, 10:05:22
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de SOR!N »

3.0.1 folosesc.:)

E vorba de forumul www.forum.pe-net.org .
Bancuri
Scoruri Live
Director Web - Linkul reciproc nu e obligatoriu.
zaien
Utilizator înregistrat
Mesaje: 121
Membru din: 01-Sep-2008, 17:22:58

Mesaj de zaien »

sorin , off topic : ce reputation mod folosesti?
SOR!N
Utilizator înregistrat
Mesaje: 179
Membru din: 03-Ian-2007, 10:05:22
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj 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?
Bancuri
Scoruri Live
Director Web - Linkul reciproc nu e obligatoriu.
Avatar utilizator
Muzet
Fost coleg
Mesaje: 2295
Membru din: 18-Mar-2008, 23:29:52
Versiune: 0.0
Ext: Nu
Server: UNIX/Linux
Nivel phpBB: Experimentat
Nivel php: Experimentat

Mesaj 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.
SOR!N
Utilizator înregistrat
Mesaje: 179
Membru din: 03-Ian-2007, 10:05:22
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj 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.
Bancuri
Scoruri Live
Director Web - Linkul reciproc nu e obligatoriu.
Închis

Înapoi la “3.0.x Cum pot să...?”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 2 vizitatori