Several Comments
#5
(01-11-2014, 07:19 PM)EQF Wrote: That hit counter is not completely clear to me with regard to what it means or even which number on the page you are referring to. It might be necessary to simply have a counter that keeps track of the total number of posts read by anyone over the course of the board life.

I got the hit counter right off the myBB website.

http://mods.mybb.com/view/hit-counter

There is apparently a standard by which a 'hit' is counted. It counts 'unique hits'. So, if a person visits a page for the first time, it's counted. They visit it later that day, it's NOT counted because they are not unique. There are rules by which this is all judged. Visit the web page to get more details.

Anyway, the other statistics you mention (along with the hits) are all displayed at the bottom left the main page, under the last green bar.

Additionally, in the very bottom brown bar, on the right, there is a link to "forum statistics" which shows even more information.

For me, being the administrator, I have access to yet even more levels of detailed statistics. For example, every page I see has some server statistics. Regular users do not get to see them. Here's an example,

Generated in 0.2327290 seconds (85.67% PHP / 14.33% MySQL)
SQL Queries: 17 / Global Parsing Time: 0.1023290 / Memory Usage: 3.75 MB
PHP version: 5.2.17 / Server Load: 0 / GZip Compression: Disabled

And, there's a link to even further detailed statistics that I can view.


(01-11-2014, 07:19 PM)EQF Wrote: The time at the top right of the pages is UTC. But is says AM or PM, probably for the local time at Greenwich.

I set the system time for the entire board to be UTC, which is effectively Greenwich. The differences are technical and looking up UTC and GMT on Wikipedia is very enlightening. Time standards can be a very complex thing, but for general common man usage it's safe to say UTC = GMT = Zulu.

However, when you log in, it may show a different time. You have the ability to select your local time zone in your user profile. I already covered this in other postings with Roger.


(01-11-2014, 07:19 PM)EQF Wrote: Could all of those times be changed so that it says UTC instead? Then people would know exactly what the time means. And they could do a simple mental calculation to tell them what their local time was when a note was posted etc.

I agree the date/time should always show the time zone, and it doesn't. It's one of the minor fixes I'm looking to do, once I figure out where to make the fix. Something you may not realize is that the myBB program is VERY complex behind the scenes. It's a very large program with literally hundreds if not thousands of editable parameters. I like that. I've a personal saying, "knobs, buttons, and dials!! oh my!!" The more the merrier. Smile

But that means more I have to learn and I'm still learning.


(01-11-2014, 07:19 PM)EQF Wrote: How does the program generate the HTML code for the main Web page (if you are willing to give out that information)?

It probably creates a new version of the page each time someone posts a note. And if that is the case then you could probably easily modify the program to get the main Web page to look exactly like you want.

http://www.mybb.com/

The program is written in PHP. There are no HTML pages. Everything is generated dynamically and "on the fly" as you view the pages. All the data is stored in a mySQL database.

The look of every page is controlled by numerous templates. There are templates for every little detail. A single page may invoke dozens or more templates just to be displayed. It may sound like overkill, but this is what gives the high degree of customization for the board.

So, making changes is just a matter of editing the templates. But there is one downside to so many templates, figuring out which one does what. THAT part I'm still learning.


Brian





Signing of Skywise Sed quis custodiet ipsos Custodes?
Reply


Messages In This Thread
Several Comments - by EQF - 01-08-2014, 08:26 AM
RE: Several Comments - by Skywise - 01-09-2014, 12:39 AM
RE: Several Comments - by Skywise - 01-09-2014, 03:21 AM
RE: Several Comments - by EQF - 01-11-2014, 07:19 PM
RE: Several Comments - by Skywise - 01-11-2014, 11:30 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)