ppl there is some way to account all topics of day?
or else: count the topics from a specific block?
Please be a bit more specific, what exactly are you after?
example:
Post of day: 45
account all topics of day in my site
Where would you like to display that stat, then, and which version are you using?
my version is 1.1.0
i want add this mode in Board.index.template.php
thanks
Well, there is already a count of new topics per day on the Stats page, pulling that on to the front page wouldn't be so hard.
There is, counting the average of topics per day, but does not count posts that are made daily.
i need help please :(
Not just that, actually.
If you go further down the stats page, you can see the number of topics and number of posts added per day - broken down per day, as per the attached screenshot example from here.
So, do you want posts per day or topics per day, then?
very hard, please help me :(
Quote from: Arantor on November 14, 2009, 01:56:09 PM
So, do you want posts per day or topics per day, then?
The fact it's already stored as I've demonstrated means it would actually be very quick to add, but I need to know if a) that is the value you want and b) which you want because you seem to have changed your mind between the two.
topics per day please
thanks
And where on the board index? Above what, below what?
Just literally a "There have been xyz topics today" message?
I want in board.index.template.php
example:
Topics today: 23
after at, UserOnline or in any area
thks
You need to be more specific, where precisely? So that when I go to list the code edits, I'm putting it in the right place.
see image please
(http://i37.tinypic.com/20606wx.gif)
best regards, thanks
Also, random question:
How is it supposed to count topics? Topics in the last 24 hours, or topics since midnight today, and if it's topics since midnight today, is it using server time, or the user's own time zone which could be quite different?
is from 00.00 hours to 24.00 hours
:)
According to whose timezone? Your time zone? The server's? The user browsing the forum at the time?
My time zone please :)
And enforce that for all users?
Can all users see this?
only block for guest
all user can see :)
OK, and what about timezones?
Is it always using your timezone (and if so, what is your user id so I can write code to query it)?
my time zone is Lisbon (Portugal)
And does that have daylight savings time rules?
Seriously, it would be easier if you could just answer the questions I ask, because it's a lot quicker for me to make it work that way. There's nowhere in the database you can look up the Lisbon timezone, but you can look it up quickly for your timezone settings if I know your user id, which is probably 1.
where can I see this?
Where can you see what?
QuoteAnd does that have daylight savings time rules?
Seriously, it would be easier if you could just answer the questions I ask, because it's a lot quicker for me to make it work that way. There's nowhere in the database you can look up the Lisbon timezone, but you can look it up quickly for your timezone settings if I know your user id, which is probably 1.
uhm yes i have in my settings timezone: 5 8)
Yes, but I have to know your user id to get that so I can make everyone's have the same!
Otherwise it would just use their timezone, which is what I asked you several posts ago.
QuoteYes, but I have to know your user id to get that so I can make everyone's have the same!
and how you know this?
Because I have to do an SQL lookup using your user id to fetch your timezone, so that number can be used in all the other pages for all the other users?
I DON'T KNOW YOUR USER ID. This is why I'm asking so I can write you the code, but to be honest, the fact it's taken 2 pages to get a fairly small list of requirements, I don't know I have the energy to write this any more.
Do as you intend, you make the easy way. i'm sorry my bad english, i'm portuguese :(
cheers
The easy way is to not care about timezones and just use the previous 24 hours, but as you indicated that isn't what you wanted.
All I want to know is your user number. I don't what name, password, email address or anything else, just your user id number, which as I said is probably 1. But without that I can't possibly attempt write it as you requested.
If you can provide that, I will see about taking a look at this once I finish this mod that I've been trying for 3 days to get finished.
I would like to give my user ID number, but first I wonder what it is, and where can I get? I apologize to my ignorance, is that I do not understand.
On your forum, find any post from yourself. You'll see your name on the left.
If you hover over it, you'll see the link contains ?action=profile;u=xxxx - the xxxx is your user id.
Here for example your user id is 219242.
haaaaaaaaaaaaaaaaaaaaaaaaaaaaa sorry lol
Yes my ID is 1.
now realized thanks :)
help me please
Please be patient; I have been very busy the last 24 hours and haven't had time to do this yet. I suspect I won't have time until tomorrow at the earliest to do this either.