vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Hiding the "What's Going On?" Forum Statistics (https://vborg.vbsupport.ru/showthread.php?t=187856)

hunter22375 08-11-2008 10:42 PM

Hiding the "What's Going On?" Forum Statistics
 
I have hidden everything at the bottom of the board except for the Forum Statistics. Is this possible?

cheat-master30 08-11-2008 10:49 PM

Should be relatively easy to complete remove, so I'll just post back with the template to edit and what to remove.

Edit: To specifically remove the stats block from under whos online and near the calendar, find this and remove in FORUMHOME template:
Code:

<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
    <tr>
        <td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
        <td class="alt1" width="100%">
        <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=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
$template_hook[forumhome_wgo_stats]
        </div>
        </td>
    </tr>
</tbody>


hunter22375 08-11-2008 11:32 PM

Cool...thanks. Will this have to be removed again when I update VB?

RLShare 08-12-2008 01:21 AM

If you revert the forum home template, yes

hunter22375 08-12-2008 02:10 AM

I found everything except the "$template_hook[forumhome_wgo_stats]" That was the only thing I don't have to remove. I am running 3.7......any reason why that line is missing?

Opserty 08-12-2008 09:29 AM

Was probably removed in an update or something. Not that much cause for concern unless you have modification that uses that template hook.

hunter22375 08-12-2008 01:11 PM

Quote:

Originally Posted by Opserty (Post 1596841)
Was probably removed in an update or something. Not that much cause for concern unless you have modification that uses that template hook.

I suppose if I had a mod that was using that hook...the mod would not be working right now correct?

Opserty 08-12-2008 02:10 PM

Depends what you mean by "working" :p

It would be "working" but it wouldn't be "displaying". But either way, you would be able to tell that you don't see some expected output.


All times are GMT. The time now is 05:14 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.01134 seconds
  • Memory Usage 1,726KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete