Hit Counter ?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
crazy_carl
Forum Newbie
Posts: 14
Joined: Sat Aug 13, 2005 10:01 pm
Location: Woodbury NJ (USA)

Hit Counter ?

Post by crazy_carl »

Ok, You helped me out before, so I am back.

Does anyone know or have a "Hit Counter" that can be installed by EasyMod.

I have tried to install it by the directions, (that never works for me) What ever it means is not what I think it says. :?

All I want is a ? Hit Counter ?

Please.
CC
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

EasyMod ? Not quite sure what that is, but a hit counter would be simple.

Using MySQL
Have a table with one field called 'hits', type INT(10)

on every page load increment the field by one

Code: Select all

mysql_query("UPDATE table SET hits=hits+1");
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

EasyMod is for simplified installation into phpbb.
crazy_carl
Forum Newbie
Posts: 14
Joined: Sat Aug 13, 2005 10:01 pm
Location: Woodbury NJ (USA)

Post by crazy_carl »

scrotaye wrote:EasyMod ? Not quite sure what that is, but a hit counter would be simple.

Using MySQL
Have a table with one field called 'hits', type INT(10)

on every page load increment the field by one

Code: Select all

mysql_query("UPDATE table SET hits=hits+1");
Thank you, but I have NO idea what that is, or where it goes. That is why I asked if anyone had something that is installed with eazymod.

I understand that I have to learn how to write- or -rewrite files. I figure that will take about 4 years. I don't have that long.. Cancer, and 2 Heart attachs are enough of an explanation.

If anyone can point me to a mod, I would be most greatfull.

Thank You
CC
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

crazy_carl
Forum Newbie
Posts: 14
Joined: Sat Aug 13, 2005 10:01 pm
Location: Woodbury NJ (USA)

Thank You

Post by crazy_carl »

Thank you but Eazymod doesn't see it.

Thank you all for your help. At the momment I will be resigned to not needing it...
Again Thank You
CC
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

EasyMod seeing it? It's a link of a search through phpbbhacks.com, which from searching at phpbb.com for a while seems like they had several counters in various forms for phpbb.. and indeed, when I searched, they did. Now, I didn't check which were done with EasyMod, but that isn't all that hard to figure out.
Post Reply