Skip to content

Commit 4291564

Browse files
committed
do some documentation about visitor and download counter
1 parent 51aeed6 commit 4291564

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

README

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ Folders
2929
-------
3030

3131
customization = All stuff which should be copied over
32+
33+
customization/www_librarybox ==> Replaces the normal www folder of piratebox
34+
Contains internet detection
35+
Shoutbox Scripts
36+
(...) see below
37+
customization/www_content ==> is moved to opt/piratebox/share/Content
38+
Located on USB Stick
39+
Contains all the presentational stuff
40+
Contains presentation Templates for Statistic-Views
41+
3242
piratebox_origin = git subtree of PirateBoxScripts_Webserver branch "librarybox_dev" (see git subtree"
3343
Normally you would choose some stable release, but because of LibraryBox is leapfrogging PirateBox I need to base on special branch to able to push changes back and other way around. This can be later changed to "stable" branch
3444
tmp_img = Customization for images and mount points
@@ -41,5 +51,41 @@ Changes during build
4151
* Copy a template for the librarybox.us/ stuff (internet detection and so on)
4252
* Copy a template for the content-folder librarybox.us/content
4353
* Changing SSD in hostapd
54+
* Change hostname in piratebox.conf
55+
* Enable custom directory-listing file
56+
* Enable PHP in lighttpd with FastCGI
57+
58+
59+
New Features in www folder
60+
--------------------------
61+
62+
dir-generator.php => KittyKat dir Listing with customization for counting downloads
63+
Download-Statistics can be turned off here
64+
65+
Download-Statistics
66+
-------------------
67+
dl_statistics.conf.php => Configuration file for download Statistics
68+
dl_statistics.func.php => Function pool for getting acces to dl-stats
69+
dl_statistics_counter.php => Called by dir-generator.php if somebody downloads something
70+
Redirects after counting to direct file-url
71+
dl_statistics_display.php => Simple view into statistics (shows deleted files too)
72+
http://librarybox.us/dl_statistics_display.php
73+
74+
Located in content: dl_statistics.html.php
75+
=> Templates for display
76+
77+
Creates a SQLite file in /opt/piratebox/share called dl_statistics.sqlite
78+
79+
Visitor-Counter
80+
---------------
81+
vc.conf.php => Configuration file for Visitor counter
82+
vc.func.php => Function Pool for visitor counter
83+
vc_counter.php => Displays a transparent 1x1 gif and counts visitor
84+
vc_display.php => Simple view into statistics
85+
http://librarybox.us/vc_display.php
86+
87+
Located in content: vc_statistics.html.php
88+
=> Templates for display
4489

4590

91+
Creates a SQLite file in /opt/piratebox/share called /opt/piratebox/share/vc_statistics.sqlite

0 commit comments

Comments
 (0)