The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Just a simple question - how to remove "statistics" from Forum Home
Apologies for what might be a trivial question; I am a non-programmer, although happy to Notepad++ edit under directions.
How do I remove the "Statistics" from Forum Home, especially this: "Welcome to our newest member...". I want a cleaner look and feel and don't need this (mostly) irrelevant information for users. I, as admin, might be interested in the Stats, but I don't want the clutter for others. Thanks in advance! |
#2
|
||||
|
||||
Quote:
HTML Code:
<p>{vb:rawphrase welcome_to_our_newest_member_x, {vb:link member, {vb:raw newuserinfo}}, {vb:raw newuserinfo.username}}</p> HTML Code:
<div id="wgo_stats" class="wgo_subblock"> <h3><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}" />{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}</h3> <div> <dl> <dt>{vb:rawphrase threads}</dt> <dd>{vb:raw totalthreads}</dd> <dt>{vb:rawphrase posts}</dt> <dd>{vb:raw totalposts}</dd> <dt>{vb:rawphrase members}</dt> <dd>{vb:raw numbermembers}</dd> <vb:if condition="$show['activemembers']"> <dt>{vb:rawphrase active_members}</dt> <dd>{vb:raw activemembers}</dd> </vb:if> </dl> <p>{vb:rawphrase welcome_to_our_newest_member_x, {vb:link member, {vb:raw newuserinfo}}, {vb:raw newuserinfo.username}}</p> {vb:raw template_hook.forumhome_wgo_stats} </div> </div> |
#3
|
|||
|
|||
Thanks for the quick reply Borbole! Much appreciated. I'm fixing the template right now.
Could you also point me to the code extraction/comment-out needed to remove the "Icon legend" and "Posting Permissions" blocks in Forum view. |
#4
|
||||
|
||||
Quote:
HTML Code:
<div id="wgo_legend" class="wgo_subblock"> <h3><img src="{vb:stylevar imgdir_misc}/legend.png" alt="{vb:rawphrase icon_legend}" />{vb:rawphrase icon_legend}</h3> <div> <dl id="icon_legends" class="icon_legends"> <dt><img src="{vb:stylevar imgdir_statusicon}/forum_new-16.png" alt="{vb:rawphrase new_posts_forum}" /></dt><dd>{vb:rawphrase new_posts_forum}</dd> <dt><img src="{vb:stylevar imgdir_statusicon}/forum_old-16.png" alt="{vb:rawphrase no_new_posts_forum}" /></dt><dd>{vb:rawphrase no_new_posts_forum}</dd> <dt><img src="{vb:stylevar imgdir_statusicon}/category-16.png" alt="{vb:rawphrase category_forum}" /></dt><dd>{vb:rawphrase category_forum}</dd> <dt><img src="{vb:stylevar imgdir_statusicon}/forum_link-16.png" alt="{vb:rawphrase link_forum}" /></dt><dd>{vb:rawphrase link_forum}</dd> <vb:if condition="$vboptions['pt_hasprojectforums']"> <dt><img src="{vb:stylevar imgdir_statusicon}/project_new-16.png" alt="{vb:rawphrase project_forum}" /></dt><dd>{vb:rawphrase project_forum}</dd> </vb:if> </dl> </div> </div> |
#5
|
|||
|
|||
I also found your useful post here: https://vborg.vbsupport.ru/showthread.php?t=240891
However, oh dear, I can't find the FORUMHOME template. Where is it? I can't find anything on my server /forum/ subdirectories except this file vbulletin-style.xml in /forum/install which is a 2+MB file. Surely, vB doesn't parse this installer file constantly? I think I must have got lost somewhere. |
#6
|
||||
|
||||
Quote:
|
#7
|
|||
|
|||
Oh, thanks. That was simple!
Although it does make me think where and how the templates are stored on my webserver. Never mind though, your instructions were great, and I've got it working! (And the info/clutter removed). Thanks again. |
#8
|
||||
|
||||
You are welcome. Glad to have been of help
|
#9
|
|||
|
|||
For anyone else following this thread, and wanting to also clean up their forum pages, then here are the other edits I made:
To remove Icon Legend and Posting Permissions from the Forum, I editted FORUMDISPLAY and commented the following Code:
<!-- BLANK HERE <div class="options_block_container"> <div class="options_block"> <div class="collapse"> <a class="collapse" id="collapse_forum_icon_legend" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" /></a> <h4><span class="optiontitle">{vb:rawphrase icon_legend}</span></h4> </div> <div id="forum_icon_legend" class="forum_info_block"> <dl id="icon_legends" class="forum_info_subblock icon_legends"> <dt><img src="{vb:stylevar imgdir_statusicon}/thread_new-16.png" alt="{vb:rawphrase new_posts}" /></dt><dd>{vb:rawphrase new_posts}</dd> <dt><img src="{vb:stylevar imgdir_statusicon}/thread-16-{vb:stylevar right}.png" alt="{vb:rawphrase no_new_posts}" /></dt><dd>{vb:rawphrase no_new_posts}</dd> <vb:if condition="$vboptions['usehotthreads']"> <dt><img src="{vb:stylevar imgdir_statusicon}/thread_hot_new-16.png" alt="{vb:rawphrase more_than_x_replies_or_y_views, {vb:raw vboptions.hotnumberposts}, {vb:raw vboptions.hotnumberviews}}" /></dt><dd>{vb:rawphrase hot_thread_with_new_posts}</dd> <dt><img src="{vb:stylevar imgdir_statusicon}/thread_hot-16.png" alt="{vb:rawphrase more_than_x_replies_or_y_views, {vb:raw vboptions.hotnumberposts}, {vb:raw vboptions.hotnumberviews}}" /></dt><dd>{vb:rawphrase hot_thread_with_no_new_posts}</dd> </vb:if> <dt><img src="{vb:stylevar imgdir_statusicon}/thread_lock-16.png" alt="{vb:rawphrase closed_thread}" /></dt><dd>{vb:rawphrase thread_is_closed}</dd> <dt><img src="{vb:stylevar imgdir_statusicon}/thread_dot-16-{vb:stylevar right}.png" alt="{vb:rawphrase thread_contains_a_message_written_by_you}" /></dt><dd>{vb:rawphrase you_have_posted_in_this_thread}</dd> </dl> </div> </div> <vb:if condition="$show['threadslist']"> <div class="options_block2"> <div class="collapse"> <a class="collapse" id="collapse_posting_rules" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" /></a> <h4><span class="optiontitle">{vb:rawphrase posting_rules}</span></h4> </div> <div id="posting_rules" class="forum_info_block">{vb:raw forumrules}</div> </div> </vb:if> TO HERE --> </div> And to remove posting permissions from Thread View, edit the SHOWTHREAD template as follows: Code:
</div> </vb:if> <!-- FROM HERE <div class="options_block"> <h4 class="collapse"> <a class="collapse" id="collapse_posting_rules" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" /></a> <span class="optiontitle">{vb:rawphrase posting_rules}</span> </h4> <div id="posting_rules" class="thread_info_block"> {vb:raw forumrules} </div> </div> --TO HERE> </div> |
#10
|
|||
|
|||
Thanks for all.
Whitch CSS I have to edit, and whitch code I have to submit for enlarge the box of bookmark I attach a screenshot. of my site www.lepedanevibranti.it/forum Sorry for my terrible english |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|