vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   $totalonline, $totalthreads.. doesn't work in header template? (https://vborg.vbsupport.ru/showthread.php?t=211283)

Hareth 04-15-2009 04:27 PM

$totalonline, $totalthreads.. doesn't work in header template?
 
Hello,

How can I make this "$totalonline, $totalthreads, $totalposts, $numbermembers, $vbphrase[welcome_to_our_newest_member_x]"
work in header template????:confused:

Thank you!

Dismounted 04-16-2009 01:34 AM

You need to fetch it ;). Have a look near the end of index.php to see how the information is gathered.

I don't actually suggest you do this, as the queries that are run are pretty hefty, most servers would struggle with it.

Hareth 04-16-2009 02:08 PM

sorry I am noob :D

can you do it for me or explain how can I do it step by step

vb version 3.8.2

Pleeease :o :o :o :o :o

Dismounted 04-16-2009 02:24 PM

No, I will not hand you the code on a silver platter. You don't even look like you want to learn...

Hareth 04-16-2009 05:47 PM

My head will explode, i don't know anything about php, so i tried but it's very difficult
i was trying for 3 days

can you help me now??

nexialys 04-16-2009 05:58 PM

Quote:

Originally Posted by Dismounted (Post 1792535)
No, I will not hand you the code on a silver platter. You don't even look like you want to learn...



ROFL !!!!


Hanson, if you are not in the mood to help today, please consider taking a rest instead of insulting people. This guy is not here for a tutorial on how to become a coder, this is a forum for support...

i remember when you first arrived on vb.org, you were asking for help in specific topics, and i'm sure you would've felt insulted to read the kind of comment you just posted.

Lynne 04-16-2009 06:42 PM

Actually Nexia, this is the Programming Discussions forum where we discuss how to program things - a help forum basically. If he wants it written for him, he should be posting in one of the Request for Modifications forums or he should do a search and see if the modification is already written.

Search "header" in "all mods" "titles only" and you'll show up with mods like this - Live Forum Statistics in Header Template If that is not exactly what you want, please try a search.


All times are GMT. The time now is 02:19 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.02197 seconds
  • Memory Usage 1,720KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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