vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Forum statisctics at the top of each forum (https://vborg.vbsupport.ru/showthread.php?t=52215)

Boofo 04-28-2003 04:44 AM

Quote:

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!?! :D ... Smacks install.

Just put the code above $forumdisplay[threadslist].

Boofo 04-28-2003 04:47 AM

Quote:

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. ;)

grog6 04-28-2003 06:02 AM

@Boofo : No pb for the link ;) But I think a query will have to be modified for it ;)

I'll modify it to count user's thread too ;) and look for the reason of non-working in some forums

Boofo 04-28-2003 07:59 AM

Quote:

Today at 03:02 AM grog6 said this in Post #23
@Boofo : No pb for the link ;) But I think a query will have to be modified for it ;)

I'll modify it to count user's thread too ;) and look for the reason of non-working in some forums

Thank you, again, sir. I'll be looking forward to the fixes. ;)

I did notice that in some forums, it does count the thread posts and in others it doesn't.

wolfe 04-28-2003 10:47 AM

Quote:

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

wolfe 04-28-2003 10:52 AM

Quote:

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!?! :D ... 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

subu1 04-28-2003 10:57 AM

@grog6 , thnky you,

but i have a question. The best Poster ist not correkt in a forum.

The best Poster in a Forum ist not display there, but another Poster ???

What can i do, please help, thank you;)

Boofo 04-28-2003 11:32 AM

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. ;)

subu1 04-28-2003 11:43 AM

sorry but i have found another bug, i thing so. I have a lot of subforums but it is not shows on display.

its my german board, sorry for my eng. :surprised:

look my att.

flup 04-28-2003 01:32 PM

Really nice done! wont install though


All times are GMT. The time now is 12:31 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04067 seconds
  • Memory Usage 1,766KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete