Pagina 1 din 1
Problema activity stats mod
Scris: 23-Apr-2011, 18:21:27
de redbull
Buna Si paste fericit tuturor,
Am o mica problema, am instalat activity stats mod de
http://www.phpbb.com/customise/db/mod/a ... stats_mod/ Am urmat pasi de instalare mentionati, dar nu imi apare corect, am tot incercat eu sa fac sa afiseze statisticile corect, dar nu am reusit. uitati cum imi arata.
http://imageupload.org/?d=4DB2EF531
Ce trebuie sa modific sa arate statisticile corect?
Re: Problema activity stats mod
Scris: 24-Apr-2011, 00:01:46
de bogdan
In ce sens nu iti apare corect?
Re: Problema activity stats mod
Scris: 24-Apr-2011, 00:14:11
de redbull
Posteaza useri activi sus, si Jos apare titlul, sunt incercuite cu rosu, Pe alte forumuri, am vazut ca sunt afisate corect, cel cu useri, sub cel cu "Activity over the last 24 hours" plus ca este afisat sub rubrica de "Statistici"
Poate se vede mai bine pe forum
http://realitateafaracenzura.ro/forum/
Re: Problema activity stats mod
Scris: 25-Apr-2011, 05:24:04
de bogdan
Tu te referi la pozitia sectiunii sau la faptul ca informatiile afisate in sectiunea "Activity over the last 24 hours" nu sunt corecte?
Daca te referi la pozitia sectiunii: o poti modifica din fisierul /styles/stilul_tau/template/index_body.html dupa care cureti cache-ul forumului.
Re: Problema activity stats mod
Scris: 25-Apr-2011, 14:00:44
de redbull
Despre varianta a-2 a este vorba, pozitila incorecta a sectiuni.
Am facut asta, si tot nu merge, oriunde pun linia de cod,tot asa apare, am sters si cache-ul forumului. dar nu vrea,
Daca scot linile acelea nu mai apare deloc statisticile, Daca modific locatia liniei, tot asa apare,Oare sa fie o problema din cauza temei? tema este asta,
http://www.awesomestyles.com/phpbb3-styles/demo/anfild
Daca postez codul index_body.html, te uiti tu putin la el, si sa-imi spui doar unde trebuire pus? (cu toate ca eu am pus linia in mai multe locuri si este la fel)
Re: Problema activity stats mod
Scris: 25-Apr-2011, 17:10:37
de bogdan
Copiaza codul aici intre tag-urile code.
In mod normal dupa ce modifici fisierul si cureti cache-ul forumului ar trebui sa-ti apara modificarea si online.
Re: Problema activity stats mod
Scris: 25-Apr-2011, 17:52:57
de redbull
Cod: Selectaţi tot
<!-- INCLUDE overall_header.html -->
<!-- IF U_MCP -->
<div id="pageheader">
</div>
<br clear="all" /><br />
<!-- ENDIF -->
<!-- INCLUDE forumlist_body.html -->
<!-- IF not S_IS_BOT or U_TEAM -->
<span class="gensmall"><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a><!-- ENDIF --><!-- IF not S_IS_BOT and U_TEAM --> | <!-- ENDIF --><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a><!-- ENDIF --></span><br />
<!-- ENDIF -->
<br clear="all" />
<!-- INCLUDE breadcrumbs.html -->
<!-- IF S_DISPLAY_ONLINE_LIST -->
<br clear="all" />
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="cat" colspan="2"><!-- IF U_VIEWONLINE --><h4><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h4><!-- ELSE --><h4>{L_WHO_IS_ONLINE}</h4><!-- ENDIF --></td>
</tr>
<tr>
<!-- IF LEGEND -->
<td class="row1" rowspan="2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<!-- ELSE -->
<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<!-- ENDIF -->
<td class="row1" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}</span></td>
</tr>
<!-- IF LEGEND -->
<tr>
<td class="row1"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td>
</tr>
<!-- ENDIF -->
</table>
<!-- ENDIF -->
<!-- IF S_DISPLAY_BIRTHDAY_LIST -->
<br clear="all" />
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="cat" colspan="2"><h4>{L_BIRTHDAYS}</h4></td>
</tr>
<tr>
<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_BIRTHDAYS}" /></td>
<td class="row1" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p></td>
</tr>
</table>
<!-- ENDIF -->
<br clear="all" />
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="cat" colspan="2"><h4>{L_STATISTICS}</h4></td>
</tr>
<tr>
<td class="row1"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_STATISTICS}" /></td>
<td class="row1" width="100%" valign="middle"><p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}</p></td>
<!-- IF not S_IS_BOT -->
<h3 id="24hour_stats">{L_24HOUR_STATS}</h3>
<p>{24HOUR_POSTS} • {24HOUR_TOPICS} • {24HOUR_USERS}</p>
<!-- ENDIF -->
<!-- IF not S_IS_BOT --><br /><br />
{USERS_24HOUR_TOTAL}: <!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->, <!-- ENDIF --><!-- END lastvisit -->
<!-- ENDIF -->
</tr>
</table>
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
<br clear="all" />
<form method="post" action="{S_LOGIN_ACTION}">
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<td class="cat"><h4><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></h4></td>
</tr>
<tr>
<td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" /> <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" /> <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF --> <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
</tr>
</table>
{S_LOGIN_REDIRECT}
{S_FORM_TOKEN}
</form>
<!-- ENDIF -->
<br clear="all" />
<table class="legend">
<tr>
<td width="20" align="center">{FORUM_UNREAD_IMG}</td>
<td><span class="gensmall">{L_UNREAD_POSTS}</span></td>
<td> </td>
<td width="20" align="center">{FORUM_IMG}</td>
<td><span class="gensmall">{L_NO_UNREAD_POSTS}</span></td>
<td> </td>
<td width="20" align="center">{FORUM_LOCKED_IMG}</td>
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>
<!-- INCLUDE overall_footer.html -->
Asta este unu modificat totl aiurea, si acesta este si pe forum, Mentionez ca am sters cache-ul forumului, reimprospatat tema, si la fel.
Re: Problema activity stats mod
Scris: 25-Apr-2011, 19:20:09
de bogdan
Ce stil folosesti anfild sau subSilver2? Vad in sursa ca se face referire la ambele.
Care este calea spre fisierul de mai sus?
De asemenea, in sursa codului
http://realitateafaracenzura.ro/forum/ nu vad ordinea din scriptul copiat de tine deci probabil nu ai modificat fisierul corespunzator.
Re: Problema activity stats mod
Scris: 25-Apr-2011, 19:54:10
de redbull
Tema folosita este anfild care este bazata pe SubSilver2,Modificarile au fost facute corect,
Intre timp am rezolvat problema. Dau si rezolvarea.
In instructiunile de instalare a modu-lui. este trecute modificarile doar pentru prosilver, Cei care folosesc o tema bazata pe subsilver, Trebuie sa faca modificarile, si pe tema folosita derivata din subsilver, Cat si in tema Subsilver care trebuie activata.(instalata)