pisg-doc.xml 104 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880
  1. <!-- This is the raw docbook source of the pisg documentation -->
  2. <?xml version='1.0'?>
  3. <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
  4. "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
  5. <book id="pisg-documentation">
  6. <bookinfo>
  7. <title>pisg 0.71 documentation</title>
  8. <subtitle>How to install and configure pisg</subtitle>
  9. </bookinfo>
  10. <toc></toc>
  11. <!-- <lot></lot> -->
  12. <chapter id="what-is-pisg">
  13. <title>What is pisg?</title>
  14. <para>
  15. pisg is an IRC statistics generator. It takes IRC logfiles and turns
  16. them into nice looking stats.
  17. </para>
  18. <para>
  19. In general, you would do something like this to get it running:
  20. <itemizedlist mark="bullet">
  21. <listitem>
  22. <para>
  23. Enable logging in an IRC bot, or in your IRC client. The log will be
  24. outputted into a file.
  25. </para>
  26. </listitem>
  27. <listitem>
  28. <para>
  29. You set up pisg, you define the channel name, and the path to the
  30. logfile you created.
  31. </para>
  32. </listitem>
  33. <listitem>
  34. <para>
  35. You run pisg, pisg runs the log through and create statistics, it
  36. then creates an HTML page which you can upload to a webserver.
  37. </para>
  38. </listitem>
  39. </itemizedlist>
  40. </para>
  41. <sect1 id="requirements">
  42. <title>What are the requirements to run pisg?</title>
  43. <para>
  44. <itemizedlist mark="bullet">
  45. <listitem>
  46. <para>
  47. An IRC client or bot where pisg supports the output logfile.
  48. </para>
  49. </listitem>
  50. <listitem>
  51. <para>
  52. Any operating system which Perl runs on, this includes popular OSes
  53. such as Linux, FreeBSD, Windows and Mac. You will have a hard time
  54. finding an OS where Perl isn't supported. For Windows this means
  55. that you need to download <ulink url="http://activestate.com/Products/ActivePerl/">ActivePerl</ulink>.
  56. </para>
  57. </listitem>
  58. <listitem>
  59. <para>
  60. <emphasis>Optional</emphasis> - a system to host the statistics page
  61. 24 hours a day, 7 days a week.
  62. </para>
  63. </listitem>
  64. <listitem>
  65. <para>
  66. <emphasis>Optional</emphasis> - a system to log the channel, 24 hours
  67. a day, 7 days a week.
  68. </para>
  69. </listitem>
  70. </itemizedlist>
  71. </para>
  72. </sect1>
  73. </chapter>
  74. <chapter id="setting-up-pisg">
  75. <title>Setting up pisg for the first time</title>
  76. <para>
  77. Most configuration happens through the <filename>pisg.cfg</filename>
  78. file, the file format is made to be easy to read, and easy to extend for
  79. further use. It uses an XML-like format, with elements and attributes.
  80. </para>
  81. <sect1 id="setting-up-a-channel">
  82. <title>Setting up a channel</title>
  83. <para>
  84. An element called <xref linkend="Channel" /> is made for defining
  85. channels, a quick example of a channel is here:
  86. <programlisting>
  87. <![CDATA[
  88. <channel="#channel">
  89. Logfile = "channel.log"
  90. Format = "mIRC"
  91. Maintainer = "John"
  92. OutputFile = "mychan.html"
  93. </channel>
  94. ]]>
  95. </programlisting>
  96. The above will define a <xref linkend="Channel" /> called <command>#channel</command>, the
  97. logfile pisg will look for is called <command>channel.log</command> and
  98. the <xref linkend="Format" /> of the logfile will be <command>mIRC</command>. The
  99. <xref linkend="Maintainer" /> (which will be stated on the output page) is
  100. <command>John</command>.
  101. </para>
  102. <para>
  103. That is basically it! Now, there are a lot more options that you can use
  104. for your channels, for this please refer to the reference documentation.
  105. </para>
  106. <para>
  107. Also be-aware of the fact that pisg uses various images to show the
  108. time-related bars. These images are placed in the
  109. <filename>gfx/</filename> folder and should be placed into the same
  110. directory as your outputted HTML file.
  111. </para>
  112. </sect1>
  113. <sect1 id="user-options">
  114. <title>Specifying user options</title>
  115. <para>
  116. User options are set with a simple XML-like syntax in the form:
  117. <programlisting>
  118. <![CDATA[<user nick="NICK" option="VALUE">]]>
  119. </programlisting>
  120. Remember, the nick is always required.
  121. For example to add aliases to a nick, then you could do this:
  122. <programlisting>
  123. <![CDATA[<user nick="Joe" alias="Joe^*">]]>
  124. </programlisting>
  125. The asterisk (*) means that it will match all nicks starting with 'Joe^'. So
  126. it will add all Joe^'s to 'Joe' in the stats.
  127. Another thing you can do is to add a picture to a user:
  128. <programlisting>
  129. <![CDATA[<user nick="Ben" pic="ben_holiday.jpg">]]>
  130. </programlisting>
  131. If you have a larger picture of the user as well, you can make the picture
  132. on the stats page link to it:
  133. <programlisting>
  134. <![CDATA[<user nick="Ben" pic="ben_holiday.jpg" bigpic="ben-big.jpg">]]>
  135. </programlisting>
  136. You can include * or ? to enable filename globbing to randomly choose one
  137. from several pictures: (see documentation for the
  138. <xref linkend="ImageGlobPath" /> option)
  139. <programlisting>
  140. <![CDATA[<user nick="Ben" pic="ben_*.jpg">]]>
  141. </programlisting>
  142. You can also set a user's sex.
  143. The sex setting can be "f"emale, "m"ale, or "b"ot:
  144. <programlisting>
  145. <![CDATA[<user nick="Ben" sex="m">]]>
  146. </programlisting>
  147. Also you can add links to URLs and e-mails:
  148. <programlisting>
  149. <![CDATA[<user nick="Christine" link="http://www.christine.com">]]>
  150. </programlisting>
  151. or
  152. <programlisting>
  153. <![CDATA[<user nick="Chris" link="chris@host.com">]]>
  154. </programlisting>
  155. The last thing you can do is to ignore nicks (for example bots):
  156. <programlisting>
  157. <![CDATA[<user nick="nameofbot" ignore="y">]]>
  158. </programlisting>
  159. You don't have to do all this in many lines, you could just as easily do:
  160. <programlisting>
  161. <![CDATA[<user nick="Joe" alias="Joe^away Joe^work" pic="joe.jpg" link="joe@joe.com" sex="m">]]>
  162. </programlisting>
  163. (Here the aliases are a space separated list of nicks, that also works! But *
  164. as a wildcard is smarter, although it is slower).
  165. </para>
  166. </sect1>
  167. <sect1 id="global-options">
  168. <title>Setting global options</title>
  169. <para>
  170. Many times, it will be useful to set up global options, global options
  171. are set like this:
  172. <programlisting>
  173. <![CDATA[<set option="VALUE">]]>
  174. </programlisting>
  175. Any global option will be overriden by anything defined within channel
  176. elements (see <xref linkend="setting-up-a-channel" />)
  177. </para>
  178. <para>
  179. For example, to change the background color of the stats page, you
  180. could do:
  181. <programlisting>
  182. <![CDATA[<set bgcolor="black">]]>
  183. </programlisting>
  184. You can set many options in a single <command>set</command>:
  185. <programlisting>
  186. <![CDATA[<set lang="DE" timeoffset="+1">]]>
  187. </programlisting>
  188. The above will set the language on the statistics page to DE (Deutsch,
  189. German) and set the time offset to +1.
  190. All options available are mentioned in the reference documentation.
  191. </para>
  192. </sect1>
  193. <sect1 id="ignoring-links">
  194. <title>Ignoring links</title>
  195. <para>
  196. It's possible to ignore links in the "Most referenced URLs" section:
  197. <programlisting>
  198. <![CDATA[
  199. <link url="http://www.slashdot.org" ignore="y">
  200. ]]>
  201. </programlisting>
  202. </para>
  203. </sect1>
  204. <sect1 id="including-config">
  205. <title>Including common settings for various channels</title>
  206. <para>
  207. If you have, for example, more than one channel, where the users are the
  208. same, or you don't want to maintain more than one user file, you can use
  209. the "include" setting in the main config file:
  210. <programlisting>
  211. <![CDATA[
  212. <include="/home/vetinari/pisg/users.cfg">
  213. ]]>
  214. </programlisting>
  215. This will include the file /home/vetinari/pisg/users.cfg in the config
  216. at the place where the include statement is set.
  217. </para>
  218. <para>
  219. Note, that you can NOT include a file from an included file!
  220. </para>
  221. </sect1>
  222. <sect1 id="using-css">
  223. <title>Changing the layout of your stats page</title>
  224. <para>
  225. The standard layout and colors in the outputted HTML page are made to be
  226. somewhat clean and neutral. But you have the chance to change the layout
  227. yourself.
  228. </para>
  229. <para>
  230. There are a few predefined color schemes for you to use, use the
  231. <xref linkend="ColorScheme" /> option when using them. The
  232. colorschemes distributed with pisg are: default (which is the default),
  233. darkgalaxy, darkred, justgrey, ocean, orange_grey, pisg, softgreen.
  234. </para>
  235. <para>
  236. When changing it, you need a fair knowledge of CSS (Cascading Style
  237. Sheets). CSS is what most of the web uses today to define styles and
  238. layout on HTML pages.
  239. With the pisg distribution, look in the <filename>layout</filename>
  240. directory. In it resides <filename>default.css</filename> which is the
  241. file being included onto the HTML page. Open it in a text editor like
  242. vi or notepad. Then change it until you're happy with it. Be aware that
  243. you might want to look at the <link linkend="HiCell">HiCell and HiCell2</link>
  244. options through pisg.cfg for changing the last two colors.
  245. </para>
  246. <para>
  247. If you have created a nice stylesheet which other can take advantage of,
  248. you are encouraged to send it to the pisg mailing list so that it can be
  249. distributed with the next version of pisg.
  250. </para>
  251. <para>
  252. If you want to embed the statistics into another page, use the "none" color scheme.
  253. Pisg will then omit the HTML header and write only the body part.
  254. </para>
  255. </sect1>
  256. <sect1 id="running-pisg">
  257. <title>Running pisg</title>
  258. <para>
  259. When everything is set up in the pisg configuration file (pisg.cfg),
  260. then you simply run pisg on the command-line.
  261. </para>
  262. <para>
  263. Using Linux, BSD or another UNIX-like system:
  264. <screen>
  265. <prompt>user@host:pisg-0.37$</prompt> <userinput>./pisg</userinput>
  266. </screen>
  267. </para>
  268. <para>
  269. Using Windows:
  270. <screen>
  271. <prompt>c:\pisg&gt;</prompt> <userinput>perl pisg</userinput>
  272. </screen>
  273. </para>
  274. <para>
  275. The program will run and parse the logfiles you specified in the
  276. configuration file.
  277. </para>
  278. <para>
  279. If you are using Linux, BSD or another UNIX-like system and want run
  280. pisg automatically several times a day, then see the
  281. <filename>crontab</filename> file in the <filename>scripts/</filename>
  282. directory.
  283. </para>
  284. <para>
  285. For Windows, see the <filename>windows-upload-ftp.txt</filename> file
  286. with the pisg distribution, this file is also placed in the
  287. <filename>scripts/</filename> directory.
  288. </para>
  289. </sect1>
  290. <sect1 id="mailing-list-and-bugs">
  291. <title>Obtaining help and reporting bugs</title>
  292. <para>
  293. If your problem could not be resolved through here, then you should send
  294. an e-mail to the pisg mailing list. You can subscribe and see more info
  295. at <ulink
  296. url="http://lists.sourceforge.net/lists/listinfo/pisg-general">http://lists.sourceforge.net/lists/listinfo/pisg-general</ulink>.
  297. </para>
  298. <para>
  299. If you believe that you have found a bug, you should use the SourceForge
  300. <ulink
  301. url="http://sourceforge.net/tracker/?group_id=31862&amp;atid=403711">bug
  302. tracking system.</ulink>
  303. </para>
  304. </sect1>
  305. </chapter>
  306. <chapter id="reference">
  307. <title>General pisg options</title>
  308. <!-- *** CHANNEL *** -->
  309. <refentry id="Channel">
  310. <refmeta> <refentrytitle>Channel</refentrytitle> </refmeta>
  311. <refnamediv>
  312. <refname>Channel</refname>
  313. <refpurpose>define channel name</refpurpose>
  314. </refnamediv>
  315. <refsynopsisdiv><programlisting>
  316. <![CDATA[
  317. <channel="#channel">
  318. Logfile = "channel.log"
  319. Format = "mIRC"
  320. Maintainer = "John"
  321. </channel>
  322. ]]>
  323. </programlisting></refsynopsisdiv>
  324. <refsect1>
  325. <title>Description</title>
  326. <para>
  327. <command>Channel</command> is used in two contexts, globally when using
  328. &lt;set&gt; and when defining new channels. It sets the name of the
  329. channel.
  330. </para>
  331. </refsect1>
  332. <refsect1>
  333. <title>Default</title>
  334. <para> Unset </para>
  335. </refsect1>
  336. </refentry>
  337. <!-- *** FORMAT *** -->
  338. <refentry id="Format">
  339. <refmeta> <refentrytitle>Format</refentrytitle> </refmeta>
  340. <refnamediv>
  341. <refname>Format</refname>
  342. <refpurpose>the logfile format</refpurpose>
  343. </refnamediv>
  344. <refsynopsisdiv><programlisting>
  345. <![CDATA[
  346. <channel="#channel">
  347. Logfile = "channel.log"
  348. Format = "eggdrop"
  349. Maintainer = "John"
  350. </channel>
  351. <set Format="mIRC">
  352. ]]>
  353. </programlisting></refsynopsisdiv>
  354. <refsect1>
  355. <title>Description</title>
  356. <para>
  357. <command>Format</command> is used to define the format of the logfile,
  358. pisg supports a various number of different logfiles, see the FORMATS
  359. file included with the pisg distribution. If your logfiles have the
  360. suffix .gz or .bz2, they will automatically be decompressed and read by
  361. pisg.
  362. See also <xref linkend="Maintainer" />.
  363. </para>
  364. </refsect1>
  365. <refsect1>
  366. <title>Default</title>
  367. <para> Unset </para>
  368. </refsect1>
  369. </refentry>
  370. <!-- *** NETWORK *** -->
  371. <refentry id="Network">
  372. <refmeta> <refentrytitle>Network</refentrytitle> </refmeta>
  373. <refnamediv>
  374. <refname>Network</refname>
  375. <refpurpose>the IRC network of the channel</refpurpose>
  376. </refnamediv>
  377. <refsynopsisdiv><programlisting>
  378. <![CDATA[
  379. <channel="#channel">
  380. Logfile = "channel.log"
  381. Format = "eggdrop"
  382. Network = "Undernet"
  383. </channel>
  384. <set Network="Quakenet">
  385. ]]>
  386. </programlisting></refsynopsisdiv>
  387. <refsect1>
  388. <title>Description</title>
  389. <para>
  390. <command>Network</command> is used to set the network which the channel
  391. resides on, this name is displayed on the stats page.
  392. </para>
  393. </refsect1>
  394. <refsect1>
  395. <title>Default</title>
  396. <para> SomeIRCNetwork </para>
  397. </refsect1>
  398. </refentry>
  399. <!-- *** OUTPUTFILE *** -->
  400. <refentry id="OutputFile">
  401. <refmeta> <refentrytitle>OutputFile</refentrytitle> </refmeta>
  402. <refnamediv>
  403. <refname>OutputFile</refname>
  404. <refpurpose>name of the generated HTML page</refpurpose>
  405. </refnamediv>
  406. <refsynopsisdiv><programlisting>
  407. <![CDATA[
  408. <channel="#channel">
  409. Logfile = "channel.log"
  410. Format = "eggdrop"
  411. OutputFile = "mychan.html"
  412. </channel>
  413. <set OutputFile="mychan.html">
  414. ]]>
  415. </programlisting></refsynopsisdiv>
  416. <refsect1>
  417. <title>Description</title>
  418. <para>
  419. <command>OutputFile</command> is used to define the name of the
  420. generated statistics page.
  421. </para>
  422. </refsect1>
  423. <refsect1>
  424. <title>Default</title>
  425. <para> index.html </para>
  426. </refsect1>
  427. </refentry>
  428. <!-- *** OUTPUTTAG *** -->
  429. <refentry id="OutputTag">
  430. <refmeta> <refentrytitle>OutputTag</refentrytitle> </refmeta>
  431. <refnamediv>
  432. <refname>OutputTag</refname>
  433. <refpurpose>tag to insert into OutputFile</refpurpose>
  434. </refnamediv>
  435. <refsynopsisdiv><programlisting>
  436. <![CDATA[
  437. <channel="#channel">
  438. LogDir = "logs/"
  439. Format = "eggdrop"
  440. OutputFile = "mychan%t.html"
  441. OutputTag = "-week"
  442. </channel>
  443. <set OutputTag="-week">
  444. ]]>
  445. </programlisting></refsynopsisdiv>
  446. <refsect1>
  447. <title>Description</title>
  448. <para>
  449. <command>OutputTag</command> specifies a string that will replace
  450. occurrences of "%t" in <xref linkend="OutputFile" />. This option is most
  451. useful when used as a command line switch (-t) to pisg in conjunction with
  452. <xref linkend="NFiles" /> (-nf). Example:
  453. <programlisting>
  454. <![CDATA[
  455. $ pisg -co pisg.conf
  456. $ pisg -co pisg.conf -nf 8 -t -week
  457. ]]>
  458. </programlisting>
  459. Leaving out the <command>OutputTag</command> settings from the above
  460. pisg.conf snippet, this writes both the full statistics (mychan.html) and
  461. statistics for the last week (mychan-week.html) using the same pisg config
  462. file. (Assuming that there are separate logfiles for each day.)
  463. </para>
  464. </refsect1>
  465. <refsect1>
  466. <title>Default</title>
  467. <para> unset </para>
  468. </refsect1>
  469. </refentry>
  470. <!-- *** LOGFILE *** -->
  471. <refentry id="Logfile">
  472. <refmeta> <refentrytitle>Logfile</refentrytitle> </refmeta>
  473. <refnamediv>
  474. <refname>Logfile</refname>
  475. <refpurpose>name of logfile to parse</refpurpose>
  476. </refnamediv>
  477. <refsynopsisdiv><programlisting>
  478. <![CDATA[
  479. <channel="#channel">
  480. Logfile="/home/foo/eggdrop/logs/mylog.txt"
  481. Format = "eggdrop"
  482. </channel>
  483. <set Logfile="foo.log">
  484. ]]>
  485. </programlisting></refsynopsisdiv>
  486. <refsect1>
  487. <title>Description</title>
  488. <para>
  489. This defines the filename of the logfile to parse for the channel. If
  490. you want to parse a directory full of logfiles, you should use the
  491. <xref linkend="LogDir" /> option instead. Providing this option multiple
  492. times will parse multiple files in the order the statements appear.
  493. Wildcards (* ? []) will be expanded.
  494. See also <xref linkend="LogDir" /> and <xref linkend="NFiles" />.
  495. </para>
  496. </refsect1>
  497. <refsect1>
  498. <title>Default</title>
  499. <para> unset </para>
  500. </refsect1>
  501. </refentry>
  502. <!-- *** LOGDIR *** -->
  503. <refentry id="LogDir">
  504. <refmeta> <refentrytitle>LogDir</refentrytitle> </refmeta>
  505. <refnamediv>
  506. <refname>LogDir</refname>
  507. <refpurpose>parse a directory full of logs</refpurpose>
  508. </refnamediv>
  509. <refsynopsisdiv><programlisting>
  510. <![CDATA[
  511. <channel="#channel">
  512. LogDir="/home/foo/eggdrop/logs/"
  513. Format = "eggdrop"
  514. </channel>
  515. <set LogDir="dailylogs/">
  516. ]]>
  517. </programlisting></refsynopsisdiv>
  518. <refsect1>
  519. <title>Description</title>
  520. <para>
  521. When <command>LogDir</command> is defined to valid path to a directory,
  522. then pisg will run through that directory, parse all logfiles in it and
  523. create one HTML page from it. Useful with for example eggdrop logs. Providing
  524. this option multiple times will parse all the files in multiple
  525. directories in the order the statements appear.
  526. See also <xref linkend="NFiles" />, <xref linkend="LogPrefix" />, and
  527. <xref linkend="LogSuffix" />.
  528. </para>
  529. </refsect1>
  530. <refsect1>
  531. <title>Default</title>
  532. <para> unset </para>
  533. </refsect1>
  534. </refentry>
  535. <!-- *** NFILES *** -->
  536. <refentry id="NFiles">
  537. <refmeta> <refentrytitle>NFiles</refentrytitle> </refmeta>
  538. <refnamediv>
  539. <refname>NFiles</refname>
  540. <refpurpose>parse only the last files in <xref linkend="LogDir" /></refpurpose>
  541. </refnamediv>
  542. <refsynopsisdiv><programlisting>
  543. <![CDATA[
  544. <channel="#channel">
  545. LogDir="/home/foo/eggdrop/logs/"
  546. NFiles="8"
  547. Format="eggdrop"
  548. </channel>
  549. <set NFiles="8">
  550. ]]>
  551. </programlisting></refsynopsisdiv>
  552. <refsect1>
  553. <title>Description</title>
  554. <para>
  555. When <command>NFiles</command> is set to a positive integer, pisg will
  556. process only the last that much logfiles from <xref linkend="Logfile" />
  557. and <xref linkend="LogDir" /> options. Useful to create statistics that
  558. cover the last week or month (assuming there are separate logfile per
  559. day/week/etc.). </para>
  560. </refsect1>
  561. <refsect1>
  562. <title>Default</title>
  563. <para> 0 (process all files) </para>
  564. </refsect1>
  565. </refentry>
  566. <!-- *** MAINTAINER *** -->
  567. <refentry id="Maintainer">
  568. <refmeta> <refentrytitle>Maintainer</refentrytitle> </refmeta>
  569. <refnamediv>
  570. <refname>Maintainer</refname>
  571. <refpurpose>name of the maintainer</refpurpose>
  572. </refnamediv>
  573. <refsynopsisdiv><programlisting>
  574. <![CDATA[
  575. <channel="#channel">
  576. Logfile = "channel.log"
  577. Format = "mIRC"
  578. Maintainer = "Benny"
  579. </channel>
  580. <set Maintainer="Benny">
  581. ]]>
  582. </programlisting></refsynopsisdiv>
  583. <refsect1>
  584. <title>Description</title>
  585. <para>
  586. <command>Maintainer</command> is used to define the name of the
  587. maintainer of the statistics page, this can be either the person
  588. generating the stats or the bot/client doing the logging.
  589. The maintainer is displayed in the outputted stats page.
  590. This setting is also used by some log parsers where "You" is used
  591. instead of the nick in the log (e.g. "You have been kicked").
  592. See also <xref linkend="Format" />, <xref linkend="NickTracking" />.
  593. </para>
  594. </refsect1>
  595. <refsect1>
  596. <title>Default</title>
  597. <para> MAINTAINER </para>
  598. </refsect1>
  599. </refentry>
  600. <!-- *** COLORSCHEME *** -->
  601. <refentry id="ColorScheme">
  602. <refmeta> <refentrytitle>ColorScheme</refentrytitle> </refmeta>
  603. <refnamediv>
  604. <refname>ColorScheme</refname>
  605. <refpurpose>use a different color scheme for stats page</refpurpose>
  606. </refnamediv>
  607. <refsynopsisdiv><programlisting>
  608. <![CDATA[
  609. <channel="#channel">
  610. Logfile = "channel.log"
  611. ColorScheme = "darkgalaxy"
  612. Maintainer = "John"
  613. </channel>
  614. <set ColorScheme="default">
  615. ]]>
  616. </programlisting></refsynopsisdiv>
  617. <refsect1>
  618. <title>Description</title>
  619. <para>
  620. <command>ColorScheme</command> is used to define the color scheme used
  621. for the statistics page. Actually it's the CSS file being included.
  622. CSS files distributed with pisg are: darkgalaxy, darkred, default,
  623. justgrey, ocean, orange_grey, pisg, softgreen (omit the .css). The file
  624. will be included statically in the generated HTML page. If you give a file
  625. name or URL (i.e. a color scheme name with .css or a path), the file will
  626. be linked to instead. Using "none" will cause pisg to write only the body
  627. of the page; use this to include the statistics into a custom page. See
  628. also <xref linkend="CssDir" />, <xref linkend="AltColorScheme" />,
  629. <link linkend="HiCell">HiCell/HiCell2</link>.
  630. </para>
  631. </refsect1>
  632. <refsect1>
  633. <title>Default</title>
  634. <para> default </para>
  635. </refsect1>
  636. </refentry>
  637. <!-- *** ALTCOLORSCHEME *** -->
  638. <refentry id="AltColorScheme">
  639. <refmeta> <refentrytitle>AltColorScheme</refentrytitle> </refmeta>
  640. <refnamediv>
  641. <refname>AltColorScheme</refname>
  642. <refpurpose>alternate stylesheets for stats page</refpurpose>
  643. </refnamediv>
  644. <refsynopsisdiv><programlisting>
  645. <![CDATA[
  646. <channel="#channel">
  647. Logfile = "channel.log"
  648. ColorScheme = "darkgalaxy"
  649. AltColorScheme = "layout/ocean.css"
  650. Maintainer = "John"
  651. </channel>
  652. <set AltColorScheme="layout/darkgalaxy.css layout/justgrey.css">
  653. ]]>
  654. </programlisting></refsynopsisdiv>
  655. <refsect1>
  656. <title>Description</title>
  657. <para>
  658. <command>AltColorScheme</command> defines an alternate CSS file to
  659. be used for the statistics page. Multiple files can be given (space
  660. separated.) Note that this is not supported by all browsers.
  661. See also <xref linkend="ColorScheme" /> and <xref linkend="CssDir" />.
  662. </para>
  663. </refsect1>
  664. <refsect1>
  665. <title>Default</title>
  666. <para> default </para>
  667. </refsect1>
  668. </refentry>
  669. <!-- *** LANG *** -->
  670. <refentry id="Lang">
  671. <refmeta> <refentrytitle>Lang</refentrytitle> </refmeta>
  672. <refnamediv>
  673. <refname>Lang</refname>
  674. <refpurpose>define the language / translation to use</refpurpose>
  675. </refnamediv>
  676. <refsynopsisdiv><programlisting>
  677. <![CDATA[
  678. <channel="#channel">
  679. Logfile = "channel.log"
  680. Format = "mIRC"
  681. Lang = "DE"
  682. OutputFile = "mychan-%l.html"
  683. </channel>
  684. <set Lang="FR,SE">
  685. ]]>
  686. </programlisting></refsynopsisdiv>
  687. <refsect1>
  688. <title>Description</title>
  689. <para>
  690. <command>Lang</command> defines the language to use for the stats.
  691. Currently, lang.txt includes:
  692. EN (English),
  693. BG (Bulgarian),
  694. CA (Catalan),
  695. CZ (Czech),
  696. DA (Danish),
  697. DE (German),
  698. EE (Estonian),
  699. ES (Spanish),
  700. FI (Finnish),
  701. FR (French),
  702. GR (Greek),
  703. HE (Hebrew),
  704. HU (Hungarian),
  705. IS (Icelandic),
  706. IT (Italian),
  707. NL (Dutch),
  708. NL_BE (Flemish),
  709. NO (Norwegian),
  710. PL (Polish),
  711. PT (Portuguese),
  712. PT_BR (Portuguese/Brazil),
  713. RO (Romanian),
  714. RU (Russian),
  715. SE (Swedish),
  716. SI (Slovenian),
  717. SK (Slovak),
  718. SQ (Albanian),
  719. TR (Turkish),
  720. YU (Serbian).
  721. Output in several languages can be generated at the same time, separate the
  722. languages by comma. The tag %l in the output file name will be replaced by
  723. the language name. See also <xref linkend="LangFile" />.
  724. </para>
  725. </refsect1>
  726. <refsect1>
  727. <title>Default</title>
  728. <para> EN (English) </para>
  729. </refsect1>
  730. </refentry>
  731. <!-- *** PAGEHEAD *** -->
  732. <refentry id="PageHead">
  733. <refmeta> <refentrytitle>PageHead</refentrytitle> </refmeta>
  734. <refnamediv>
  735. <refname>PageHead</refname>
  736. <refpurpose>define a file as page header</refpurpose>
  737. </refnamediv>
  738. <refsynopsisdiv><programlisting>
  739. <![CDATA[
  740. <channel="#channel">
  741. Logfile = "channel.log"
  742. Format = "mIRC"
  743. OutputFile = "stats.html"
  744. PageHead = "myheader.txt"
  745. </channel>
  746. <set PageHead="someheader.txt">
  747. ]]>
  748. </programlisting></refsynopsisdiv>
  749. <refsect1>
  750. <title>Description</title>
  751. <para>
  752. <command>PageHead</command> is used to include a file in the stats page,
  753. for example an introduction text, a link to an image or a banner. The
  754. file can hold anything, it will be included raw in the stats page -
  755. so HTML should be preferred. The file will be included in the top of
  756. the page. This option is the opposite of <xref linkend="PageFoot" />.
  757. </para>
  758. </refsect1>
  759. <refsect1>
  760. <title>Default</title>
  761. <para> none </para>
  762. </refsect1>
  763. </refentry>
  764. <!-- *** PAGEFOOT *** -->
  765. <refentry id="PageFoot">
  766. <refmeta> <refentrytitle>PageFoot</refentrytitle> </refmeta>
  767. <refnamediv>
  768. <refname>PageFoot</refname>
  769. <refpurpose>define a file as page footer</refpurpose>
  770. </refnamediv>
  771. <refsynopsisdiv><programlisting>
  772. <![CDATA[
  773. <channel="#channel">
  774. Logfile = "channel.log"
  775. Format = "mIRC"
  776. outputfile = "stats.html"
  777. PageFoot = "myfooter.txt"
  778. </channel>
  779. <set PageFoot="somefooter.txt">
  780. ]]>
  781. </programlisting></refsynopsisdiv>
  782. <refsect1>
  783. <title>Description</title>
  784. <para>
  785. <command>PageFoot</command> is used to include a file in the stats page,
  786. for example an introduction text, a link to an image or a banner. The
  787. file can hold anything, it will be included raw in the stats page -
  788. so HTML should be preferred. The file will be included in the bottom of
  789. the page. This option is the opposite of <xref linkend="PageHead" />.
  790. </para>
  791. </refsect1>
  792. <refsect1>
  793. <title>Default</title>
  794. <para> none </para>
  795. </refsect1>
  796. </refentry>
  797. <!-- *** LogPrefix *** -->
  798. <refentry id="LogPrefix">
  799. <refmeta> <refentrytitle>LogPrefix</refentrytitle> </refmeta>
  800. <refnamediv>
  801. <refname>LogPrefix</refname>
  802. <refpurpose>only parse logs LogPrefixed with a user defined string</refpurpose>
  803. </refnamediv>
  804. <refsynopsisdiv><programlisting>
  805. <![CDATA[
  806. <channel="#channel">
  807. LogDir="/home/foo/eggdrop/logs/"
  808. Format = "eggdrop"
  809. LogPrefix = "logjun"
  810. </channel>
  811. <set LogPrefix="logjanuary">
  812. ]]>
  813. </programlisting></refsynopsisdiv>
  814. <refsect1>
  815. <title>Description</title>
  816. <para>
  817. When using the <xref linkend="LogDir" /> option and you only want to use
  818. a slew of the files in it, you can have pisg choose only files which are
  819. prefixed with a special string.
  820. </para>
  821. </refsect1>
  822. <refsect1>
  823. <title>Default</title>
  824. <para> unset </para>
  825. </refsect1>
  826. </refentry>
  827. <!-- *** LOGSUFFIX *** -->
  828. <refentry id="LogSuffix">
  829. <refmeta> <refentrytitle>LogSuffix</refentrytitle> </refmeta>
  830. <refnamediv>
  831. <refname>LogSuffix</refname>
  832. <refpurpose>Regexp to sort logfiles by format month||day||year</refpurpose>
  833. </refnamediv>
  834. <refsynopsisdiv><programlisting>
  835. <![CDATA[
  836. <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)">
  837. ]]>
  838. </programlisting></refsynopsisdiv>
  839. <refsect1>
  840. <title>Description</title>
  841. <para>
  842. <command>LogSuffix</command> is used to define the suffix of a logfile,
  843. it only works when <xref linkend="LogDir" /> is defined. The example in
  844. the synopsis is for the eggdrop bots default format.
  845. </para>
  846. </refsect1>
  847. <refsect1>
  848. <title>Default</title>
  849. <para> Unset </para>
  850. </refsect1>
  851. </refentry>
  852. <!-- *** SILENT *** -->
  853. <refentry id="Silent">
  854. <refmeta> <refentrytitle>Silent</refentrytitle> </refmeta>
  855. <refnamediv>
  856. <refname>Silent</refname>
  857. <refpurpose>make pisg silent, suppress messages</refpurpose>
  858. </refnamediv>
  859. <refsynopsisdiv><programlisting>
  860. <![CDATA[
  861. <set Silent="1">
  862. ]]>
  863. </programlisting></refsynopsisdiv>
  864. <refsect1>
  865. <title>Description</title>
  866. <para>
  867. This option is useful mainly from command line when invoking pisg with
  868. <command>--silent 1</command>. But it can also used in the configuration
  869. file. It will suppress all standard output from pisg. Error messages
  870. will still be sent.
  871. </para>
  872. </refsect1>
  873. <refsect1>
  874. <title>Default</title>
  875. <para> 0 (disabled) </para>
  876. </refsect1>
  877. </refentry>
  878. <!-- *** CACHEDIR *** -->
  879. <refentry id="CacheDir">
  880. <refmeta> <refentrytitle>CacheDir</refentrytitle> </refmeta>
  881. <refnamediv>
  882. <refname>CacheDir</refname>
  883. <refpurpose>use a cache to speed up log parsing</refpurpose>
  884. </refnamediv>
  885. <refsynopsisdiv><programlisting>
  886. <![CDATA[
  887. <set CacheDir="pisg_cache">
  888. <set CacheDir="/path/to/pisg_cache">
  889. ]]>
  890. </programlisting></refsynopsisdiv>
  891. <refsect1>
  892. <title>Description</title>
  893. <para>
  894. Setting this option makes pisg dump the results of log parsing into cache
  895. files. The next time pisg is run, it compares the timestamp of the log(s)
  896. with the timestamp stored in the cache file. When the log was not changed,
  897. the cached data is used. (This means that it does not work if you only
  898. have a single big logfile. Split the log at arbitrary points and use
  899. <xref linkend="LogDir" /> or <xref linkend="Logfile" />="dir/*".)
  900. </para>
  901. <para>
  902. Note that the cache files should be deleted when the pisg config file is
  903. changed since the cache data uses the old config settings.
  904. <xref linkend="NickTracking" /> does not work especially well with the
  905. cache when using different <xref linkend="NFiles" /> settings.
  906. </para>
  907. </refsect1>
  908. <refsect1>
  909. <title>Default</title>
  910. <para> Unset </para>
  911. </refsect1>
  912. </refentry>
  913. </chapter>
  914. <chapter id="reference-stats">
  915. <title>Options for various statistics features</title>
  916. <!-- *** DailyActivity *** -->
  917. <refentry id="DailyActivity">
  918. <refmeta> <refentrytitle>DailyActivity</refentrytitle> </refmeta>
  919. <refnamediv>
  920. <refname>DailyActivity</refname>
  921. <refpurpose>number of days to show in "Daily Actitity"</refpurpose>
  922. </refnamediv>
  923. <refsynopsisdiv><programlisting>
  924. <![CDATA[
  925. <channel="#channel">
  926. Logfile = "channel.log"
  927. Format = "xchat"
  928. DailyActivity = "0"
  929. </channel>
  930. <set DailyActivity="31">
  931. ]]>
  932. </programlisting></refsynopsisdiv>
  933. <refsect1>
  934. <title>Description</title>
  935. <para>
  936. This option sets the number of days to show in the "Daily activity"
  937. section. Pisg will generate a graph that shows the actitivy during
  938. this timeframe. Setting the option to 0 disables the section.
  939. </para>
  940. </refsect1>
  941. <refsect1>
  942. <title>Default</title>
  943. <para> 0 (disabled) </para>
  944. </refsect1>
  945. </refentry>
  946. <!-- *** SHOWACTIVETIMES *** -->
  947. <refentry id="ShowActiveTimes">
  948. <refmeta> <refentrytitle>ShowActiveTimes</refentrytitle> </refmeta>
  949. <refnamediv>
  950. <refname>ShowActiveTimes</refname>
  951. <refpurpose>enable/disable "Most Active Times"</refpurpose>
  952. </refnamediv>
  953. <refsynopsisdiv><programlisting>
  954. <![CDATA[
  955. <channel="#channel">
  956. Logfile = "channel.log"
  957. Format = "xchat"
  958. ShowActiveTimes = "0"
  959. </channel>
  960. <set ShowActiveTimes="1">
  961. ]]>
  962. </programlisting></refsynopsisdiv>
  963. <refsect1>
  964. <title>Description</title>
  965. <para>
  966. With this option you can disable the "Most Active Times" section on the
  967. stats page. It will simply disappear when specifying 0.
  968. </para>
  969. </refsect1>
  970. <refsect1>
  971. <title>Default</title>
  972. <para> 1 (enabled) </para>
  973. </refsect1>
  974. </refentry>
  975. <!-- *** SHOWACTIVENICKS *** -->
  976. <refentry id="ShowActiveNicks">
  977. <refmeta> <refentrytitle>ShowActiveNicks</refentrytitle> </refmeta>
  978. <refnamediv>
  979. <refname>ShowActiveNicks</refname>
  980. <refpurpose>enable/disable "Most Active Nicks"</refpurpose>
  981. </refnamediv>
  982. <refsynopsisdiv><programlisting>
  983. <![CDATA[
  984. <channel="#channel">
  985. Logfile = "channel.log"
  986. Format = "xchat"
  987. ShowActiveNicks = "0"
  988. </channel>
  989. <set ShowActiveNicks="1">
  990. ]]>
  991. </programlisting></refsynopsisdiv>
  992. <refsect1>
  993. <title>Description</title>
  994. <para>
  995. With this option you can disable the "Most Active Nicks" section on the
  996. stats page.
  997. </para>
  998. </refsect1>
  999. <refsect1>
  1000. <title>Default</title>
  1001. <para> 1 (enabled) </para>
  1002. </refsect1>
  1003. </refentry>
  1004. <!-- *** SHOWBIGNUMBERS *** -->
  1005. <refentry id="ShowBigNumbers">
  1006. <refmeta> <refentrytitle>ShowBigNumbers</refentrytitle> </refmeta>
  1007. <refnamediv>
  1008. <refname>ShowBigNumbers</refname>
  1009. <refpurpose>enable/disable "Big Numbers" sections</refpurpose>
  1010. </refnamediv>
  1011. <refsynopsisdiv><programlisting>
  1012. <![CDATA[
  1013. <channel="#channel">
  1014. Logfile = "channel.log"
  1015. Format = "xchat"
  1016. ShowBigNumbers = "0"
  1017. </channel>
  1018. <set ShowBigNumbers="1">
  1019. ]]>
  1020. </programlisting></refsynopsisdiv>
  1021. <refsect1>
  1022. <title>Description</title>
  1023. <para>
  1024. With this option you can disable the "Big Numbers" and "Other
  1025. Interesting numbers" sections on the stats page. They will simply
  1026. disappear when specifying 0.
  1027. </para>
  1028. </refsect1>
  1029. <refsect1>
  1030. <title>Default</title>
  1031. <para> 1 (enabled) </para>
  1032. </refsect1>
  1033. </refentry>
  1034. <!-- *** SHOWTOPICS *** -->
  1035. <refentry id="ShowTopics">
  1036. <refmeta> <refentrytitle>ShowTopics</refentrytitle> </refmeta>
  1037. <refnamediv>
  1038. <refname>ShowTopics</refname>
  1039. <refpurpose>enable/disable "Latest topics" sections</refpurpose>
  1040. </refnamediv>
  1041. <refsynopsisdiv><programlisting>
  1042. <![CDATA[
  1043. <channel="#channel">
  1044. Logfile = "channel.log"
  1045. Format = "xchat"
  1046. ShowTopics = "0"
  1047. </channel>
  1048. <set ShowTopics="1">
  1049. ]]>
  1050. </programlisting></refsynopsisdiv>
  1051. <refsect1>
  1052. <title>Description</title>
  1053. <para>
  1054. With this option you can disable the "Latest topics" section on the
  1055. stats page. It will simply disappear when specifying 0.
  1056. </para>
  1057. </refsect1>
  1058. <refsect1>
  1059. <title>Default</title>
  1060. <para> 1 (enabled) </para>
  1061. </refsect1>
  1062. </refentry>
  1063. <!-- *** SHOWLINES *** -->
  1064. <refentry id="ShowLines">
  1065. <refmeta> <refentrytitle>ShowLines</refentrytitle> </refmeta>
  1066. <refnamediv>
  1067. <refname>ShowLines</refname>
  1068. <refpurpose>enable/disable "number of lines"</refpurpose>
  1069. </refnamediv>
  1070. <refsynopsisdiv><programlisting>
  1071. <![CDATA[
  1072. <channel="#channel">
  1073. Logfile = "channel.log"
  1074. Format = "xchat"
  1075. ShowLines = "0"
  1076. </channel>
  1077. <set ShowLines="1">
  1078. ]]>
  1079. </programlisting></refsynopsisdiv>
  1080. <refsect1>
  1081. <title>Description</title>
  1082. <para>
  1083. The default behaviour is to add a column to the "Most Active Nicks"
  1084. section displaying the number of lines a user wrote. With this option it
  1085. can be disabled.
  1086. </para>
  1087. </refsect1>
  1088. <refsect1>
  1089. <title>Default</title>
  1090. <para> 1 (enabled) </para>
  1091. </refsect1>
  1092. </refentry>
  1093. <!-- *** SHOWWPL *** -->
  1094. <refentry id="ShowWpl">
  1095. <refmeta> <refentrytitle>ShowWpl</refentrytitle> </refmeta>
  1096. <refnamediv>
  1097. <refname>ShowWpl</refname>
  1098. <refpurpose>enable/disable "words per line"</refpurpose>
  1099. </refnamediv>
  1100. <refsynopsisdiv><programlisting>
  1101. <![CDATA[
  1102. <channel="#channel">
  1103. Logfile = "channel.log"
  1104. Format = "xchat"
  1105. ShowWpl = "0"
  1106. </channel>
  1107. <set ShowWpl="1">
  1108. ]]>
  1109. </programlisting></refsynopsisdiv>
  1110. <refsect1>
  1111. <title>Description</title>
  1112. <para>
  1113. With this option you can enable the "words per line" column in the
  1114. "Most Active Nicks" section. It will add a column describing the average
  1115. words per line for a person.
  1116. </para>
  1117. </refsect1>
  1118. <refsect1>
  1119. <title>Default</title>
  1120. <para> 0 (disabled) </para>
  1121. </refsect1>
  1122. </refentry>
  1123. <!-- *** SHOWCPL *** -->
  1124. <refentry id="ShowCpl">
  1125. <refmeta> <refentrytitle>ShowCpl</refentrytitle> </refmeta>
  1126. <refnamediv>
  1127. <refname>ShowCpl</refname>
  1128. <refpurpose>enable/disable "characters per line"</refpurpose>
  1129. </refnamediv>
  1130. <refsynopsisdiv><programlisting>
  1131. <![CDATA[
  1132. <channel="#channel">
  1133. Logfile = "channel.log"
  1134. Format = "xchat"
  1135. ShowCpl = "0"
  1136. </channel>
  1137. <set ShowCpl="1">
  1138. ]]>
  1139. </programlisting></refsynopsisdiv>
  1140. <refsect1>
  1141. <title>Description</title>
  1142. <para>
  1143. With this option you can enable the "characters per line" column in the
  1144. "Most Active Nicks" section. It will add a column describing the average
  1145. number of characters per line for a person.
  1146. </para>
  1147. </refsect1>
  1148. <refsect1>
  1149. <title>Default</title>
  1150. <para> 0 (disabled) </para>
  1151. </refsect1>
  1152. </refentry>
  1153. <!-- *** SHOWWORDS *** -->
  1154. <refentry id="ShowWords">
  1155. <refmeta> <refentrytitle>ShowWords</refentrytitle> </refmeta>
  1156. <refnamediv>
  1157. <refname>ShowWords</refname>
  1158. <refpurpose>enable/disable "number of words"</refpurpose>
  1159. </refnamediv>
  1160. <refsynopsisdiv><programlisting>
  1161. <![CDATA[
  1162. <channel="#channel">
  1163. Logfile = "channel.log"
  1164. Format = "xchat"
  1165. ShowWords = "0"
  1166. </channel>
  1167. <set ShowWords="1">
  1168. ]]>
  1169. </programlisting></refsynopsisdiv>
  1170. <refsect1>
  1171. <title>Description</title>
  1172. <para>
  1173. The <command>ShowWords</command> option adds a column to the "Most
  1174. Active Nicks" list which list the total number of words a user has
  1175. typed.
  1176. </para>
  1177. </refsect1>
  1178. <refsect1>
  1179. <title>Default</title>
  1180. <para> 0 (disabled) </para>
  1181. </refsect1>
  1182. </refentry>
  1183. <!-- *** ShowLastSeen *** -->
  1184. <refentry id="ShowLastSeen">
  1185. <refmeta> <refentrytitle>ShowLastSeen</refentrytitle> </refmeta>
  1186. <refnamediv>
  1187. <refname>ShowLastSeen</refname>
  1188. <refpurpose>show when a user was last seen on a channel</refpurpose>
  1189. </refnamediv>
  1190. <refsynopsisdiv><programlisting>
  1191. <![CDATA[
  1192. <channel="#channel">
  1193. Logfile = "channel.log"
  1194. Format = "xchat"
  1195. ShowLastSeen = "0"
  1196. </channel>
  1197. <set ShowLastSeen="1">
  1198. ]]>
  1199. </programlisting></refsynopsisdiv>
  1200. <refsect1>
  1201. <title>Description</title>
  1202. <para>
  1203. With this option enabled, a column will be added to the "Most Active
  1204. Nicks" section to display when a user was last seen. E.g. "2 days ago".
  1205. </para>
  1206. </refsect1>
  1207. <refsect1>
  1208. <title>Default</title>
  1209. <para> 1 (enabled) </para>
  1210. </refsect1>
  1211. </refentry>
  1212. <!-- *** SHOWTIME *** -->
  1213. <refentry id="ShowTime">
  1214. <refmeta> <refentrytitle>ShowTime</refentrytitle> </refmeta>
  1215. <refnamediv>
  1216. <refname>ShowTime</refname>
  1217. <refpurpose>show when a nick was active</refpurpose>
  1218. </refnamediv>
  1219. <refsynopsisdiv><programlisting>
  1220. <![CDATA[
  1221. <channel="#channel">
  1222. Logfile = "channel.log"
  1223. Format = "xchat"
  1224. ShowTime = "0"
  1225. </channel>
  1226. <set ShowTime="1">
  1227. ]]>
  1228. </programlisting></refsynopsisdiv>
  1229. <refsect1>
  1230. <title>Description</title>
  1231. <para>
  1232. The default behaviour is to add a column to the "Most Active Nicks"
  1233. section displaying a fancy time bar to show when a user was active. With
  1234. this option it can be disabled.
  1235. </para>
  1236. </refsect1>
  1237. <refsect1>
  1238. <title>Default</title>
  1239. <para> 1 (enabled) </para>
  1240. </refsect1>
  1241. </refentry>
  1242. <!-- *** SHOWLINETIME *** -->
  1243. <refentry id="ShowLineTime">
  1244. <refmeta> <refentrytitle>ShowLineTime</refentrytitle> </refmeta>
  1245. <refnamediv>
  1246. <refname>ShowLineTime</refname>
  1247. <refpurpose>mIRCStats like behaviour of time bar</refpurpose>
  1248. </refnamediv>
  1249. <refsynopsisdiv><programlisting>
  1250. <![CDATA[
  1251. <channel="#channel">
  1252. Logfile = "channel.log"
  1253. Format = "bobot"
  1254. ShowLineTime = "0"
  1255. </channel>
  1256. <set ShowLineTime="1">
  1257. ]]>
  1258. </programlisting></refsynopsisdiv>
  1259. <refsect1>
  1260. <title>Description</title>
  1261. <para>
  1262. The default behaviour is to add a column to the "Most Active Nicks"
  1263. section displaying a fancy time bar to show when a user was active.
  1264. With this option it can be done the same way as mIRCStats does it; that
  1265. is, by putting that time bar next to the number of lines, in the same
  1266. column.
  1267. </para>
  1268. </refsect1>
  1269. <refsect1>
  1270. <title>Default</title>
  1271. <para> 0 (disabled) </para>
  1272. </refsect1>
  1273. </refentry>
  1274. <!-- *** SHOWWORDTIME *** -->
  1275. <refentry id="ShowWordTime">
  1276. <refmeta> <refentrytitle>ShowWordTime</refentrytitle> </refmeta>
  1277. <refnamediv>
  1278. <refname>ShowWordTime</refname>
  1279. <refpurpose>ShowLineTime like behavior of words column</refpurpose>
  1280. </refnamediv>
  1281. <refsynopsisdiv><programlisting>
  1282. <![CDATA[
  1283. <channel="#channel">
  1284. Logfile = "channel.log"
  1285. Format = "bobot"
  1286. ShowWordTime = "0"
  1287. </channel>
  1288. <set ShowWordTime="1">
  1289. ]]>
  1290. </programlisting></refsynopsisdiv>
  1291. <refsect1>
  1292. <title>Description</title>
  1293. <para>
  1294. The default behaviour is to add a column to the "Most Active Nicks"
  1295. section displaying a fancy time bar to show when a user was active.
  1296. With this option it can be done similarly to mIRCStats does it and like
  1297. the ShowLineTime option, but using words instead of lines; that is, by
  1298. putting that time bar next to the number of words, in the same column.
  1299. </para>
  1300. </refsect1>
  1301. <refsect1>
  1302. <title>Default</title>
  1303. <para> 0 (disabled) </para>
  1304. </refsect1>
  1305. </refentry>
  1306. <!-- *** SHOWRANDQUOTE *** -->
  1307. <refentry id="ShowRandQuote">
  1308. <refmeta> <refentrytitle>ShowRandQuote</refentrytitle> </refmeta>
  1309. <refnamediv>
  1310. <refname>ShowRandQuote</refname>
  1311. <refpurpose>enable or disable the random quotes</refpurpose>
  1312. </refnamediv>
  1313. <refsynopsisdiv><programlisting>
  1314. <![CDATA[
  1315. <channel="#channel">
  1316. Logfile = "channel.log"
  1317. Format = "bobot"
  1318. ShowRandQuote = "0"
  1319. </channel>
  1320. <set ShowRandQuote="1">
  1321. ]]>
  1322. </programlisting></refsynopsisdiv>
  1323. <refsect1>
  1324. <title>Description</title>
  1325. <para>
  1326. The default behaviour is to add a column to the "Most Active Nicks"
  1327. section displaying a users random quote. With this option it can be
  1328. disabled.
  1329. </para>
  1330. </refsect1>
  1331. <refsect1>
  1332. <title>Default</title>
  1333. <para> 1 (enabled) </para>
  1334. </refsect1>
  1335. </refentry>
  1336. <!-- *** SHOWLEGEND *** -->
  1337. <refentry id="ShowLegend">
  1338. <refmeta> <refentrytitle>ShowLegend</refentrytitle> </refmeta>
  1339. <refnamediv>
  1340. <refname>ShowLegend</refname>
  1341. <refpurpose>enable or disable the legend of the time bars</refpurpose>
  1342. </refnamediv>
  1343. <refsynopsisdiv><programlisting>
  1344. <![CDATA[
  1345. <channel="#channel">
  1346. Logfile = "channel.log"
  1347. Format = "bobot"
  1348. ShowLegend = "0"
  1349. </channel>
  1350. <set ShowLegend="1">
  1351. ]]>
  1352. </programlisting></refsynopsisdiv>
  1353. <refsect1>
  1354. <title>Description</title>
  1355. <para>
  1356. By default, pisg shows a legend below the "Most Active Times" displaying
  1357. what the different colors means. With this option it can be disabled.
  1358. </para>
  1359. </refsect1>
  1360. <refsect1>
  1361. <title>Default</title>
  1362. <para> 1 (enabled) </para>
  1363. </refsect1>
  1364. </refentry>
  1365. <!-- *** SHOWKICKLINE *** -->
  1366. <refentry id="ShowKickLine">
  1367. <refmeta> <refentrytitle>ShowKickLine</refentrytitle> </refmeta>
  1368. <refnamediv>
  1369. <refname>ShowKickLine</refname>
  1370. <refpurpose>enable or disable the kick line</refpurpose>
  1371. </refnamediv>
  1372. <refsynopsisdiv><programlisting>
  1373. <![CDATA[
  1374. <channel="#channel">
  1375. Logfile = "channel.log"
  1376. Format = "bobot"
  1377. ShowKickLine = "0"
  1378. </channel>
  1379. <set ShowKickLine="1">
  1380. ]]>
  1381. </programlisting></refsynopsisdiv>
  1382. <refsect1>
  1383. <title>Description</title>
  1384. <para>
  1385. By default, pisg shows an example kick line in the "Most kicked"-stats.
  1386. With this option it can be disabled.
  1387. </para>
  1388. </refsect1>
  1389. <refsect1>
  1390. <title>Default</title>
  1391. <para> 1 (enabled) </para>
  1392. </refsect1>
  1393. </refentry>
  1394. <!-- *** SHOWACTIONLINE *** -->
  1395. <refentry id="ShowActionLine">
  1396. <refmeta> <refentrytitle>ShowActionLine</refentrytitle> </refmeta>
  1397. <refnamediv>
  1398. <refname>ShowActionLine</refname>
  1399. <refpurpose>enable or disable the action line</refpurpose>
  1400. </refnamediv>
  1401. <refsynopsisdiv><programlisting>
  1402. <![CDATA[
  1403. <channel="#channel">
  1404. Logfile = "channel.log"
  1405. Format = "bobot"
  1406. ShowActionLine = "0"
  1407. </channel>
  1408. <set ShowActionLine="1">
  1409. ]]>
  1410. </programlisting></refsynopsisdiv>
  1411. <refsect1>
  1412. <title>Description</title>
  1413. <para>
  1414. By default, pisg shows an example action line in the "Most actions"-stats.
  1415. With this option it can be disabled.
  1416. </para>
  1417. </refsect1>
  1418. <refsect1>
  1419. <title>Default</title>
  1420. <para> 1 (enabled) </para>
  1421. </refsect1>
  1422. </refentry>
  1423. <!-- *** SHOWSHOUTLINE *** -->
  1424. <refentry id="ShowShoutLine">
  1425. <refmeta> <refentrytitle>ShowShoutLine</refentrytitle> </refmeta>
  1426. <refnamediv>
  1427. <refname>ShowShoutLine</refname>
  1428. <refpurpose>enable or disable the shout line</refpurpose>
  1429. </refnamediv>
  1430. <refsynopsisdiv><programlisting>
  1431. <![CDATA[
  1432. <channel="#channel">
  1433. Logfile = "channel.log"
  1434. Format = "bobot"
  1435. ShowShoutLine = "0"
  1436. </channel>
  1437. <set ShowShoutLine="1">
  1438. ]]>
  1439. </programlisting></refsynopsisdiv>
  1440. <refsect1>
  1441. <title>Description</title>
  1442. <para>
  1443. By default, pisg shows an example shout line in the "Most shouting
  1444. people"-stats. With this option it can be disabled.
  1445. </para>
  1446. </refsect1>
  1447. <refsect1>
  1448. <title>Default</title>
  1449. <para> 1 (enabled) </para>
  1450. </refsect1>
  1451. </refentry>
  1452. <!-- *** SHOWFOULDECIMALS *** -->
  1453. <refentry id="ShowFoulDecimals">
  1454. <refmeta> <refentrytitle>ShowFoulDecimals</refentrytitle> </refmeta>
  1455. <refnamediv>
  1456. <refname>ShowFoulDecimals</refname>
  1457. <refpurpose>set how many decimals to show</refpurpose>
  1458. </refnamediv>
  1459. <refsynopsisdiv><programlisting>
  1460. <![CDATA[
  1461. <channel="#channel">
  1462. Logfile = "channel.log"
  1463. Format = "bobot"
  1464. ShowFoulDecimals = "2"
  1465. </channel>
  1466. <set ShowFoulDecimals="1">
  1467. ]]>
  1468. </programlisting></refsynopsisdiv>
  1469. <refsect1>
  1470. <title>Description</title>
  1471. <para>
  1472. By default, pisg uses 1 decimal. With this option you could change
  1473. it to whatever you like. Negative is treated as the default value.
  1474. </para>
  1475. </refsect1>
  1476. <refsect1>
  1477. <title>Default</title>
  1478. <para> 1 decimal </para>
  1479. </refsect1>
  1480. </refentry>
  1481. <!-- *** SHOWFOULLINE *** -->
  1482. <refentry id="ShowFoulLine">
  1483. <refmeta> <refentrytitle>ShowFoulLine</refentrytitle> </refmeta>
  1484. <refnamediv>
  1485. <refname>ShowFoulLine</refname>
  1486. <refpurpose>enable or disable the foul line</refpurpose>
  1487. </refnamediv>
  1488. <refsynopsisdiv><programlisting>
  1489. <![CDATA[
  1490. <channel="#channel">
  1491. Logfile = "channel.log"
  1492. Format = "bobot"
  1493. ShowFoulLine = "0"
  1494. </channel>
  1495. <set ShowFoulLine="1">
  1496. ]]>
  1497. </programlisting></refsynopsisdiv>
  1498. <refsect1>
  1499. <title>Description</title>
  1500. <para>
  1501. By default, pisg doesn't show an example foul line in the "Most
  1502. fouls"-stats. With this option it can be enabled.
  1503. </para>
  1504. </refsect1>
  1505. <refsect1>
  1506. <title>Default</title>
  1507. <para> 0 (disabled) </para>
  1508. </refsect1>
  1509. </refentry>
  1510. <!-- *** SHOWVIOLENTLINES *** -->
  1511. <refentry id="ShowViolentLines">
  1512. <refmeta> <refentrytitle>ShowViolentLines</refentrytitle> </refmeta>
  1513. <refnamediv>
  1514. <refname>ShowViolentLines</refname>
  1515. <refpurpose>enable or disable the violent lines</refpurpose>
  1516. </refnamediv>
  1517. <refsynopsisdiv><programlisting>
  1518. <![CDATA[
  1519. <channel="#channel">
  1520. Logfile = "channel.log"
  1521. Format = "bobot"
  1522. ShowViolentLines = "0"
  1523. </channel>
  1524. <set ShowViolentLines="1">
  1525. ]]>
  1526. </programlisting></refsynopsisdiv>
  1527. <refsect1>
  1528. <title>Description</title>
  1529. <para>
  1530. By default, pisg shows example violent lines in the "Most aggressive"
  1531. and "Most attacked"-stats. With this option it can be disabled.
  1532. </para>
  1533. </refsect1>
  1534. <refsect1>
  1535. <title>Default</title>
  1536. <para> 1 (enabled) </para>
  1537. </refsect1>
  1538. </refentry>
  1539. <!-- *** SHOWMUW *** -->
  1540. <refentry id="ShowMuw">
  1541. <refmeta> <refentrytitle>ShowMuw</refentrytitle> </refmeta>
  1542. <refnamediv>
  1543. <refname>ShowMuw</refname>
  1544. <refpurpose>enable or disable "Most used words"</refpurpose>
  1545. </refnamediv>
  1546. <refsynopsisdiv><programlisting>
  1547. <![CDATA[
  1548. <channel="#channel">
  1549. Logfile = "channel.log"
  1550. Format = "xchat"
  1551. ShowMuw = "0"
  1552. </channel>
  1553. <set ShowMuw="1">
  1554. ]]>
  1555. </programlisting></refsynopsisdiv>
  1556. <refsect1>
  1557. <title>Description</title>
  1558. <para>
  1559. By default, pisg adds an "Most used words" section to the stats page.
  1560. With this option you can disable it from being shown.
  1561. See also <xref linkend="WordHistory" />.
  1562. </para>
  1563. </refsect1>
  1564. <refsect1>
  1565. <title>Default</title>
  1566. <para> 1 (enabled) </para>
  1567. </refsect1>
  1568. </refentry>
  1569. <!-- *** SHOWMRN *** -->
  1570. <refentry id="ShowMrn">
  1571. <refmeta> <refentrytitle>ShowMrn</refentrytitle> </refmeta>
  1572. <refnamediv>
  1573. <refname>ShowMrn</refname>
  1574. <refpurpose>enable or disable "Most referenced nicks"</refpurpose>
  1575. </refnamediv>
  1576. <refsynopsisdiv><programlisting>
  1577. <![CDATA[
  1578. <channel="#channel">
  1579. Logfile = "channel.log"
  1580. Format = "xchat"
  1581. ShowMrn = "0"
  1582. </channel>
  1583. <set ShowMrn="1">
  1584. ]]>
  1585. </programlisting></refsynopsisdiv>
  1586. <refsect1>
  1587. <title>Description</title>
  1588. <para>
  1589. By default, pisg adds an "Most referenced nicks" section to the stats
  1590. page. With this option you can disable it from being shown.
  1591. See also <xref linkend="NickHistory" />.
  1592. </para>
  1593. </refsect1>
  1594. <refsect1>
  1595. <title>Default</title>
  1596. <para> 1 (enabled) </para>
  1597. </refsect1>
  1598. </refentry>
  1599. <!-- *** SHOWMRU *** -->
  1600. <refentry id="ShowMru">
  1601. <refmeta> <refentrytitle>ShowMru</refentrytitle> </refmeta>
  1602. <refnamediv>
  1603. <refname>ShowMru</refname>
  1604. <refpurpose>enable or disable "Most referenced URLs"</refpurpose>
  1605. </refnamediv>
  1606. <refsynopsisdiv><programlisting>
  1607. <![CDATA[
  1608. <channel="#channel">
  1609. Logfile = "channel.log"
  1610. Format = "xchat"
  1611. ShowMru = "0"
  1612. </channel>
  1613. <set ShowMru="1">
  1614. ]]>
  1615. </programlisting></refsynopsisdiv>
  1616. <refsect1>
  1617. <title>Description</title>
  1618. <para>
  1619. By default, pisg adds an "Most referenced URLs" section to the stats
  1620. page. With this option you can disable it from being shown.
  1621. See also <xref linkend="UrlHistory" />.
  1622. </para>
  1623. </refsect1>
  1624. <refsect1>
  1625. <title>Default</title>
  1626. <para> 1 (enabled) </para>
  1627. </refsect1>
  1628. </refentry>
  1629. <!-- *** SHOWCHARTS *** -->
  1630. <refentry id="ShowCharts">
  1631. <refmeta> <refentrytitle>ShowCharts</refentrytitle> </refmeta>
  1632. <refnamediv>
  1633. <refname>ShowCharts</refname>
  1634. <refpurpose>enable or disable channel music charts</refpurpose>
  1635. </refnamediv>
  1636. <refsynopsisdiv><programlisting>
  1637. <![CDATA[
  1638. <channel="#channel">
  1639. Logfile = "channel.log"
  1640. Format = "xchat"
  1641. ShowCharts = "0"
  1642. </channel>
  1643. <set ShowCharts="1">
  1644. ]]>
  1645. </programlisting></refsynopsisdiv>
  1646. <refsect1>
  1647. <title>Description</title>
  1648. <para>
  1649. With this option set, pisg creates a chart listing of the top songs played
  1650. on the channel. See also <xref linkend="ChartsHistory" /> and
  1651. <xref linkend="ChartsRegexp" />.
  1652. </para>
  1653. </refsect1>
  1654. <refsect1>
  1655. <title>Default</title>
  1656. <para> 0 (disabled) </para>
  1657. </refsect1>
  1658. </refentry>
  1659. <!-- *** SHOWOPS *** -->
  1660. <refentry id="ShowOps">
  1661. <refmeta> <refentrytitle>ShowOps</refentrytitle> </refmeta>
  1662. <refnamediv>
  1663. <refname>ShowOps</refname>
  1664. <refpurpose>enable or disable op statistics</refpurpose>
  1665. </refnamediv>
  1666. <refsynopsisdiv><programlisting>
  1667. <![CDATA[
  1668. <channel="#channel">
  1669. Logfile = "channel.log"
  1670. Format = "xchat"
  1671. ShowOps = "0"
  1672. </channel>
  1673. <set ShowOps="0">
  1674. ]]>
  1675. </programlisting></refsynopsisdiv>
  1676. <refsect1>
  1677. <title>Description</title>
  1678. <para>
  1679. By default, pisg has op statistics in the "Most interesting numbers"
  1680. section. Here you can disable the feature, it's useful if you don't feel
  1681. that the information is of any value, or your log format doesn't support
  1682. ops/deops.
  1683. </para>
  1684. </refsect1>
  1685. <refsect1>
  1686. <title>Default</title>
  1687. <para> 1 (enabled) </para>
  1688. </refsect1>
  1689. </refentry>
  1690. <!-- *** SHOWVOICES *** -->
  1691. <refentry id="ShowVoices">
  1692. <refmeta> <refentrytitle>ShowVoices</refentrytitle> </refmeta>
  1693. <refnamediv>
  1694. <refname>ShowVoices</refname>
  1695. <refpurpose>enable or disable voice statistics</refpurpose>
  1696. </refnamediv>
  1697. <refsynopsisdiv><programlisting>
  1698. <![CDATA[
  1699. <channel="#channel">
  1700. Logfile = "channel.log"
  1701. Format = "xchat"
  1702. ShowVoices = "0"
  1703. </channel>
  1704. <set ShowVoices="1">
  1705. ]]>
  1706. </programlisting></refsynopsisdiv>
  1707. <refsect1>
  1708. <title>Description</title>
  1709. <para>
  1710. By default, pisg doesn't have voice statistics like it has op
  1711. statistics. Enabling this option will add a section to the "Most
  1712. interesting numbers" displaying who got most voices.
  1713. </para>
  1714. </refsect1>
  1715. <refsect1>
  1716. <title>Default</title>
  1717. <para> 0 (disabled) </para>
  1718. </refsect1>
  1719. </refentry>
  1720. <!-- *** SHOWHALFOPS *** -->
  1721. <refentry id="ShowHalfops">
  1722. <refmeta> <refentrytitle>ShowHalfops</refentrytitle> </refmeta>
  1723. <refnamediv>
  1724. <refname>ShowHalfops</refname>
  1725. <refpurpose>enable or disable halfop statistics</refpurpose>
  1726. </refnamediv>
  1727. <refsynopsisdiv><programlisting>
  1728. <![CDATA[
  1729. <channel="#channel">
  1730. Logfile = "channel.log"
  1731. Format = "xchat"
  1732. ShowHalfops = "0"
  1733. </channel>
  1734. <set ShowHalfops="1">
  1735. ]]>
  1736. </programlisting></refsynopsisdiv>
  1737. <refsect1>
  1738. <title>Description</title>
  1739. <para>
  1740. By default, pisg doesn't have halfop statistics (+h on some servers)
  1741. like it has op statistics. Enabling this option will add a section to
  1742. the "Most interesting numbers" displaying who gave most half-ops.
  1743. </para>
  1744. </refsect1>
  1745. <refsect1>
  1746. <title>Default</title>
  1747. <para> 0 (disabled) </para>
  1748. </refsect1>
  1749. </refentry>
  1750. <!-- *** SHOWMOSTNICKS *** -->
  1751. <refentry id="ShowMostNicks">
  1752. <refmeta> <refentrytitle>ShowMostNicks</refentrytitle> </refmeta>
  1753. <refnamediv>
  1754. <refname>ShowMostNicks</refname>
  1755. <refpurpose>show who changed nick most often</refpurpose>
  1756. </refnamediv>
  1757. <refsynopsisdiv><programlisting>
  1758. <![CDATA[
  1759. <channel="#channel">
  1760. Logfile = "channel.log"
  1761. Format = "xchat"
  1762. ShowMostNicks = "0"
  1763. </channel>
  1764. <set ShowMostNicks="1">
  1765. ]]>
  1766. </programlisting></refsynopsisdiv>
  1767. <refsect1>
  1768. <title>Description</title>
  1769. <para>
  1770. By enabling this option, pisg will add a section to the stats showing
  1771. who had the most nicks, and what the nicks were. This option only works
  1772. properly when <xref linkend="NickTracking" /> is enabled or
  1773. <link linkend="user-options">user aliases</link> have been defined.
  1774. See also <xref linkend="MostNicksHistory" />,
  1775. <xref linkend="MostNicksVerbose" />, and
  1776. <xref linkend="NickLimit" />.
  1777. </para>
  1778. </refsect1>
  1779. <refsect1>
  1780. <title>Default</title>
  1781. <para> 0 (disabled) </para>
  1782. </refsect1>
  1783. </refentry>
  1784. <!-- *** SHOWACTIVEGENDERS *** -->
  1785. <refentry id="ShowActiveGenders">
  1786. <refmeta> <refentrytitle>ShowActiveGenders</refentrytitle> </refmeta>
  1787. <refnamediv>
  1788. <refname>ShowActiveGenders</refname>
  1789. <refpurpose>show stats on which gender talked most</refpurpose>
  1790. </refnamediv>
  1791. <refsynopsisdiv><programlisting>
  1792. <![CDATA[
  1793. <channel="#channel">
  1794. Logfile = "channel.log"
  1795. Format = "xchat"
  1796. ShowActiveGenders = "0"
  1797. </channel>
  1798. <set ShowActiveGenders="1">
  1799. ]]>
  1800. </programlisting></refsynopsisdiv>
  1801. <refsect1>
  1802. <title>Description</title>
  1803. <para>
  1804. Setting this option will make pisg create statistics on which gender
  1805. (female/male/bot) talked most (see the "sex" option in <xref
  1806. linkend="user-options" />). See also <xref linkend="NickLimit" />.
  1807. </para>
  1808. </refsect1>
  1809. <refsect1>
  1810. <title>Default</title>
  1811. <para> 0 (disabled) </para>
  1812. </refsect1>
  1813. </refentry>
  1814. <!-- *** SHOWSMILEYS *** -->
  1815. <refentry id="ShowSmileys">
  1816. <refmeta> <refentrytitle>ShowSmileys</refentrytitle> </refmeta>
  1817. <refnamediv>
  1818. <refname>ShowSmileys</refname>
  1819. <refpurpose>show most used smileys</refpurpose>
  1820. </refnamediv>
  1821. <refsynopsisdiv><programlisting>
  1822. <![CDATA[
  1823. <channel="#channel">
  1824. Logfile = "channel.log"
  1825. Format = "xchat"
  1826. ShowSmileys = "0"
  1827. </channel>
  1828. <set ShowSmileys="1">
  1829. ]]>
  1830. </programlisting></refsynopsisdiv>
  1831. <refsect1>
  1832. <title>Description</title>
  1833. <para>
  1834. With this option, pisg will make a list of the most used smileys in the
  1835. channel. See also <xref linkend="SmileyHistory" />.
  1836. </para>
  1837. </refsect1>
  1838. <refsect1>
  1839. <title>Default</title>
  1840. <para> 0 (disabled) </para>
  1841. </refsect1>
  1842. </refentry>
  1843. <!-- *** SHOWKARMA *** -->
  1844. <refentry id="ShowKarma">
  1845. <refmeta> <refentrytitle>ShowKarma</refentrytitle> </refmeta>
  1846. <refnamediv>
  1847. <refname>ShowKarma</refname>
  1848. <refpurpose>show channel karma</refpurpose>
  1849. </refnamediv>
  1850. <refsynopsisdiv><programlisting>
  1851. <![CDATA[
  1852. <channel="#channel">
  1853. Logfile = "channel.log"
  1854. Format = "xchat"
  1855. ShowKarma = "0"
  1856. </channel>
  1857. <set ShowKarma="1">
  1858. ]]>
  1859. </programlisting></refsynopsisdiv>
  1860. <refsect1>
  1861. <title>Description</title>
  1862. <para>
  1863. With this option, pisg will analyze the channel karma. Users can give other
  1864. users (or things) good or bad karma by saying "nickname++" or "nickname--";
  1865. "nickname==" resets it to zero. Only the last karma is remembered per
  1866. nick/nick combination, so there is at most +- 1 karma point.
  1867. See also <xref linkend="KarmaHistory" /> and <xref linkend="NickLimit" />.
  1868. </para>
  1869. </refsect1>
  1870. <refsect1>
  1871. <title>Default</title>
  1872. <para> 0 (disabled) </para>
  1873. </refsect1>
  1874. </refentry>
  1875. <!-- *** SHOWMOSTACTIVEBYHOUR *** -->
  1876. <refentry id="ShowMostActiveByHour">
  1877. <refmeta> <refentrytitle>ShowMostActiveByHour</refentrytitle> </refmeta>
  1878. <refnamediv>
  1879. <refname>ShowMostActiveByHour</refname>
  1880. <refpurpose>show most active nicks by hour</refpurpose>
  1881. </refnamediv>
  1882. <refsynopsisdiv><programlisting>
  1883. <![CDATA[
  1884. <channel="#channel">
  1885. Logfile = "channel.log"
  1886. Format = "xchat"
  1887. ShowMostActiveByHour = "0"
  1888. </channel>
  1889. <set ShowMostActiveByHour="1">
  1890. ]]>
  1891. </programlisting></refsynopsisdiv>
  1892. <refsect1>
  1893. <title>Description</title>
  1894. <para>
  1895. By enabling this option, pisg will add a section to the stats showing
  1896. "Most Active Nicks By Hour" - also look at the
  1897. <xref linkend="ShowMostActiveByHourGraph" /> and
  1898. <xref linkend="ActiveNicksByHour" /> settings.
  1899. </para>
  1900. </refsect1>
  1901. <refsect1>
  1902. <title>Default</title>
  1903. <para> 0 (disabled) </para>
  1904. </refsect1>
  1905. </refentry>
  1906. <!-- *** SHOWONLYTOP *** -->
  1907. <refentry id="ShowOnlyTop">
  1908. <refmeta> <refentrytitle>ShowOnlyTop</refentrytitle> </refmeta>
  1909. <refnamediv>
  1910. <refname>ShowOnlyTop</refname>
  1911. <refpurpose>only count stats for top talkers, ignore less-active users</refpurpose>
  1912. </refnamediv>
  1913. <refsynopsisdiv><programlisting>
  1914. <![CDATA[
  1915. <channel="#channel">
  1916. Logfile = "channel.log"
  1917. Format = "xchat"
  1918. ShowOnlyTop = "1"
  1919. </channel>
  1920. <set ShowOnlyTop="1">
  1921. ]]>
  1922. </programlisting></refsynopsisdiv>
  1923. <refsect1>
  1924. <title>Description</title>
  1925. <para>
  1926. By enabling this option, stats in the "Big Numbers" and "Interesting
  1927. Numbers" section will only be counted for users who were the most
  1928. active. E.g. users who appear in the "Most Active Nicks" section, as
  1929. respected by the <xref linkend="ActiveNicks" /> and
  1930. <xref linkend="ActiveNicks2" /> options. See also
  1931. <xref linkend="BigNumbersThreshold" />.
  1932. </para>
  1933. </refsect1>
  1934. <refsect1>
  1935. <title>Default</title>
  1936. <para> 0 (disabled) </para>
  1937. </refsect1>
  1938. </refentry>
  1939. <!-- *** SHOWMOSTACTIVEBYHOURGRAPH *** -->
  1940. <refentry id="ShowMostActiveByHourGraph">
  1941. <refmeta> <refentrytitle>ShowMostActiveByHourGraph</refentrytitle> </refmeta>
  1942. <refnamediv>
  1943. <refname>ShowMostActiveByHourGraph</refname>
  1944. <refpurpose>show graphs in most active nicks by hour</refpurpose>
  1945. </refnamediv>
  1946. <refsynopsisdiv><programlisting>
  1947. <![CDATA[
  1948. <channel="#channel">
  1949. Logfile = "channel.log"
  1950. Format = "xchat"
  1951. ShowMostActiveByHourGraph = "0"
  1952. </channel>
  1953. <set ShowMostActiveByHour="1">
  1954. <set ShowMostActiveByHourGraph="1">
  1955. ]]>
  1956. </programlisting></refsynopsisdiv>
  1957. <refsect1>
  1958. <title>Description</title>
  1959. <para>
  1960. By enabling this option and the <xref linkend="ShowMostActiveByHour" />
  1961. option, pisg will show graphs in the "Most Active Nicks By Hour"
  1962. section.
  1963. </para>
  1964. </refsect1>
  1965. <refsect1>
  1966. <title>Default</title>
  1967. <para> 1 (enabled) </para>
  1968. </refsect1>
  1969. </refentry>
  1970. <!-- *** IGNOREWORDS *** -->
  1971. <refentry id="IgnoreWords">
  1972. <refmeta> <refentrytitle>IgnoreWords</refentrytitle> </refmeta>
  1973. <refnamediv>
  1974. <refname>IgnoreWords</refname>
  1975. <refpurpose>ignore specified words</refpurpose>
  1976. </refnamediv>
  1977. <refsynopsisdiv><programlisting>
  1978. <![CDATA[
  1979. <set IgnoreWords="there about">
  1980. ]]>
  1981. </programlisting></refsynopsisdiv>
  1982. <refsect1>
  1983. <title>Description</title>
  1984. <para>
  1985. Sometimes words in the "most used words" appears which you don't want to
  1986. see, with this option you can ignore these words. It also applies to the
  1987. "most referenced nicks" section. It's a space separated list of words.
  1988. You can use * like in nick aliases.
  1989. Can not be used in a channel-only context.
  1990. </para>
  1991. </refsect1>
  1992. <refsect1>
  1993. <title>Default</title>
  1994. <para> unset </para>
  1995. </refsect1>
  1996. </refentry>
  1997. <!-- *** NOIGNOREDQUOTES *** -->
  1998. <refentry id="NoIgnoredQuotes">
  1999. <refmeta> <refentrytitle>NoIgnoredQuotes</refentrytitle> </refmeta>
  2000. <refnamediv>
  2001. <refname>NoIgnoredQuotes</refname>
  2002. <refpurpose>Control random quote output</refpurpose>
  2003. </refnamediv>
  2004. <refsynopsisdiv><programlisting>
  2005. <![CDATA[
  2006. <set NoIgnoredQuotes="1">
  2007. ]]>
  2008. </programlisting></refsynopsisdiv>
  2009. <refsect1>
  2010. <title>Description</title>
  2011. <para>
  2012. When set to "1", pisg will not output quotes containing ignored words.
  2013. Pisg will output a blank line after trying 20 random quotes if all 20 random quotes were ignored.
  2014. </para>
  2015. </refsect1>
  2016. <refsect1>
  2017. <title>Default</title>
  2018. <para> 0 </para>
  2019. </refsect1>
  2020. </refentry>
  2021. <!-- *** FOULWORDS *** -->
  2022. <refentry id="FoulWords">
  2023. <refmeta> <refentrytitle>FoulWords</refentrytitle> </refmeta>
  2024. <refnamediv>
  2025. <refname>FoulWords</refname>
  2026. <refpurpose>specify words considered to be bad/FoulWords language</refpurpose>
  2027. </refnamediv>
  2028. <refsynopsisdiv><programlisting>
  2029. <![CDATA[
  2030. <set FoulWords="ass fuck bitch">
  2031. ]]>
  2032. </programlisting></refsynopsisdiv>
  2033. <refsect1>
  2034. <title>Description</title>
  2035. <para>
  2036. There is a section in the "Most interesting numbers" which tells who had
  2037. a "dirty mouth" - here you can define which words are considered being
  2038. bad/foul. It is a space separated list of words.
  2039. You can use * like in nick aliases.
  2040. Can not be used in a channel-only context.
  2041. </para>
  2042. </refsect1>
  2043. <refsect1>
  2044. <title>Default</title>
  2045. <para> ass fuck bitch shit scheisse kacke arsch ficker ficken schlampe </para>
  2046. </refsect1>
  2047. </refentry>
  2048. <!-- *** VIOLENTWORDS *** -->
  2049. <refentry id="ViolentWords">
  2050. <refmeta> <refentrytitle>ViolentWords</refentrytitle> </refmeta>
  2051. <refnamediv>
  2052. <refname>ViolentWords</refname>
  2053. <refpurpose>specify words considered to be aggressive/violent</refpurpose>
  2054. </refnamediv>
  2055. <refsynopsisdiv><programlisting>
  2056. <![CDATA[
  2057. <set ViolentWords="slaps beats kick">
  2058. ]]>
  2059. </programlisting></refsynopsisdiv>
  2060. <refsect1>
  2061. <title>Description</title>
  2062. <para>
  2063. There is a section in the "Most interesting numbers" which tells who is
  2064. most "aggressive" - here you can define which words are considered being
  2065. "violent". It is a space separated list of words. You can use * like in
  2066. nick aliases. Can not be used in a channel-only context.
  2067. </para>
  2068. </refsect1>
  2069. <refsect1>
  2070. <title>Default</title>
  2071. <para> slaps beats smacks </para>
  2072. </refsect1>
  2073. </refentry>
  2074. <!-- *** MinQuote *** -->
  2075. <refentry id="MinQuote">
  2076. <refmeta> <refentrytitle>MinQuote</refentrytitle> </refmeta>
  2077. <refnamediv>
  2078. <refname>MinQuote</refname>
  2079. <refpurpose>minimum numbers of letters for a random quote</refpurpose>
  2080. </refnamediv>
  2081. <refsynopsisdiv><programlisting>
  2082. <![CDATA[
  2083. <channel="#channel">
  2084. Logfile = "channel.log"
  2085. Format = "xchat"
  2086. MinQuote = "10"
  2087. </channel>
  2088. <set MinQuote="5">
  2089. ]]>
  2090. </programlisting></refsynopsisdiv>
  2091. <refsect1>
  2092. <title>Description</title>
  2093. <para>
  2094. The random quotes displayed in the "Most Active Nicks" section will be
  2095. picked from a length range. With this option you can change the minimum
  2096. number of letters required for a random quote. Also see the
  2097. <xref linkend="MaxQuote" /> option. Note that pisg will still choose a
  2098. short quote if it cannot find a longer one.
  2099. </para>
  2100. </refsect1>
  2101. <refsect1>
  2102. <title>Default</title>
  2103. <para> 25 </para>
  2104. </refsect1>
  2105. </refentry>
  2106. <!-- *** MaxQuote *** -->
  2107. <refentry id="MaxQuote">
  2108. <refmeta> <refentrytitle>MaxQuote</refentrytitle> </refmeta>
  2109. <refnamediv>
  2110. <refname>MaxQuote</refname>
  2111. <refpurpose>maximum numbers of letters for a random quote</refpurpose>
  2112. </refnamediv>
  2113. <refsynopsisdiv><programlisting>
  2114. <![CDATA[
  2115. <channel="#channel">
  2116. Logfile = "channel.log"
  2117. Format = "xchat"
  2118. MaxQuote = "70"
  2119. </channel>
  2120. <set MaxQuote="100">
  2121. ]]>
  2122. </programlisting></refsynopsisdiv>
  2123. <refsect1>
  2124. <title>Description</title>
  2125. <para>
  2126. The random quotes displayed in the "Most Active Nicks" section will be
  2127. picked from a length range. With this option you can change the maximum
  2128. number of letters required for a random quote. Also see the
  2129. <xref linkend="MinQuote" /> option.
  2130. </para>
  2131. </refsect1>
  2132. <refsect1>
  2133. <title>Default</title>
  2134. <para> 65 </para>
  2135. </refsect1>
  2136. </refentry>
  2137. <!-- *** WORDLENGTH *** -->
  2138. <refentry id="WordLength">
  2139. <refmeta> <refentrytitle>WordLength</refentrytitle> </refmeta>
  2140. <refnamediv>
  2141. <refname>WordLength</refname>
  2142. <refpurpose>minimum number of characters in an interesting word</refpurpose>
  2143. </refnamediv>
  2144. <refsynopsisdiv><programlisting>
  2145. <![CDATA[
  2146. <channel="#channel">
  2147. Logfile = "channel.log"
  2148. Format = "xchat"
  2149. WordLength = "10"
  2150. </channel>
  2151. <set WordLength="2">
  2152. ]]>
  2153. </programlisting></refsynopsisdiv>
  2154. <refsect1>
  2155. <title>Description</title>
  2156. <para>
  2157. The "Most Used Words" section on the stats page display the most used
  2158. words. The default is that a word only appears if it is longer than 5
  2159. characters. With this option you can change that minimum.
  2160. </para>
  2161. </refsect1>
  2162. <refsect1>
  2163. <title>Default</title>
  2164. <para> 5 </para>
  2165. </refsect1>
  2166. </refentry>
  2167. <!-- *** QUOTEWIDTH *** -->
  2168. <refentry id="QuoteWidth">
  2169. <refmeta> <refentrytitle>QuoteWidth</refentrytitle> </refmeta>
  2170. <refnamediv>
  2171. <refname>QuoteWidth</refname>
  2172. <refpurpose>maximum allowed length of a "word" with no spaces</refpurpose>
  2173. </refnamediv>
  2174. <refsynopsisdiv><programlisting>
  2175. <![CDATA[
  2176. <channel="#channel">
  2177. Logfile = "channel.log"
  2178. Format = "xchat"
  2179. QuoteWidth = "48"
  2180. </channel>
  2181. <set QuoteWidth="48">
  2182. ]]>
  2183. </programlisting></refsynopsisdiv>
  2184. <refsect1>
  2185. <title>Description</title>
  2186. <para>
  2187. Pisg will automatically insert a space in words that have a length
  2188. over the amount QuoteWidth is set to. When used in breaking up
  2189. URLs it will insert a space in the displayed URL, but not in the
  2190. actual URL referenced by the HREF.
  2191. </para>
  2192. </refsect1>
  2193. <refsect1>
  2194. <title>Default</title>
  2195. <para> 80</para>
  2196. </refsect1>
  2197. </refentry>
  2198. <!-- *** BIGNUMBERSTHRESHOLD *** -->
  2199. <refentry id="BigNumbersThreshold">
  2200. <refmeta> <refentrytitle>BigNumbersThreshold</refentrytitle> </refmeta>
  2201. <refnamediv>
  2202. <refname>BigNumbersThreshold</refname>
  2203. <refpurpose>Minimum number of lines per user for some "Big Numbers" statistics</refpurpose>
  2204. </refnamediv>
  2205. <refsynopsisdiv><programlisting>
  2206. <![CDATA[
  2207. <channel="#channel">
  2208. Logfile = "channel.log"
  2209. Format = "xchat"
  2210. BigNumbersThreshold = "10"
  2211. </channel>
  2212. <set BigNumbersThreshold="sqrt">
  2213. ]]>
  2214. </programlisting></refsynopsisdiv>
  2215. <refsect1>
  2216. <title>Description</title>
  2217. <para>
  2218. Pisg will ignore users with less than this setting lines in the "questions
  2219. asked", "shouts loudest", "CAPSLOCK", "longest line", "most sad", and "most
  2220. happy" sections. If the setting is "sqrt" (the default), it will be
  2221. dynamically replaced with the square root of the number of lines of the
  2222. most active nick. See also <xref linkend="ShowOnlyTop" />.
  2223. </para>
  2224. </refsect1>
  2225. <refsect1>
  2226. <title>Default</title>
  2227. <para> sqrt </para>
  2228. </refsect1>
  2229. </refentry>
  2230. <!-- *** ACTIVENICKS *** -->
  2231. <refentry id="ActiveNicks">
  2232. <refmeta> <refentrytitle>ActiveNicks</refentrytitle> </refmeta>
  2233. <refnamediv>
  2234. <refname>ActiveNicks</refname>
  2235. <refpurpose>nicks to show in "Most Active Nicks"</refpurpose>
  2236. </refnamediv>
  2237. <refsynopsisdiv><programlisting>
  2238. <![CDATA[
  2239. <channel="#channel">
  2240. Logfile = "channel.log"
  2241. Format = "mIRC"
  2242. ActiveNicks = "50"
  2243. </channel>
  2244. <set ActiveNicks="10">
  2245. ]]>
  2246. </programlisting></refsynopsisdiv>
  2247. <refsect1>
  2248. <title>Description</title>
  2249. <para>
  2250. With this option you can define how many nicks you want to appear in the
  2251. "Most Active Nicks" section on the stats page.
  2252. </para>
  2253. </refsect1>
  2254. <refsect1>
  2255. <title>Default</title>
  2256. <para> 25 </para>
  2257. </refsect1>
  2258. </refentry>
  2259. <!-- *** ACTIVENICKS2 *** -->
  2260. <refentry id="ActiveNicks2">
  2261. <refmeta> <refentrytitle>ActiveNicks2</refentrytitle> </refmeta>
  2262. <refnamediv>
  2263. <refname>ActiveNicks2</refname>
  2264. <refpurpose>nicks to show in "These didn't make it.."</refpurpose>
  2265. </refnamediv>
  2266. <refsynopsisdiv><programlisting>
  2267. <![CDATA[
  2268. <channel="#channel">
  2269. Logfile = "channel.log"
  2270. Format = "mIRC"
  2271. ActiveNicks2 = "25"
  2272. </channel>
  2273. <set ActiveNicks2="10">
  2274. ]]>
  2275. </programlisting></refsynopsisdiv>
  2276. <refsect1>
  2277. <title>Description</title>
  2278. <para>
  2279. With this option you can define how many nicks you want to appear in the
  2280. "These didn't make it" section on the stats page.
  2281. </para>
  2282. </refsect1>
  2283. <refsect1>
  2284. <title>Default</title>
  2285. <para> 30 </para>
  2286. </refsect1>
  2287. </refentry>
  2288. <!-- *** ACTIVENICKSBYHOUR *** -->
  2289. <refentry id="ActiveNicksByHour">
  2290. <refmeta> <refentrytitle>ActiveNicksByHour</refentrytitle> </refmeta>
  2291. <refnamediv>
  2292. <refname>ActiveNicksByHour</refname>
  2293. <refpurpose>number of nicks to show in "Most Active Nicks By Hour"</refpurpose>
  2294. </refnamediv>
  2295. <refsynopsisdiv><programlisting>
  2296. <![CDATA[
  2297. <channel="#channel">
  2298. Logfile = "channel.log"
  2299. Format = "mIRC"
  2300. ActiveNicksByHour = "25"
  2301. </channel>
  2302. <set ActiveNicksByHour="10">
  2303. ]]>
  2304. </programlisting></refsynopsisdiv>
  2305. <refsect1>
  2306. <title>Description</title>
  2307. <para>
  2308. With this option you can define how many nicks you want to appear in the
  2309. "Most Active Nicks By Hour" section on the stats page.
  2310. </para>
  2311. </refsect1>
  2312. <refsect1>
  2313. <title>Default</title>
  2314. <para> 10 </para>
  2315. </refsect1>
  2316. </refentry>
  2317. <!-- *** MOSTNICKSHISTORY *** -->
  2318. <refentry id="MostNicksHistory">
  2319. <refmeta> <refentrytitle>MostNicksHistory</refentrytitle> </refmeta>
  2320. <refnamediv>
  2321. <refname>MostNicksHistory</refname>
  2322. <refpurpose>maximum number of nicks to show in "users with most nicknames"</refpurpose>
  2323. </refnamediv>
  2324. <refsynopsisdiv><programlisting>
  2325. <![CDATA[
  2326. <channel="#channel">
  2327. Logfile = "channel.log"
  2328. Format = "mIRC"
  2329. MostNicksHistory = "2"
  2330. </channel>
  2331. <set MostNicksHistory="10">
  2332. ]]>
  2333. </programlisting></refsynopsisdiv>
  2334. <refsect1>
  2335. <title>Description</title>
  2336. <para>
  2337. With this option you can define how many nicks you want to appear in
  2338. the "Users with most nicknames" section. See also
  2339. <xref linkend="ShowMostNicks" /> and <xref linkend="MostNicksVerbose" />.
  2340. </para>
  2341. </refsect1>
  2342. <refsect1>
  2343. <title>Default</title>
  2344. <para> 5 </para>
  2345. </refsect1>
  2346. </refentry>
  2347. <!-- *** MOSTNICKSVERBOSE *** -->
  2348. <refentry id="MostNicksVerbose">
  2349. <refmeta> <refentrytitle>MostNicksVerbose</refentrytitle> </refmeta>
  2350. <refnamediv>
  2351. <refname>MostNicksVerbose</refname>
  2352. <refpurpose>show nicks used in "most nicks"</refpurpose>
  2353. </refnamediv>
  2354. <refsynopsisdiv><programlisting>
  2355. <![CDATA[
  2356. <channel="#channel">
  2357. Logfile = "channel.log"
  2358. Format = "mIRC"
  2359. MostNicksVerbose = "0"
  2360. </channel>
  2361. <set MostNicksVerbose="1">
  2362. ]]>
  2363. </programlisting></refsynopsisdiv>
  2364. <refsect1>
  2365. <title>Description</title>
  2366. <para>
  2367. By disabling this option you can stop pisg from displaying all the nicks
  2368. a user has had in the "Most used nicks" section.
  2369. See also <xref linkend="ShowMostNicks" />,
  2370. <xref linkend="MostNicksHistory" />, and <xref linkend="NickLimit" />.
  2371. </para>
  2372. </refsect1>
  2373. <refsect1>
  2374. <title>Default</title>
  2375. <para> 1 (enabled) </para>
  2376. </refsect1>
  2377. </refentry>
  2378. <!-- *** TOPICHISTORY *** -->
  2379. <refentry id="TopicHistory">
  2380. <refmeta> <refentrytitle>TopicHistory</refentrytitle> </refmeta>
  2381. <refnamediv>
  2382. <refname>TopicHistory</refname>
  2383. <refpurpose>maximum number of topics to show</refpurpose>
  2384. </refnamediv>
  2385. <refsynopsisdiv><programlisting>
  2386. <![CDATA[
  2387. <channel="#channel">
  2388. Logfile = "channel.log"
  2389. Format = "mIRC"
  2390. TopicHistory = "2"
  2391. </channel>
  2392. <set TopicHistory="10">
  2393. ]]>
  2394. </programlisting></refsynopsisdiv>
  2395. <refsect1>
  2396. <title>Description</title>
  2397. <para>
  2398. With this option you can define how many topics you want to appear in
  2399. the "Latest topics" section.
  2400. </para>
  2401. </refsect1>
  2402. <refsect1>
  2403. <title>Default</title>
  2404. <para> 3 </para>
  2405. </refsect1>
  2406. </refentry>
  2407. <!-- *** URLHISTORY *** -->
  2408. <refentry id="UrlHistory">
  2409. <refmeta> <refentrytitle>UrlHistory</refentrytitle> </refmeta>
  2410. <refnamediv>
  2411. <refname>UrlHistory</refname>
  2412. <refpurpose>maximum number of URLs to show</refpurpose>
  2413. </refnamediv>
  2414. <refsynopsisdiv><programlisting>
  2415. <![CDATA[
  2416. <channel="#channel">
  2417. Logfile = "channel.log"
  2418. Format = "mIRC"
  2419. UrlHistory = "2"
  2420. </channel>
  2421. <set UrlHistory="10">
  2422. ]]>
  2423. </programlisting></refsynopsisdiv>
  2424. <refsect1>
  2425. <title>Description</title>
  2426. <para>
  2427. With this option you can define how many URLs you want to appear in
  2428. the "Most referenced URLs" section. See also <xref linkend="ShowMru" />.
  2429. </para>
  2430. </refsect1>
  2431. <refsect1>
  2432. <title>Default</title>
  2433. <para> 5 </para>
  2434. </refsect1>
  2435. </refentry>
  2436. <!-- *** CHARTSHISTORY *** -->
  2437. <refentry id="ChartsHistory">
  2438. <refmeta> <refentrytitle>ChartsHistory</refentrytitle> </refmeta>
  2439. <refnamediv>
  2440. <refname>ChartsHistory</refname>
  2441. <refpurpose>number of songs to show</refpurpose>
  2442. </refnamediv>
  2443. <refsynopsisdiv><programlisting>
  2444. <![CDATA[
  2445. <channel="#channel">
  2446. Logfile = "channel.log"
  2447. Format = "mIRC"
  2448. ChartsHistory = "10"
  2449. </channel>
  2450. <set ChartsHistory="5">
  2451. ]]>
  2452. </programlisting></refsynopsisdiv>
  2453. <refsect1>
  2454. <title>Description</title>
  2455. <para>
  2456. This option sets the number of songs that will be show in the channel music
  2457. charts. See also <xref linkend="ShowCharts" /> and
  2458. <xref linkend="ChartsRegexp" />.
  2459. </para>
  2460. </refsect1>
  2461. <refsect1>
  2462. <title>Default</title>
  2463. <para> 5 (the Top Five) </para>
  2464. </refsect1>
  2465. </refentry>
  2466. <!-- *** CHARTSREGEXP *** -->
  2467. <refentry id="ChartsRegexp">
  2468. <refmeta> <refentrytitle>ChartsRegexp</refentrytitle> </refmeta>
  2469. <refnamediv>
  2470. <refname>ChartsRegexp</refname>
  2471. <refpurpose>how to recognize songs played</refpurpose>
  2472. </refnamediv>
  2473. <refsynopsisdiv><programlisting>
  2474. <![CDATA[
  2475. <channel="#channel">
  2476. Logfile = "channel.log"
  2477. Format = "mIRC"
  2478. ChartsRegexp = "(?:np:|(?:now )?playing:? (?:MPEG stream from)?)\s*(.*)"
  2479. </channel>
  2480. ]]>
  2481. </programlisting></refsynopsisdiv>
  2482. <refsect1>
  2483. <title>Description</title>
  2484. <para>
  2485. This option is a perl regexp that is used to recognize songs played. Please
  2486. tell the pisg mailing list if you have a better default. The regexp MUST
  2487. contain a single () pair to extract the song name. See also the perlre(1)
  2488. manpage, <xref linkend="ShowCharts" /> and <xref linkend="ChartsHistory" />.
  2489. </para>
  2490. </refsect1>
  2491. <refsect1>
  2492. <title>Default</title>
  2493. <para> "(?:np:|(?:now )?playing:? (?:MPEG stream from)?)\s*(.*)" </para>
  2494. </refsect1>
  2495. </refentry>
  2496. <!-- *** WORDHISTORY *** -->
  2497. <refentry id="WordHistory">
  2498. <refmeta> <refentrytitle>WordHistory</refentrytitle> </refmeta>
  2499. <refnamediv>
  2500. <refname>WordHistory</refname>
  2501. <refpurpose>maximum number of words to show</refpurpose>
  2502. </refnamediv>
  2503. <refsynopsisdiv><programlisting>
  2504. <![CDATA[
  2505. <channel="#channel">
  2506. Logfile = "channel.log"
  2507. Format = "mIRC"
  2508. WordHistory = "5"
  2509. </channel>
  2510. <set WordHistory="15">
  2511. ]]>
  2512. </programlisting></refsynopsisdiv>
  2513. <refsect1>
  2514. <title>Description</title>
  2515. <para>
  2516. With this option you can define how many words you want to appear in
  2517. the "Most used words" section. See also <xref linkend="ShowMuw" />.
  2518. </para>
  2519. </refsect1>
  2520. <refsect1>
  2521. <title>Default</title>
  2522. <para> 10 </para>
  2523. </refsect1>
  2524. </refentry>
  2525. <!-- *** NICKHISTORY *** -->
  2526. <refentry id="NickHistory">
  2527. <refmeta> <refentrytitle>NickHistory</refentrytitle> </refmeta>
  2528. <refnamediv>
  2529. <refname>NickHistory</refname>
  2530. <refpurpose>maximum number of nicks to show in "Most referenced nicks"</refpurpose>
  2531. </refnamediv>
  2532. <refsynopsisdiv><programlisting>
  2533. <![CDATA[
  2534. <channel="#channel">
  2535. logfile = "channel.log"
  2536. format = "mIRC"
  2537. NickHistory = "3"
  2538. </channel>
  2539. <set NickHistory="15">
  2540. ]]>
  2541. </programlisting></refsynopsisdiv>
  2542. <refsect1>
  2543. <title>Description</title>
  2544. <para>
  2545. With this option you can define how many nicks you want to appear in
  2546. the "Most referenced nicks" section. See also <xref linkend="ShowMrn" />.
  2547. </para>
  2548. </refsect1>
  2549. <refsect1>
  2550. <title>Default</title>
  2551. <para> 5 </para>
  2552. </refsect1>
  2553. </refentry>
  2554. <!-- *** SmileyHistory *** -->
  2555. <refentry id="SmileyHistory">
  2556. <refmeta> <refentrytitle>SmileyHistory</refentrytitle> </refmeta>
  2557. <refnamediv>
  2558. <refname>SmileyHistory</refname>
  2559. <refpurpose>maximum number of smileys to show in smiley stats</refpurpose>
  2560. </refnamediv>
  2561. <refsynopsisdiv><programlisting>
  2562. <![CDATA[
  2563. <channel="#channel">
  2564. logfile = "channel.log"
  2565. format = "mIRC"
  2566. SmileyHistory = "3"
  2567. </channel>
  2568. <set SmileyHistory="15">
  2569. ]]>
  2570. </programlisting></refsynopsisdiv>
  2571. <refsect1>
  2572. <title>Description</title>
  2573. <para>
  2574. At most this many smileys will appear in smiley stats.
  2575. See also <xref linkend="ShowSmileys" />.
  2576. </para>
  2577. </refsect1>
  2578. <refsect1>
  2579. <title>Default</title>
  2580. <para> 10 </para>
  2581. </refsect1>
  2582. </refentry>
  2583. <!-- *** KarmaHistory *** -->
  2584. <refentry id="KarmaHistory">
  2585. <refmeta> <refentrytitle>KarmaHistory</refentrytitle> </refmeta>
  2586. <refnamediv>
  2587. <refname>KarmaHistory</refname>
  2588. <refpurpose>maximum number of nicks to show in "Karma"</refpurpose>
  2589. </refnamediv>
  2590. <refsynopsisdiv><programlisting>
  2591. <![CDATA[
  2592. <channel="#channel">
  2593. logfile = "channel.log"
  2594. format = "mIRC"
  2595. KarmaHistory = "3"
  2596. </channel>
  2597. <set KarmaHistory="15">
  2598. ]]>
  2599. </programlisting></refsynopsisdiv>
  2600. <refsect1>
  2601. <title>Description</title>
  2602. <para>
  2603. At most this many nicks will appear in the good and bad karma stats.
  2604. See also <xref linkend="ShowKarma" /> and <xref linkend="NickLimit" />.
  2605. </para>
  2606. </refsect1>
  2607. <refsect1>
  2608. <title>Default</title>
  2609. <para> 5 </para>
  2610. </refsect1>
  2611. </refentry>
  2612. <!-- *** NICKTRACKING *** -->
  2613. <refentry id="NickTracking">
  2614. <refmeta> <refentrytitle>NickTracking</refentrytitle> </refmeta>
  2615. <refnamediv>
  2616. <refname>NickTracking</refname>
  2617. <refpurpose>track nick changes and create aliases</refpurpose>
  2618. </refnamediv>
  2619. <refsynopsisdiv><programlisting>
  2620. <![CDATA[
  2621. <set NickTracking="1">
  2622. ]]>
  2623. </programlisting></refsynopsisdiv>
  2624. <refsect1>
  2625. <title>Description</title>
  2626. <para>
  2627. Enabling this option will track nick changes as well as it can. It will
  2628. then automatically create aliases for these nicks. Useful for
  2629. <xref linkend="ShowMostNicks" /> and other stats.
  2630. Nick tracking does not work for log formats that do not use the nickname
  2631. for the person running the logger, but only show "You" there.
  2632. See <xref linkend="Maintainer" />.
  2633. </para>
  2634. </refsect1>
  2635. <refsect1>
  2636. <title>Default</title>
  2637. <para> 0 (disabled) </para>
  2638. </refsect1>
  2639. </refentry>
  2640. <!-- *** NickLimit *** -->
  2641. <refentry id="NickLimit">
  2642. <refmeta> <refentrytitle>NickLimit</refentrytitle> </refmeta>
  2643. <refnamediv>
  2644. <refname>NickLimit</refname>
  2645. <refpurpose>maximum number of nicks in lists</refpurpose>
  2646. </refnamediv>
  2647. <refsynopsisdiv><programlisting>
  2648. <![CDATA[
  2649. <set NickLimit="0">
  2650. ]]>
  2651. </programlisting></refsynopsisdiv>
  2652. <refsect1>
  2653. <title>Description</title>
  2654. <para>
  2655. This option trims lists of nicks to a maximum length, replacing the rest
  2656. with "...". Setting to 0 disables trimming. Affected are the used nicks in
  2657. the "Users with most nicknames" section, nicks in "Most active genders",
  2658. and nicks in the "Good/bad karma by" columns. See
  2659. <xref linkend="ShowMostNicks" />, <xref linkend="ShowKarma" />, and
  2660. <xref linkend="ShowActiveGenders" />.
  2661. </para>
  2662. </refsect1>
  2663. <refsect1>
  2664. <title>Default</title>
  2665. <para> 10 </para>
  2666. </refsect1>
  2667. </refentry>
  2668. <!-- *** SORTBYWORDS *** -->
  2669. <refentry id="SortByWords">
  2670. <refmeta> <refentrytitle>SortByWords</refentrytitle> </refmeta>
  2671. <refnamediv>
  2672. <refname>SortByWords</refname>
  2673. <refpurpose>sort "most active nicks" by words</refpurpose>
  2674. </refnamediv>
  2675. <refsynopsisdiv><programlisting>
  2676. <![CDATA[
  2677. <channel="#channel">
  2678. logfile = "channel.log"
  2679. format = "xchat"
  2680. SortByWords = "0"
  2681. </channel>
  2682. <set SortByWords="1">
  2683. ]]>
  2684. </programlisting></refsynopsisdiv>
  2685. <refsect1>
  2686. <title>Description</title>
  2687. <para>
  2688. The default for the "Most Active Nicks" section - is to sort users by
  2689. lines. Enabling this will sort it by words instead.
  2690. </para>
  2691. </refsect1>
  2692. <refsect1>
  2693. <title>Default</title>
  2694. <para> 0 (disabled) </para>
  2695. </refsect1>
  2696. </refentry>
  2697. </chapter>
  2698. <chapter id="reference-pictures">
  2699. <title>Picture options</title>
  2700. <!-- *** PICLOCATION *** -->
  2701. <refentry id="PicLocation">
  2702. <refmeta> <refentrytitle>PicLocation</refentrytitle> </refmeta>
  2703. <refnamediv>
  2704. <refname>PicLocation</refname>
  2705. <refpurpose>path to images on stats page</refpurpose>
  2706. </refnamediv>
  2707. <refsynopsisdiv><programlisting>
  2708. <![CDATA[
  2709. <set PicLocation="gfx/">
  2710. ]]>
  2711. </programlisting></refsynopsisdiv>
  2712. <refsect1>
  2713. <title>Description</title>
  2714. <para>
  2715. The location to the pictures used on the stats page - not the user
  2716. pictures but the different bars in "Most Active Times".
  2717. </para>
  2718. </refsect1>
  2719. <refsect1>
  2720. <title>Default</title>
  2721. <para> Current directory </para>
  2722. </refsect1>
  2723. </refentry>
  2724. <!-- *** USERPICS *** -->
  2725. <refentry id="UserPics">
  2726. <refmeta> <refentrytitle>UserPics</refentrytitle> </refmeta>
  2727. <refnamediv>
  2728. <refname>UserPics</refname>
  2729. <refpurpose>number of user pictures per row</refpurpose>
  2730. </refnamediv>
  2731. <refsynopsisdiv><programlisting>
  2732. <![CDATA[
  2733. <channel="#channel">
  2734. Logfile = "channel.log"
  2735. UserPics = "no"
  2736. </channel>
  2737. <set UserPics="3">
  2738. ]]>
  2739. </programlisting></refsynopsisdiv>
  2740. <refsect1>
  2741. <title>Description</title>
  2742. <para>
  2743. <command>UserPics</command> allows you to configure the number of user
  2744. pictures per row. Per default, one picture will be shown. Since pictures
  2745. are usually higher than one line of text, this lets the table grow. With
  2746. settings greater than 1, several pictures will be placed next to each
  2747. other. A good setting would be <command>UserPics</command>=3 and pictures
  2748. of size 60x60. Set <command>UserPics</command> to no or 0 to disable user
  2749. pictures. The latter is useful if you share a user config file between
  2750. channels and want to disable user pictures for some channels.
  2751. </para>
  2752. </refsect1>
  2753. <refsect1>
  2754. <title>Default</title>
  2755. <para> yes (1) </para>
  2756. </refsect1>
  2757. </refentry>
  2758. <!-- *** IMAGEPATH *** -->
  2759. <refentry id="ImagePath">
  2760. <refmeta> <refentrytitle>ImagePath</refentrytitle> </refmeta>
  2761. <refnamediv>
  2762. <refname>ImagePath</refname>
  2763. <refpurpose>path to user pictures (HTML page)</refpurpose>
  2764. </refnamediv>
  2765. <refsynopsisdiv><programlisting>
  2766. <![CDATA[
  2767. <channel="#channel">
  2768. Logfile = "channel.log"
  2769. Format = "mIRC"
  2770. ImagePath = "userpics/"
  2771. </channel>
  2772. <set ImagePath="users/">
  2773. ]]>
  2774. </programlisting></refsynopsisdiv>
  2775. <refsect1>
  2776. <title>Description</title>
  2777. <para>
  2778. <command>ImagePath</command> defines the path to where user
  2779. pictures are located, relative to the HTML page generated. The default is
  2780. that user pictures is located in the same directory as the HTML page.
  2781. </para>
  2782. </refsect1>
  2783. <refsect1>
  2784. <title>Default</title>
  2785. <para> current directory </para>
  2786. </refsect1>
  2787. </refentry>
  2788. <!-- *** DEFAULTPIC *** -->
  2789. <refentry id="DefaultPic">
  2790. <refmeta> <refentrytitle>DefaultPic</refentrytitle> </refmeta>
  2791. <refnamediv>
  2792. <refname>DefaultPic</refname>
  2793. <refpurpose>use a default user picture</refpurpose>
  2794. </refnamediv>
  2795. <refsynopsisdiv><programlisting>
  2796. <![CDATA[
  2797. <channel="#channel">
  2798. Logfile = "channel.log"
  2799. Format = "mIRC"
  2800. DefaultPic = "not_available.jpg"
  2801. </channel>
  2802. <set DefaultPic="unknown.gif">
  2803. ]]>
  2804. </programlisting></refsynopsisdiv>
  2805. <refsect1>
  2806. <title>Description</title>
  2807. <para>
  2808. <command>DefaultPic</command> defines a picture to be displayed for all
  2809. users which have no other picture defined in the <command>user</command>
  2810. element. This is good for showing "No picture available" or something.
  2811. May contain globbing patterns, see <xref linkend="ImageGlobPath" /> below.
  2812. </para>
  2813. </refsect1>
  2814. <refsect1>
  2815. <title>Default</title>
  2816. <para> unset </para>
  2817. </refsect1>
  2818. </refentry>
  2819. <!-- *** IMAGEGLOBPATH *** -->
  2820. <refentry id="ImageGlobPath">
  2821. <refmeta> <refentrytitle>ImageGlobPath</refentrytitle> </refmeta>
  2822. <refnamediv>
  2823. <refname>ImageGlobPath</refname>
  2824. <refpurpose>path to user pictures (output generation)</refpurpose>
  2825. </refnamediv>
  2826. <refsynopsisdiv><programlisting>
  2827. <![CDATA[
  2828. <channel="#channel">
  2829. Logfile = "channel.log"
  2830. Format = "mIRC"
  2831. ImageGlobPath = "users/"
  2832. </channel>
  2833. <set ImageGlobPath="/var/www/pisg/">
  2834. <set DefaultPic="default-??.gif">
  2835. ]]>
  2836. </programlisting></refsynopsisdiv>
  2837. <refsect1>
  2838. <title>Description</title>
  2839. <para>
  2840. <command>ImageGlobPath</command> defines the path to the directory where
  2841. user pictures are located, relative to the current directory. This setting
  2842. is used to choose random pictures if ? or * (globbing characters) are used
  2843. in the picture name. ? matches a single character, * matches a (possibly
  2844. empty) string. The default is the <xref linkend="ImagePath" /> setting.
  2845. (NB: This setting will be different from <xref linkend="ImagePath" /> if
  2846. the latter is not relative to the current directory, e.g. if you are
  2847. writing the HTML file outside of the current directory.)
  2848. </para>
  2849. </refsect1>
  2850. <refsect1>
  2851. <title>Default</title>
  2852. <para> current <xref linkend="ImagePath" /> setting </para>
  2853. </refsect1>
  2854. </refentry>
  2855. <!-- *** PICWIDTH *** -->
  2856. <refentry id="PicWidth">
  2857. <refmeta> <refentrytitle>PicWidth</refentrytitle> </refmeta>
  2858. <refnamediv>
  2859. <refname>PicWidth</refname>
  2860. <refpurpose>define a standard width for user pictures</refpurpose>
  2861. </refnamediv>
  2862. <refsynopsisdiv><programlisting>
  2863. <![CDATA[
  2864. <channel="#channel">
  2865. Logfile = "channel.log"
  2866. Format = "mIRC"
  2867. PicWidth = "500"
  2868. </channel>
  2869. <set PicWidth="500">
  2870. ]]>
  2871. </programlisting></refsynopsisdiv>
  2872. <refsect1>
  2873. <title>Description</title>
  2874. <para>
  2875. <command>PicWidth</command> defines the standard width for user
  2876. pictures. Setting the 'width' attribute of image-elements on the
  2877. outputted stats page. See also <xref linkend="PicHeight" />.
  2878. </para>
  2879. </refsect1>
  2880. <refsect1>
  2881. <title>Default</title>
  2882. <para> unset </para>
  2883. </refsect1>
  2884. </refentry>
  2885. <!-- *** PICHEIGHT *** -->
  2886. <refentry id="PicHeight">
  2887. <refmeta> <refentrytitle>PicHeight</refentrytitle> </refmeta>
  2888. <refnamediv>
  2889. <refname>PicHeight</refname>
  2890. <refpurpose>define a standard height for user pictures</refpurpose>
  2891. </refnamediv>
  2892. <refsynopsisdiv><programlisting>
  2893. <![CDATA[
  2894. <channel="#channel">
  2895. Logfile = "channel.log"
  2896. Format = "mIRC"
  2897. PicHeight = "500"
  2898. </channel>
  2899. <set PicHeight="500">
  2900. ]]>
  2901. </programlisting></refsynopsisdiv>
  2902. <refsect1>
  2903. <title>Description</title>
  2904. <para>
  2905. <command>PicHeight</command> defines the standard height for user
  2906. pictures. Setting the 'height' attribute of image-elements on the
  2907. outputted stats page. See also <xref linkend="PicWidth" />.
  2908. </para>
  2909. </refsect1>
  2910. <refsect1>
  2911. <title>Default</title>
  2912. <para> unset </para>
  2913. </refsect1>
  2914. </refentry>
  2915. </chapter>
  2916. <chapter id="reference-misc">
  2917. <title>Misc options</title>
  2918. <!-- *** CHARSET *** -->
  2919. <refentry id="Charset">
  2920. <refmeta> <refentrytitle>Charset</refentrytitle> </refmeta>
  2921. <refnamediv>
  2922. <refname>Charset</refname>
  2923. <refpurpose>character set to use for stats page</refpurpose>
  2924. </refnamediv>
  2925. <refsynopsisdiv><programlisting>
  2926. <![CDATA[
  2927. <channel="#channel">
  2928. Logfile = "channel.log"
  2929. Format = "xchat"
  2930. Charset = "utf-8"
  2931. </channel>
  2932. <set Charset="iso-8859-15">
  2933. ]]>
  2934. </programlisting></refsynopsisdiv>
  2935. <refsect1>
  2936. <title>Description</title>
  2937. <para>
  2938. The pisg stats page defines a character set in a meta tag, this can be
  2939. used if your country is using a different one than the default. Pisg
  2940. will also use this setting to convert the language templates from
  2941. <xref linkend="LangFile" /> if the language defines a source charset.
  2942. Note: you also have to tell your webserver to transmit the charset to
  2943. the browser. With Apache, use "AddDefaultCharset off" in the server
  2944. config.
  2945. </para>
  2946. </refsect1>
  2947. <refsect1>
  2948. <title>Default</title>
  2949. <para> iso-8859-1 </para>
  2950. </refsect1>
  2951. </refentry>
  2952. <!-- *** LOGCHARSET *** -->
  2953. <refentry id="LogCharset">
  2954. <refmeta> <refentrytitle>LogCharset</refentrytitle> </refmeta>
  2955. <refnamediv>
  2956. <refname>LogCharset</refname>
  2957. <refpurpose>character set for logfiles</refpurpose>
  2958. </refnamediv>
  2959. <refsynopsisdiv><programlisting>
  2960. <![CDATA[
  2961. <channel="#channel">
  2962. Logfile = "channel.log"
  2963. Format = "xchat"
  2964. Charset = "iso-8859-1"
  2965. LogCharset = "utf-8"
  2966. </channel>
  2967. <set Charset="iso-8859-15">
  2968. <set LogCharset="iso-8859-15">
  2969. ]]>
  2970. </programlisting></refsynopsisdiv>
  2971. <refsect1>
  2972. <title>Description</title>
  2973. <para>
  2974. If <command>LogCharset</command> is set and different from
  2975. <xref linkend="Charset" />, pisg will convert the charset using
  2976. Text::Iconv. Using this option slows down log processing.
  2977. </para>
  2978. </refsect1>
  2979. <refsect1>
  2980. <title>Default</title>
  2981. <para> empty (no conversion) </para>
  2982. </refsect1>
  2983. </refentry>
  2984. <!-- *** LOGCHARSETFALLBACK *** -->
  2985. <refentry id="LogCharsetFallback">
  2986. <refmeta> <refentrytitle>LogCharsetFallback</refentrytitle> </refmeta>
  2987. <refnamediv>
  2988. <refname>LogCharsetFallback</refname>
  2989. <refpurpose>fallback character set for logfiles</refpurpose>
  2990. </refnamediv>
  2991. <refsynopsisdiv><programlisting>
  2992. <![CDATA[
  2993. <channel="#channel">
  2994. Logfile = "channel.log"
  2995. Format = "xchat"
  2996. Charset = "utf-8"
  2997. LogCharset = "utf-8"
  2998. LogCharsetFallback = "iso-8859-1"
  2999. </channel>
  3000. <set Charset="utf-8">
  3001. <set LogCharset="utf-8">
  3002. <set LogCharsetFallback="iso-8859-15">
  3003. ]]>
  3004. </programlisting></refsynopsisdiv>
  3005. <refsect1>
  3006. <title>Description</title>
  3007. <para>
  3008. <command>LogCharsetFallback</command> defines a fallback charset for
  3009. the <xref linkend="LogCharset" /> conversion. This is useful if you
  3010. have mixed unicode/iso-8859-* logs. Pisg will first try the conversion
  3011. from <xref linkend="LogCharset" />. If that fails,
  3012. <command>LogCharsetFallback</command> is used. Note that this only works
  3013. for charsets where certain byte sequences are illegal, like UTF-8. (In
  3014. short: <command>LogCharset</command> = utf-8,
  3015. <command>LogCharsetFallback</command> = iso-8859-15 works, the other way
  3016. round does not.)
  3017. </para>
  3018. </refsect1>
  3019. <refsect1>
  3020. <title>Default</title>
  3021. <para> empty (no fallback conversion) </para>
  3022. </refsect1>
  3023. </refentry>
  3024. <!-- *** TIMEOFFSET *** -->
  3025. <refentry id="TimeOffset">
  3026. <refmeta> <refentrytitle>TimeOffset</refentrytitle> </refmeta>
  3027. <refnamediv>
  3028. <refname>TimeOffset</refname>
  3029. <refpurpose>use a different time zone than the local machine</refpurpose>
  3030. </refnamediv>
  3031. <refsynopsisdiv><programlisting>
  3032. <![CDATA[
  3033. <channel="#channel">
  3034. Logfile = "channel.log"
  3035. Format = "mIRC"
  3036. Maintainer = "John"
  3037. TimeOffset = "+5"
  3038. </channel>
  3039. <set TimeOffset="+2">
  3040. ]]>
  3041. </programlisting></refsynopsisdiv>
  3042. <refsect1>
  3043. <title>Description</title>
  3044. <para>
  3045. By default, pisg uses the time of the local machine to display the time
  3046. of the generated stats. Sometimes when you have a shell on an external
  3047. box, and it's in another country, you want to use another time. This is
  3048. accomplished by the <command>TimeOffset</command> command.
  3049. </para>
  3050. </refsect1>
  3051. <refsect1>
  3052. <title>Default</title>
  3053. <para> +0 </para>
  3054. </refsect1>
  3055. </refentry>
  3056. <!-- *** REGEXPALIASES *** -->
  3057. <refentry id="RegexpAliases">
  3058. <refmeta> <refentrytitle>RegexpAliases</refentrytitle> </refmeta>
  3059. <refnamediv>
  3060. <refname>RegexpAliases</refname>
  3061. <refpurpose>use regular expressions in user aliases</refpurpose>
  3062. </refnamediv>
  3063. <refsynopsisdiv><programlisting>
  3064. <![CDATA[
  3065. <user nick="Joe" alias="Joe\d+">
  3066. <set RegexpAliases="1">
  3067. ]]>
  3068. </programlisting></refsynopsisdiv>
  3069. <refsect1>
  3070. <title>Description</title>
  3071. <para>
  3072. Enabling this option will make all aliases in &lt;user&gt; lines be
  3073. parsed as regular expressions; this setting also applies to the
  3074. <xref linkend="IgnoreWords" />, <xref linkend="FoulWords" />, and
  3075. <xref linkend="ViolentWords" /> settings.
  3076. </para>
  3077. </refsect1>
  3078. <refsect1>
  3079. <title>Default</title>
  3080. <para> 0 (disabled) </para>
  3081. </refsect1>
  3082. </refentry>
  3083. <!-- *** LANGFILE *** -->
  3084. <refentry id="LangFile">
  3085. <refmeta> <refentrytitle>LangFile</refentrytitle> </refmeta>
  3086. <refnamediv>
  3087. <refname>LangFile</refname>
  3088. <refpurpose>filename of language file</refpurpose>
  3089. </refnamediv>
  3090. <refsynopsisdiv><programlisting>
  3091. <![CDATA[
  3092. <set LangFile="mylang.txt">
  3093. ]]>
  3094. </programlisting></refsynopsisdiv>
  3095. <refsect1>
  3096. <title>Description</title>
  3097. <para>
  3098. With this option you have an alternative way to define the name and/or
  3099. path to the language file. Usually you don't have to touch this option.
  3100. </para>
  3101. </refsect1>
  3102. <refsect1>
  3103. <title>Default</title>
  3104. <para> lang.txt </para>
  3105. </refsect1>
  3106. </refentry>
  3107. <!-- *** CSSDIR *** -->
  3108. <refentry id="CssDir">
  3109. <refmeta> <refentrytitle>CssDir</refentrytitle> </refmeta>
  3110. <refnamediv>
  3111. <refname>CssDir</refname>
  3112. <refpurpose>path to directory with CSS files</refpurpose>
  3113. </refnamediv>
  3114. <refsynopsisdiv><programlisting>
  3115. <![CDATA[
  3116. <set CssDir="/usr/share/pisg/layout/">
  3117. ]]>
  3118. </programlisting></refsynopsisdiv>
  3119. <refsect1>
  3120. <title>Description</title>
  3121. <para>
  3122. <command>CssDir</command> is used to define the paths to the CSS files
  3123. (the <xref linkend="ColorScheme" />s). Usually you don't
  3124. need to change this. This setting is only used when statically including
  3125. the CSS file.
  3126. </para>
  3127. </refsect1>
  3128. <refsect1>
  3129. <title>Default</title>
  3130. <para> layout/ (in current directory) </para>
  3131. </refsect1>
  3132. </refentry>
  3133. <!-- *** HICELL *** -->
  3134. <refentry id="HiCell">
  3135. <refmeta> <refentrytitle>HiCell, HiCell2</refentrytitle> </refmeta>
  3136. <refnamediv>
  3137. <refname>HiCell, HiCell2</refname>
  3138. <refpurpose>colors for color gradient in most active nicks section</refpurpose>
  3139. </refnamediv>
  3140. <refsynopsisdiv><programlisting>
  3141. <![CDATA[
  3142. <set HiCell="#BABADD" HiCell2="#CCCCCC">
  3143. <set HiCell="">
  3144. ]]>
  3145. </programlisting></refsynopsisdiv>
  3146. <refsect1>
  3147. <title>Description</title>
  3148. <para>
  3149. <command>HiCell</command> and <command>HiCell2</command> define the colors
  3150. to be used for the color gradient in the most active nicks section. They should
  3151. match your <xref linkend="ColorScheme" />. When setting
  3152. <command>HiCell</command> the empty string (""), pisg will not generate a color
  3153. gradient; you might want to use this with <xref linkend="ColorScheme" />="none"
  3154. or <xref linkend="AltColorScheme" />.
  3155. </para>
  3156. </refsect1>
  3157. <refsect1>
  3158. <title>Default</title>
  3159. <para> #BABADD, #CCCCCC </para>
  3160. </refsect1>
  3161. </refentry>
  3162. <!-- *** LOGTYPE *** -->
  3163. <refentry id="LogType">
  3164. <refmeta> <refentrytitle>LogType</refentrytitle> </refmeta>
  3165. <refnamediv>
  3166. <refname>LogType</refname>
  3167. <refpurpose>type of log (not the format of the log)</refpurpose>
  3168. </refnamediv>
  3169. <refsynopsisdiv><programlisting>
  3170. <![CDATA[
  3171. <set LogType="Logfile">
  3172. ]]>
  3173. </programlisting></refsynopsisdiv>
  3174. <refsect1>
  3175. <title>Description</title>
  3176. <para>
  3177. The type of logs kept for your channel. Currently only "Logfile" is
  3178. supported, so you don't need to change this option.
  3179. </para>
  3180. </refsect1>
  3181. <refsect1>
  3182. <title>Default</title>
  3183. <para> Logfile </para>
  3184. </refsect1>
  3185. </refentry>
  3186. <!-- *** STATSDUMP *** -->
  3187. <refentry id="StatsDump">
  3188. <refmeta> <refentrytitle>StatsDump</refentrytitle> </refmeta>
  3189. <refnamediv>
  3190. <refname>StatsDump</refname>
  3191. <refpurpose>dump raw statistics into file</refpurpose>
  3192. </refnamediv>
  3193. <refsynopsisdiv><programlisting>
  3194. <![CDATA[
  3195. <set StatsDump="statsdump">
  3196. ]]>
  3197. </programlisting></refsynopsisdiv>
  3198. <refsect1>
  3199. <title>Description</title>
  3200. <para>
  3201. This option is intended for debugging pisg, but might be useful to process
  3202. the parsed logs with another program. The file contains the %stats and
  3203. %lines hashes in perl's Data::Dumper format.
  3204. </para>
  3205. </refsect1>
  3206. <refsect1>
  3207. <title>Default</title>
  3208. <para> Unset </para>
  3209. </refsect1>
  3210. </refentry>
  3211. </chapter>
  3212. <chapter id="copyright">
  3213. <title>Copyright and License</title>
  3214. <para>
  3215. pisg - Perl IRC Statistics Generator
  3216. </para>
  3217. <para>
  3218. Copyright (C) 2001-2005 Morten Brix Pedersen - &lt;morten at wtf.dk&gt;
  3219. </para>
  3220. <para>
  3221. Copyright (C) 2003-2005 Christoph Berg &lt;cb at df7cb.de&gt;
  3222. </para>
  3223. <para>
  3224. This program is free software; you can redistribute it and/or modify
  3225. it under the terms of the GNU General Public License as published by
  3226. the Free Software Foundation; either version 2 of the License, or
  3227. (at your option) any later version.
  3228. </para>
  3229. <para>
  3230. This program is distributed in the hope that it will be useful,
  3231. but WITHOUT ANY WARRANTY; without even the implied warranty of
  3232. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  3233. GNU General Public License for more details.
  3234. </para>
  3235. <para>
  3236. You should have received a copy of the GNU General Public License
  3237. along with this program; if not, write to the Free Software
  3238. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  3239. </para>
  3240. </chapter>
  3241. </book>