pisg-doc.sgml 70 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721
  1. <!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
  2. <book id="pisg-documentation">
  3. <bookinfo>
  4. <title>pisg documentation</title>
  5. <subtitle>How to install and configure pisg</subtitle>
  6. </bookinfo>
  7. <toc></toc>
  8. <!-- <lot></lot> -->
  9. <chapter id="what-is-pisg">
  10. <title>What is pisg?</title>
  11. <para>
  12. pisg is an IRC statistics generator. It takes IRC logfiles and turns
  13. them into nice looking stats.
  14. </para>
  15. <para>
  16. In general, you would do something like this to get it running:
  17. <itemizedlist mark="bullet">
  18. <listitem>
  19. <para>
  20. Enable logging in an IRC bot, or in your IRC client. The log will be
  21. outputted into a file.
  22. </para>
  23. </listitem>
  24. <listitem>
  25. <para>
  26. You set up pisg, you define the channel name, and the path to the
  27. logfile you created.
  28. </para>
  29. </listitem>
  30. <listitem>
  31. <para>
  32. You run pisg, pisg runs the log through and create statistics, it
  33. then creates an HTML page which you can upload to a server.
  34. </para>
  35. </listitem>
  36. </itemizedlist>
  37. </para>
  38. <sect1 id="requirements">
  39. <title>What are the requirements to run pisg?</title>
  40. <para>
  41. <itemizedlist mark="bullet">
  42. <listitem>
  43. <para>
  44. An IRC client or bot where pisg supports the output logfile.
  45. </para>
  46. </listitem>
  47. <listitem>
  48. <para>
  49. Any operating system which Perl runs on, this includes popular OS'es
  50. such as Linux, FreeBSD, Windows and Mac. You will have a hard time
  51. finding an OS where Perl isn't supported. For Windows this means
  52. that you need to download <ulink
  53. url="http://activestate.com/Products/ASPN_Perl/">Active State Perl
  54. (ASPN Perl)</ulink>.
  55. </para>
  56. </listitem>
  57. <listitem>
  58. <para>
  59. <emphasis>Optional</emphasis> - a system to host the statistics page
  60. 24 hours a day, 7 days a week.
  61. </para>
  62. </listitem>
  63. <listitem>
  64. <para>
  65. <emphasis>Optional</emphasis> - a system to log the channel, 24 hours
  66. a day, 7 days a week.
  67. </para>
  68. </listitem>
  69. </itemizedlist>
  70. </chapter>
  71. <chapter id="setting-up-pisg">
  72. <title>Setting up pisg for the first time</title>
  73. <para>
  74. Most configuration happens through the <filename>pisg.cfg</filename>
  75. file, the file format is made to be easy to read, and easy to extend for
  76. further use. It uses an XML-like format, with elements and attributes.
  77. </para>
  78. <sect1 id="setting-up-a-channel">
  79. <title>Setting up a channel</title>
  80. <para>
  81. An element called <command>channel</command> is made for defining
  82. channels, a quick example of a channel is this:
  83. <programlisting>
  84. <![CDATA[
  85. <channel="#channel">
  86. Logfile = "channel.log"
  87. Format = "mIRC"
  88. Maintainer = "John"
  89. OutputFile = "mychan.html"
  90. </channel>
  91. ]]>
  92. </programlisting>
  93. The above will define a channel called <command>#channel</command>, the
  94. logfile pisg will look for is called <command>channel.log</command> and
  95. the format of the logfile will be <command>mIRC</command>. The
  96. maintainer (which will be stated on the output page) is
  97. <command>John</command>.
  98. </para>
  99. <para>
  100. That is basically it! Now, there are a lot more options that you can use
  101. for your channels, for this please refer to the reference documentation.
  102. </para>
  103. <para>
  104. Also be-aware of the fact that pisg uses various images to show the
  105. time-related bars. These images are placed in the
  106. <filename>gfx/</filename> folder and should be putted into the same
  107. directory as your outputted HTML file.
  108. </para>
  109. </sect1>
  110. <sect1 id="user-options">
  111. <title>Specifying user options</title>
  112. <para>
  113. User options are set with a simple XML-like syntax in the form:
  114. <programlisting>
  115. <![CDATA[<user nick="NICK" option="VALUE">]]>
  116. </programlisting>
  117. Remember, the nick is always required.
  118. For example to add aliases to a nick, then you could do this:
  119. <programlisting>
  120. <![CDATA[<user nick="Joe" alias="Joe^*">]]>
  121. </programlisting>
  122. The asterix (*) means that it will match all nicks starting with 'Joe^'. So
  123. it will add all Joe^'s to 'Joe' in the stats.
  124. Another thing you can do is to add a picture to a user:
  125. <programlisting>
  126. <![CDATA[<user nick="Ben" pic="ben_holiday.jpg">]]>
  127. </programlisting>
  128. If you have a larger picture of the user as well, you can make the picture
  129. on the stats page link to it:
  130. <programlisting>
  131. <![CDATA[<user nick="Ben" pic="ben_holiday.jpg" bigpic="ben-big.jpg">]]>
  132. </programlisting>
  133. You can also set a user's sex:
  134. <programlisting>
  135. <![CDATA[<user nick="Ben" sex="m">]]>
  136. </programlisting>
  137. Also you can add links to URLs and e-mails:
  138. <programlisting>
  139. <![CDATA[<user nick="Christine" link="http://www.christine.com">]]>
  140. </programlisting>
  141. or
  142. <programlisting>
  143. <![CDATA[<user nick="Chris" link="chris@host.com">]]>
  144. </programlisting>
  145. The last thing you can do is to ignore nicks (for example bots):
  146. <programlisting>
  147. <![CDATA[<user nick="nameofbot" ignore="y">]]>
  148. </programlisting>
  149. You don't have to do all this in many lines, you could just as easily do:
  150. <programlisting>
  151. <![CDATA[<user nick="Joe" alias="Joe^away Joe^work" pic="joe.jpg" link="joe@joe.com" sex="m">]]>
  152. </programlisting>
  153. (Here the aliases are a space separated list of nicks, that also works! But *
  154. as a wildcard is smarter, although it is slower).
  155. </para>
  156. </sect1>
  157. <sect1 id="global-options">
  158. <title>Setting global options</title>
  159. <para>
  160. Many times, it will be useful to set up global options, global options
  161. are set like this:
  162. <programlisting>
  163. <![CDATA[<set option="VALUE">]]>
  164. </programlisting>
  165. Any global option will override anything defined within channel
  166. elements (see <xref linkend="setting-up-a-channel">)
  167. </para>
  168. <para>
  169. For example, to change the background color of the stats page, you
  170. could do:
  171. <programlisting>
  172. <![CDATA[<set bgcolor="black">]]>
  173. </programlisting>
  174. You can set many options in a single <command>set</command>:
  175. <programlisting>
  176. <![CDATA[<set lang="DE" timeoffset="+1">]]>
  177. </programlisting>
  178. The above will set the language on the statistics page to DE (Deutch,
  179. German) and set the timeoffset to +1.
  180. All options available are mentioned in the reference documentation.
  181. </sect1>
  182. <sect1 id="ignoring-links">
  183. <title>Ignoring links</title>
  184. <para>
  185. It's possible to ignore links in the "Most referenced URLs" section:
  186. <programlisting>
  187. <![CDATA[
  188. <link url="http://www.slashdot.org" ignore="y">
  189. ]]>
  190. </programlisting>
  191. </para>
  192. </sect1>
  193. <sect1 id="including-config">
  194. <title>Including common settings for various channels</title>
  195. <para>
  196. If you have, for example, more than one channel, where the users are the
  197. same, or you don't want to maintain more than one user file, you can use
  198. the "include" setting in the main config file:
  199. <programlisting>
  200. <![CDATA[
  201. <include="/home/vetinari/pisg/users.cfg">
  202. ]]>
  203. </programlisting>
  204. This will include the file /home/vetinari/pisg/users.cfg in the config
  205. at the place where the include statement is set.
  206. </para>
  207. <para>
  208. Note, that you can NOT include a file from an included file!
  209. </para>
  210. </sect1>
  211. <sect1 id="using-css">
  212. <title>Changing the layout of your stats page</title>
  213. <para>
  214. The standard layout and colors in the outputted HTML page are made to be
  215. somewhat clean and neutral. But you have the chance to change the layout
  216. yourself.
  217. </para>
  218. <para>
  219. There are a few predefined colorschemes for you to use, use the
  220. ColorScheme option when using them. The available colorschemes are:
  221. 'default', 'darkgalaxy', 'ocean', 'darkred'.
  222. </para>
  223. <para>
  224. When changing it, you need a fair knowledge of CSS (Cascading Style
  225. Sheets). CSS is what most of the web uses today to define styles and
  226. layout on HTML pages.
  227. </para>
  228. <para>
  229. With the pisg distribution, look in the <filename>layout</filename>
  230. directory. In it resides <filename>default.css</filename> which is the
  231. file being included onto the HTML page. Open it in a text editor like
  232. vi or notepad. Then change it until you're happy with it. Be aware that
  233. you might want to look at the hicell and hicell2 options through
  234. pisg.cfg for changing the last two colors.
  235. </para>
  236. <para>
  237. If you have created a nice stylesheet which other can take advantage of,
  238. you are encouraged to send it to the pisg mailing list so that it can be
  239. distributed with the next version of pisg.
  240. </para>
  241. </sect1>
  242. <sect1 id="running-pisg">
  243. <title>Running pisg</title>
  244. <para>
  245. When everything is set up in the pisg configuration file (pisg.cfg),
  246. then you simply run pisg on the command-line.
  247. </para>
  248. <para>
  249. Using Linux, BSD or another UNIX-like system:
  250. <screen>
  251. <prompt>user@host:pisg-0.37$</prompt> <userinput>./pisg</userinput>
  252. </screen>
  253. </para>
  254. <para>
  255. Using Windows:
  256. <screen>
  257. <prompt>c:\perl\bin&gt;</prompt> <userinput>perl c:\pisg\pisg</userinput>
  258. </screen>
  259. </para>
  260. <para>
  261. Or alternatively:
  262. <screen>
  263. <prompt>c:\pisg&gt;</prompt> <userinput>perl pisg</userinput>
  264. </screen>
  265. </para>
  266. <para>
  267. The program will run and parse the logfiles you specified in the
  268. configuration file.
  269. </para>
  270. <para>
  271. If you are using Linux and want run pisg
  272. automatically several times a day, then see the
  273. <filename>crontab</filename> file in the
  274. <filename>scripts/</filename> directory.
  275. </para>
  276. <para>
  277. For Windows, see the <filename>windows-upload-ftp.txt</filename> file
  278. with the pisg distribution, this file is also placed in the
  279. <filename>scripts/</filename> directory.
  280. </para>
  281. </sect1>
  282. <sect1 id="mailing-list-and-bugs">
  283. <title>Obtaining help and reporting bugs</title>
  284. <para>
  285. If your problem could not be resolved through here, then you should send
  286. an e-mail to the pisg mailing list. You can subscribe and see more info
  287. at <ulink
  288. url="http://lists.sourceforge.net/lists/listinfo/pisg-general">http://lists.sourceforge.net/lists/listinfo/pisg-general</ulink>.
  289. </para>
  290. <para>
  291. If you believe that you have found a bug, you should use the Sourceforge
  292. <ulink
  293. url="http://sourceforge.net/tracker/?group_id=31862&amp;atid=403711">bug
  294. tracking system.</ulink>
  295. </para>
  296. </sect1>
  297. </chapter>
  298. <chapter id="reference">
  299. <title>General pisg options</title>
  300. <!-- *** CHANNEL *** -->
  301. <refentry id="Channel">
  302. <refmeta> <refentrytitle>Channel</refentrytitle> </refmeta>
  303. <refnamediv>
  304. <refname>Channel</refname>
  305. <refpurpose>define channel name</refpurpose>
  306. </refnamediv>
  307. <refsynopsisdiv><programlisting>
  308. <![CDATA[
  309. <channel="#channel">
  310. Logfile = "channel.log"
  311. Format = "mIRC"
  312. Maintainer = "John"
  313. </channel>
  314. ]]>
  315. </programlisting></refsynopsisdiv>
  316. <refsect1>
  317. <title>Description</title>
  318. <para>
  319. <command>Channel</command> is used in two contexts, globally when using
  320. &lt;set&gt; and when defining new channels. It sets the name of the
  321. channel.
  322. </para>
  323. </refsect1>
  324. <refsect1>
  325. <title>Default</title>
  326. <para> Unset </para>
  327. </refsect1>
  328. </refentry>
  329. <!-- *** FORMAT *** -->
  330. <refentry id="Format">
  331. <refmeta> <refentrytitle>Format</refentrytitle> </refmeta>
  332. <refnamediv>
  333. <refname>Format</refname>
  334. <refpurpose>the logfile format</refpurpose>
  335. </refnamediv>
  336. <refsynopsisdiv><programlisting>
  337. <![CDATA[
  338. <channel="#channel">
  339. Logfile = "channel.log"
  340. Format = "eggdrop"
  341. Maintainer = "John"
  342. </channel>
  343. <set Format="mIRC">
  344. ]]>
  345. </programlisting></refsynopsisdiv>
  346. <refsect1>
  347. <title>Description</title>
  348. <para>
  349. <command>Format</command> is used to define the format of the logfile,
  350. pisg supports a various number of different logfiles, see the FORMATS
  351. file included with the pisg distribution.
  352. </para>
  353. </refsect1>
  354. <refsect1>
  355. <title>Default</title>
  356. <para> mIRC </para>
  357. </refsect1>
  358. </refentry>
  359. <!-- *** NETWORK *** -->
  360. <refentry id="Network">
  361. <refmeta> <refentrytitle>Network</refentrytitle> </refmeta>
  362. <refnamediv>
  363. <refname>Network</refname>
  364. <refpurpose>the IRC network of the channel</refpurpose>
  365. </refnamediv>
  366. <refsynopsisdiv><programlisting>
  367. <![CDATA[
  368. <channel="#channel">
  369. Logfile = "channel.log"
  370. Format = "eggdrop"
  371. Network = "Undernet"
  372. </channel>
  373. <set Network="Quakenet">
  374. ]]>
  375. </programlisting></refsynopsisdiv>
  376. <refsect1>
  377. <title>Description</title>
  378. <para>
  379. <command>Network</command> is used to set the network which the channel
  380. resides on, this name is displayed on the stats page.
  381. </para>
  382. </refsect1>
  383. <refsect1>
  384. <title>Default</title>
  385. <para> SomeIRCNetwork </para>
  386. </refsect1>
  387. </refentry>
  388. <!-- *** OUTPUTFILE *** -->
  389. <refentry id="OutputFile">
  390. <refmeta> <refentrytitle>OutputFile</refentrytitle> </refmeta>
  391. <refnamediv>
  392. <refname>OutputFile</refname>
  393. <refpurpose>name of the generated HTML page</refpurpose>
  394. </refnamediv>
  395. <refsynopsisdiv><programlisting>
  396. <![CDATA[
  397. <channel="#channel">
  398. Logfile = "channel.log"
  399. Format = "eggdrop"
  400. OutputFile = "mychan.html"
  401. </channel>
  402. <set OutputFile="mychan.html">
  403. ]]>
  404. </programlisting></refsynopsisdiv>
  405. <refsect1>
  406. <title>Description</title>
  407. <para>
  408. <command>OutputFile</command> is used to define the name of the
  409. generated statistics page.
  410. </para>
  411. </refsect1>
  412. <refsect1>
  413. <title>Default</title>
  414. <para> index.html </para>
  415. </refsect1>
  416. </refentry>
  417. <!-- *** LOGFILE *** -->
  418. <refentry id="Logfile">
  419. <refmeta> <refentrytitle>Logfile</refentrytitle> </refmeta>
  420. <refnamediv>
  421. <refname>Logfile</refname>
  422. <refpurpose>name of logfile to parse</refpurpose>
  423. </refnamediv>
  424. <refsynopsisdiv><programlisting>
  425. <![CDATA[
  426. <channel="#channel">
  427. Logfile="/home/foo/eggdrop/logs/mylog.txt"
  428. Format = "eggdrop"
  429. </channel>
  430. <set Logfile="foo.log">
  431. ]]>
  432. </programlisting></refsynopsisdiv>
  433. <refsect1>
  434. <title>Description</title>
  435. <para>
  436. This defines the filename of the logfile to parse for the channel. If
  437. you want to parse a directory full of logfiles, you should use the
  438. <command>LogDir</command> option instead.
  439. </para>
  440. </refsect1>
  441. <refsect1>
  442. <title>Default</title>
  443. <para> unset </para>
  444. </refsect1>
  445. </refentry>
  446. <!-- *** LOGDIR *** -->
  447. <refentry id="LogDir">
  448. <refmeta> <refentrytitle>LogDir</refentrytitle> </refmeta>
  449. <refnamediv>
  450. <refname>LogDir</refname>
  451. <refpurpose>parse a directory full of logs</refpurpose>
  452. </refnamediv>
  453. <refsynopsisdiv><programlisting>
  454. <![CDATA[
  455. <channel="#channel">
  456. LogDir="/home/foo/eggdrop/logs/"
  457. Format = "eggdrop"
  458. </channel>
  459. <set LogDir="dailylogs/">
  460. ]]>
  461. </programlisting></refsynopsisdiv>
  462. <refsect1>
  463. <title>Description</title>
  464. <para>
  465. When <command>LogDir</command> is defined to valid path to a directory,
  466. then pisg will run through that directory, parse all logfiles in it and
  467. create 1 HTML from it. Useful with for example eggdrop logs.
  468. </para>
  469. </refsect1>
  470. <refsect1>
  471. <title>Default</title>
  472. <para> unset </para>
  473. </refsect1>
  474. </refentry>
  475. <!-- *** MAINTAINER *** -->
  476. <refentry id="Maintainer">
  477. <refmeta> <refentrytitle>Maintainer</refentrytitle> </refmeta>
  478. <refnamediv>
  479. <refname>Maintainer</refname>
  480. <refpurpose>name of the maintainer</refpurpose>
  481. </refnamediv>
  482. <refsynopsisdiv><programlisting>
  483. <![CDATA[
  484. <channel="#channel">
  485. Logfile = "channel.log"
  486. Format = "mIRC"
  487. Maintainer = "Benny"
  488. </channel>
  489. <set Maintainer="Benny">
  490. ]]>
  491. </programlisting></refsynopsisdiv>
  492. <refsect1>
  493. <title>Description</title>
  494. <para>
  495. <command>Maintainer</command> is used to define the name of the
  496. maintaner of the statistics page, this can be either the person
  497. generating the stats or the bot/client doing the logging.
  498. The maintainer is displayed in the outputted stats page.
  499. </para>
  500. </refsect1>
  501. <refsect1>
  502. <title>Default</title>
  503. <para> MAINTAINER </para>
  504. </refsect1>
  505. </refentry>
  506. <!-- *** COLORSCHEME *** -->
  507. <refentry id="ColorScheme">
  508. <refmeta> <refentrytitle>ColorScheme</refentrytitle> </refmeta>
  509. <refnamediv>
  510. <refname>ColorScheme</refname>
  511. <refpurpose>use a different colorscheme for stats page</refpurpose>
  512. </refnamediv>
  513. <refsynopsisdiv><programlisting>
  514. <![CDATA[
  515. <channel="#channel">
  516. Logfile = "channel.log"
  517. ColorScheme = "darkgalaxy"
  518. Maintainer = "John"
  519. </channel>
  520. <set ColorScheme="default">
  521. ]]>
  522. </programlisting></refsynopsisdiv>
  523. <refsect1>
  524. <title>Description</title>
  525. <para>
  526. <command>ColorScheme</command> is used to define the colorscheme used
  527. for the statistics page. Actually it's the CSS file being included.
  528. Available options are: default, darkgalaxy.
  529. </para>
  530. </refsect1>
  531. <refsect1>
  532. <title>Default</title>
  533. <para> default </para>
  534. </refsect1>
  535. </refentry>
  536. <!-- *** LANG *** -->
  537. <refentry id="Lang">
  538. <refmeta> <refentrytitle>Lang</refentrytitle> </refmeta>
  539. <refnamediv>
  540. <refname>Lang</refname>
  541. <refpurpose>define the language / translation to use</refpurpose>
  542. </refnamediv>
  543. <refsynopsisdiv><programlisting>
  544. <![CDATA[
  545. <channel="#channel">
  546. Logfile = "channel.log"
  547. Format = "mIRC"
  548. Lang = "DE"
  549. </channel>
  550. <set Lang="FR">
  551. ]]>
  552. </programlisting></refsynopsisdiv>
  553. <refsect1>
  554. <title>Description</title>
  555. <para>
  556. <command>Lang</command> is used to define the language translation to
  557. use, if the language support is there, the text on the stats page will
  558. be outputted in that language. All supported languages is mentioned in
  559. the lang.txt file with the pisg distribution. Some of the languages
  560. supported is: EN | DE | DK | FR | ES | PL | PT | NO | NL | SE | EE | IT
  561. | HU | SI | FI
  562. </para>
  563. </refsect1>
  564. <refsect1>
  565. <title>Default</title>
  566. <para> EN (English) </para>
  567. </refsect1>
  568. </refentry>
  569. <!-- *** PAGEHEAD *** -->
  570. <refentry id="pagehead">
  571. <refmeta> <refentrytitle>PageHead</refentrytitle> </refmeta>
  572. <refnamediv>
  573. <refname>PageHead</refname>
  574. <refpurpose>define a file as page header</refpurpose>
  575. </refnamediv>
  576. <refsynopsisdiv><programlisting>
  577. <![CDATA[
  578. <channel="#channel">
  579. Logfile = "chaNnel.log"
  580. Format = "mIRC"
  581. OutputFile = "stats.html"
  582. PageHead = "myheader.txt"
  583. </channel>
  584. <set PageHead="someheader.txt">
  585. ]]>
  586. </programlisting></refsynopsisdiv>
  587. <refsect1>
  588. <title>Description</title>
  589. <para>
  590. <command>PageHead</command> is used to include a file in the stats page,
  591. for example an introduction text, a link to an image or a banner. The
  592. file can hold anything, it will be included raw in the stats page -
  593. so HTML should be preferred. The file will be included in the top of
  594. the page. This option is the opposite of <command>PageFoot</command>.
  595. </para>
  596. </refsect1>
  597. <refsect1>
  598. <title>Default</title>
  599. <para> none </para>
  600. </refsect1>
  601. </refentry>
  602. <!-- *** PAGEFOOT *** -->
  603. <refentry id="PageFoot">
  604. <refmeta> <refentrytitle>PageFoot</refentrytitle> </refmeta>
  605. <refnamediv>
  606. <refname>PageFoot</refname>
  607. <refpurpose>define a file as page footer</refpurpose>
  608. </refnamediv>
  609. <refsynopsisdiv><programlisting>
  610. <![CDATA[
  611. <channel="#channel">
  612. Logfile = "channel.log"
  613. Format = "mIRC"
  614. outputfile = "stats.html"
  615. PageFoot = "myfooter.txt"
  616. </channel>
  617. <set PageFoot="somefooter.txt">
  618. ]]>
  619. </programlisting></refsynopsisdiv>
  620. <refsect1>
  621. <title>Description</title>
  622. <para>
  623. <command>PageFoot</command> is used to include a file in the stats page,
  624. for example an introduction text, a link to an image or a banner. The
  625. file can hold anything, it will be included raw in the stats page -
  626. so HTML should be preferred. The file will be included in the bottom of
  627. the page. This option is the opposite of <command>PageHead</command>.
  628. </para>
  629. </refsect1>
  630. <refsect1>
  631. <title>Default</title>
  632. <para> none </para>
  633. </refsect1>
  634. </refentry>
  635. <!-- *** LogPrefix *** -->
  636. <refentry id="LogPrefix">
  637. <refmeta> <refentrytitle>LogPrefix</refentrytitle> </refmeta>
  638. <refnamediv>
  639. <refname>LogPrefix</refname>
  640. <refpurpose>only parse logs LogPrefixed with a userdefined string</refpurpose>
  641. </refnamediv>
  642. <refsynopsisdiv><programlisting>
  643. <![CDATA[
  644. <channel="#channel">
  645. LogDir="/home/foo/eggdrop/logs/"
  646. Format = "eggdrop"
  647. LogPrefix = "logjun"
  648. </channel>
  649. <set LogPrefix="logjanuary">
  650. ]]>
  651. </programlisting></refsynopsisdiv>
  652. <refsect1>
  653. <title>Description</title>
  654. <para>
  655. When using the <command>LogDir</command> option and you only want to use
  656. a slew of the files in it, you can have pisg choose only files which are
  657. prefixed with a special string.
  658. </para>
  659. </refsect1>
  660. <refsect1>
  661. <title>Default</title>
  662. <para> unset </para>
  663. </refsect1>
  664. </refentry>
  665. <!-- *** LOGSUFFIX *** -->
  666. <refentry id="LogSuffix">
  667. <refmeta> <refentrytitle>LogSuffix</refentrytitle> </refmeta>
  668. <refnamediv>
  669. <refname>LogSuffix</refname>
  670. <refpurpose>Regex to sort logfiles by format month||day||year</refpurpose>
  671. </refnamediv>
  672. <refsynopsisdiv><programlisting>
  673. <![CDATA[
  674. <set LogSuffix="\.\d\d([A-Za-z]+)\d\d\d\d||\.(\d\d)[A-Za-z]+\d\d\d\d||\.\d\d[A-Za-z]+(\d\d\d\d)">
  675. ]]>
  676. </programlisting></refsynopsisdiv>
  677. <refsect1>
  678. <title>Description</title>
  679. <para>
  680. <command>LogSuffix</command> is used to define the suffix of a logfile,
  681. it only works when <command>LogDir</command> is defined. The example in
  682. the synopsis is for the eggdrop bots default foramt.
  683. </para>
  684. </refsect1>
  685. <refsect1>
  686. <title>Default</title>
  687. <para> Unset </para>
  688. </refsect1>
  689. </refentry>
  690. <!-- *** SILENT *** -->
  691. <refentry id="Silent">
  692. <refmeta> <refentrytitle>Silent</refentrytitle> </refmeta>
  693. <refnamediv>
  694. <refname>Silent</refname>
  695. <refpurpose>make pisg silent, suppress messages</refpurpose>
  696. </refnamediv>
  697. <refsynopsisdiv><programlisting>
  698. <![CDATA[
  699. <set Silent="1">
  700. ]]>
  701. </programlisting></refsynopsisdiv>
  702. <refsect1>
  703. <title>Description</title>
  704. <para>
  705. This option is useful mainly from commandline when invoking pisg with
  706. <command>--silent 1</command>. But it can also used in the configuration
  707. file. It will suppress all standard output from pisg. Error messages
  708. will still be sent.
  709. </para>
  710. </refsect1>
  711. <refsect1>
  712. <title>Default</title>
  713. <para> 0 (disabled) </para>
  714. </refsect1>
  715. </refentry>
  716. </chapter>
  717. <chapter id="reference-stats">
  718. <title>Options for various statistics features</title>
  719. <!-- *** SHOWACTIVETIMES *** -->
  720. <refentry id="ShowActiveTimes">
  721. <refmeta> <refentrytitle>ShowActiveTimes</refentrytitle> </refmeta>
  722. <refnamediv>
  723. <refname>ShowActiveTimes</refname>
  724. <refpurpose>enable/disable "Most Active Times"</refpurpose>
  725. </refnamediv>
  726. <refsynopsisdiv><programlisting>
  727. <![CDATA[
  728. <channel="#channel">
  729. Logfile = "channel.log"
  730. Format = "xchat"
  731. ShowActiveTimes = "0"
  732. </channel>
  733. <set ShowActiveTimes="1">
  734. ]]>
  735. </programlisting></refsynopsisdiv>
  736. <refsect1>
  737. <title>Description</title>
  738. <para>
  739. With this option you can disable the "Most Active Times" section on the
  740. stats page. It will simply disappear when specifying 0.
  741. </para>
  742. </refsect1>
  743. <refsect1>
  744. <title>Default</title>
  745. <para> 1 (enabled) </para>
  746. </refsect1>
  747. </refentry>
  748. <!-- *** SHOWBIGNUMBERS *** -->
  749. <refentry id="ShowBigNumbers">
  750. <refmeta> <refentrytitle>ShowBigNumbers</refentrytitle> </refmeta>
  751. <refnamediv>
  752. <refname>ShowBigNumbers</refname>
  753. <refpurpose>enable/disable "Big Numbers" sections</refpurpose>
  754. </refnamediv>
  755. <refsynopsisdiv><programlisting>
  756. <![CDATA[
  757. <channel="#channel">
  758. Logfile = "channel.log"
  759. Format = "xchat"
  760. ShowBigNumbers = "0"
  761. </channel>
  762. <set ShowBigNumbers="1">
  763. ]]>
  764. </programlisting></refsynopsisdiv>
  765. <refsect1>
  766. <title>Description</title>
  767. <para>
  768. With this option you can disable the "Big Numbers" and "Other
  769. Interesting numbers" sections on the stats page. They will simply
  770. disappear when specifying 0.
  771. </para>
  772. </refsect1>
  773. <refsect1>
  774. <title>Default</title>
  775. <para> 1 (enabled) </para>
  776. </refsect1>
  777. </refentry>
  778. <!-- *** SHOWTOPICS *** -->
  779. <refentry id="ShowTopics">
  780. <refmeta> <refentrytitle>ShowTopics</refentrytitle> </refmeta>
  781. <refnamediv>
  782. <refname>ShowTopics</refname>
  783. <refpurpose>enable/disable "Latest topics" sections</refpurpose>
  784. </refnamediv>
  785. <refsynopsisdiv><programlisting>
  786. <![CDATA[
  787. <channel="#channel">
  788. Logfile = "channel.log"
  789. Format = "xchat"
  790. ShowTopics = "0"
  791. </channel>
  792. <set ShowTopics="1">
  793. ]]>
  794. </programlisting></refsynopsisdiv>
  795. <refsect1>
  796. <title>Description</title>
  797. <para>
  798. With this option you can disable the "Latest topics" section on the
  799. stats page. It will simply disappear when specifying 0.
  800. </para>
  801. </refsect1>
  802. <refsect1>
  803. <title>Default</title>
  804. <para> 1 (enabled) </para>
  805. </refsect1>
  806. </refentry>
  807. <!-- *** SHOWWPL *** -->
  808. <refentry id="ShowWpl">
  809. <refmeta> <refentrytitle>ShowWpl</refentrytitle> </refmeta>
  810. <refnamediv>
  811. <refname>ShowWpl</refname>
  812. <refpurpose>enable/disable "words per line"</refpurpose>
  813. </refnamediv>
  814. <refsynopsisdiv><programlisting>
  815. <![CDATA[
  816. <channel="#channel">
  817. Logfile = "channel.log"
  818. Format = "xchat"
  819. ShowWpl = "0"
  820. </channel>
  821. <set ShowWpl="1">
  822. ]]>
  823. </programlisting></refsynopsisdiv>
  824. <refsect1>
  825. <title>Description</title>
  826. <para>
  827. With this option you can enable the "words per line" coloumn in the
  828. "Most Active Nicks" section. It will add a column describing the average
  829. words per line for a person.
  830. </para>
  831. </refsect1>
  832. <refsect1>
  833. <title>Default</title>
  834. <para> 0 (disabled) </para>
  835. </refsect1>
  836. </refentry>
  837. <!-- *** SHOWCPL *** -->
  838. <refentry id="ShowCpl">
  839. <refmeta> <refentrytitle>ShowCpl</refentrytitle> </refmeta>
  840. <refnamediv>
  841. <refname>ShowCpl</refname>
  842. <refpurpose>enable/disable "characters per line"</refpurpose>
  843. </refnamediv>
  844. <refsynopsisdiv><programlisting>
  845. <![CDATA[
  846. <channel="#channel">
  847. Logfile = "channel.log"
  848. Format = "xchat"
  849. ShowCpl = "0"
  850. </channel>
  851. <set ShowCpl="1">
  852. ]]>
  853. </programlisting></refsynopsisdiv>
  854. <refsect1>
  855. <title>Description</title>
  856. <para>
  857. With this option you can enable the "characters per line" coloumn in the
  858. "Most Active Nicks" section. It will add a column describing the average
  859. number of characters per line for a person.
  860. </para>
  861. </refsect1>
  862. <refsect1>
  863. <title>Default</title>
  864. <para> 0 (disabled) </para>
  865. </refsect1>
  866. </refentry>
  867. <!-- *** SHOWWORDS *** -->
  868. <refentry id="ShowWords">
  869. <refmeta> <refentrytitle>ShowWords</refentrytitle> </refmeta>
  870. <refnamediv>
  871. <refname>ShowWords</refname>
  872. <refpurpose>enable/disable "number of words"</refpurpose>
  873. </refnamediv>
  874. <refsynopsisdiv><programlisting>
  875. <![CDATA[
  876. <channel="#channel">
  877. Logfile = "channel.log"
  878. Format = "xchat"
  879. ShowWords = "0"
  880. </channel>
  881. <set ShowWords="1">
  882. ]]>
  883. </programlisting></refsynopsisdiv>
  884. <refsect1>
  885. <title>Description</title>
  886. <para>
  887. The <command>ShowWords</command> option adds a column to the "Most
  888. Active Nicks" list which list the total number of words a user has
  889. typed.
  890. </para>
  891. </refsect1>
  892. <refsect1>
  893. <title>Default</title>
  894. <para> 0 (disabled) </para>
  895. </refsect1>
  896. </refentry>
  897. <!-- *** ShowLastSeen *** -->
  898. <refentry id="ShowLastSeen">
  899. <refmeta> <refentrytitle>ShowLastSeen</refentrytitle> </refmeta>
  900. <refnamediv>
  901. <refname>ShowLastSeen</refname>
  902. <refpurpose>show when a user was last seen on a channel</refpurpose>
  903. </refnamediv>
  904. <refsynopsisdiv><programlisting>
  905. <![CDATA[
  906. <channel="#channel">
  907. Logfile = "channel.log"
  908. Format = "xchat"
  909. ShowLastSeen = "0"
  910. </channel>
  911. <set ShowLastSeen="1">
  912. ]]>
  913. </programlisting></refsynopsisdiv>
  914. <refsect1>
  915. <title>Description</title>
  916. <para>
  917. With this option enabled, a column will be added to the "Most Active
  918. Nicks" section to display when a user was last seen. Eg. "2 days ago".
  919. </para>
  920. </refsect1>
  921. <refsect1>
  922. <title>Default</title>
  923. <para> 0 (disabled) </para>
  924. </refsect1>
  925. </refentry>
  926. <!-- *** SHOWTIME *** -->
  927. <refentry id="ShowTime">
  928. <refmeta> <refentrytitle>ShowTime</refentrytitle> </refmeta>
  929. <refnamediv>
  930. <refname>ShowTime</refname>
  931. <refpurpose>show when a nick was active</refpurpose>
  932. </refnamediv>
  933. <refsynopsisdiv><programlisting>
  934. <![CDATA[
  935. <channel="#channel">
  936. Logfile = "channel.log"
  937. Format = "xchat"
  938. ShowTime = "0"
  939. </channel>
  940. <set ShowTime="1">
  941. ]]>
  942. </programlisting></refsynopsisdiv>
  943. <refsect1>
  944. <title>Description</title>
  945. <para>
  946. The default behaviour is to add a column to the "Most Active Nicks"
  947. section displaying a fancy timebar to show when a user was active. With
  948. this option it can be disabled.
  949. </para>
  950. </refsect1>
  951. <refsect1>
  952. <title>Default</title>
  953. <para> 1 (enabled) </para>
  954. </refsect1>
  955. </refentry>
  956. <!-- *** SHOWLINETIME *** -->
  957. <refentry id="ShowLineTime">
  958. <refmeta> <refentrytitle>ShowLineTime</refentrytitle> </refmeta>
  959. <refnamediv>
  960. <refname>ShowLineTime</refname>
  961. <refpurpose>mIRCStats like behaviour of timebar</refpurpose>
  962. </refnamediv>
  963. <refsynopsisdiv><programlisting>
  964. <![CDATA[
  965. <channel="#channel">
  966. Logfile = "channel.log"
  967. Format = "bobot"
  968. ShowLineTime = "0"
  969. </channel>
  970. <set ShowLineTime="1">
  971. ]]>
  972. </programlisting></refsynopsisdiv>
  973. <refsect1>
  974. <title>Description</title>
  975. <para>
  976. The default behaviour is to add a column to the "Most Active Nicks"
  977. section displaying a fancy linetimebar to show when a user was active.
  978. With this option it can be done the same way as mIRCStats does it; that
  979. is, by putting that timebar next to the number of lines, in the same
  980. column.
  981. </para>
  982. </refsect1>
  983. <refsect1>
  984. <title>Default</title>
  985. <para> 0 (disabled) </para>
  986. </refsect1>
  987. </refentry>
  988. <!-- *** SHOWWORDTIME *** -->
  989. <refentry id="ShowWordTime">
  990. <refmeta> <refentrytitle>ShowWordTime</refentrytitle> </refmeta>
  991. <refnamediv>
  992. <refname>ShowWordTime</refname>
  993. <refpurpose>ShowLineTime like behavior of words column</refpurpose>
  994. </refnamediv>
  995. <refsynopsisdiv><programlisting>
  996. <![CDATA[
  997. <channel="#channel">
  998. Logfile = "channel.log"
  999. Format = "bobot"
  1000. ShowWordTime = "0"
  1001. </channel>
  1002. <set ShowWordTime="1">
  1003. ]]>
  1004. </programlisting></refsynopsisdiv>
  1005. <refsect1>
  1006. <title>Description</title>
  1007. <para>
  1008. The default behaviour is to add a column to the "Most Active Nicks"
  1009. section displaying a fancy linetimebar to show when a user was active.
  1010. With this option it can be done similarly to mIRCStats does it and like
  1011. the ShowLineTime option, but using words instead of lines; that is, by
  1012. putting that timebar next to the number of words, in the same column.
  1013. </para>
  1014. </refsect1>
  1015. <refsect1>
  1016. <title>Default</title>
  1017. <para> 0 (disabled) </para>
  1018. </refsect1>
  1019. </refentry>
  1020. <!-- *** SHOWRANDQUOTE *** -->
  1021. <refentry id="ShowRandQuote">
  1022. <refmeta> <refentrytitle>ShowRandQuote</refentrytitle> </refmeta>
  1023. <refnamediv>
  1024. <refname>ShowRandQuote</refname>
  1025. <refpurpose>enable or disable the random quotes</refpurpose>
  1026. </refnamediv>
  1027. <refsynopsisdiv><programlisting>
  1028. <![CDATA[
  1029. <channel="#channel">
  1030. Logfile = "channel.log"
  1031. Format = "bobot"
  1032. ShowRandQuote = "0"
  1033. </channel>
  1034. <set ShowRandQuote="1">
  1035. ]]>
  1036. </programlisting></refsynopsisdiv>
  1037. <refsect1>
  1038. <title>Description</title>
  1039. <para>
  1040. The default behaviour is to add a column to the "Most Active Nicks"
  1041. section displaying a users random quote. With this option it can be
  1042. disabled.
  1043. </para>
  1044. </refsect1>
  1045. <refsect1>
  1046. <title>Default</title>
  1047. <para> 1 (enabled) </para>
  1048. </refsect1>
  1049. </refentry>
  1050. <!-- *** SHOWLEGEND *** -->
  1051. <refentry id="ShowLegend">
  1052. <refmeta> <refentrytitle>ShowLegend</refentrytitle> </refmeta>
  1053. <refnamediv>
  1054. <refname>ShowLegend</refname>
  1055. <refpurpose>enable or disable the legend of the timebars</refpurpose>
  1056. </refnamediv>
  1057. <refsynopsisdiv><programlisting>
  1058. <![CDATA[
  1059. <channel="#channel">
  1060. Logfile = "channel.log"
  1061. Format = "bobot"
  1062. ShowLegend = "0"
  1063. </channel>
  1064. <set ShowLegend="1">
  1065. ]]>
  1066. </programlisting></refsynopsisdiv>
  1067. <refsect1>
  1068. <title>Description</title>
  1069. <para>
  1070. By default, pisg shows a legend below the "Most Active Times" displaying
  1071. what the different colors means. With this option it can be disabled.
  1072. </para>
  1073. </refsect1>
  1074. <refsect1>
  1075. <title>Default</title>
  1076. <para> 1 (enabled) </para>
  1077. </refsect1>
  1078. </refentry>
  1079. <!-- *** SHOWKICKLINE *** -->
  1080. <refentry id="ShowKickLine">
  1081. <refmeta> <refentrytitle>ShowKickLine</refentrytitle> </refmeta>
  1082. <refnamediv>
  1083. <refname>ShowKickLine</refname>
  1084. <refpurpose>enable or disable the kickline</refpurpose>
  1085. </refnamediv>
  1086. <refsynopsisdiv><programlisting>
  1087. <![CDATA[
  1088. <channel="#channel">
  1089. Logfile = "channel.log"
  1090. Format = "bobot"
  1091. ShowKickLine = "0"
  1092. </channel>
  1093. <set ShowKickLine="1">
  1094. ]]>
  1095. </programlisting></refsynopsisdiv>
  1096. <refsect1>
  1097. <title>Description</title>
  1098. <para>
  1099. By default, pisg shows an example kickline in the "Most kicked"-stats.
  1100. With this option it can be disabled.
  1101. </para>
  1102. </refsect1>
  1103. <refsect1>
  1104. <title>Default</title>
  1105. <para> 1 (enabled) </para>
  1106. </refsect1>
  1107. </refentry>
  1108. <!-- *** SHOWACTIONLINE *** -->
  1109. <refentry id="ShowActionLine">
  1110. <refmeta> <refentrytitle>ShowActionLine</refentrytitle> </refmeta>
  1111. <refnamediv>
  1112. <refname>ShowActionLine</refname>
  1113. <refpurpose>enable or disable the actionline</refpurpose>
  1114. </refnamediv>
  1115. <refsynopsisdiv><programlisting>
  1116. <![CDATA[
  1117. <channel="#channel">
  1118. Logfile = "channel.log"
  1119. Format = "bobot"
  1120. ShowActionLine = "0"
  1121. </channel>
  1122. <set ShowActionLine="1">
  1123. ]]>
  1124. </programlisting></refsynopsisdiv>
  1125. <refsect1>
  1126. <title>Description</title>
  1127. <para>
  1128. By default, pisg shows an example actionline in the "Most actions"-stats.
  1129. With this option it can be disabled.
  1130. </para>
  1131. </refsect1>
  1132. <refsect1>
  1133. <title>Default</title>
  1134. <para> 1 (enabled) </para>
  1135. </refsect1>
  1136. </refentry>
  1137. <!-- *** SHOWSHOUTLINE *** -->
  1138. <refentry id="ShowShoutLine">
  1139. <refmeta> <refentrytitle>ShowShoutLine</refentrytitle> </refmeta>
  1140. <refnamediv>
  1141. <refname>ShowShoutLine</refname>
  1142. <refpurpose>enable or disable the shoutline</refpurpose>
  1143. </refnamediv>
  1144. <refsynopsisdiv><programlisting>
  1145. <![CDATA[
  1146. <channel="#channel">
  1147. Logfile = "channel.log"
  1148. Format = "bobot"
  1149. ShowShoutLine = "0"
  1150. </channel>
  1151. <set ShowShoutLine="1">
  1152. ]]>
  1153. </programlisting></refsynopsisdiv>
  1154. <refsect1>
  1155. <title>Description</title>
  1156. <para>
  1157. By default, pisg shows an example shoutline in the "Most shouting
  1158. people"-stats. With this option it can be disabled.
  1159. </para>
  1160. </refsect1>
  1161. <refsect1>
  1162. <title>Default</title>
  1163. <para> 1 (enabled) </para>
  1164. </refsect1>
  1165. </refentry>
  1166. <!-- *** SHOWFOULLINE *** -->
  1167. <refentry id="ShowFoulLine">
  1168. <refmeta> <refentrytitle>ShowFoulLine</refentrytitle> </refmeta>
  1169. <refnamediv>
  1170. <refname>ShowFoulLine</refname>
  1171. <refpurpose>enable or disable the foulline</refpurpose>
  1172. </refnamediv>
  1173. <refsynopsisdiv><programlisting>
  1174. <![CDATA[
  1175. <channel="#channel">
  1176. Logfile = "channel.log"
  1177. Format = "bobot"
  1178. ShowFoulLine = "0"
  1179. </channel>
  1180. <set ShowFoulLine="1">
  1181. ]]>
  1182. </programlisting></refsynopsisdiv>
  1183. <refsect1>
  1184. <title>Description</title>
  1185. <para>
  1186. By default, pisg doesn't show an example foulline in the "Most
  1187. fouls"-stats. With this option it can be enabled.
  1188. </para>
  1189. </refsect1>
  1190. <refsect1>
  1191. <title>Default</title>
  1192. <para> 0 (disabled) </para>
  1193. </refsect1>
  1194. </refentry>
  1195. <!-- *** SHOWVIOLENTLINES *** -->
  1196. <refentry id="ShowViolentLines">
  1197. <refmeta> <refentrytitle>ShowViolentLines</refentrytitle> </refmeta>
  1198. <refnamediv>
  1199. <refname>ShowViolentLines</refname>
  1200. <refpurpose>enable or disable the violentlines</refpurpose>
  1201. </refnamediv>
  1202. <refsynopsisdiv><programlisting>
  1203. <![CDATA[
  1204. <channel="#channel">
  1205. Logfile = "channel.log"
  1206. Format = "bobot"
  1207. ShowViolentLines = "0"
  1208. </channel>
  1209. <set ShowViolentLines="1">
  1210. ]]>
  1211. </programlisting></refsynopsisdiv>
  1212. <refsect1>
  1213. <title>Description</title>
  1214. <para>
  1215. By default, pisg shows example violentlines in the "Most aggresive"
  1216. and "Most attacked"-stats. With this option it can be disabled.
  1217. </para>
  1218. </refsect1>
  1219. <refsect1>
  1220. <title>Default</title>
  1221. <para> 1 (enabled) </para>
  1222. </refsect1>
  1223. </refentry>
  1224. <!-- *** SHOWMUW *** -->
  1225. <refentry id="ShowMuw">
  1226. <refmeta> <refentrytitle>ShowMuw</refentrytitle> </refmeta>
  1227. <refnamediv>
  1228. <refname>ShowMuw</refname>
  1229. <refpurpose>enable or disable "Most used words"</refpurpose>
  1230. </refnamediv>
  1231. <refsynopsisdiv><programlisting>
  1232. <![CDATA[
  1233. <channel="#channel">
  1234. Logfile = "channel.log"
  1235. Format = "xchat"
  1236. ShowMuw = "0"
  1237. </channel>
  1238. <set ShowMuw="1">
  1239. ]]>
  1240. </programlisting></refsynopsisdiv>
  1241. <refsect1>
  1242. <title>Description</title>
  1243. <para>
  1244. By default, pisg adds an "Most used words" section to the stats page.
  1245. With this option you can disable it from being shown.
  1246. </para>
  1247. </refsect1>
  1248. <refsect1>
  1249. <title>Default</title>
  1250. <para> 1 (enabled) </para>
  1251. </refsect1>
  1252. </refentry>
  1253. <!-- *** SHOWMRN *** -->
  1254. <refentry id="ShowMrn">
  1255. <refmeta> <refentrytitle>ShowMrn</refentrytitle> </refmeta>
  1256. <refnamediv>
  1257. <refname>ShowMrn</refname>
  1258. <refpurpose>enable or disable "Most referenced nicks"</refpurpose>
  1259. </refnamediv>
  1260. <refsynopsisdiv><programlisting>
  1261. <![CDATA[
  1262. <channel="#channel">
  1263. Logfile = "channel.log"
  1264. Format = "xchat"
  1265. ShowMrn = "0"
  1266. </channel>
  1267. <set ShowMrn="1">
  1268. ]]>
  1269. </programlisting></refsynopsisdiv>
  1270. <refsect1>
  1271. <title>Description</title>
  1272. <para>
  1273. By default, pisg adds an "Most referenced nicks" section to the stats
  1274. page. With this option you can disable it from being shown.
  1275. </para>
  1276. </refsect1>
  1277. <refsect1>
  1278. <title>Default</title>
  1279. <para> 1 (enabled) </para>
  1280. </refsect1>
  1281. </refentry>
  1282. <!-- *** SHOWMRU *** -->
  1283. <refentry id="ShowMru">
  1284. <refmeta> <refentrytitle>ShowMru</refentrytitle> </refmeta>
  1285. <refnamediv>
  1286. <refname>ShowMru</refname>
  1287. <refpurpose>enable or disable "Most referenced URLs"</refpurpose>
  1288. </refnamediv>
  1289. <refsynopsisdiv><programlisting>
  1290. <![CDATA[
  1291. <channel="#channel">
  1292. Logfile = "channel.log"
  1293. Format = "xchat"
  1294. ShowMru = "0"
  1295. </channel>
  1296. <set ShowMru="1">
  1297. ]]>
  1298. </programlisting></refsynopsisdiv>
  1299. <refsect1>
  1300. <title>Description</title>
  1301. <para>
  1302. By default, pisg adds an "Most referenced URLs" section to the stats
  1303. page. With this option you can disable it from being shown.
  1304. </para>
  1305. </refsect1>
  1306. <refsect1>
  1307. <title>Default</title>
  1308. <para> 1 (enabled) </para>
  1309. </refsect1>
  1310. </refentry>
  1311. <!-- *** SHOWVOICES *** -->
  1312. <refentry id="ShowVoices">
  1313. <refmeta> <refentrytitle>ShowVoices</refentrytitle> </refmeta>
  1314. <refnamediv>
  1315. <refname>ShowVoices</refname>
  1316. <refpurpose>enable or disable voice statistics</refpurpose>
  1317. </refnamediv>
  1318. <refsynopsisdiv><programlisting>
  1319. <![CDATA[
  1320. <channel="#channel">
  1321. Logfile = "channel.log"
  1322. Format = "xchat"
  1323. ShowVoices = "0"
  1324. </channel>
  1325. <set ShowVoices="1">
  1326. ]]>
  1327. </programlisting></refsynopsisdiv>
  1328. <refsect1>
  1329. <title>Description</title>
  1330. <para>
  1331. By default, pisg doesn't have voice statistics like it has op
  1332. statistics. Enabling this option will add a section to the "Most
  1333. interesting numbers" displaying who got most voices.
  1334. </para>
  1335. </refsect1>
  1336. <refsect1>
  1337. <title>Default</title>
  1338. <para> 0 (disabled) </para>
  1339. </refsect1>
  1340. </refentry>
  1341. <!-- *** SHOWVOICES *** -->
  1342. <refentry id="ShowHalfops">
  1343. <refmeta> <refentrytitle>ShowHalfops</refentrytitle> </refmeta>
  1344. <refnamediv>
  1345. <refname>ShowHalfops</refname>
  1346. <refpurpose>enable or disable halfop statistics</refpurpose>
  1347. </refnamediv>
  1348. <refsynopsisdiv><programlisting>
  1349. <![CDATA[
  1350. <channel="#channel">
  1351. Logfile = "channel.log"
  1352. Format = "xchat"
  1353. ShowHalfops = "0"
  1354. </channel>
  1355. <set ShowHalfops="1">
  1356. ]]>
  1357. </programlisting></refsynopsisdiv>
  1358. <refsect1>
  1359. <title>Description</title>
  1360. <para>
  1361. By default, pisg doesn't have halfop statistics (+h on some servers)
  1362. like it has op statistics. Enabling this option will add a section to
  1363. the "Most interesting numbers" displaying who gave most half-ops.
  1364. </para>
  1365. </refsect1>
  1366. <refsect1>
  1367. <title>Default</title>
  1368. <para> 0 (disabled) </para>
  1369. </refsect1>
  1370. </refentry>
  1371. <!-- *** SHOWMOSTNICKS *** -->
  1372. <refentry id="ShowMostNicks">
  1373. <refmeta> <refentrytitle>ShowMostNicks</refentrytitle> </refmeta>
  1374. <refnamediv>
  1375. <refname>ShowMostNicks</refname>
  1376. <refpurpose>show who changed nick most often</refpurpose>
  1377. </refnamediv>
  1378. <refsynopsisdiv><programlisting>
  1379. <![CDATA[
  1380. <channel="#channel">
  1381. Logfile = "channel.log"
  1382. Format = "xchat"
  1383. ShowMostNicks = "0"
  1384. </channel>
  1385. <set ShowMostNicks="1">
  1386. ]]>
  1387. </programlisting></refsynopsisdiv>
  1388. <refsect1>
  1389. <title>Description</title>
  1390. <para>
  1391. By enabling this option, pisg will add a section to the stats showing
  1392. who had the most nicks, and what the nicks were. This option only works
  1393. properly when <command>NickTracking</command> is enabled.
  1394. </para>
  1395. </refsect1>
  1396. <refsect1>
  1397. <title>Default</title>
  1398. <para> 0 (disabled) </para>
  1399. </refsect1>
  1400. </refentry>
  1401. <!-- *** SHOWMOSTACTIVEBYHOUR *** -->
  1402. <refentry id="ShowMostActiveByHour">
  1403. <refmeta> <refentrytitle>ShowMostActiveByHour</refentrytitle> </refmeta>
  1404. <refnamediv>
  1405. <refname>ShowMostActiveByHour</refname>
  1406. <refpurpose>show most active nicks by hour</refpurpose>
  1407. </refnamediv>
  1408. <refsynopsisdiv><programlisting>
  1409. <![CDATA[
  1410. <channel="#channel">
  1411. Logfile = "channel.log"
  1412. Format = "xchat"
  1413. ShowMostActiveByHour = "0"
  1414. </channel>
  1415. <set ShowMostActiveByHour="1">
  1416. ]]>
  1417. </programlisting></refsynopsisdiv>
  1418. <refsect1>
  1419. <title>Description</title>
  1420. <para>
  1421. By enabling this option, pisg will add a section to the stats showing
  1422. "Most Active Nicks By Hour" - also look at the
  1423. <command>ShowMostActiveByHourGraph</command> and
  1424. <command>ActiveNicksByHour</command> settings.
  1425. </para>
  1426. </refsect1>
  1427. <refsect1>
  1428. <title>Default</title>
  1429. <para> 0 (disabled) </para>
  1430. </refsect1>
  1431. </refentry>
  1432. <!-- *** SHOWONLYTOP *** -->
  1433. <refentry id="ShowOnlyTop">
  1434. <refmeta> <refentrytitle>ShowOnlyTop</refentrytitle> </refmeta>
  1435. <refnamediv>
  1436. <refname>ShowOnlyTop</refname>
  1437. <refpurpose>only count stats for top talkers, ignore less-active users</refpurpose>
  1438. </refnamediv>
  1439. <refsynopsisdiv><programlisting>
  1440. <![CDATA[
  1441. <channel="#channel">
  1442. Logfile = "channel.log"
  1443. Format = "xchat"
  1444. ShowOnlyTop = "1"
  1445. </channel>
  1446. <set ShowOnlyTop="1">
  1447. ]]>
  1448. </programlisting></refsynopsisdiv>
  1449. <refsect1>
  1450. <title>Description</title>
  1451. <para>
  1452. By enabling this option, stats in the "Big Numbers" and "Interesting
  1453. Numbers" section will only be counted for users who were the most
  1454. active. E.g. users who appear in the "Most Active Nicks" section, as
  1455. respected by the ActiveNicks and ActiveNicks2 options.
  1456. </para>
  1457. </refsect1>
  1458. <refsect1>
  1459. <title>Default</title>
  1460. <para> 0 (disabled) </para>
  1461. </refsect1>
  1462. </refentry>
  1463. <!-- *** SHOWMOSTACTIVEBYHOURGRAPH *** -->
  1464. <refentry id="ShowMostActiveByHourGraph">
  1465. <refmeta> <refentrytitle>ShowMostActiveByHourGraph</refentrytitle> </refmeta>
  1466. <refnamediv>
  1467. <refname>ShowMostActiveByHourGraph</refname>
  1468. <refpurpose>show graphs in most active nicks by hour</refpurpose>
  1469. </refnamediv>
  1470. <refsynopsisdiv><programlisting>
  1471. <![CDATA[
  1472. <channel="#channel">
  1473. Logfile = "channel.log"
  1474. Format = "xchat"
  1475. ShowMostActiveByHourGraph = "0"
  1476. </channel>
  1477. <set ShowMostActiveByHour="1">
  1478. <set ShowMostActiveByHourGraph="1">
  1479. ]]>
  1480. </programlisting></refsynopsisdiv>
  1481. <refsect1>
  1482. <title>Description</title>
  1483. <para>
  1484. By enabling this option and the <command>ShowMostActiveByHour</command>
  1485. option, pisg will show graphs in the "Most Active Nicks By Hour"
  1486. section.
  1487. </para>
  1488. </refsect1>
  1489. <refsect1>
  1490. <title>Default</title>
  1491. <para> 0 (disabled) </para>
  1492. </refsect1>
  1493. </refentry>
  1494. <!-- *** IGNOREWORDS *** -->
  1495. <refentry id="IgnoreWords">
  1496. <refmeta> <refentrytitle>IgnoreWords</refentrytitle> </refmeta>
  1497. <refnamediv>
  1498. <refname>IgnoreWords</refname>
  1499. <refpurpose>ignore specified words</refpurpose>
  1500. </refnamediv>
  1501. <refsynopsisdiv><programlisting>
  1502. <![CDATA[
  1503. <set IgnoreWords="you me">
  1504. ]]>
  1505. </programlisting></refsynopsisdiv>
  1506. <refsect1>
  1507. <title>Description</title>
  1508. <para>
  1509. Sometimes words in the "most used words" appears which you don't want to
  1510. see, with this option you can ignore these words. It also applies to the
  1511. "most referenced nicks" section. It's a space seperated list of words.
  1512. Can not be used in a channel-only context.
  1513. </para>
  1514. </refsect1>
  1515. <refsect1>
  1516. <title>Default</title>
  1517. <para> unset </para>
  1518. </refsect1>
  1519. </refentry>
  1520. <!-- *** FOULWORDS *** -->
  1521. <refentry id="FoulWords">
  1522. <refmeta> <refentrytitle>FoulWords</refentrytitle> </refmeta>
  1523. <refnamediv>
  1524. <refname>FoulWords</refname>
  1525. <refpurpose>specify words considered to be bad/FoulWords language</refpurpose>
  1526. </refnamediv>
  1527. <refsynopsisdiv><programlisting>
  1528. <![CDATA[
  1529. <set FoulWords="ass fuck bitch">
  1530. ]]>
  1531. </programlisting></refsynopsisdiv>
  1532. <refsect1>
  1533. <title>Description</title>
  1534. <para>
  1535. There is a section in the "Most interesting numbers" which tells who had
  1536. a "dirty mouth" - here you can define which words are considered being
  1537. bad/foul. It is a space seperated list of words.
  1538. Can not be used in a channel-only context.
  1539. </para>
  1540. </refsect1>
  1541. <refsect1>
  1542. <title>Default</title>
  1543. <para> ass fuck bitch shit scheisse scheiße kacke arsch ficker ficken schlampe </para>
  1544. </refsect1>
  1545. </refentry>
  1546. <!-- *** VIOLENTWORDS *** -->
  1547. <refentry id="ViolentWords">
  1548. <refmeta> <refentrytitle>ViolentWords</refentrytitle> </refmeta>
  1549. <refnamediv>
  1550. <refname>ViolentWords</refname>
  1551. <refpurpose>specify words considered to be aggressive/violent</refpurpose>
  1552. </refnamediv>
  1553. <refsynopsisdiv><programlisting>
  1554. <![CDATA[
  1555. <set ViolentWords="slaps beats kick">
  1556. ]]>
  1557. </programlisting></refsynopsisdiv>
  1558. <refsect1>
  1559. <title>Description</title>
  1560. <para>
  1561. There is a section in the "Most interesting numbers" which tells who is
  1562. most "aggressive" - here you can define which words are considered being
  1563. "violent". It is a space seperated list of words. Can not be used in a
  1564. channel-only context.
  1565. </para>
  1566. </refsect1>
  1567. <refsect1>
  1568. <title>Default</title>
  1569. <para> slaps beats smacks </para>
  1570. </refsect1>
  1571. </refentry>
  1572. <!-- *** MinQuote *** -->
  1573. <refentry id="MinQuote">
  1574. <refmeta> <refentrytitle>MinQuote</refentrytitle> </refmeta>
  1575. <refnamediv>
  1576. <refname>MinQuote</refname>
  1577. <refpurpose>minimum numbers of letters for a random quote</refpurpose>
  1578. </refnamediv>
  1579. <refsynopsisdiv><programlisting>
  1580. <![CDATA[
  1581. <channel="#channel">
  1582. Logfile = "channel.log"
  1583. Format = "xchat"
  1584. MinQuote = "10"
  1585. </channel>
  1586. <set MinQuote="5">
  1587. ]]>
  1588. </programlisting></refsynopsisdiv>
  1589. <refsect1>
  1590. <title>Description</title>
  1591. <para>
  1592. The random quotes displayed in the "Most Active Nicks" section has a
  1593. certain range specified. With this option you can change the minimum
  1594. number of letters required for a random quote. Also see the
  1595. <command>maxquote</command> option.
  1596. </para>
  1597. </refsect1>
  1598. <refsect1>
  1599. <title>Default</title>
  1600. <para> 25 </para>
  1601. </refsect1>
  1602. </refentry>
  1603. <!-- *** MaxQuote *** -->
  1604. <refentry id="MaxQuote">
  1605. <refmeta> <refentrytitle>MaxQuote</refentrytitle> </refmeta>
  1606. <refnamediv>
  1607. <refname>MaxQuote</refname>
  1608. <refpurpose>maximum numbers of letters for a random quote</refpurpose>
  1609. </refnamediv>
  1610. <refsynopsisdiv><programlisting>
  1611. <![CDATA[
  1612. <channel="#channel">
  1613. Logfile = "channel.log"
  1614. Format = "xchat"
  1615. MaxQuote = "70"
  1616. </channel>
  1617. <set MaxQuote="100">
  1618. ]]>
  1619. </programlisting></refsynopsisdiv>
  1620. <refsect1>
  1621. <title>Description</title>
  1622. <para>
  1623. The random quotes displayed in the "Most Active Nicks" section has a
  1624. certain range specified. With this option you can change the maximum
  1625. number of letters required for a random quote. Also see the
  1626. <command>minquote</command> option.
  1627. </para>
  1628. </refsect1>
  1629. <refsect1>
  1630. <title>Default</title>
  1631. <para> 65 </para>
  1632. </refsect1>
  1633. </refentry>
  1634. <!-- *** WORDLENGTH *** -->
  1635. <refentry id="WordLength">
  1636. <refmeta> <refentrytitle>WordLength</refentrytitle> </refmeta>
  1637. <refnamediv>
  1638. <refname>WordLength</refname>
  1639. <refpurpose>minimum number of characters in an interesting word</refpurpose>
  1640. </refnamediv>
  1641. <refsynopsisdiv><programlisting>
  1642. <![CDATA[
  1643. <channel="#channel">
  1644. Logfile = "channel.log"
  1645. Format = "xchat"
  1646. WordLength = "10"
  1647. </channel>
  1648. <set WordLength="2">
  1649. ]]>
  1650. </programlisting></refsynopsisdiv>
  1651. <refsect1>
  1652. <title>Description</title>
  1653. <para>
  1654. The "Most Used Words" section on the stats page display the most used
  1655. words. The default is that a word only appears if it is longer than 5
  1656. characters. With this option you can change that minimum.
  1657. </para>
  1658. </refsect1>
  1659. <refsect1>
  1660. <title>Default</title>
  1661. <para> 5 </para>
  1662. </refsect1>
  1663. </refentry>
  1664. <!-- *** ACTIVENICKS *** -->
  1665. <refentry id="ActiveNicks">
  1666. <refmeta> <refentrytitle>ActiveNicks</refentrytitle> </refmeta>
  1667. <refnamediv>
  1668. <refname>ActiveNicks</refname>
  1669. <refpurpose>nicks to show in "Most Active Nicks"</refpurpose>
  1670. </refnamediv>
  1671. <refsynopsisdiv><programlisting>
  1672. <![CDATA[
  1673. <channel="#channel">
  1674. Logfile = "channel.log"
  1675. Format = "mIRC"
  1676. ActiveNicks = "50"
  1677. </channel>
  1678. <set ActiveNicks="10">
  1679. ]]>
  1680. </programlisting></refsynopsisdiv>
  1681. <refsect1>
  1682. <title>Description</title>
  1683. <para>
  1684. With this option you can define how many nicks you want to appear in the
  1685. "Most Active Nicks" section on the stats page.
  1686. </para>
  1687. </refsect1>
  1688. <refsect1>
  1689. <title>Default</title>
  1690. <para> 25 </para>
  1691. </refsect1>
  1692. </refentry>
  1693. <!-- *** ACTIVENICKS2 *** -->
  1694. <refentry id="ActiveNicks2">
  1695. <refmeta> <refentrytitle>ActiveNicks2</refentrytitle> </refmeta>
  1696. <refnamediv>
  1697. <refname>ActiveNicks2</refname>
  1698. <refpurpose>nicks to show in "These didn't make it.."</refpurpose>
  1699. </refnamediv>
  1700. <refsynopsisdiv><programlisting>
  1701. <![CDATA[
  1702. <channel="#channel">
  1703. Logfile = "channel.log"
  1704. Format = "mIRC"
  1705. ActiveNicks2 = "25"
  1706. </channel>
  1707. <set ActiveNicks2="10">
  1708. ]]>
  1709. </programlisting></refsynopsisdiv>
  1710. <refsect1>
  1711. <title>Description</title>
  1712. <para>
  1713. With this option you can define how many nicks you want to appear in the
  1714. "These didn't make it" section on the stats page.
  1715. </para>
  1716. </refsect1>
  1717. <refsect1>
  1718. <title>Default</title>
  1719. <para> 30 </para>
  1720. </refsect1>
  1721. </refentry>
  1722. <!-- *** ACTIVENICKSBYHOUR *** -->
  1723. <refentry id="ActiveNicksByHour">
  1724. <refmeta> <refentrytitle>ActiveNicksByHour</refentrytitle> </refmeta>
  1725. <refnamediv>
  1726. <refname>ActiveNicksByHour</refname>
  1727. <refpurpose>number of nicks to show in "Most Active Nicks By Hour"</refpurpose>
  1728. </refnamediv>
  1729. <refsynopsisdiv><programlisting>
  1730. <![CDATA[
  1731. <channel="#channel">
  1732. Logfile = "channel.log"
  1733. Format = "mIRC"
  1734. ActiveNicksByHour = "25"
  1735. </channel>
  1736. <set ActiveNicksByHour="10">
  1737. ]]>
  1738. </programlisting></refsynopsisdiv>
  1739. <refsect1>
  1740. <title>Description</title>
  1741. <para>
  1742. With this option you can define how many nicks you want to appear in the
  1743. "Most Active Nicks By Hour" section on the stats page.
  1744. </para>
  1745. </refsect1>
  1746. <refsect1>
  1747. <title>Default</title>
  1748. <para> 10 </para>
  1749. </refsect1>
  1750. </refentry>
  1751. <!-- *** MOSTNICKSHISTORY *** -->
  1752. <refentry id="MostNicksHistory">
  1753. <refmeta> <refentrytitle>MostNicksHistory</refentrytitle> </refmeta>
  1754. <refnamediv>
  1755. <refname>MostNicksHistory</refname>
  1756. <refpurpose>maximum number of nicks to show in "most nicks"</refpurpose>
  1757. </refnamediv>
  1758. <refsynopsisdiv><programlisting>
  1759. <![CDATA[
  1760. <channel="#channel">
  1761. Logfile = "channel.log"
  1762. Format = "mIRC"
  1763. MostNicksHistory = "2"
  1764. </channel>
  1765. <set MostNicksHistory="10">
  1766. ]]>
  1767. </programlisting></refsynopsisdiv>
  1768. <refsect1>
  1769. <title>Description</title>
  1770. <para>
  1771. With this option you can define how many nicks you want to appear in
  1772. the "Most used nicks" section.
  1773. </para>
  1774. </refsect1>
  1775. <refsect1>
  1776. <title>Default</title>
  1777. <para> 5 </para>
  1778. </refsect1>
  1779. </refentry>
  1780. <!-- *** TOPICHISTORY *** -->
  1781. <refentry id="TopicHistory">
  1782. <refmeta> <refentrytitle>TopicHistory</refentrytitle> </refmeta>
  1783. <refnamediv>
  1784. <refname>TopicHistory</refname>
  1785. <refpurpose>maximum number of topics to show</refpurpose>
  1786. </refnamediv>
  1787. <refsynopsisdiv><programlisting>
  1788. <![CDATA[
  1789. <channel="#channel">
  1790. Logfile = "channel.log"
  1791. Format = "mIRC"
  1792. TopicHistory = "2"
  1793. </channel>
  1794. <set TopicHistory="10">
  1795. ]]>
  1796. </programlisting></refsynopsisdiv>
  1797. <refsect1>
  1798. <title>Description</title>
  1799. <para>
  1800. With this option you can define how many topics you want to appear in
  1801. the "Latest topics" section.
  1802. </para>
  1803. </refsect1>
  1804. <refsect1>
  1805. <title>Default</title>
  1806. <para> 3 </para>
  1807. </refsect1>
  1808. </refentry>
  1809. <!-- *** URLHISTORY *** -->
  1810. <refentry id="UrlHistory">
  1811. <refmeta> <refentrytitle>UrlHistory</refentrytitle> </refmeta>
  1812. <refnamediv>
  1813. <refname>UrlHistory</refname>
  1814. <refpurpose>maximum number of urls to show</refpurpose>
  1815. </refnamediv>
  1816. <refsynopsisdiv><programlisting>
  1817. <![CDATA[
  1818. <channel="#channel">
  1819. Logfile = "channel.log"
  1820. Format = "mIRC"
  1821. UrlHistory = "2"
  1822. </channel>
  1823. <set UrlHistory="10">
  1824. ]]>
  1825. </programlisting></refsynopsisdiv>
  1826. <refsect1>
  1827. <title>Description</title>
  1828. <para>
  1829. With this option you can define how many urls you want to appear in
  1830. the "Most referenced URLs" section.
  1831. </para>
  1832. </refsect1>
  1833. <refsect1>
  1834. <title>Default</title>
  1835. <para> 5 </para>
  1836. </refsect1>
  1837. </refentry>
  1838. <!-- *** WORDHISTORY *** -->
  1839. <refentry id="WordHistory">
  1840. <refmeta> <refentrytitle>WordHistory</refentrytitle> </refmeta>
  1841. <refnamediv>
  1842. <refname>WordHistory</refname>
  1843. <refpurpose>maximum number of words to show</refpurpose>
  1844. </refnamediv>
  1845. <refsynopsisdiv><programlisting>
  1846. <![CDATA[
  1847. <channel="#channel">
  1848. Logfile = "channel.log"
  1849. Format = "mIRC"
  1850. WordHistory = "5"
  1851. </channel>
  1852. <set WordHistory="15">
  1853. ]]>
  1854. </programlisting></refsynopsisdiv>
  1855. <refsect1>
  1856. <title>Description</title>
  1857. <para>
  1858. With this option you can define how many words you want to appear in
  1859. the "Most used words" section.
  1860. </para>
  1861. </refsect1>
  1862. <refsect1>
  1863. <title>Default</title>
  1864. <para> 10 </para>
  1865. </refsect1>
  1866. </refentry>
  1867. <!-- *** NICKHISTORY *** -->
  1868. <refentry id="NickHistory">
  1869. <refmeta> <refentrytitle>NickHistory</refentrytitle> </refmeta>
  1870. <refnamediv>
  1871. <refname>NickHistory</refname>
  1872. <refpurpose>maximum number of nicks to show</refpurpose>
  1873. </refnamediv>
  1874. <refsynopsisdiv><programlisting>
  1875. <![CDATA[
  1876. <channel="#channel">
  1877. logfile = "channel.log"
  1878. format = "mIRC"
  1879. NickHistory = "3"
  1880. </channel>
  1881. <set NickHistory="15">
  1882. ]]>
  1883. </programlisting></refsynopsisdiv>
  1884. <refsect1>
  1885. <title>Description</title>
  1886. <para>
  1887. With this option you can define how many nicks you want to appear in
  1888. the "Most referenced nicks" section.
  1889. </para>
  1890. </refsect1>
  1891. <refsect1>
  1892. <title>Default</title>
  1893. <para> 5 </para>
  1894. </refsect1>
  1895. </refentry>
  1896. <!-- *** NICKTRACKING *** -->
  1897. <refentry id="NickTracking">
  1898. <refmeta> <refentrytitle>NickTracking</refentrytitle> </refmeta>
  1899. <refnamediv>
  1900. <refname>NickTracking</refname>
  1901. <refpurpose>track nickchanges and create aliases</refpurpose>
  1902. </refnamediv>
  1903. <refsynopsisdiv><programlisting>
  1904. <![CDATA[
  1905. <set NickTracking="1">
  1906. ]]>
  1907. </programlisting></refsynopsisdiv>
  1908. <refsect1>
  1909. <title>Description</title>
  1910. <para>
  1911. Enabling this option will track nickchanges as well as it can. It will
  1912. then automatically create aliases for these nicks.
  1913. </para>
  1914. </refsect1>
  1915. <refsect1>
  1916. <title>Default</title>
  1917. <para> 0 (disabled) </para>
  1918. </refsect1>
  1919. </refentry>
  1920. <!-- *** SORTBYWORDS *** -->
  1921. <refentry id="SortByWords">
  1922. <refmeta> <refentrytitle>SortByWords</refentrytitle> </refmeta>
  1923. <refnamediv>
  1924. <refname>SortByWords</refname>
  1925. <refpurpose>Sort "most active nicks" by words</refpurpose>
  1926. </refnamediv>
  1927. <refsynopsisdiv><programlisting>
  1928. <![CDATA[
  1929. <channel="#channel">
  1930. logfile = "channel.log"
  1931. format = "xchat"
  1932. SortByWords = "0"
  1933. </channel>
  1934. <set SortByWords="1">
  1935. ]]>
  1936. </programlisting></refsynopsisdiv>
  1937. <refsect1>
  1938. <title>Description</title>
  1939. <para>
  1940. The default for the "Most Active Nicks" section - is to sort users by
  1941. lines. Enabling this will sort it by words instead.
  1942. </para>
  1943. </refsect1>
  1944. <refsect1>
  1945. <title>Default</title>
  1946. <para> 0 (disabled) </para>
  1947. </refsect1>
  1948. </refentry>
  1949. <chapter id="reference-pictures">
  1950. <title>Picture options</title>
  1951. <!-- *** PICLOCATION *** -->
  1952. <refentry id="PicLocation">
  1953. <refmeta> <refentrytitle>PicLocation</refentrytitle> </refmeta>
  1954. <refnamediv>
  1955. <refname>PicLocation</refname>
  1956. <refpurpose>path to images on stats page</refpurpose>
  1957. </refnamediv>
  1958. <refsynopsisdiv><programlisting>
  1959. <![CDATA[
  1960. <set PicLocation="userpics/">
  1961. ]]>
  1962. </programlisting></refsynopsisdiv>
  1963. <refsect1>
  1964. <title>Description</title>
  1965. <para>
  1966. The location to the pictures used on the stats page - not the user
  1967. pictures but the different bars in "Most Active Times".
  1968. </para>
  1969. </refsect1>
  1970. <refsect1>
  1971. <title>Default</title>
  1972. <para> Current directory </para>
  1973. </refsect1>
  1974. <!-- *** IMAGEPATH *** -->
  1975. <refentry id="ImagePath">
  1976. <refmeta> <refentrytitle>ImagePath</refentrytitle> </refmeta>
  1977. <refnamediv>
  1978. <refname>ImagePath</refname>
  1979. <refpurpose>path to user pictures</refpurpose>
  1980. </refnamediv>
  1981. <refsynopsisdiv><programlisting>
  1982. <![CDATA[
  1983. <channel="#channel">
  1984. Logfile = "channel.log"
  1985. Format = "mIRC"
  1986. ImagePath = "userpics/"
  1987. </channel>
  1988. <set ImagePath="alt_users/">
  1989. ]]>
  1990. </programlisting></refsynopsisdiv>
  1991. <refsect1>
  1992. <title>Description</title>
  1993. <para>
  1994. <command>ImagePath</command> defines an alternative path to where user
  1995. pictures is located. The default is that user pictures is located in the
  1996. same directory as the HTML page.
  1997. </para>
  1998. </refsect1>
  1999. <refsect1>
  2000. <title>Default</title>
  2001. <para> current directory </para>
  2002. </refsect1>
  2003. </refentry>
  2004. <!-- *** DEFAULTPIC *** -->
  2005. <refentry id="DefaultPic">
  2006. <refmeta> <refentrytitle>DefaultPic</refentrytitle> </refmeta>
  2007. <refnamediv>
  2008. <refname>DefaultPic</refname>
  2009. <refpurpose>use a default user picture</refpurpose>
  2010. </refnamediv>
  2011. <refsynopsisdiv><programlisting>
  2012. <![CDATA[
  2013. <channel="#channel">
  2014. Logfile = "channel.log"
  2015. Format = "mIRC"
  2016. DefaultPic = "not_available.jpg"
  2017. </channel>
  2018. <set DefaultPic="unknown.gif">
  2019. ]]>
  2020. </programlisting></refsynopsisdiv>
  2021. <refsect1>
  2022. <title>Description</title>
  2023. <para>
  2024. <command>DefaultPic</command> defines a picture to be displayed for all
  2025. users which have no other picture defined in the <command>user</command>
  2026. element. This is good for showing "No picture available" or something.
  2027. </para>
  2028. </refsect1>
  2029. <refsect1>
  2030. <title>Default</title>
  2031. <para> unset </para>
  2032. </refsect1>
  2033. </refentry>
  2034. <!-- *** PICWIDTH *** -->
  2035. <refentry id="PicWidth">
  2036. <refmeta> <refentrytitle>PicWidth</refentrytitle> </refmeta>
  2037. <refnamediv>
  2038. <refname>PicWidth</refname>
  2039. <refpurpose>define a standard width for user pictures</refpurpose>
  2040. </refnamediv>
  2041. <refsynopsisdiv><programlisting>
  2042. <![CDATA[
  2043. <channel="#channel">
  2044. Logfile = "channel.log"
  2045. Format = "mIRC"
  2046. PicWidth = "not_available.jpg"
  2047. </channel>
  2048. <set PicWidth="unknown.gif">
  2049. ]]>
  2050. </programlisting></refsynopsisdiv>
  2051. <refsect1>
  2052. <title>Description</title>
  2053. <para>
  2054. <command>PicWidth</command> defines the standard width for user
  2055. pictures. Setting the 'width' attribute of image-elements on the
  2056. outputted stats page. See also <command>PicHeight</command>
  2057. </para>
  2058. </refsect1>
  2059. <refsect1>
  2060. <title>Default</title>
  2061. <para> unset </para>
  2062. </refsect1>
  2063. </refentry>
  2064. <!-- *** PICHEIGHT *** -->
  2065. <refentry id="PicHeight">
  2066. <refmeta> <refentrytitle>PicHeight</refentrytitle> </refmeta>
  2067. <refnamediv>
  2068. <refname>PicHeight</refname>
  2069. <refpurpose>define a standard height for user pictures</refpurpose>
  2070. </refnamediv>
  2071. <refsynopsisdiv><programlisting>
  2072. <![CDATA[
  2073. <channel="#channel">
  2074. Logfile = "channel.log"
  2075. Format = "mIRC"
  2076. PicHeight = "not_available.jpg"
  2077. </channel>
  2078. <set PicHeight="unknown.gif">
  2079. ]]>
  2080. </programlisting></refsynopsisdiv>
  2081. <refsect1>
  2082. <title>Description</title>
  2083. <para>
  2084. <command>PicHeight</command> defines the standard height for user
  2085. pictures. Setting the 'height' attribute of image-elements on the
  2086. outputted stats page. See also <command>PicWidth</command>
  2087. </para>
  2088. </refsect1>
  2089. <refsect1>
  2090. <title>Default</title>
  2091. <para> unset </para>
  2092. </refsect1>
  2093. </refentry>
  2094. </chapter>
  2095. <chapter id="reference-misc">
  2096. <title>Misc options</title>
  2097. <!-- *** CHARSET *** -->
  2098. <refentry id="Charset">
  2099. <refmeta> <refentrytitle>Charset</refentrytitle> </refmeta>
  2100. <refnamediv>
  2101. <refname>Charset</refname>
  2102. <refpurpose>Charset to use for stats page</refpurpose>
  2103. </refnamediv>
  2104. <refsynopsisdiv><programlisting>
  2105. <![CDATA[
  2106. <channel="#channel">
  2107. Logfile = "channel.log"
  2108. Format = "xchat"
  2109. Charset = "utf-8"
  2110. </channel>
  2111. <set Charset="iso-8859-15">
  2112. ]]>
  2113. </programlisting></refsynopsisdiv>
  2114. <refsect1>
  2115. <title>Description</title>
  2116. <para>
  2117. The pisg stats page defines a charset in a meta tag, this can be used if
  2118. your country is using a different one than the default.
  2119. </para>
  2120. </refsect1>
  2121. <refsect1>
  2122. <title>Default</title>
  2123. <para> iso-8859-1 </para>
  2124. </refsect1>
  2125. </refentry>
  2126. <!-- *** TIMEOFFSET *** -->
  2127. <refentry id="TimeOffset">
  2128. <refmeta> <refentrytitle>TimeOffset</refentrytitle> </refmeta>
  2129. <refnamediv>
  2130. <refname>TimeOffset</refname>
  2131. <refpurpose>use a different time zone than the local machine</refpurpose>
  2132. </refnamediv>
  2133. <refsynopsisdiv><programlisting>
  2134. <![CDATA[
  2135. <channel="#channel">
  2136. Logfile = "channel.log"
  2137. Format = "mIRC"
  2138. Maintainer = "John"
  2139. TimeOffset = "+5"
  2140. </channel>
  2141. <set TimeOffset="+2">
  2142. ]]>
  2143. </programlisting></refsynopsisdiv>
  2144. <refsect1>
  2145. <title>Description</title>
  2146. <para>
  2147. By default, pisg uses the time of the local machine to display the time
  2148. of the generated stats. Sometimes when you have a shell on an external
  2149. box, and it's in another country, you want to use another time. This is
  2150. accomplished by the <command>TimeOffset</command> command.
  2151. </para>
  2152. </refsect1>
  2153. <refsect1>
  2154. <title>Default</title>
  2155. <para> +0 </para>
  2156. </refsect1>
  2157. </refentry>
  2158. <!-- *** REGEXPALIASES *** -->
  2159. <refentry id="RegexpAliases">
  2160. <refmeta> <refentrytitle>RegexpAliases</refentrytitle> </refmeta>
  2161. <refnamediv>
  2162. <refname>RegexpAliases</refname>
  2163. <refpurpose>use regular expressions in user aliases</refpurpose>
  2164. </refnamediv>
  2165. <refsynopsisdiv><programlisting>
  2166. <![CDATA[
  2167. <user nick="Joe" alias="Joe\d+">
  2168. <set RegexpAliases="1">
  2169. ]]>
  2170. </programlisting></refsynopsisdiv>
  2171. <refsect1>
  2172. <title>Description</title>
  2173. <para>
  2174. Enabling this option will make all aliases in &lt;user&gt; lines be
  2175. parsed as regular expressions.
  2176. </para>
  2177. </refsect1>
  2178. <refsect1>
  2179. <title>Default</title>
  2180. <para> 0 (disabled) </para>
  2181. </refsect1>
  2182. </refentry>
  2183. <!-- *** LANGFILE *** -->
  2184. <refentry id="LangFile">
  2185. <refmeta> <refentrytitle>LangFile</refentrytitle> </refmeta>
  2186. <refnamediv>
  2187. <refname>LangFile</refname>
  2188. <refpurpose>filename of language file</refpurpose>
  2189. </refnamediv>
  2190. <refsynopsisdiv><programlisting>
  2191. <![CDATA[
  2192. <set LangFile="mylang.txt">
  2193. ]]>
  2194. </programlisting></refsynopsisdiv>
  2195. <refsect1>
  2196. <title>Description</title>
  2197. <para>
  2198. With this option you have an alternative way to define the name and/or
  2199. path to the language file. Usually you don't have to touch this option.
  2200. </para>
  2201. </refsect1>
  2202. <refsect1>
  2203. <title>Default</title>
  2204. <para> lang.txt </para>
  2205. </refsect1>
  2206. </refentry>
  2207. <!-- *** CSSDIR *** -->
  2208. <refentry id="CssDir">
  2209. <refmeta> <refentrytitle>CssDir</refentrytitle> </refmeta>
  2210. <refnamediv>
  2211. <refname>CssDir</refname>
  2212. <refpurpose>path to directory with css files</refpurpose>
  2213. </refnamediv>
  2214. <refsynopsisdiv><programlisting>
  2215. <![CDATA[
  2216. <set CssDir="/usr/share/pisg/layout/">
  2217. ]]>
  2218. </programlisting></refsynopsisdiv>
  2219. <refsect1>
  2220. <title>Description</title>
  2221. <para>
  2222. <command>CssDir</command> is used to define the paths to the CSS files
  2223. (the colorschemes). Usually you don't need to change this.
  2224. </para>
  2225. </refsect1>
  2226. <refsect1>
  2227. <title>Default</title>
  2228. <para> layout/ (in current directory) </para>
  2229. </refsect1>
  2230. </refentry>
  2231. <!-- *** LOGTYPE *** -->
  2232. <refentry id="LogType">
  2233. <refmeta> <refentrytitle>LogType</refentrytitle> </refmeta>
  2234. <refnamediv>
  2235. <refname>LogType</refname>
  2236. <refpurpose>type of log (not the format of the log)</refpurpose>
  2237. </refnamediv>
  2238. <refsynopsisdiv><programlisting>
  2239. <![CDATA[
  2240. <set LogType="Logfile">
  2241. ]]>
  2242. </programlisting></refsynopsisdiv>
  2243. <refsect1>
  2244. <title>Description</title>
  2245. <para>
  2246. The type of logs kept for your channel. Currently only "Logfile" is
  2247. supported, so you don't need to change this option.
  2248. </para>
  2249. </refsect1>
  2250. <refsect1>
  2251. <title>Default</title>
  2252. <para> Logfile </para>
  2253. </refsect1>
  2254. </chapter>
  2255. </book>