simple hit counter

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Get Involved
Locked
lepage71
Registered User
Posts: 48
Joined: Thu Jun 01, 2006 5:37 pm

simple hit counter

Post by lepage71 » Tue Jul 24, 2007 5:52 pm

I was wondering if someone could make a simple hit counter for phpbb3? The one I have for phpbb2 doesn't work on phpbb3.

This would be something that could go under the stats footer area and have an option for starting it at a certain number of hits. If this is just a matter of editing a number in a database, then that's the same thing.

Example of where it would go:

STATISTICS
Total hits 890192 • Total posts 9132 • Total topics 2664 • Total members 96 • Our newest member JamesKamal05

If anyone knows how to do this, that phpbb3 mod would be great.

barrycarlyon
Registered User
Posts: 851
Joined: Wed Mar 29, 2006 3:46 pm
Location: Manchester
Name: Barry Carlyon
Contact:

Re: simple hit counter

Post by barrycarlyon » Tue Jul 24, 2007 9:08 pm

Ill take a look into making this one :-)
Barry Carlyon

barrycarlyon
Registered User
Posts: 851
Joined: Wed Mar 29, 2006 3:46 pm
Location: Manchester
Name: Barry Carlyon
Contact:

Re: simple hit counter

Post by barrycarlyon » Tue Jul 24, 2007 10:13 pm

Last edited by barrycarlyon on Wed Jul 25, 2007 3:36 am, edited 1 time in total.
Barry Carlyon

lepage71
Registered User
Posts: 48
Joined: Thu Jun 01, 2006 5:37 pm

Re: simple hit counter

Post by lepage71 » Wed Jul 25, 2007 2:11 am

My forum seems stuck on "1 hit" and it will not update to 2, 3, etc...do I have some setting wrong? I tried the instructions twice and I had the same problem twice.

barrycarlyon
Registered User
Posts: 851
Joined: Wed Mar 29, 2006 3:46 pm
Location: Manchester
Name: Barry Carlyon
Contact:

Re: simple hit counter

Post by barrycarlyon » Wed Jul 25, 2007 3:36 am

did you do the sql instrcution?
Barry Carlyon

lepage71
Registered User
Posts: 48
Joined: Thu Jun 01, 2006 5:37 pm

Re: simple hit counter

Post by lepage71 » Wed Jul 25, 2007 4:07 am

Yes I did. It's getting late over here, but I will try the entire instructions again tomorrow. I think if it's still not working after my third try, there's probably something not quite right.

barrycarlyon
Registered User
Posts: 851
Joined: Wed Mar 29, 2006 3:46 pm
Location: Manchester
Name: Barry Carlyon
Contact:

Re: simple hit counter

Post by barrycarlyon » Wed Jul 25, 2007 12:35 pm

contact me off board via msn or something and ill take a look at your board for you :0)
Barry Carlyon

alex_coningham
Registered User
Posts: 76
Joined: Thu Feb 21, 2008 2:52 am

Re: simple hit counter

Post by alex_coningham » Thu May 22, 2008 11:04 pm

dead link mate...

BroIgnatius
Registered User
Posts: 100
Joined: Fri Jan 01, 2010 11:01 am
Name: Bro. John-Paul Ignatius Mary
Contact:

Re: simple hit counter

Post by BroIgnatius » Tue Sep 21, 2010 1:23 pm

Folks:

I have read through another thread on the MOD simple hit counter and cannot find a solution.

I read that there is a field in the config table in the db. I looked and there is no such field, yet the counter increments.

Where is the counter number stored?

Anyasha
Registered User
Posts: 704
Joined: Mon Aug 07, 2006 4:02 am
Name: Anyasha

Re: simple hit counter

Post by Anyasha » Tue Sep 21, 2010 1:52 pm

It's stored in phpbb_config.
Kiss me, I'm Polish!

BroIgnatius
Registered User
Posts: 100
Joined: Fri Jan 01, 2010 11:01 am
Name: Bro. John-Paul Ignatius Mary
Contact:

Re: simple hit counter

Post by BroIgnatius » Tue Sep 21, 2010 3:12 pm

As I already mentioned, I looked in the config table in the MySQL DB. There is no field to store the hit counter.

Anyasha
Registered User
Posts: 704
Joined: Mon Aug 07, 2006 4:02 am
Name: Anyasha

Re: simple hit counter

Post by Anyasha » Tue Sep 21, 2010 7:36 pm

Yes, I saw that, but if your counter is incrementing as you said, then the field must exist. Are you saying that when you browse your phpbb_config table, there is no "hits" or "pageviews" field?
Kiss me, I'm Polish!

BroIgnatius
Registered User
Posts: 100
Joined: Fri Jan 01, 2010 11:01 am
Name: Bro. John-Paul Ignatius Mary
Contact:

Re: simple hit counter

Post by BroIgnatius » Tue Sep 21, 2010 8:03 pm

well, my phpbb_config is not called that. I use a different prefix for security reasons.

But, there is no field that exists in this table called "hits", "pageview", or anything else that is storing the page count in the MySql db

BroIgnatius
Registered User
Posts: 100
Joined: Fri Jan 01, 2010 11:01 am
Name: Bro. John-Paul Ignatius Mary
Contact:

Re: simple hit counter

Post by BroIgnatius » Thu Sep 23, 2010 7:04 am

No one can help on this?

Locked

Return to “[3.0.x] MOD Requests”