pisg-doc.sgml 68 KB

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