Version: 1.00, by grog6
Developer Last Online: Dec 2008
Version: 2.3.x
Rating:
Released: 04-26-2003
Last Update: Never
Installs: 41
No support by the author.
Ce hack affiche en haut de vos forums un petit tableau vous permettant de savoir quelques petites infos sur le forum dans lequel vous vous trouvez tels que :
- Nbe de sujets
- Nbe de reponses
- Meilleur posteur du forum
- Dernier posteur
- Note moyenne
- Vues totales des sujets du forum
Fichiers a modifier : 1
Templates a modifier : 1
Temps d'installation : 2 min
:banana:
This hack displays at the top of each forum, a table where many statistics are displayed such as :
- Number of threads created
- Number of relplys
- Best post creator
- last poster
- Average mark
- Total of sees of the forum
Files to modify : 1
Templates to modify : 1
installation time : 2 min
Voici la version anglaise
HERE IS THE ENGLISH VERSION
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Today at 12:06 AM Snapperhaed said this in Post #19 Installed with little effort, thanks!
One problem I do have, is that the english version is shown at the bottom of the page, and not the top in v2.3 #3. Maybe I just inserted somewhere incorrectly? Could Be!?! ... Smacks install.
Just put the code above $forumdisplay[threadslist].
Today at 12:20 AM grog6 said this in Post #20 @Boofo : I've the same problem in some forums too :-/
I'll look for it during the evening and try to correct it
Thank you, sir.
Also, can you make the lastposter a link to the user's profile (like the Best poster is)?
And you might want to include the posts that are threads in the best poster. I have a forum where I have posted mostly threads and someone else is picked as the top poster when they have only posted 3 or 4 times. The Best poster count is way off for some of my forums, too.
Yesterday at 11:02 PM Boofo said this in Post #15 You forgot to tell them to put $forumdisplaystats in the forumdisplay template and also to add forumdisplay_stats to the templatesused line in the forumdisplay.php (to save an extra query).
soz d00d i forgot to do that on my site lol thanx for the info d00d
Today at 06:06 AM Snapperhaed said this in Post #19 Installed with little effort, thanks!
One problem I do have, is that the english version is shown at the bottom of the page, and not the top in v2.3 #3. Maybe I just inserted somewhere incorrectly? Could Be!?! ... Smacks install.
d00d if you used my edited version then in the forumdisplay template
above
$forumdisplay[threadlist]
add
PHP Code:
<br>
<center>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="{ tablebordercolor}" width="50%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr id="cat">
<td bgcolor="{ tableheadbgcolor}" align="center" nowrap colspan="3"><normalfont><b>Statistics Of Forum: <i>$foruminfo[title]</i></b></normalfont></td>
</tr>
<tr>
<td bgcolor="{ firstaltcolor}" align="center" colspan="3" nowrap>
<table cellpadding="4" cellspacing="0" border="0" width="100%">
<tr>
<td nowrap><smallfont><b>Number Of Threads In This Forum:</b> $nbemess</smallfont></td>
<td nowrap><smallfont><b>Number Of Replys:</b> $nbepost</smallfont></td>
</tr>
<tr>
<td nowrap><smallfont><b>Best Poster In This Forum:</b> <A HREF="member.php?s=$session[sessionhash]&action=getinfo&userid=$liste[postuserid]" target="_blank">$mposteur</a> (<b>$avgposteur%</b>)</td>
<td nowrap><smallfont><b>Last Poster In This Forum:</b> $dposteur</smallfont></td>
</tr>
<tr>
<td nowrap><smallfont><b>Average Rating In This Forum:</b> $moyenne</smallfont></td>
<td nowrap><smallfont><b>Total Views of threads in this forum:</b> $vue</smallfont></td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr></table>
for the original or add
$forumdisplaystats above it.
remember in the code above delete the spaces after the {'s
grog6, found another problem. I have a forum that it says has an average threads rating of 4 stars and there have been no ratings at all in that forum.