vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Changing the statistics (https://vborg.vbsupport.ru/showthread.php?t=189551)

Abizaga 08-30-2008 11:01 AM

Changing the statistics
 
What do I change in the forumhome template to say something other than
posts
threads
members
and
Welcome to our newest member?

I mean so I can edit thoes.

Lynne 08-30-2008 03:48 PM

Look for this code in your FORUMHOME template (this is for 3.6, so yours may be slightly different):
HTML 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=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>

You can rearragne that however you want and change the wording, too.

Abizaga 09-01-2008 03:38 AM

Quote:

Originally Posted by Lynne (Post 1610645)
Look for this code in your FORUMHOME template (this is for 3.6, so yours may be slightly different):
HTML 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=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>

You can rearragne that however you want and change the wording, too.

Do I edit what's in the brackets or something? I don't get it. Sorry. I'm being stupid today. :(

Lynne 09-01-2008 03:20 PM

Well, I don't know what you want, so I can't tell you what to edit. That is the code that spits out those lines. If you give me an image of what you want it to look like, I may be able to make a suggestion on how to change that code.

Abizaga 09-01-2008 06:17 PM

Quote:

Originally Posted by Lynne (Post 1612071)
Well, I don't know what you want, so I can't tell you what to edit. That is the code that spits out those lines. If you give me an image of what you want it to look like, I may be able to make a suggestion on how to change that code.

To edit the words members, threads, posts, ect. on the forum home page in the what's going on box.

Lynne 09-01-2008 06:45 PM

If you just want to change the words, then you can either edit the phrases ($vbphrase[threads], $vbphrase[posts], etc) in the phrase manager, or you can simply replace those phrases with the word you want in the template.

Abizaga 09-02-2008 08:11 PM

Quote:

Originally Posted by Lynne (Post 1612236)
If you just want to change the words, then you can either edit the phrases ($vbphrase[threads], $vbphrase[posts], etc) in the phrase manager, or you can simply replace those phrases with the word you want in the template.

Where is the phrase manager? :o

Lynne 09-02-2008 09:38 PM

Quote:

Originally Posted by Abizaga (Post 1613064)
Where is the phrase manager? :o

in your admin CP under Languages and Phrases.

Abizaga 09-06-2008 02:20 AM

Quote:

Originally Posted by Lynne (Post 1613126)
in your admin CP under Languages and Phrases.

I found it and edited. Thanks for the help! :D


All times are GMT. The time now is 01:06 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.01112 seconds
  • Memory Usage 1,736KB
  • 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_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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