]> jfr.im git - irc/thales.git/blob - examples/recycledcounter/README
more details on memphistools
[irc/thales.git] / examples / recycledcounter / README
1 Recycled-counter, the counter that you recycle ;)
2 ProPheT <prophet@recycled-irc.org>
3 -----------------------
4 This is a Thales based graphical counter
5 It can display the number of users on the network, the number of channels and the number of users on au specific channel.
6 Edit recycpt.php to change connection information ($db_host, $db_user, $db_pass and $db_name)
7 This script produces a single image that you can use like all PNG images
8 http://www.your.site/dir/recycpt.php display the number of users
9 http://www.your.site/dir/recycpt.php?type=nbchan display the number of channels
10 http://www.your.site/dir/recycpt.php?chan=disku display the number of users on the channel #disku
11 http://www.your.site/dir/recycpt.php?texte=yes display the number of users in text (to use it in an other script)
12
13 you can change the colour of the output by giving bg and fg arguments
14 recycpt.php?bg=X&fg=Y
15 X = background RGB colour in decimal
16 Y = foreground RGB colour in decimal
17
18 an exemple ?
19 look at http://stats.recycled-irc.org/cpt.php
20 -----------------------
21 If you are having problems using this tool, feel free to contact me via
22 prophet@recycled-irc.org
23 or by IRC : irc.recycled-irc.org / #disku & #help