PDA

View Full Version : $totalonline, $totalthreads.. doesn't work in header template?


Hareth
04-15-2009, 04:27 PM
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
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 (https://vborg.vbsupport.ru/showthread.php?t=200609&highlight=header) If that is not exactly what you want, please try a search.