Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
Mod Name / Version: IIP 5.3 Hit Counter Pal

Description: This adds a nice li'l text based PHP hit counter to your IIP index page.

Ex.

[]http://www.mameworld.info/misc/counter.png[/]


Working Under: UBB.Threads 6.3

Mod Status: Finished

Any pre-requisites:

Author(s): Twisty

Date: 09/01/04

Credits: PHP Counter script by Thomas Love ©2003

Files Altered: pals/custombox6pal.php

New Files:
txthitcounter.php
counter.txt

Database Altered: no

Info/Instructions:

1) Place custombox6pal.php in your pals folder

2) Place txthitcounter.php and counter.txt in your main threads folder (ie. where your IIP index page is), and then CHMOD counter.txt to 666 (important)

3) Enable this custom pal box in your IIP config panel, and choose the location for displaying it (seems to go nice under the stats)

NOTE: You can choose your own starting number if you don't wish to begin at 1. Just edit counter.txt and add in your number.

For example, if you think that approximately 50,000 hits were made on your index page since it was put up, then:

Change This:

/ubbthreads/index.php:0000000000000000

To This:

/ubbthreads/index.php:0000000000050000

...and make sure the path is correct of course


Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
Attachments
119357-IIPCounter.zip (0 Bytes, 32 downloads)

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Nice one Twisty


- Allen wavey
- What Drives You?
Joined: Jul 2003
Posts: 46
Junior Member
Junior Member
Offline
Joined: Jul 2003
Posts: 46
Will there be one for UBBT v6.4, using IIP v5.4.5

Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
Actually, it might work for you as is. Just try it out and see what happens

Joined: Jul 2001
Posts: 1,157
Likes: 82
coffee and code
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 82
Works just fine on 6.2.3 with IIP 5.4.5
THANKS!


current developer of UBB.threads php forum software
current release: UBB.threads 8.0.0 // wip: UBB.threads 8.0.1
isaac @ id242.com // my forum @ CelicaHobby.com
Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)