vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Forum Statistics in table (https://vborg.vbsupport.ru/showthread.php?t=96573)

HaYLaZ 09-18-2005 10:00 PM

Forum Statistics in table
 
your forum statistics messages,threads,members are shown in a table it very nice.You can see it in attachment.

install:

open your forumhome template and find;

PHP Code:

<div class="smallfont">
            <
div>
                
$vbphrase[threads]: $totalthreads,
                
$vbphrase[posts]: $totalposts,
                
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
                    <
span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
                </if>
            </
div>
            <
div><phrase 1="member.php?$session[sessionurl]u=$newuserid2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
        </
div

replace with below;

PHP Code:

<!-- Statistic Table-->
<
table align="left" border="1">
<
tr>
<
td bordercolor="red"><div class="smallfont">
<
span style="color: red;">$vbphrase[threads]: $totalthreads</span></div>
 
<
td bordercolor="blue"><div class="smallfont">
<
span style="color: blue;">$vbphrase[posts]: $totalposts</span></div>

<
td bordercolor="purple"><div class="smallfont">
<
span style="color: purple;">$vbphrase[members]: $numbermembers</span></div>
 
<
td bordercolor="black"><div class="smallfont">
<
span style="color: black;"><phrase 1="member.php?$session[sessionurl]u=$newuserid2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></b></span></div


 </
tr>
</
table>
<!-- 
Statistic Table --> 

you can change colors what you want

Daniel 09-19-2005 10:01 PM

Interesting, my board all ready has it so it would be no use to me.

organik81 09-19-2005 11:37 PM

Very nice & aesthetic... Thanx... ;)

ged 09-20-2005 04:22 AM

What's new here? :)

HaYLaZ 09-20-2005 05:59 AM

there is a table is statistic section which shows your total threads,messages ect.They are in a table:)

ged 09-20-2005 08:26 AM

Uhm, I got the point, but why to put them in a table? :)

HaYLaZ 09-20-2005 09:00 AM

because canım ole istedi alla alla
it seems very nice in a table

KoC 09-20-2005 05:56 PM

Himmm the orginal looks better i think

organik81 09-21-2005 01:39 AM

Quote:

Originally Posted by ged
Uhm, I got the point, but why to put them in a table? :)

Because better... It's not necessary...

kamilz++ 09-28-2005 05:21 PM

THIS IS UNNECCESARY,
be careful haylaz i know turkish!


All times are GMT. The time now is 08:56 PM.

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.01209 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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