pisg-doc.xml 89 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382
  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 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 <link linkend="Channel">channel</link> 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 channel called <command>#channel</command>, the
  97. logfile pisg will look for is called <command>channel.log</command> and
  98. the format of the logfile will be <command>mIRC</command>. The
  99. 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. <link linkend="ImageGlobPath">ImageGlobPath</link> 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 override 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. <link linkend="ColorScheme">ColorScheme</link> 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.
  360. </para>
  361. </refsect1>
  362. <refsect1>
  363. <title>Default</title>
  364. <para> Unset </para>
  365. </refsect1>
  366. </refentry>
  367. <!-- *** NETWORK *** -->
  368. <refentry id="Network">
  369. <refmeta> <refentrytitle>Network</refentrytitle> </refmeta>
  370. <refnamediv>
  371. <refname>Network</refname>
  372. <refpurpose>the IRC network of the channel</refpurpose>
  373. </refnamediv>
  374. <refsynopsisdiv><programlisting>
  375. <![CDATA[
  376. <channel="#channel">
  377. Logfile = "channel.log"
  378. Format = "eggdrop"
  379. Network = "Undernet"
  380. </channel>
  381. <set Network="Quakenet">
  382. ]]>
  383. </programlisting></refsynopsisdiv>
  384. <refsect1>
  385. <title>Description</title>
  386. <para>
  387. <command>Network</command> is used to set the network which the channel
  388. resides on, this name is displayed on the stats page.
  389. </para>
  390. </refsect1>
  391. <refsect1>
  392. <title>Default</title>
  393. <para> SomeIRCNetwork </para>
  394. </refsect1>
  395. </refentry>
  396. <!-- *** OUTPUTFILE *** -->
  397. <refentry id="OutputFile">
  398. <refmeta> <refentrytitle>OutputFile</refentrytitle> </refmeta>
  399. <refnamediv>
  400. <refname>OutputFile</refname>
  401. <refpurpose>name of the generated HTML page</refpurpose>
  402. </refnamediv>
  403. <refsynopsisdiv><programlisting>
  404. <![CDATA[
  405. <channel="#channel">
  406. Logfile = "channel.log"
  407. Format = "eggdrop"
  408. OutputFile = "mychan.html"
  409. </channel>
  410. <set OutputFile="mychan.html">
  411. ]]>
  412. </programlisting></refsynopsisdiv>
  413. <refsect1>
  414. <title>Description</title>
  415. <para>
  416. <command>OutputFile</command> is used to define the name of the
  417. generated statistics page.
  418. </para>
  419. </refsect1>
  420. <refsect1>
  421. <title>Default</title>
  422. <para> index.html </para>
  423. </refsect1>
  424. </refentry>
  425. <!-- *** OUTPUTTAG *** -->
  426. <refentry id="OutputTag">
  427. <refmeta> <refentrytitle>OutputTag</refentrytitle> </refmeta>
  428. <refnamediv>
  429. <refname>OutputTag</refname>
  430. <refpurpose>tag to insert into OutputFile</refpurpose>
  431. </refnamediv>
  432. <refsynopsisdiv><programlisting>
  433. <![CDATA[
  434. <channel="#channel">
  435. LogDir = "logs/"
  436. Format = "eggdrop"
  437. OutputFile = "mychan%t.html"
  438. OutputTag = "-week"
  439. </channel>
  440. <set OutputTag="-week">
  441. ]]>
  442. </programlisting></refsynopsisdiv>
  443. <refsect1>
  444. <title>Description</title>
  445. <para>
  446. <command>OutputTag</command> specifies a string that will replace
  447. occurrences of "%t" in <link linkend="OutputFile">OutputFile</link>. This option is most
  448. useful when used as a command line switch (-t) to pisg in conjunction with
  449. <link linkend="NFiles">NFiles</link> (-nf). Example:
  450. <programlisting>
  451. <![CDATA[
  452. $ pisg -co pisg.conf
  453. $ pisg -co pisg.conf -nf 8 -t -week
  454. ]]>
  455. </programlisting>
  456. Leaving out the <command>OutputTag</command> settings from the above
  457. pisg.conf snippet, this writes both the full statistics (mychan.html) and
  458. statistics for the last week (mychan-week.html) using the same pisg config
  459. file. (Assuming that there are separate logfiles for each day.)
  460. </para>
  461. </refsect1>
  462. <refsect1>
  463. <title>Default</title>
  464. <para> unset </para>
  465. </refsect1>
  466. </refentry>
  467. <!-- *** LOGFILE *** -->
  468. <refentry id="Logfile">
  469. <refmeta> <refentrytitle>Logfile</refentrytitle> </refmeta>
  470. <refnamediv>
  471. <refname>Logfile</refname>
  472. <refpurpose>name of logfile to parse</refpurpose>
  473. </refnamediv>
  474. <refsynopsisdiv><programlisting>
  475. <![CDATA[
  476. <channel="#channel">
  477. Logfile="/home/foo/eggdrop/logs/mylog.txt"
  478. Format = "eggdrop"
  479. </channel>
  480. <set Logfile="foo.log">
  481. ]]>
  482. </programlisting></refsynopsisdiv>
  483. <refsect1>
  484. <title>Description</title>
  485. <para>
  486. This defines the filename of the logfile to parse for the channel. If
  487. you want to parse a directory full of logfiles, you should use the
  488. <link linkend="LogDir">LogDir</link> option instead. Providing this option multiple
  489. times will parse multiple files in the order the statements appear.
  490. </para>
  491. </refsect1>
  492. <refsect1>
  493. <title>Default</title>
  494. <para> unset </para>
  495. </refsect1>
  496. </refentry>
  497. <!-- *** LOGDIR *** -->
  498. <refentry id="LogDir">
  499. <refmeta> <refentrytitle>LogDir</refentrytitle> </refmeta>
  500. <refnamediv>
  501. <refname>LogDir</refname>
  502. <refpurpose>parse a directory full of logs</refpurpose>
  503. </refnamediv>
  504. <refsynopsisdiv><programlisting>
  505. <![CDATA[
  506. <channel="#channel">
  507. LogDir="/home/foo/eggdrop/logs/"
  508. Format = "eggdrop"
  509. </channel>
  510. <set LogDir="dailylogs/">
  511. ]]>
  512. </programlisting></refsynopsisdiv>
  513. <refsect1>
  514. <title>Description</title>
  515. <para>
  516. When <command>LogDir</command> is defined to valid path to a directory,
  517. then pisg will run through that directory, parse all logfiles in it and
  518. create 1 HTML from it. Useful with for example eggdrop logs. Providing
  519. this option multiple times will parse all the files in multiple
  520. directories in the order the statements appear.
  521. </para>
  522. </refsect1>
  523. <refsect1>
  524. <title>Default</title>
  525. <para> unset </para>
  526. </refsect1>
  527. </refentry>
  528. <!-- *** NFILES *** -->
  529. <refentry id="NFiles">
  530. <refmeta> <refentrytitle>NFiles</refentrytitle> </refmeta>
  531. <refnamediv>
  532. <refname>NFiles</refname>
  533. <refpurpose>parse only the last files in <link linkend="LogDir">LogDir</link></refpurpose>
  534. </refnamediv>
  535. <refsynopsisdiv><programlisting>
  536. <![CDATA[
  537. <channel="#channel">
  538. LogDir="/home/foo/eggdrop/logs/"
  539. NFiles="8"
  540. Format="eggdrop"
  541. </channel>
  542. <set NFiles="8">
  543. ]]>
  544. </programlisting></refsynopsisdiv>
  545. <refsect1>
  546. <title>Description</title>
  547. <para>
  548. When <command>NFiles</command> is set to a positive integer, pisg will
  549. process at most that much files from <link linkend="LogDir">LogDir</link>. Useful to
  550. create statistics that cover the last week or month. Note that if multiple
  551. <link linkend="LogDir">LogDir</link> options are provided, <command>NFiles</command>
  552. refers to the number of files which will be processed from each
  553. <link linkend="LogDir">LogDir</link>
  554. </para>
  555. </refsect1>
  556. <refsect1>
  557. <title>Default</title>
  558. <para> 0 (process all files) </para>
  559. </refsect1>
  560. </refentry>
  561. <!-- *** MAINTAINER *** -->
  562. <refentry id="Maintainer">
  563. <refmeta> <refentrytitle>Maintainer</refentrytitle> </refmeta>
  564. <refnamediv>
  565. <refname>Maintainer</refname>
  566. <refpurpose>name of the maintainer</refpurpose>
  567. </refnamediv>
  568. <refsynopsisdiv><programlisting>
  569. <![CDATA[
  570. <channel="#channel">
  571. Logfile = "channel.log"
  572. Format = "mIRC"
  573. Maintainer = "Benny"
  574. </channel>
  575. <set Maintainer="Benny">
  576. ]]>
  577. </programlisting></refsynopsisdiv>
  578. <refsect1>
  579. <title>Description</title>
  580. <para>
  581. <command>Maintainer</command> is used to define the name of the
  582. maintainer of the statistics page, this can be either the person
  583. generating the stats or the bot/client doing the logging.
  584. The maintainer is displayed in the outputted stats page.
  585. </para>
  586. </refsect1>
  587. <refsect1>
  588. <title>Default</title>
  589. <para> MAINTAINER </para>
  590. </refsect1>
  591. </refentry>
  592. <!-- *** COLORSCHEME *** -->
  593. <refentry id="ColorScheme">
  594. <refmeta> <refentrytitle>ColorScheme</refentrytitle> </refmeta>
  595. <refnamediv>
  596. <refname>ColorScheme</refname>
  597. <refpurpose>use a different color scheme for stats page</refpurpose>
  598. </refnamediv>
  599. <refsynopsisdiv><programlisting>
  600. <![CDATA[
  601. <channel="#channel">
  602. Logfile = "channel.log"
  603. ColorScheme = "darkgalaxy"
  604. Maintainer = "John"
  605. </channel>
  606. <set ColorScheme="default">
  607. ]]>
  608. </programlisting></refsynopsisdiv>
  609. <refsect1>
  610. <title>Description</title>
  611. <para>
  612. <command>ColorScheme</command> is used to define the color scheme used
  613. for the statistics page. Actually it's the CSS file being included.
  614. CSS files distributed with pisg are: darkgalaxy, darkred, default,
  615. justgrey, ocean, orange_grey, pisg, softgreen (omit the .css). The file
  616. will be included statically in the generated HTML page. If you give a file
  617. name or URL (i.e. a color scheme name with .css or a path), the file will
  618. be linked to instead. Using "none" will cause pisg to write only the body
  619. of the page; use this to include the statistics into a custom page. See
  620. also <link linkend="CssDir">CssDir</link>,
  621. <link linkend="HiCell">HiCell/HiCell2</link>.
  622. </para>
  623. </refsect1>
  624. <refsect1>
  625. <title>Default</title>
  626. <para> default </para>
  627. </refsect1>
  628. </refentry>
  629. <!-- *** LANG *** -->
  630. <refentry id="Lang">
  631. <refmeta> <refentrytitle>Lang</refentrytitle> </refmeta>
  632. <refnamediv>
  633. <refname>Lang</refname>
  634. <refpurpose>define the language / translation to use</refpurpose>
  635. </refnamediv>
  636. <refsynopsisdiv><programlisting>
  637. <![CDATA[
  638. <channel="#channel">
  639. Logfile = "channel.log"
  640. Format = "mIRC"
  641. Lang = "DE"
  642. </channel>
  643. <set Lang="FR">
  644. ]]>
  645. </programlisting></refsynopsisdiv>
  646. <refsect1>
  647. <title>Description</title>
  648. <para>
  649. <command>Lang</command> defines the language to use for the stats.
  650. Currently, lang.txt includes:
  651. EN (English),
  652. BG (Bulgarian),
  653. CA (Catalan),
  654. CZ (Czech),
  655. DA (Danish),
  656. DE (German),
  657. EE (Estonian),
  658. ES (Spanish),
  659. FI (Finnish),
  660. FR (French),
  661. GR (Greek),
  662. HE (Hebrew),
  663. HU (Hungarian),
  664. IS (Icelandic),
  665. IT (Italian),
  666. NL (Dutch),
  667. NO (Norwegian),
  668. PL (Polish),
  669. PT (Portuguese),
  670. PT-BR (Portuguese/Brazil),
  671. RO (Romanian),
  672. RU (Russian),
  673. SE (Swedish),
  674. SI (Slovenian),
  675. SK (Slovak),
  676. SQ (Albanian),
  677. TR (Turkish),
  678. YU (Serbian).
  679. See also <link linkend="LangFile">LangFile</link>.
  680. </para>
  681. </refsect1>
  682. <refsect1>
  683. <title>Default</title>
  684. <para> EN (English) </para>
  685. </refsect1>
  686. </refentry>
  687. <!-- *** PAGEHEAD *** -->
  688. <refentry id="PageHead">
  689. <refmeta> <refentrytitle>PageHead</refentrytitle> </refmeta>
  690. <refnamediv>
  691. <refname>PageHead</refname>
  692. <refpurpose>define a file as page header</refpurpose>
  693. </refnamediv>
  694. <refsynopsisdiv><programlisting>
  695. <![CDATA[
  696. <channel="#channel">
  697. Logfile = "channel.log"
  698. Format = "mIRC"
  699. OutputFile = "stats.html"
  700. PageHead = "myheader.txt"
  701. </channel>
  702. <set PageHead="someheader.txt">
  703. ]]>
  704. </programlisting></refsynopsisdiv>
  705. <refsect1>
  706. <title>Description</title>
  707. <para>
  708. <command>PageHead</command> is used to include a file in the stats page,
  709. for example an introduction text, a link to an image or a banner. The
  710. file can hold anything, it will be included raw in the stats page -
  711. so HTML should be preferred. The file will be included in the top of
  712. the page. This option is the opposite of <link linkend="PageFoot">PageFoot</link>.
  713. </para>
  714. </refsect1>
  715. <refsect1>
  716. <title>Default</title>
  717. <para> none </para>
  718. </refsect1>
  719. </refentry>
  720. <!-- *** PAGEFOOT *** -->
  721. <refentry id="PageFoot">
  722. <refmeta> <refentrytitle>PageFoot</refentrytitle> </refmeta>
  723. <refnamediv>
  724. <refname>PageFoot</refname>
  725. <refpurpose>define a file as page footer</refpurpose>
  726. </refnamediv>
  727. <refsynopsisdiv><programlisting>
  728. <![CDATA[
  729. <channel="#channel">
  730. Logfile = "channel.log"
  731. Format = "mIRC"
  732. outputfile = "stats.html"
  733. PageFoot = "myfooter.txt"
  734. </channel>
  735. <set PageFoot="somefooter.txt">
  736. ]]>
  737. </programlisting></refsynopsisdiv>
  738. <refsect1>
  739. <title>Description</title>
  740. <para>
  741. <command>PageFoot</command> is used to include a file in the stats page,
  742. for example an introduction text, a link to an image or a banner. The
  743. file can hold anything, it will be included raw in the stats page -
  744. so HTML should be preferred. The file will be included in the bottom of
  745. the page. This option is the opposite of <link linkend="PageHead">PageHead</link>.
  746. </para>
  747. </refsect1>
  748. <refsect1>
  749. <title>Default</title>
  750. <para> none </para>
  751. </refsect1>
  752. </refentry>
  753. <!-- *** LogPrefix *** -->
  754. <refentry id="LogPrefix">
  755. <refmeta> <refentrytitle>LogPrefix</refentrytitle> </refmeta>
  756. <refnamediv>
  757. <refname>LogPrefix</refname>
  758. <refpurpose>only parse logs LogPrefixed with a user defined string</refpurpose>
  759. </refnamediv>
  760. <refsynopsisdiv><programlisting>
  761. <![CDATA[
  762. <channel="#channel">
  763. LogDir="/home/foo/eggdrop/logs/"
  764. Format = "eggdrop"
  765. LogPrefix = "logjun"
  766. </channel>
  767. <set LogPrefix="logjanuary">
  768. ]]>
  769. </programlisting></refsynopsisdiv>
  770. <refsect1>
  771. <title>Description</title>
  772. <para>
  773. When using the <link linkend="LogDir">LogDir</link> option and you only want to use
  774. a slew of the files in it, you can have pisg choose only files which are
  775. prefixed with a special string.
  776. </para>
  777. </refsect1>
  778. <refsect1>
  779. <title>Default</title>
  780. <para> unset </para>
  781. </refsect1>
  782. </refentry>
  783. <!-- *** LOGSUFFIX *** -->
  784. <refentry id="LogSuffix">
  785. <refmeta> <refentrytitle>LogSuffix</refentrytitle> </refmeta>
  786. <refnamediv>
  787. <refname>LogSuffix</refname>
  788. <refpurpose>Regexp to sort logfiles by format month||day||year</refpurpose>
  789. </refnamediv>
  790. <refsynopsisdiv><programlisting>
  791. <![CDATA[
  792. <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)">
  793. ]]>
  794. </programlisting></refsynopsisdiv>
  795. <refsect1>
  796. <title>Description</title>
  797. <para>
  798. <command>LogSuffix</command> is used to define the suffix of a logfile,
  799. it only works when <link linkend="LogDir">LogDir</link> is defined. The example in
  800. the synopsis is for the eggdrop bots default format.
  801. </para>
  802. </refsect1>
  803. <refsect1>
  804. <title>Default</title>
  805. <para> Unset </para>
  806. </refsect1>
  807. </refentry>
  808. <!-- *** SILENT *** -->
  809. <refentry id="Silent">
  810. <refmeta> <refentrytitle>Silent</refentrytitle> </refmeta>
  811. <refnamediv>
  812. <refname>Silent</refname>
  813. <refpurpose>make pisg silent, suppress messages</refpurpose>
  814. </refnamediv>
  815. <refsynopsisdiv><programlisting>
  816. <![CDATA[
  817. <set Silent="1">
  818. ]]>
  819. </programlisting></refsynopsisdiv>
  820. <refsect1>
  821. <title>Description</title>
  822. <para>
  823. This option is useful mainly from command line when invoking pisg with
  824. <command>--silent 1</command>. But it can also used in the configuration
  825. file. It will suppress all standard output from pisg. Error messages
  826. will still be sent.
  827. </para>
  828. </refsect1>
  829. <refsect1>
  830. <title>Default</title>
  831. <para> 0 (disabled) </para>
  832. </refsect1>
  833. </refentry>
  834. </chapter>
  835. <chapter id="reference-stats">
  836. <title>Options for various statistics features</title>
  837. <!-- *** SHOWACTIVETIMES *** -->
  838. <refentry id="ShowActiveTimes">
  839. <refmeta> <refentrytitle>ShowActiveTimes</refentrytitle> </refmeta>
  840. <refnamediv>
  841. <refname>ShowActiveTimes</refname>
  842. <refpurpose>enable/disable "Most Active Times"</refpurpose>
  843. </refnamediv>
  844. <refsynopsisdiv><programlisting>
  845. <![CDATA[
  846. <channel="#channel">
  847. Logfile = "channel.log"
  848. Format = "xchat"
  849. ShowActiveTimes = "0"
  850. </channel>
  851. <set ShowActiveTimes="1">
  852. ]]>
  853. </programlisting></refsynopsisdiv>
  854. <refsect1>
  855. <title>Description</title>
  856. <para>
  857. With this option you can disable the "Most Active Times" section on the
  858. stats page. It will simply disappear when specifying 0.
  859. </para>
  860. </refsect1>
  861. <refsect1>
  862. <title>Default</title>
  863. <para> 1 (enabled) </para>
  864. </refsect1>
  865. </refentry>
  866. <!-- *** SHOWACTIVENICKS *** -->
  867. <refentry id="ShowActiveNicks">
  868. <refmeta> <refentrytitle>ShowActiveNicks</refentrytitle> </refmeta>
  869. <refnamediv>
  870. <refname>ShowActiveNicks</refname>
  871. <refpurpose>enable/disable "Most Active Nicks"</refpurpose>
  872. </refnamediv>
  873. <refsynopsisdiv><programlisting>
  874. <![CDATA[
  875. <channel="#channel">
  876. Logfile = "channel.log"
  877. Format = "xchat"
  878. ShowActiveNicks = "0"
  879. </channel>
  880. <set ShowActiveNicks="1">
  881. ]]>
  882. </programlisting></refsynopsisdiv>
  883. <refsect1>
  884. <title>Description</title>
  885. <para>
  886. With this option you can disable the "Most Active Nicks" section on the
  887. stats page.
  888. </para>
  889. </refsect1>
  890. <refsect1>
  891. <title>Default</title>
  892. <para> 1 (enabled) </para>
  893. </refsect1>
  894. </refentry>
  895. <!-- *** SHOWBIGNUMBERS *** -->
  896. <refentry id="ShowBigNumbers">
  897. <refmeta> <refentrytitle>ShowBigNumbers</refentrytitle> </refmeta>
  898. <refnamediv>
  899. <refname>ShowBigNumbers</refname>
  900. <refpurpose>enable/disable "Big Numbers" sections</refpurpose>
  901. </refnamediv>
  902. <refsynopsisdiv><programlisting>
  903. <![CDATA[
  904. <channel="#channel">
  905. Logfile = "channel.log"
  906. Format = "xchat"
  907. ShowBigNumbers = "0"
  908. </channel>
  909. <set ShowBigNumbers="1">
  910. ]]>
  911. </programlisting></refsynopsisdiv>
  912. <refsect1>
  913. <title>Description</title>
  914. <para>
  915. With this option you can disable the "Big Numbers" and "Other
  916. Interesting numbers" sections on the stats page. They will simply
  917. disappear when specifying 0.
  918. </para>
  919. </refsect1>
  920. <refsect1>
  921. <title>Default</title>
  922. <para> 1 (enabled) </para>
  923. </refsect1>
  924. </refentry>
  925. <!-- *** SHOWTOPICS *** -->
  926. <refentry id="ShowTopics">
  927. <refmeta> <refentrytitle>ShowTopics</refentrytitle> </refmeta>
  928. <refnamediv>
  929. <refname>ShowTopics</refname>
  930. <refpurpose>enable/disable "Latest topics" sections</refpurpose>
  931. </refnamediv>
  932. <refsynopsisdiv><programlisting>
  933. <![CDATA[
  934. <channel="#channel">
  935. Logfile = "channel.log"
  936. Format = "xchat"
  937. ShowTopics = "0"
  938. </channel>
  939. <set ShowTopics="1">
  940. ]]>
  941. </programlisting></refsynopsisdiv>
  942. <refsect1>
  943. <title>Description</title>
  944. <para>
  945. With this option you can disable the "Latest topics" section on the
  946. stats page. It will simply disappear when specifying 0.
  947. </para>
  948. </refsect1>
  949. <refsect1>
  950. <title>Default</title>
  951. <para> 1 (enabled) </para>
  952. </refsect1>
  953. </refentry>
  954. <!-- *** SHOWLINES *** -->
  955. <refentry id="ShowLines">
  956. <refmeta> <refentrytitle>ShowLines</refentrytitle> </refmeta>
  957. <refnamediv>
  958. <refname>ShowLines</refname>
  959. <refpurpose>enable/disable "words per line"</refpurpose>
  960. </refnamediv>
  961. <refsynopsisdiv><programlisting>
  962. <![CDATA[
  963. <channel="#channel">
  964. Logfile = "channel.log"
  965. Format = "xchat"
  966. ShowLines = "0"
  967. </channel>
  968. <set ShowLines="1">
  969. ]]>
  970. </programlisting></refsynopsisdiv>
  971. <refsect1>
  972. <title>Description</title>
  973. <para>
  974. The default behaviour is to add a column to the "Most Active Nicks"
  975. section displaying the number of lines a user wrote. With this option it
  976. can be disabled.
  977. </para>
  978. </refsect1>
  979. <refsect1>
  980. <title>Default</title>
  981. <para> 1 (enabled) </para>
  982. </refsect1>
  983. </refentry>
  984. <!-- *** SHOWWPL *** -->
  985. <refentry id="ShowWpl">
  986. <refmeta> <refentrytitle>ShowWpl</refentrytitle> </refmeta>
  987. <refnamediv>
  988. <refname>ShowWpl</refname>
  989. <refpurpose>enable/disable "words per line"</refpurpose>
  990. </refnamediv>
  991. <refsynopsisdiv><programlisting>
  992. <![CDATA[
  993. <channel="#channel">
  994. Logfile = "channel.log"
  995. Format = "xchat"
  996. ShowWpl = "0"
  997. </channel>
  998. <set ShowWpl="1">
  999. ]]>
  1000. </programlisting></refsynopsisdiv>
  1001. <refsect1>
  1002. <title>Description</title>
  1003. <para>
  1004. With this option you can enable the "words per line" column in the
  1005. "Most Active Nicks" section. It will add a column describing the average
  1006. words per line for a person.
  1007. </para>
  1008. </refsect1>
  1009. <refsect1>
  1010. <title>Default</title>
  1011. <para> 0 (disabled) </para>
  1012. </refsect1>
  1013. </refentry>
  1014. <!-- *** SHOWCPL *** -->
  1015. <refentry id="ShowCpl">
  1016. <refmeta> <refentrytitle>ShowCpl</refentrytitle> </refmeta>
  1017. <refnamediv>
  1018. <refname>ShowCpl</refname>
  1019. <refpurpose>enable/disable "characters per line"</refpurpose>
  1020. </refnamediv>
  1021. <refsynopsisdiv><programlisting>
  1022. <![CDATA[
  1023. <channel="#channel">
  1024. Logfile = "channel.log"
  1025. Format = "xchat"
  1026. ShowCpl = "0"
  1027. </channel>
  1028. <set ShowCpl="1">
  1029. ]]>
  1030. </programlisting></refsynopsisdiv>
  1031. <refsect1>
  1032. <title>Description</title>
  1033. <para>
  1034. With this option you can enable the "characters per line" column in the
  1035. "Most Active Nicks" section. It will add a column describing the average
  1036. number of characters per line for a person.
  1037. </para>
  1038. </refsect1>
  1039. <refsect1>
  1040. <title>Default</title>
  1041. <para> 0 (disabled) </para>
  1042. </refsect1>
  1043. </refentry>
  1044. <!-- *** SHOWWORDS *** -->
  1045. <refentry id="ShowWords">
  1046. <refmeta> <refentrytitle>ShowWords</refentrytitle> </refmeta>
  1047. <refnamediv>
  1048. <refname>ShowWords</refname>
  1049. <refpurpose>enable/disable "number of words"</refpurpose>
  1050. </refnamediv>
  1051. <refsynopsisdiv><programlisting>
  1052. <![CDATA[
  1053. <channel="#channel">
  1054. Logfile = "channel.log"
  1055. Format = "xchat"
  1056. ShowWords = "0"
  1057. </channel>
  1058. <set ShowWords="1">
  1059. ]]>
  1060. </programlisting></refsynopsisdiv>
  1061. <refsect1>
  1062. <title>Description</title>
  1063. <para>
  1064. The <command>ShowWords</command> option adds a column to the "Most
  1065. Active Nicks" list which list the total number of words a user has
  1066. typed.
  1067. </para>
  1068. </refsect1>
  1069. <refsect1>
  1070. <title>Default</title>
  1071. <para> 0 (disabled) </para>
  1072. </refsect1>
  1073. </refentry>
  1074. <!-- *** ShowLastSeen *** -->
  1075. <refentry id="ShowLastSeen">
  1076. <refmeta> <refentrytitle>ShowLastSeen</refentrytitle> </refmeta>
  1077. <refnamediv>
  1078. <refname>ShowLastSeen</refname>
  1079. <refpurpose>show when a user was last seen on a channel</refpurpose>
  1080. </refnamediv>
  1081. <refsynopsisdiv><programlisting>
  1082. <![CDATA[
  1083. <channel="#channel">
  1084. Logfile = "channel.log"
  1085. Format = "xchat"
  1086. ShowLastSeen = "0"
  1087. </channel>
  1088. <set ShowLastSeen="1">
  1089. ]]>
  1090. </programlisting></refsynopsisdiv>
  1091. <refsect1>
  1092. <title>Description</title>
  1093. <para>
  1094. With this option enabled, a column will be added to the "Most Active
  1095. Nicks" section to display when a user was last seen. E.g. "2 days ago".
  1096. </para>
  1097. </refsect1>
  1098. <refsect1>
  1099. <title>Default</title>
  1100. <para> 0 (disabled) </para>
  1101. </refsect1>
  1102. </refentry>
  1103. <!-- *** SHOWTIME *** -->
  1104. <refentry id="ShowTime">
  1105. <refmeta> <refentrytitle>ShowTime</refentrytitle> </refmeta>
  1106. <refnamediv>
  1107. <refname>ShowTime</refname>
  1108. <refpurpose>show when a nick was active</refpurpose>
  1109. </refnamediv>
  1110. <refsynopsisdiv><programlisting>
  1111. <![CDATA[
  1112. <channel="#channel">
  1113. Logfile = "channel.log"
  1114. Format = "xchat"
  1115. ShowTime = "0"
  1116. </channel>
  1117. <set ShowTime="1">
  1118. ]]>
  1119. </programlisting></refsynopsisdiv>
  1120. <refsect1>
  1121. <title>Description</title>
  1122. <para>
  1123. The default behaviour is to add a column to the "Most Active Nicks"
  1124. section displaying a fancy time bar to show when a user was active. With
  1125. this option it can be disabled.
  1126. </para>
  1127. </refsect1>
  1128. <refsect1>
  1129. <title>Default</title>
  1130. <para> 1 (enabled) </para>
  1131. </refsect1>
  1132. </refentry>
  1133. <!-- *** SHOWLINETIME *** -->
  1134. <refentry id="ShowLineTime">
  1135. <refmeta> <refentrytitle>ShowLineTime</refentrytitle> </refmeta>
  1136. <refnamediv>
  1137. <refname>ShowLineTime</refname>
  1138. <refpurpose>mIRCStats like behaviour of time bar</refpurpose>
  1139. </refnamediv>
  1140. <refsynopsisdiv><programlisting>
  1141. <![CDATA[
  1142. <channel="#channel">
  1143. Logfile = "channel.log"
  1144. Format = "bobot"
  1145. ShowLineTime = "0"
  1146. </channel>
  1147. <set ShowLineTime="1">
  1148. ]]>
  1149. </programlisting></refsynopsisdiv>
  1150. <refsect1>
  1151. <title>Description</title>
  1152. <para>
  1153. The default behaviour is to add a column to the "Most Active Nicks"
  1154. section displaying a fancy time bar to show when a user was active.
  1155. With this option it can be done the same way as mIRCStats does it; that
  1156. is, by putting that time bar next to the number of lines, in the same
  1157. column.
  1158. </para>
  1159. </refsect1>
  1160. <refsect1>
  1161. <title>Default</title>
  1162. <para> 0 (disabled) </para>
  1163. </refsect1>
  1164. </refentry>
  1165. <!-- *** SHOWWORDTIME *** -->
  1166. <refentry id="ShowWordTime">
  1167. <refmeta> <refentrytitle>ShowWordTime</refentrytitle> </refmeta>
  1168. <refnamediv>
  1169. <refname>ShowWordTime</refname>
  1170. <refpurpose>ShowLineTime like behavior of words column</refpurpose>
  1171. </refnamediv>
  1172. <refsynopsisdiv><programlisting>
  1173. <![CDATA[
  1174. <channel="#channel">
  1175. Logfile = "channel.log"
  1176. Format = "bobot"
  1177. ShowWordTime = "0"
  1178. </channel>
  1179. <set ShowWordTime="1">
  1180. ]]>
  1181. </programlisting></refsynopsisdiv>
  1182. <refsect1>
  1183. <title>Description</title>
  1184. <para>
  1185. The default behaviour is to add a column to the "Most Active Nicks"
  1186. section displaying a fancy time bar to show when a user was active.
  1187. With this option it can be done similarly to mIRCStats does it and like
  1188. the ShowLineTime option, but using words instead of lines; that is, by
  1189. putting that time bar next to the number of words, in the same column.
  1190. </para>
  1191. </refsect1>
  1192. <refsect1>
  1193. <title>Default</title>
  1194. <para> 0 (disabled) </para>
  1195. </refsect1>
  1196. </refentry>
  1197. <!-- *** SHOWRANDQUOTE *** -->
  1198. <refentry id="ShowRandQuote">
  1199. <refmeta> <refentrytitle>ShowRandQuote</refentrytitle> </refmeta>
  1200. <refnamediv>
  1201. <refname>ShowRandQuote</refname>
  1202. <refpurpose>enable or disable the random quotes</refpurpose>
  1203. </refnamediv>
  1204. <refsynopsisdiv><programlisting>
  1205. <![CDATA[
  1206. <channel="#channel">
  1207. Logfile = "channel.log"
  1208. Format = "bobot"
  1209. ShowRandQuote = "0"
  1210. </channel>
  1211. <set ShowRandQuote="1">
  1212. ]]>
  1213. </programlisting></refsynopsisdiv>
  1214. <refsect1>
  1215. <title>Description</title>
  1216. <para>
  1217. The default behaviour is to add a column to the "Most Active Nicks"
  1218. section displaying a users random quote. With this option it can be
  1219. disabled.
  1220. </para>
  1221. </refsect1>
  1222. <refsect1>
  1223. <title>Default</title>
  1224. <para> 1 (enabled) </para>
  1225. </refsect1>
  1226. </refentry>
  1227. <!-- *** SHOWLEGEND *** -->
  1228. <refentry id="ShowLegend">
  1229. <refmeta> <refentrytitle>ShowLegend</refentrytitle> </refmeta>
  1230. <refnamediv>
  1231. <refname>ShowLegend</refname>
  1232. <refpurpose>enable or disable the legend of the time bars</refpurpose>
  1233. </refnamediv>
  1234. <refsynopsisdiv><programlisting>
  1235. <![CDATA[
  1236. <channel="#channel">
  1237. Logfile = "channel.log"
  1238. Format = "bobot"
  1239. ShowLegend = "0"
  1240. </channel>
  1241. <set ShowLegend="1">
  1242. ]]>
  1243. </programlisting></refsynopsisdiv>
  1244. <refsect1>
  1245. <title>Description</title>
  1246. <para>
  1247. By default, pisg shows a legend below the "Most Active Times" displaying
  1248. what the different colors means. With this option it can be disabled.
  1249. </para>
  1250. </refsect1>
  1251. <refsect1>
  1252. <title>Default</title>
  1253. <para> 1 (enabled) </para>
  1254. </refsect1>
  1255. </refentry>
  1256. <!-- *** SHOWKICKLINE *** -->
  1257. <refentry id="ShowKickLine">
  1258. <refmeta> <refentrytitle>ShowKickLine</refentrytitle> </refmeta>
  1259. <refnamediv>
  1260. <refname>ShowKickLine</refname>
  1261. <refpurpose>enable or disable the kick line</refpurpose>
  1262. </refnamediv>
  1263. <refsynopsisdiv><programlisting>
  1264. <![CDATA[
  1265. <channel="#channel">
  1266. Logfile = "channel.log"
  1267. Format = "bobot"
  1268. ShowKickLine = "0"
  1269. </channel>
  1270. <set ShowKickLine="1">
  1271. ]]>
  1272. </programlisting></refsynopsisdiv>
  1273. <refsect1>
  1274. <title>Description</title>
  1275. <para>
  1276. By default, pisg shows an example kick line in the "Most kicked"-stats.
  1277. With this option it can be disabled.
  1278. </para>
  1279. </refsect1>
  1280. <refsect1>
  1281. <title>Default</title>
  1282. <para> 1 (enabled) </para>
  1283. </refsect1>
  1284. </refentry>
  1285. <!-- *** SHOWACTIONLINE *** -->
  1286. <refentry id="ShowActionLine">
  1287. <refmeta> <refentrytitle>ShowActionLine</refentrytitle> </refmeta>
  1288. <refnamediv>
  1289. <refname>ShowActionLine</refname>
  1290. <refpurpose>enable or disable the action line</refpurpose>
  1291. </refnamediv>
  1292. <refsynopsisdiv><programlisting>
  1293. <![CDATA[
  1294. <channel="#channel">
  1295. Logfile = "channel.log"
  1296. Format = "bobot"
  1297. ShowActionLine = "0"
  1298. </channel>
  1299. <set ShowActionLine="1">
  1300. ]]>
  1301. </programlisting></refsynopsisdiv>
  1302. <refsect1>
  1303. <title>Description</title>
  1304. <para>
  1305. By default, pisg shows an example action line in the "Most actions"-stats.
  1306. With this option it can be disabled.
  1307. </para>
  1308. </refsect1>
  1309. <refsect1>
  1310. <title>Default</title>
  1311. <para> 1 (enabled) </para>
  1312. </refsect1>
  1313. </refentry>
  1314. <!-- *** SHOWSHOUTLINE *** -->
  1315. <refentry id="ShowShoutLine">
  1316. <refmeta> <refentrytitle>ShowShoutLine</refentrytitle> </refmeta>
  1317. <refnamediv>
  1318. <refname>ShowShoutLine</refname>
  1319. <refpurpose>enable or disable the shout line</refpurpose>
  1320. </refnamediv>
  1321. <refsynopsisdiv><programlisting>
  1322. <![CDATA[
  1323. <channel="#channel">
  1324. Logfile = "channel.log"
  1325. Format = "bobot"
  1326. ShowShoutLine = "0"
  1327. </channel>
  1328. <set ShowShoutLine="1">
  1329. ]]>
  1330. </programlisting></refsynopsisdiv>
  1331. <refsect1>
  1332. <title>Description</title>
  1333. <para>
  1334. By default, pisg shows an example shout line in the "Most shouting
  1335. people"-stats. With this option it can be disabled.
  1336. </para>
  1337. </refsect1>
  1338. <refsect1>
  1339. <title>Default</title>
  1340. <para> 1 (enabled) </para>
  1341. </refsect1>
  1342. </refentry>
  1343. <!-- *** SHOWFOULDECIMALS *** -->
  1344. <refentry id="ShowFoulDecimals">
  1345. <refmeta> <refentrytitle>ShowFoulDecimals</refentrytitle> </refmeta>
  1346. <refnamediv>
  1347. <refname>ShowFoulDecimals</refname>
  1348. <refpurpose>set how many decimals to show</refpurpose>
  1349. </refnamediv>
  1350. <refsynopsisdiv><programlisting>
  1351. <![CDATA[
  1352. <channel="#channel">
  1353. Logfile = "channel.log"
  1354. Format = "bobot"
  1355. ShowFoulDecimals = "2"
  1356. </channel>
  1357. <set ShowFoulDecimals="1">
  1358. ]]>
  1359. </programlisting></refsynopsisdiv>
  1360. <refsect1>
  1361. <title>Description</title>
  1362. <para>
  1363. By default, pisg uses 1 decimal. With this option you could change
  1364. it to whatever you like. Negative is treated as the default value.
  1365. </para>
  1366. </refsect1>
  1367. <refsect1>
  1368. <title>Default</title>
  1369. <para> 1 decimal </para>
  1370. </refsect1>
  1371. </refentry>
  1372. <!-- *** SHOWFOULLINE *** -->
  1373. <refentry id="ShowFoulLine">
  1374. <refmeta> <refentrytitle>ShowFoulLine</refentrytitle> </refmeta>
  1375. <refnamediv>
  1376. <refname>ShowFoulLine</refname>
  1377. <refpurpose>enable or disable the foul line</refpurpose>
  1378. </refnamediv>
  1379. <refsynopsisdiv><programlisting>
  1380. <![CDATA[
  1381. <channel="#channel">
  1382. Logfile = "channel.log"
  1383. Format = "bobot"
  1384. ShowFoulLine = "0"
  1385. </channel>
  1386. <set ShowFoulLine="1">
  1387. ]]>
  1388. </programlisting></refsynopsisdiv>
  1389. <refsect1>
  1390. <title>Description</title>
  1391. <para>
  1392. By default, pisg doesn't show an example foul line in the "Most
  1393. fouls"-stats. With this option it can be enabled.
  1394. </para>
  1395. </refsect1>
  1396. <refsect1>
  1397. <title>Default</title>
  1398. <para> 0 (disabled) </para>
  1399. </refsect1>
  1400. </refentry>
  1401. <!-- *** SHOWVIOLENTLINES *** -->
  1402. <refentry id="ShowViolentLines">
  1403. <refmeta> <refentrytitle>ShowViolentLines</refentrytitle> </refmeta>
  1404. <refnamediv>
  1405. <refname>ShowViolentLines</refname>
  1406. <refpurpose>enable or disable the violent lines</refpurpose>
  1407. </refnamediv>
  1408. <refsynopsisdiv><programlisting>
  1409. <![CDATA[
  1410. <channel="#channel">
  1411. Logfile = "channel.log"
  1412. Format = "bobot"
  1413. ShowViolentLines = "0"
  1414. </channel>
  1415. <set ShowViolentLines="1">
  1416. ]]>
  1417. </programlisting></refsynopsisdiv>
  1418. <refsect1>
  1419. <title>Description</title>
  1420. <para>
  1421. By default, pisg shows example violent lines in the "Most aggressive"
  1422. and "Most attacked"-stats. With this option it can be disabled.
  1423. </para>
  1424. </refsect1>
  1425. <refsect1>
  1426. <title>Default</title>
  1427. <para> 1 (enabled) </para>
  1428. </refsect1>
  1429. </refentry>
  1430. <!-- *** SHOWMUW *** -->
  1431. <refentry id="ShowMuw">
  1432. <refmeta> <refentrytitle>ShowMuw</refentrytitle> </refmeta>
  1433. <refnamediv>
  1434. <refname>ShowMuw</refname>
  1435. <refpurpose>enable or disable "Most used words"</refpurpose>
  1436. </refnamediv>
  1437. <refsynopsisdiv><programlisting>
  1438. <![CDATA[
  1439. <channel="#channel">
  1440. Logfile = "channel.log"
  1441. Format = "xchat"
  1442. ShowMuw = "0"
  1443. </channel>
  1444. <set ShowMuw="1">
  1445. ]]>
  1446. </programlisting></refsynopsisdiv>
  1447. <refsect1>
  1448. <title>Description</title>
  1449. <para>
  1450. By default, pisg adds an "Most used words" section to the stats page.
  1451. With this option you can disable it from being shown.
  1452. </para>
  1453. </refsect1>
  1454. <refsect1>
  1455. <title>Default</title>
  1456. <para> 1 (enabled) </para>
  1457. </refsect1>
  1458. </refentry>
  1459. <!-- *** SHOWMRN *** -->
  1460. <refentry id="ShowMrn">
  1461. <refmeta> <refentrytitle>ShowMrn</refentrytitle> </refmeta>
  1462. <refnamediv>
  1463. <refname>ShowMrn</refname>
  1464. <refpurpose>enable or disable "Most referenced nicks"</refpurpose>
  1465. </refnamediv>
  1466. <refsynopsisdiv><programlisting>
  1467. <![CDATA[
  1468. <channel="#channel">
  1469. Logfile = "channel.log"
  1470. Format = "xchat"
  1471. ShowMrn = "0"
  1472. </channel>
  1473. <set ShowMrn="1">
  1474. ]]>
  1475. </programlisting></refsynopsisdiv>
  1476. <refsect1>
  1477. <title>Description</title>
  1478. <para>
  1479. By default, pisg adds an "Most referenced nicks" section to the stats
  1480. page. With this option you can disable it from being shown.
  1481. </para>
  1482. </refsect1>
  1483. <refsect1>
  1484. <title>Default</title>
  1485. <para> 1 (enabled) </para>
  1486. </refsect1>
  1487. </refentry>
  1488. <!-- *** SHOWMRU *** -->
  1489. <refentry id="ShowMru">
  1490. <refmeta> <refentrytitle>ShowMru</refentrytitle> </refmeta>
  1491. <refnamediv>
  1492. <refname>ShowMru</refname>
  1493. <refpurpose>enable or disable "Most referenced URLs"</refpurpose>
  1494. </refnamediv>
  1495. <refsynopsisdiv><programlisting>
  1496. <![CDATA[
  1497. <channel="#channel">
  1498. Logfile = "channel.log"
  1499. Format = "xchat"
  1500. ShowMru = "0"
  1501. </channel>
  1502. <set ShowMru="1">
  1503. ]]>
  1504. </programlisting></refsynopsisdiv>
  1505. <refsect1>
  1506. <title>Description</title>
  1507. <para>
  1508. By default, pisg adds an "Most referenced URLs" section to the stats
  1509. page. With this option you can disable it from being shown.
  1510. </para>
  1511. </refsect1>
  1512. <refsect1>
  1513. <title>Default</title>
  1514. <para> 1 (enabled) </para>
  1515. </refsect1>
  1516. </refentry>
  1517. <!-- *** SHOWOPS *** -->
  1518. <refentry id="ShowOps">
  1519. <refmeta> <refentrytitle>ShowOps</refentrytitle> </refmeta>
  1520. <refnamediv>
  1521. <refname>ShowOps</refname>
  1522. <refpurpose>enable or disable op statistics</refpurpose>
  1523. </refnamediv>
  1524. <refsynopsisdiv><programlisting>
  1525. <![CDATA[
  1526. <channel="#channel">
  1527. Logfile = "channel.log"
  1528. Format = "xchat"
  1529. ShowOps = "0"
  1530. </channel>
  1531. <set ShowOps="0">
  1532. ]]>
  1533. </programlisting></refsynopsisdiv>
  1534. <refsect1>
  1535. <title>Description</title>
  1536. <para>
  1537. By default, pisg has op statistics in the "Most interesting numbers"
  1538. section. Here you can disable the feature, it's useful if you don't feel
  1539. that the information is of any value, or your log format doesn't support
  1540. ops/deops.
  1541. </para>
  1542. </refsect1>
  1543. <refsect1>
  1544. <title>Default</title>
  1545. <para> 1 (enabled) </para>
  1546. </refsect1>
  1547. </refentry>
  1548. <!-- *** SHOWVOICES *** -->
  1549. <refentry id="ShowVoices">
  1550. <refmeta> <refentrytitle>ShowVoices</refentrytitle> </refmeta>
  1551. <refnamediv>
  1552. <refname>ShowVoices</refname>
  1553. <refpurpose>enable or disable voice statistics</refpurpose>
  1554. </refnamediv>
  1555. <refsynopsisdiv><programlisting>
  1556. <![CDATA[
  1557. <channel="#channel">
  1558. Logfile = "channel.log"
  1559. Format = "xchat"
  1560. ShowVoices = "0"
  1561. </channel>
  1562. <set ShowVoices="1">
  1563. ]]>
  1564. </programlisting></refsynopsisdiv>
  1565. <refsect1>
  1566. <title>Description</title>
  1567. <para>
  1568. By default, pisg doesn't have voice statistics like it has op
  1569. statistics. Enabling this option will add a section to the "Most
  1570. interesting numbers" displaying who got most voices.
  1571. </para>
  1572. </refsect1>
  1573. <refsect1>
  1574. <title>Default</title>
  1575. <para> 0 (disabled) </para>
  1576. </refsect1>
  1577. </refentry>
  1578. <!-- *** SHOWHALFOPS *** -->
  1579. <refentry id="ShowHalfops">
  1580. <refmeta> <refentrytitle>ShowHalfops</refentrytitle> </refmeta>
  1581. <refnamediv>
  1582. <refname>ShowHalfops</refname>
  1583. <refpurpose>enable or disable halfop statistics</refpurpose>
  1584. </refnamediv>
  1585. <refsynopsisdiv><programlisting>
  1586. <![CDATA[
  1587. <channel="#channel">
  1588. Logfile = "channel.log"
  1589. Format = "xchat"
  1590. ShowHalfops = "0"
  1591. </channel>
  1592. <set ShowHalfops="1">
  1593. ]]>
  1594. </programlisting></refsynopsisdiv>
  1595. <refsect1>
  1596. <title>Description</title>
  1597. <para>
  1598. By default, pisg doesn't have halfop statistics (+h on some servers)
  1599. like it has op statistics. Enabling this option will add a section to
  1600. the "Most interesting numbers" displaying who gave most half-ops.
  1601. </para>
  1602. </refsect1>
  1603. <refsect1>
  1604. <title>Default</title>
  1605. <para> 0 (disabled) </para>
  1606. </refsect1>
  1607. </refentry>
  1608. <!-- *** SHOWMOSTNICKS *** -->
  1609. <refentry id="ShowMostNicks">
  1610. <refmeta> <refentrytitle>ShowMostNicks</refentrytitle> </refmeta>
  1611. <refnamediv>
  1612. <refname>ShowMostNicks</refname>
  1613. <refpurpose>show who changed nick most often</refpurpose>
  1614. </refnamediv>
  1615. <refsynopsisdiv><programlisting>
  1616. <![CDATA[
  1617. <channel="#channel">
  1618. Logfile = "channel.log"
  1619. Format = "xchat"
  1620. ShowMostNicks = "0"
  1621. </channel>
  1622. <set ShowMostNicks="1">
  1623. ]]>
  1624. </programlisting></refsynopsisdiv>
  1625. <refsect1>
  1626. <title>Description</title>
  1627. <para>
  1628. By enabling this option, pisg will add a section to the stats showing
  1629. who had the most nicks, and what the nicks were. This option only works
  1630. properly when <link linkend="NickTracking">NickTracking</link> is enabled.
  1631. </para>
  1632. </refsect1>
  1633. <refsect1>
  1634. <title>Default</title>
  1635. <para> 0 (disabled) </para>
  1636. </refsect1>
  1637. </refentry>
  1638. <!-- *** SHOWACTIVEGENDERS *** -->
  1639. <refentry id="ShowActiveGenders">
  1640. <refmeta> <refentrytitle>ShowActiveGenders</refentrytitle> </refmeta>
  1641. <refnamediv>
  1642. <refname>ShowActiveGenders</refname>
  1643. <refpurpose>show stats on which gender talked most</refpurpose>
  1644. </refnamediv>
  1645. <refsynopsisdiv><programlisting>
  1646. <![CDATA[
  1647. <channel="#channel">
  1648. Logfile = "channel.log"
  1649. Format = "xchat"
  1650. ShowActiveGenders = "0"
  1651. </channel>
  1652. <set ShowActiveGenders="1">
  1653. ]]>
  1654. </programlisting></refsynopsisdiv>
  1655. <refsect1>
  1656. <title>Description</title>
  1657. <para>
  1658. Setting this option will make pisg create statistics on which gender
  1659. (female/male/bot) talked most (see the "sex" option in <xref
  1660. linkend="user-options" />).
  1661. </para>
  1662. </refsect1>
  1663. <refsect1>
  1664. <title>Default</title>
  1665. <para> 0 (disabled) </para>
  1666. </refsect1>
  1667. </refentry>
  1668. <!-- *** SHOWMOSTACTIVEBYHOUR *** -->
  1669. <refentry id="ShowMostActiveByHour">
  1670. <refmeta> <refentrytitle>ShowMostActiveByHour</refentrytitle> </refmeta>
  1671. <refnamediv>
  1672. <refname>ShowMostActiveByHour</refname>
  1673. <refpurpose>show most active nicks by hour</refpurpose>
  1674. </refnamediv>
  1675. <refsynopsisdiv><programlisting>
  1676. <![CDATA[
  1677. <channel="#channel">
  1678. Logfile = "channel.log"
  1679. Format = "xchat"
  1680. ShowMostActiveByHour = "0"
  1681. </channel>
  1682. <set ShowMostActiveByHour="1">
  1683. ]]>
  1684. </programlisting></refsynopsisdiv>
  1685. <refsect1>
  1686. <title>Description</title>
  1687. <para>
  1688. By enabling this option, pisg will add a section to the stats showing
  1689. "Most Active Nicks By Hour" - also look at the
  1690. <link linkend="ShowMostActiveByHourGraph">ShowMostActiveByHourGraph</link> and
  1691. <link linkend="ActiveNicksByHour">ActiveNicksByHour</link> settings.
  1692. </para>
  1693. </refsect1>
  1694. <refsect1>
  1695. <title>Default</title>
  1696. <para> 0 (disabled) </para>
  1697. </refsect1>
  1698. </refentry>
  1699. <!-- *** SHOWONLYTOP *** -->
  1700. <refentry id="ShowOnlyTop">
  1701. <refmeta> <refentrytitle>ShowOnlyTop</refentrytitle> </refmeta>
  1702. <refnamediv>
  1703. <refname>ShowOnlyTop</refname>
  1704. <refpurpose>only count stats for top talkers, ignore less-active users</refpurpose>
  1705. </refnamediv>
  1706. <refsynopsisdiv><programlisting>
  1707. <![CDATA[
  1708. <channel="#channel">
  1709. Logfile = "channel.log"
  1710. Format = "xchat"
  1711. ShowOnlyTop = "1"
  1712. </channel>
  1713. <set ShowOnlyTop="1">
  1714. ]]>
  1715. </programlisting></refsynopsisdiv>
  1716. <refsect1>
  1717. <title>Description</title>
  1718. <para>
  1719. By enabling this option, stats in the "Big Numbers" and "Interesting
  1720. Numbers" section will only be counted for users who were the most
  1721. active. E.g. users who appear in the "Most Active Nicks" section, as
  1722. respected by the ActiveNicks and ActiveNicks2 options. See also
  1723. <link linkend="BigNumbersThreshold">BigNumbersThreshold</link>.
  1724. </para>
  1725. </refsect1>
  1726. <refsect1>
  1727. <title>Default</title>
  1728. <para> 0 (disabled) </para>
  1729. </refsect1>
  1730. </refentry>
  1731. <!-- *** SHOWMOSTACTIVEBYHOURGRAPH *** -->
  1732. <refentry id="ShowMostActiveByHourGraph">
  1733. <refmeta> <refentrytitle>ShowMostActiveByHourGraph</refentrytitle> </refmeta>
  1734. <refnamediv>
  1735. <refname>ShowMostActiveByHourGraph</refname>
  1736. <refpurpose>show graphs in most active nicks by hour</refpurpose>
  1737. </refnamediv>
  1738. <refsynopsisdiv><programlisting>
  1739. <![CDATA[
  1740. <channel="#channel">
  1741. Logfile = "channel.log"
  1742. Format = "xchat"
  1743. ShowMostActiveByHourGraph = "0"
  1744. </channel>
  1745. <set ShowMostActiveByHour="1">
  1746. <set ShowMostActiveByHourGraph="1">
  1747. ]]>
  1748. </programlisting></refsynopsisdiv>
  1749. <refsect1>
  1750. <title>Description</title>
  1751. <para>
  1752. By enabling this option and the <link linkend="ShowMostActiveByHour">ShowMostActiveByHour</link>
  1753. option, pisg will show graphs in the "Most Active Nicks By Hour"
  1754. section.
  1755. </para>
  1756. </refsect1>
  1757. <refsect1>
  1758. <title>Default</title>
  1759. <para> 0 (disabled) </para>
  1760. </refsect1>
  1761. </refentry>
  1762. <!-- *** IGNOREWORDS *** -->
  1763. <refentry id="IgnoreWords">
  1764. <refmeta> <refentrytitle>IgnoreWords</refentrytitle> </refmeta>
  1765. <refnamediv>
  1766. <refname>IgnoreWords</refname>
  1767. <refpurpose>ignore specified words</refpurpose>
  1768. </refnamediv>
  1769. <refsynopsisdiv><programlisting>
  1770. <![CDATA[
  1771. <set IgnoreWords="there about">
  1772. ]]>
  1773. </programlisting></refsynopsisdiv>
  1774. <refsect1>
  1775. <title>Description</title>
  1776. <para>
  1777. Sometimes words in the "most used words" appears which you don't want to
  1778. see, with this option you can ignore these words. It also applies to the
  1779. "most referenced nicks" section. It's a space separated list of words.
  1780. You can use * like in nick aliases.
  1781. Can not be used in a channel-only context.
  1782. </para>
  1783. </refsect1>
  1784. <refsect1>
  1785. <title>Default</title>
  1786. <para> unset </para>
  1787. </refsect1>
  1788. </refentry>
  1789. <!-- *** NOIGNOREDQUOTES *** -->
  1790. <refentry id="NoIgnoredQuotes">
  1791. <refmeta> <refentrytitle>NoIgnoredQuotes</refentrytitle> </refmeta>
  1792. <refnamediv>
  1793. <refname>NoIgnoredQuotes</refname>
  1794. <refpurpose>Control random quote output</refpurpose>
  1795. </refnamediv>
  1796. <refsynopsisdiv><programlisting>
  1797. <![CDATA[
  1798. <set NoIgnoredQuotes="1">
  1799. ]]>
  1800. </programlisting></refsynopsisdiv>
  1801. <refsect1>
  1802. <title>Description</title>
  1803. <para>
  1804. When set to "1", pisg will not output quotes containing ignored words.
  1805. Pisg will output a blank line after trying 20 random quotes if all 20 random quotes were ignored.
  1806. </para>
  1807. </refsect1>
  1808. <refsect1>
  1809. <title>Default</title>
  1810. <para> 0 </para>
  1811. </refsect1>
  1812. </refentry>
  1813. <!-- *** FOULWORDS *** -->
  1814. <refentry id="FoulWords">
  1815. <refmeta> <refentrytitle>FoulWords</refentrytitle> </refmeta>
  1816. <refnamediv>
  1817. <refname>FoulWords</refname>
  1818. <refpurpose>specify words considered to be bad/FoulWords language</refpurpose>
  1819. </refnamediv>
  1820. <refsynopsisdiv><programlisting>
  1821. <![CDATA[
  1822. <set FoulWords="ass fuck bitch">
  1823. ]]>
  1824. </programlisting></refsynopsisdiv>
  1825. <refsect1>
  1826. <title>Description</title>
  1827. <para>
  1828. There is a section in the "Most interesting numbers" which tells who had
  1829. a "dirty mouth" - here you can define which words are considered being
  1830. bad/foul. It is a space separated list of words.
  1831. You can use * like in nick aliases.
  1832. Can not be used in a channel-only context.
  1833. </para>
  1834. </refsect1>
  1835. <refsect1>
  1836. <title>Default</title>
  1837. <para> ass fuck bitch shit scheisse kacke arsch ficker ficken schlampe </para>
  1838. </refsect1>
  1839. </refentry>
  1840. <!-- *** VIOLENTWORDS *** -->
  1841. <refentry id="ViolentWords">
  1842. <refmeta> <refentrytitle>ViolentWords</refentrytitle> </refmeta>
  1843. <refnamediv>
  1844. <refname>ViolentWords</refname>
  1845. <refpurpose>specify words considered to be aggressive/violent</refpurpose>
  1846. </refnamediv>
  1847. <refsynopsisdiv><programlisting>
  1848. <![CDATA[
  1849. <set ViolentWords="slaps beats kick">
  1850. ]]>
  1851. </programlisting></refsynopsisdiv>
  1852. <refsect1>
  1853. <title>Description</title>
  1854. <para>
  1855. There is a section in the "Most interesting numbers" which tells who is
  1856. most "aggressive" - here you can define which words are considered being
  1857. "violent". It is a space separated list of words. You can use * like in
  1858. nick aliases. Can not be used in a channel-only context.
  1859. </para>
  1860. </refsect1>
  1861. <refsect1>
  1862. <title>Default</title>
  1863. <para> slaps beats smacks </para>
  1864. </refsect1>
  1865. </refentry>
  1866. <!-- *** MinQuote *** -->
  1867. <refentry id="MinQuote">
  1868. <refmeta> <refentrytitle>MinQuote</refentrytitle> </refmeta>
  1869. <refnamediv>
  1870. <refname>MinQuote</refname>
  1871. <refpurpose>minimum numbers of letters for a random quote</refpurpose>
  1872. </refnamediv>
  1873. <refsynopsisdiv><programlisting>
  1874. <![CDATA[
  1875. <channel="#channel">
  1876. Logfile = "channel.log"
  1877. Format = "xchat"
  1878. MinQuote = "10"
  1879. </channel>
  1880. <set MinQuote="5">
  1881. ]]>
  1882. </programlisting></refsynopsisdiv>
  1883. <refsect1>
  1884. <title>Description</title>
  1885. <para>
  1886. The random quotes displayed in the "Most Active Nicks" section has a
  1887. certain range specified. With this option you can change the minimum
  1888. number of letters required for a random quote. Also see the
  1889. <link linkend="MaxQuote">MaxQuote</link> option.
  1890. </para>
  1891. </refsect1>
  1892. <refsect1>
  1893. <title>Default</title>
  1894. <para> 25 </para>
  1895. </refsect1>
  1896. </refentry>
  1897. <!-- *** MaxQuote *** -->
  1898. <refentry id="MaxQuote">
  1899. <refmeta> <refentrytitle>MaxQuote</refentrytitle> </refmeta>
  1900. <refnamediv>
  1901. <refname>MaxQuote</refname>
  1902. <refpurpose>maximum numbers of letters for a random quote</refpurpose>
  1903. </refnamediv>
  1904. <refsynopsisdiv><programlisting>
  1905. <![CDATA[
  1906. <channel="#channel">
  1907. Logfile = "channel.log"
  1908. Format = "xchat"
  1909. MaxQuote = "70"
  1910. </channel>
  1911. <set MaxQuote="100">
  1912. ]]>
  1913. </programlisting></refsynopsisdiv>
  1914. <refsect1>
  1915. <title>Description</title>
  1916. <para>
  1917. The random quotes displayed in the "Most Active Nicks" section has a
  1918. certain range specified. With this option you can change the maximum
  1919. number of letters required for a random quote. Also see the
  1920. <link linkend="MinQuote">MinQuote</link> option.
  1921. </para>
  1922. </refsect1>
  1923. <refsect1>
  1924. <title>Default</title>
  1925. <para> 65 </para>
  1926. </refsect1>
  1927. </refentry>
  1928. <!-- *** WORDLENGTH *** -->
  1929. <refentry id="WordLength">
  1930. <refmeta> <refentrytitle>WordLength</refentrytitle> </refmeta>
  1931. <refnamediv>
  1932. <refname>WordLength</refname>
  1933. <refpurpose>minimum number of characters in an interesting word</refpurpose>
  1934. </refnamediv>
  1935. <refsynopsisdiv><programlisting>
  1936. <![CDATA[
  1937. <channel="#channel">
  1938. Logfile = "channel.log"
  1939. Format = "xchat"
  1940. WordLength = "10"
  1941. </channel>
  1942. <set WordLength="2">
  1943. ]]>
  1944. </programlisting></refsynopsisdiv>
  1945. <refsect1>
  1946. <title>Description</title>
  1947. <para>
  1948. The "Most Used Words" section on the stats page display the most used
  1949. words. The default is that a word only appears if it is longer than 5
  1950. characters. With this option you can change that minimum.
  1951. </para>
  1952. </refsect1>
  1953. <refsect1>
  1954. <title>Default</title>
  1955. <para> 5 </para>
  1956. </refsect1>
  1957. </refentry>
  1958. <!-- *** QUOTEWIDTH *** -->
  1959. <refentry id="QuoteWidth">
  1960. <refmeta> <refentrytitle>QuoteWidth</refentrytitle> </refmeta>
  1961. <refnamediv>
  1962. <refname>QuoteWidth</refname>
  1963. <refpurpose>maximum allowed length of a "word" with no spaces</refpurpose>
  1964. </refnamediv>
  1965. <refsynopsisdiv><programlisting>
  1966. <![CDATA[
  1967. <channel="#channel">
  1968. Logfile = "channel.log"
  1969. Format = "xchat"
  1970. QuoteWidth = "48"
  1971. </channel>
  1972. <set QuoteWidth="48">
  1973. ]]>
  1974. </programlisting></refsynopsisdiv>
  1975. <refsect1>
  1976. <title>Description</title>
  1977. <para>
  1978. Pisg will automatically insert a space in words that have a length
  1979. over the amount QuoteWidth is set to. When used in breaking up
  1980. URLs it will insert a space in the displayed URL, but not in the
  1981. actual URL referenced by the HREF.
  1982. </para>
  1983. </refsect1>
  1984. <refsect1>
  1985. <title>Default</title>
  1986. <para> 80</para>
  1987. </refsect1>
  1988. </refentry>
  1989. <!-- *** BIGNUMBERSTHRESHOLD *** -->
  1990. <refentry id="BigNumbersThreshold">
  1991. <refmeta> <refentrytitle>BigNumbersThreshold</refentrytitle> </refmeta>
  1992. <refnamediv>
  1993. <refname>BigNumbersThreshold</refname>
  1994. <refpurpose>Minimum number of lines per user for some "Big Numbers" statistics</refpurpose>
  1995. </refnamediv>
  1996. <refsynopsisdiv><programlisting>
  1997. <![CDATA[
  1998. <channel="#channel">
  1999. Logfile = "channel.log"
  2000. Format = "xchat"
  2001. BigNumbersThreshold = "10"
  2002. </channel>
  2003. <set BigNumbersThreshold="sqrt">
  2004. ]]>
  2005. </programlisting></refsynopsisdiv>
  2006. <refsect1>
  2007. <title>Description</title>
  2008. <para>
  2009. Pisg will ignore users with less than this setting lines in the "questions
  2010. asked", "shouts loudest", "CAPSLOCK", "longest line", "most sad", and "most
  2011. happy" sections. If the setting is "sqrt" (the default), it will be
  2012. dynamically replaced with the square root of the number of lines of the
  2013. most active nick. See also <link linkend="ShowOnlyTop">ShowOnlyTop</link>.
  2014. </para>
  2015. </refsect1>
  2016. <refsect1>
  2017. <title>Default</title>
  2018. <para> sqrt </para>
  2019. </refsect1>
  2020. </refentry>
  2021. <!-- *** ACTIVENICKS *** -->
  2022. <refentry id="ActiveNicks">
  2023. <refmeta> <refentrytitle>ActiveNicks</refentrytitle> </refmeta>
  2024. <refnamediv>
  2025. <refname>ActiveNicks</refname>
  2026. <refpurpose>nicks to show in "Most Active Nicks"</refpurpose>
  2027. </refnamediv>
  2028. <refsynopsisdiv><programlisting>
  2029. <![CDATA[
  2030. <channel="#channel">
  2031. Logfile = "channel.log"
  2032. Format = "mIRC"
  2033. ActiveNicks = "50"
  2034. </channel>
  2035. <set ActiveNicks="10">
  2036. ]]>
  2037. </programlisting></refsynopsisdiv>
  2038. <refsect1>
  2039. <title>Description</title>
  2040. <para>
  2041. With this option you can define how many nicks you want to appear in the
  2042. "Most Active Nicks" section on the stats page.
  2043. </para>
  2044. </refsect1>
  2045. <refsect1>
  2046. <title>Default</title>
  2047. <para> 25 </para>
  2048. </refsect1>
  2049. </refentry>
  2050. <!-- *** ACTIVENICKS2 *** -->
  2051. <refentry id="ActiveNicks2">
  2052. <refmeta> <refentrytitle>ActiveNicks2</refentrytitle> </refmeta>
  2053. <refnamediv>
  2054. <refname>ActiveNicks2</refname>
  2055. <refpurpose>nicks to show in "These didn't make it.."</refpurpose>
  2056. </refnamediv>
  2057. <refsynopsisdiv><programlisting>
  2058. <![CDATA[
  2059. <channel="#channel">
  2060. Logfile = "channel.log"
  2061. Format = "mIRC"
  2062. ActiveNicks2 = "25"
  2063. </channel>
  2064. <set ActiveNicks2="10">
  2065. ]]>
  2066. </programlisting></refsynopsisdiv>
  2067. <refsect1>
  2068. <title>Description</title>
  2069. <para>
  2070. With this option you can define how many nicks you want to appear in the
  2071. "These didn't make it" section on the stats page.
  2072. </para>
  2073. </refsect1>
  2074. <refsect1>
  2075. <title>Default</title>
  2076. <para> 30 </para>
  2077. </refsect1>
  2078. </refentry>
  2079. <!-- *** ACTIVENICKSBYHOUR *** -->
  2080. <refentry id="ActiveNicksByHour">
  2081. <refmeta> <refentrytitle>ActiveNicksByHour</refentrytitle> </refmeta>
  2082. <refnamediv>
  2083. <refname>ActiveNicksByHour</refname>
  2084. <refpurpose>number of nicks to show in "Most Active Nicks By Hour"</refpurpose>
  2085. </refnamediv>
  2086. <refsynopsisdiv><programlisting>
  2087. <![CDATA[
  2088. <channel="#channel">
  2089. Logfile = "channel.log"
  2090. Format = "mIRC"
  2091. ActiveNicksByHour = "25"
  2092. </channel>
  2093. <set ActiveNicksByHour="10">
  2094. ]]>
  2095. </programlisting></refsynopsisdiv>
  2096. <refsect1>
  2097. <title>Description</title>
  2098. <para>
  2099. With this option you can define how many nicks you want to appear in the
  2100. "Most Active Nicks By Hour" section on the stats page.
  2101. </para>
  2102. </refsect1>
  2103. <refsect1>
  2104. <title>Default</title>
  2105. <para> 10 </para>
  2106. </refsect1>
  2107. </refentry>
  2108. <!-- *** MOSTNICKSHISTORY *** -->
  2109. <refentry id="MostNicksHistory">
  2110. <refmeta> <refentrytitle>MostNicksHistory</refentrytitle> </refmeta>
  2111. <refnamediv>
  2112. <refname>MostNicksHistory</refname>
  2113. <refpurpose>maximum number of nicks to show in "most nicks"</refpurpose>
  2114. </refnamediv>
  2115. <refsynopsisdiv><programlisting>
  2116. <![CDATA[
  2117. <channel="#channel">
  2118. Logfile = "channel.log"
  2119. Format = "mIRC"
  2120. MostNicksHistory = "2"
  2121. </channel>
  2122. <set MostNicksHistory="10">
  2123. ]]>
  2124. </programlisting></refsynopsisdiv>
  2125. <refsect1>
  2126. <title>Description</title>
  2127. <para>
  2128. With this option you can define how many nicks you want to appear in
  2129. the "Most used nicks" section.
  2130. </para>
  2131. </refsect1>
  2132. <refsect1>
  2133. <title>Default</title>
  2134. <para> 5 </para>
  2135. </refsect1>
  2136. </refentry>
  2137. <!-- *** MOSTNICKSVERBOSE *** -->
  2138. <refentry id="MostNicksVerbose">
  2139. <refmeta> <refentrytitle>MostNicksVerbose</refentrytitle> </refmeta>
  2140. <refnamediv>
  2141. <refname>MostNicksVerbose</refname>
  2142. <refpurpose>show nicks used in "most nicks"</refpurpose>
  2143. </refnamediv>
  2144. <refsynopsisdiv><programlisting>
  2145. <![CDATA[
  2146. <channel="#channel">
  2147. Logfile = "channel.log"
  2148. Format = "mIRC"
  2149. MostNicksVerbose = "0"
  2150. </channel>
  2151. <set MostNicksVerbose="1">
  2152. ]]>
  2153. </programlisting></refsynopsisdiv>
  2154. <refsect1>
  2155. <title>Description</title>
  2156. <para>
  2157. By disabling this option you can stop pisg from displaying all the nicks
  2158. a user has had in the "Most used nicks" section.
  2159. </para>
  2160. </refsect1>
  2161. <refsect1>
  2162. <title>Default</title>
  2163. <para> 1 </para>
  2164. </refsect1>
  2165. </refentry>
  2166. <!-- *** TOPICHISTORY *** -->
  2167. <refentry id="TopicHistory">
  2168. <refmeta> <refentrytitle>TopicHistory</refentrytitle> </refmeta>
  2169. <refnamediv>
  2170. <refname>TopicHistory</refname>
  2171. <refpurpose>maximum number of topics to show</refpurpose>
  2172. </refnamediv>
  2173. <refsynopsisdiv><programlisting>
  2174. <![CDATA[
  2175. <channel="#channel">
  2176. Logfile = "channel.log"
  2177. Format = "mIRC"
  2178. TopicHistory = "2"
  2179. </channel>
  2180. <set TopicHistory="10">
  2181. ]]>
  2182. </programlisting></refsynopsisdiv>
  2183. <refsect1>
  2184. <title>Description</title>
  2185. <para>
  2186. With this option you can define how many topics you want to appear in
  2187. the "Latest topics" section.
  2188. </para>
  2189. </refsect1>
  2190. <refsect1>
  2191. <title>Default</title>
  2192. <para> 3 </para>
  2193. </refsect1>
  2194. </refentry>
  2195. <!-- *** URLHISTORY *** -->
  2196. <refentry id="UrlHistory">
  2197. <refmeta> <refentrytitle>UrlHistory</refentrytitle> </refmeta>
  2198. <refnamediv>
  2199. <refname>UrlHistory</refname>
  2200. <refpurpose>maximum number of URLs to show</refpurpose>
  2201. </refnamediv>
  2202. <refsynopsisdiv><programlisting>
  2203. <![CDATA[
  2204. <channel="#channel">
  2205. Logfile = "channel.log"
  2206. Format = "mIRC"
  2207. UrlHistory = "2"
  2208. </channel>
  2209. <set UrlHistory="10">
  2210. ]]>
  2211. </programlisting></refsynopsisdiv>
  2212. <refsect1>
  2213. <title>Description</title>
  2214. <para>
  2215. With this option you can define how many URLs you want to appear in
  2216. the "Most referenced URLs" section.
  2217. </para>
  2218. </refsect1>
  2219. <refsect1>
  2220. <title>Default</title>
  2221. <para> 5 </para>
  2222. </refsect1>
  2223. </refentry>
  2224. <!-- *** WORDHISTORY *** -->
  2225. <refentry id="WordHistory">
  2226. <refmeta> <refentrytitle>WordHistory</refentrytitle> </refmeta>
  2227. <refnamediv>
  2228. <refname>WordHistory</refname>
  2229. <refpurpose>maximum number of words to show</refpurpose>
  2230. </refnamediv>
  2231. <refsynopsisdiv><programlisting>
  2232. <![CDATA[
  2233. <channel="#channel">
  2234. Logfile = "channel.log"
  2235. Format = "mIRC"
  2236. WordHistory = "5"
  2237. </channel>
  2238. <set WordHistory="15">
  2239. ]]>
  2240. </programlisting></refsynopsisdiv>
  2241. <refsect1>
  2242. <title>Description</title>
  2243. <para>
  2244. With this option you can define how many words you want to appear in
  2245. the "Most used words" section.
  2246. </para>
  2247. </refsect1>
  2248. <refsect1>
  2249. <title>Default</title>
  2250. <para> 10 </para>
  2251. </refsect1>
  2252. </refentry>
  2253. <!-- *** NICKHISTORY *** -->
  2254. <refentry id="NickHistory">
  2255. <refmeta> <refentrytitle>NickHistory</refentrytitle> </refmeta>
  2256. <refnamediv>
  2257. <refname>NickHistory</refname>
  2258. <refpurpose>maximum number of nicks to show</refpurpose>
  2259. </refnamediv>
  2260. <refsynopsisdiv><programlisting>
  2261. <![CDATA[
  2262. <channel="#channel">
  2263. logfile = "channel.log"
  2264. format = "mIRC"
  2265. NickHistory = "3"
  2266. </channel>
  2267. <set NickHistory="15">
  2268. ]]>
  2269. </programlisting></refsynopsisdiv>
  2270. <refsect1>
  2271. <title>Description</title>
  2272. <para>
  2273. With this option you can define how many nicks you want to appear in
  2274. the "Most referenced nicks" section.
  2275. </para>
  2276. </refsect1>
  2277. <refsect1>
  2278. <title>Default</title>
  2279. <para> 5 </para>
  2280. </refsect1>
  2281. </refentry>
  2282. <!-- *** NICKTRACKING *** -->
  2283. <refentry id="NickTracking">
  2284. <refmeta> <refentrytitle>NickTracking</refentrytitle> </refmeta>
  2285. <refnamediv>
  2286. <refname>NickTracking</refname>
  2287. <refpurpose>track nick changes and create aliases</refpurpose>
  2288. </refnamediv>
  2289. <refsynopsisdiv><programlisting>
  2290. <![CDATA[
  2291. <set NickTracking="1">
  2292. ]]>
  2293. </programlisting></refsynopsisdiv>
  2294. <refsect1>
  2295. <title>Description</title>
  2296. <para>
  2297. Enabling this option will track nick changes as well as it can. It will
  2298. then automatically create aliases for these nicks.
  2299. </para>
  2300. </refsect1>
  2301. <refsect1>
  2302. <title>Default</title>
  2303. <para> 0 (disabled) </para>
  2304. </refsect1>
  2305. </refentry>
  2306. <!-- *** SORTBYWORDS *** -->
  2307. <refentry id="SortByWords">
  2308. <refmeta> <refentrytitle>SortByWords</refentrytitle> </refmeta>
  2309. <refnamediv>
  2310. <refname>SortByWords</refname>
  2311. <refpurpose>sort "most active nicks" by words</refpurpose>
  2312. </refnamediv>
  2313. <refsynopsisdiv><programlisting>
  2314. <![CDATA[
  2315. <channel="#channel">
  2316. logfile = "channel.log"
  2317. format = "xchat"
  2318. SortByWords = "0"
  2319. </channel>
  2320. <set SortByWords="1">
  2321. ]]>
  2322. </programlisting></refsynopsisdiv>
  2323. <refsect1>
  2324. <title>Description</title>
  2325. <para>
  2326. The default for the "Most Active Nicks" section - is to sort users by
  2327. lines. Enabling this will sort it by words instead.
  2328. </para>
  2329. </refsect1>
  2330. <refsect1>
  2331. <title>Default</title>
  2332. <para> 0 (disabled) </para>
  2333. </refsect1>
  2334. </refentry>
  2335. </chapter>
  2336. <chapter id="reference-pictures">
  2337. <title>Picture options</title>
  2338. <!-- *** PICLOCATION *** -->
  2339. <refentry id="PicLocation">
  2340. <refmeta> <refentrytitle>PicLocation</refentrytitle> </refmeta>
  2341. <refnamediv>
  2342. <refname>PicLocation</refname>
  2343. <refpurpose>path to images on stats page</refpurpose>
  2344. </refnamediv>
  2345. <refsynopsisdiv><programlisting>
  2346. <![CDATA[
  2347. <set PicLocation="gfx/">
  2348. ]]>
  2349. </programlisting></refsynopsisdiv>
  2350. <refsect1>
  2351. <title>Description</title>
  2352. <para>
  2353. The location to the pictures used on the stats page - not the user
  2354. pictures but the different bars in "Most Active Times".
  2355. </para>
  2356. </refsect1>
  2357. <refsect1>
  2358. <title>Default</title>
  2359. <para> Current directory </para>
  2360. </refsect1>
  2361. </refentry>
  2362. <!-- *** USERPICS *** -->
  2363. <refentry id="UserPics">
  2364. <refmeta> <refentrytitle>UserPics</refentrytitle> </refmeta>
  2365. <refnamediv>
  2366. <refname>UserPics</refname>
  2367. <refpurpose>number of user pictures per row</refpurpose>
  2368. </refnamediv>
  2369. <refsynopsisdiv><programlisting>
  2370. <![CDATA[
  2371. <channel="#channel">
  2372. Logfile = "channel.log"
  2373. UserPics = "no"
  2374. </channel>
  2375. <set UserPics="3">
  2376. ]]>
  2377. </programlisting></refsynopsisdiv>
  2378. <refsect1>
  2379. <title>Description</title>
  2380. <para>
  2381. <command>UserPics</command> allows you to configure the number of user
  2382. pictures per row. Per default, one picture will be shown. Since pictures
  2383. are usually higher than one line of text, this lets the table grow. With
  2384. settings greater than 1, several pictures will be placed next to each
  2385. other. A good setting would be <command>UserPics</command>=3 and pictures
  2386. of size 60x60. Set <command>UserPics</command> to no or 0 to disable user
  2387. pictures. The latter is useful if you share a user config file between
  2388. channels and want to disable user pictures for some channels.
  2389. </para>
  2390. </refsect1>
  2391. <refsect1>
  2392. <title>Default</title>
  2393. <para> yes (1) </para>
  2394. </refsect1>
  2395. </refentry>
  2396. <!-- *** IMAGEPATH *** -->
  2397. <refentry id="ImagePath">
  2398. <refmeta> <refentrytitle>ImagePath</refentrytitle> </refmeta>
  2399. <refnamediv>
  2400. <refname>ImagePath</refname>
  2401. <refpurpose>path to user pictures (HTML page)</refpurpose>
  2402. </refnamediv>
  2403. <refsynopsisdiv><programlisting>
  2404. <![CDATA[
  2405. <channel="#channel">
  2406. Logfile = "channel.log"
  2407. Format = "mIRC"
  2408. ImagePath = "userpics/"
  2409. </channel>
  2410. <set ImagePath="users/">
  2411. ]]>
  2412. </programlisting></refsynopsisdiv>
  2413. <refsect1>
  2414. <title>Description</title>
  2415. <para>
  2416. <command>ImagePath</command> defines the path to where user
  2417. pictures are located, relative to the HTML page generated. The default is
  2418. that user pictures is located in the same directory as the HTML page.
  2419. </para>
  2420. </refsect1>
  2421. <refsect1>
  2422. <title>Default</title>
  2423. <para> current directory </para>
  2424. </refsect1>
  2425. </refentry>
  2426. <!-- *** DEFAULTPIC *** -->
  2427. <refentry id="DefaultPic">
  2428. <refmeta> <refentrytitle>DefaultPic</refentrytitle> </refmeta>
  2429. <refnamediv>
  2430. <refname>DefaultPic</refname>
  2431. <refpurpose>use a default user picture</refpurpose>
  2432. </refnamediv>
  2433. <refsynopsisdiv><programlisting>
  2434. <![CDATA[
  2435. <channel="#channel">
  2436. Logfile = "channel.log"
  2437. Format = "mIRC"
  2438. DefaultPic = "not_available.jpg"
  2439. </channel>
  2440. <set DefaultPic="unknown.gif">
  2441. ]]>
  2442. </programlisting></refsynopsisdiv>
  2443. <refsect1>
  2444. <title>Description</title>
  2445. <para>
  2446. <command>DefaultPic</command> defines a picture to be displayed for all
  2447. users which have no other picture defined in the <command>user</command>
  2448. element. This is good for showing "No picture available" or something.
  2449. May contain globbing patterns, see <link linkend="ImageGlobPath">ImageGlobPath</link> below.
  2450. </para>
  2451. </refsect1>
  2452. <refsect1>
  2453. <title>Default</title>
  2454. <para> unset </para>
  2455. </refsect1>
  2456. </refentry>
  2457. <!-- *** IMAGEGLOBPATH *** -->
  2458. <refentry id="ImageGlobPath">
  2459. <refmeta> <refentrytitle>ImageGlobPath</refentrytitle> </refmeta>
  2460. <refnamediv>
  2461. <refname>ImageGlobPath</refname>
  2462. <refpurpose>path to user pictures (output generation)</refpurpose>
  2463. </refnamediv>
  2464. <refsynopsisdiv><programlisting>
  2465. <![CDATA[
  2466. <channel="#channel">
  2467. Logfile = "channel.log"
  2468. Format = "mIRC"
  2469. ImageGlobPath = "users/"
  2470. </channel>
  2471. <set ImageGlobPath="/var/www/pisg/">
  2472. <set DefaultPic="default-??.gif">
  2473. ]]>
  2474. </programlisting></refsynopsisdiv>
  2475. <refsect1>
  2476. <title>Description</title>
  2477. <para>
  2478. <command>ImageGlobPath</command> defines the path to the directory where
  2479. user pictures are located, relative to the current directory. This setting
  2480. is used to choose random pictures if ? or * (globbing characters) are used
  2481. in the picture name. ? matches a single character, * matches a (possibly
  2482. empty) string. The default is the <link linkend="ImagePath">ImagePath</link> setting.
  2483. (NB: This setting will be different from <link linkend="ImagePath">ImagePath</link> if
  2484. the latter is not relative to the current directory, e.g. if you are
  2485. writing the HTML file outside of the current directory.)
  2486. </para>
  2487. </refsect1>
  2488. <refsect1>
  2489. <title>Default</title>
  2490. <para> current <link linkend="ImagePath">ImagePath</link> setting </para>
  2491. </refsect1>
  2492. </refentry>
  2493. <!-- *** PICWIDTH *** -->
  2494. <refentry id="PicWidth">
  2495. <refmeta> <refentrytitle>PicWidth</refentrytitle> </refmeta>
  2496. <refnamediv>
  2497. <refname>PicWidth</refname>
  2498. <refpurpose>define a standard width for user pictures</refpurpose>
  2499. </refnamediv>
  2500. <refsynopsisdiv><programlisting>
  2501. <![CDATA[
  2502. <channel="#channel">
  2503. Logfile = "channel.log"
  2504. Format = "mIRC"
  2505. PicWidth = "500"
  2506. </channel>
  2507. <set PicWidth="500">
  2508. ]]>
  2509. </programlisting></refsynopsisdiv>
  2510. <refsect1>
  2511. <title>Description</title>
  2512. <para>
  2513. <command>PicWidth</command> defines the standard width for user
  2514. pictures. Setting the 'width' attribute of image-elements on the
  2515. outputted stats page. See also <link linkend="PicHeight">PicHeight</link>
  2516. </para>
  2517. </refsect1>
  2518. <refsect1>
  2519. <title>Default</title>
  2520. <para> unset </para>
  2521. </refsect1>
  2522. </refentry>
  2523. <!-- *** PICHEIGHT *** -->
  2524. <refentry id="PicHeight">
  2525. <refmeta> <refentrytitle>PicHeight</refentrytitle> </refmeta>
  2526. <refnamediv>
  2527. <refname>PicHeight</refname>
  2528. <refpurpose>define a standard height for user pictures</refpurpose>
  2529. </refnamediv>
  2530. <refsynopsisdiv><programlisting>
  2531. <![CDATA[
  2532. <channel="#channel">
  2533. Logfile = "channel.log"
  2534. Format = "mIRC"
  2535. PicHeight = "500"
  2536. </channel>
  2537. <set PicHeight="500">
  2538. ]]>
  2539. </programlisting></refsynopsisdiv>
  2540. <refsect1>
  2541. <title>Description</title>
  2542. <para>
  2543. <command>PicHeight</command> defines the standard height for user
  2544. pictures. Setting the 'height' attribute of image-elements on the
  2545. outputted stats page. See also <link linkend="PicWidth">PicWidth</link>
  2546. </para>
  2547. </refsect1>
  2548. <refsect1>
  2549. <title>Default</title>
  2550. <para> unset </para>
  2551. </refsect1>
  2552. </refentry>
  2553. </chapter>
  2554. <chapter id="reference-misc">
  2555. <title>Misc options</title>
  2556. <!-- *** CHARSET *** -->
  2557. <refentry id="Charset">
  2558. <refmeta> <refentrytitle>Charset</refentrytitle> </refmeta>
  2559. <refnamediv>
  2560. <refname>Charset</refname>
  2561. <refpurpose>character set to use for stats page</refpurpose>
  2562. </refnamediv>
  2563. <refsynopsisdiv><programlisting>
  2564. <![CDATA[
  2565. <channel="#channel">
  2566. Logfile = "channel.log"
  2567. Format = "xchat"
  2568. Charset = "utf-8"
  2569. </channel>
  2570. <set Charset="iso-8859-15">
  2571. ]]>
  2572. </programlisting></refsynopsisdiv>
  2573. <refsect1>
  2574. <title>Description</title>
  2575. <para>
  2576. The pisg stats page defines a character set in a meta tag, this can be
  2577. used if your country is using a different one than the default. Pisg
  2578. will also use this setting to convert the language templates from
  2579. <link linkend="LangFile">LangFile</link> if the language defines a source charset.
  2580. Note: you also have to tell your webserver to transmit the charset to
  2581. the browser. With Apache, use "AddDefaultCharset off" in the server
  2582. config.
  2583. </para>
  2584. </refsect1>
  2585. <refsect1>
  2586. <title>Default</title>
  2587. <para> iso-8859-1 </para>
  2588. </refsect1>
  2589. </refentry>
  2590. <!-- *** LOGCHARSET *** -->
  2591. <refentry id="LogCharset">
  2592. <refmeta> <refentrytitle>LogCharset</refentrytitle> </refmeta>
  2593. <refnamediv>
  2594. <refname>LogCharset</refname>
  2595. <refpurpose>character set for logfiles</refpurpose>
  2596. </refnamediv>
  2597. <refsynopsisdiv><programlisting>
  2598. <![CDATA[
  2599. <channel="#channel">
  2600. Logfile = "channel.log"
  2601. Format = "xchat"
  2602. Charset = "iso-8859-1"
  2603. LogCharset = "utf-8"
  2604. </channel>
  2605. <set Charset="iso-8859-15">
  2606. <set LogCharset="iso-8859-15">
  2607. ]]>
  2608. </programlisting></refsynopsisdiv>
  2609. <refsect1>
  2610. <title>Description</title>
  2611. <para>
  2612. If <command>LogCharset</command> is set and different from
  2613. <link linkend="Charset">Charset</link>, pisg will convert the charset using
  2614. Text::Iconv. Using this option slows down log processing.
  2615. </para>
  2616. </refsect1>
  2617. <refsect1>
  2618. <title>Default</title>
  2619. <para> empty (no conversion) </para>
  2620. </refsect1>
  2621. </refentry>
  2622. <!-- *** LOGCHARSETFALLBACK *** -->
  2623. <refentry id="LogCharsetFallback">
  2624. <refmeta> <refentrytitle>LogCharsetFallback</refentrytitle> </refmeta>
  2625. <refnamediv>
  2626. <refname>LogCharsetFallback</refname>
  2627. <refpurpose>fallback character set for logfiles</refpurpose>
  2628. </refnamediv>
  2629. <refsynopsisdiv><programlisting>
  2630. <![CDATA[
  2631. <channel="#channel">
  2632. Logfile = "channel.log"
  2633. Format = "xchat"
  2634. Charset = "utf-8"
  2635. LogCharset = "utf-8"
  2636. LogCharsetFallback = "iso-8859-1"
  2637. </channel>
  2638. <set Charset="utf-8">
  2639. <set LogCharset="utf-8">
  2640. <set LogCharsetFallback="iso-8859-15">
  2641. ]]>
  2642. </programlisting></refsynopsisdiv>
  2643. <refsect1>
  2644. <title>Description</title>
  2645. <para>
  2646. <command>LogCharsetFallback</command> defines a fallback charset for
  2647. the <link linkend="LogCharset">LogCharset</link> conversion. This is useful if you
  2648. have mixed unicode/iso-8859-* logs. Pisg will first try the conversion
  2649. from <link linkend="LogCharset">LogCharset</link>. If that fails,
  2650. <command>LogCharsetFallback</command> is used. Note that this only works
  2651. for charsets where certain byte sequences are illegal, like UTF-8. (In
  2652. short: <command>LogCharset</command> = utf-8,
  2653. <command>LogCharsetFallback</command> = iso-8859-15 works, the other way
  2654. round does not.)
  2655. </para>
  2656. </refsect1>
  2657. <refsect1>
  2658. <title>Default</title>
  2659. <para> empty (no fallback conversion) </para>
  2660. </refsect1>
  2661. </refentry>
  2662. <!-- *** TIMEOFFSET *** -->
  2663. <refentry id="TimeOffset">
  2664. <refmeta> <refentrytitle>TimeOffset</refentrytitle> </refmeta>
  2665. <refnamediv>
  2666. <refname>TimeOffset</refname>
  2667. <refpurpose>use a different time zone than the local machine</refpurpose>
  2668. </refnamediv>
  2669. <refsynopsisdiv><programlisting>
  2670. <![CDATA[
  2671. <channel="#channel">
  2672. Logfile = "channel.log"
  2673. Format = "mIRC"
  2674. Maintainer = "John"
  2675. TimeOffset = "+5"
  2676. </channel>
  2677. <set TimeOffset="+2">
  2678. ]]>
  2679. </programlisting></refsynopsisdiv>
  2680. <refsect1>
  2681. <title>Description</title>
  2682. <para>
  2683. By default, pisg uses the time of the local machine to display the time
  2684. of the generated stats. Sometimes when you have a shell on an external
  2685. box, and it's in another country, you want to use another time. This is
  2686. accomplished by the <command>TimeOffset</command> command.
  2687. </para>
  2688. </refsect1>
  2689. <refsect1>
  2690. <title>Default</title>
  2691. <para> +0 </para>
  2692. </refsect1>
  2693. </refentry>
  2694. <!-- *** REGEXPALIASES *** -->
  2695. <refentry id="RegexpAliases">
  2696. <refmeta> <refentrytitle>RegexpAliases</refentrytitle> </refmeta>
  2697. <refnamediv>
  2698. <refname>RegexpAliases</refname>
  2699. <refpurpose>use regular expressions in user aliases</refpurpose>
  2700. </refnamediv>
  2701. <refsynopsisdiv><programlisting>
  2702. <![CDATA[
  2703. <user nick="Joe" alias="Joe\d+">
  2704. <set RegexpAliases="1">
  2705. ]]>
  2706. </programlisting></refsynopsisdiv>
  2707. <refsect1>
  2708. <title>Description</title>
  2709. <para>
  2710. Enabling this option will make all aliases in &lt;user&gt; lines be
  2711. parsed as regular expressions; this setting also applies to the
  2712. <link linkend="IgnoreWords">IgnoreWords</link>, <link linkend="FoulWords">FoulWords</link>, and
  2713. <link linkend="ViolentWords">ViolentWords</link> settings.
  2714. </para>
  2715. </refsect1>
  2716. <refsect1>
  2717. <title>Default</title>
  2718. <para> 0 (disabled) </para>
  2719. </refsect1>
  2720. </refentry>
  2721. <!-- *** LANGFILE *** -->
  2722. <refentry id="LangFile">
  2723. <refmeta> <refentrytitle>LangFile</refentrytitle> </refmeta>
  2724. <refnamediv>
  2725. <refname>LangFile</refname>
  2726. <refpurpose>filename of language file</refpurpose>
  2727. </refnamediv>
  2728. <refsynopsisdiv><programlisting>
  2729. <![CDATA[
  2730. <set LangFile="mylang.txt">
  2731. ]]>
  2732. </programlisting></refsynopsisdiv>
  2733. <refsect1>
  2734. <title>Description</title>
  2735. <para>
  2736. With this option you have an alternative way to define the name and/or
  2737. path to the language file. Usually you don't have to touch this option.
  2738. </para>
  2739. </refsect1>
  2740. <refsect1>
  2741. <title>Default</title>
  2742. <para> lang.txt </para>
  2743. </refsect1>
  2744. </refentry>
  2745. <!-- *** CSSDIR *** -->
  2746. <refentry id="CssDir">
  2747. <refmeta> <refentrytitle>CssDir</refentrytitle> </refmeta>
  2748. <refnamediv>
  2749. <refname>CssDir</refname>
  2750. <refpurpose>path to directory with CSS files</refpurpose>
  2751. </refnamediv>
  2752. <refsynopsisdiv><programlisting>
  2753. <![CDATA[
  2754. <set CssDir="/usr/share/pisg/layout/">
  2755. ]]>
  2756. </programlisting></refsynopsisdiv>
  2757. <refsect1>
  2758. <title>Description</title>
  2759. <para>
  2760. <command>CssDir</command> is used to define the paths to the CSS files
  2761. (the <link linkend="ColorScheme">ColorScheme</link>s). Usually you don't
  2762. need to change this. This setting is only used when statically including
  2763. the CSS file.
  2764. </para>
  2765. </refsect1>
  2766. <refsect1>
  2767. <title>Default</title>
  2768. <para> layout/ (in current directory) </para>
  2769. </refsect1>
  2770. </refentry>
  2771. <!-- *** HICELL *** -->
  2772. <refentry id="HiCell">
  2773. <refmeta> <refentrytitle>HiCell, HiCell2</refentrytitle> </refmeta>
  2774. <refnamediv>
  2775. <refname>HiCell, HiCell2</refname>
  2776. <refpurpose>colors for color gradient in most active nicks section</refpurpose>
  2777. </refnamediv>
  2778. <refsynopsisdiv><programlisting>
  2779. <![CDATA[
  2780. <set HiCell="#BABADD" HiCell2="#CCCCCC">
  2781. ]]>
  2782. </programlisting></refsynopsisdiv>
  2783. <refsect1>
  2784. <title>Description</title>
  2785. <para>
  2786. <command>HiCell</command> and <command>HiCell2</command> define the colors
  2787. to be used for the color gradient in the most active nicks section. They should
  2788. match your <link linkend="ColorScheme">ColorScheme</link>.
  2789. </para>
  2790. </refsect1>
  2791. <refsect1>
  2792. <title>Default</title>
  2793. <para> #BABADD, #CCCCCC </para>
  2794. </refsect1>
  2795. </refentry>
  2796. <!-- *** LOGTYPE *** -->
  2797. <refentry id="LogType">
  2798. <refmeta> <refentrytitle>LogType</refentrytitle> </refmeta>
  2799. <refnamediv>
  2800. <refname>LogType</refname>
  2801. <refpurpose>type of log (not the format of the log)</refpurpose>
  2802. </refnamediv>
  2803. <refsynopsisdiv><programlisting>
  2804. <![CDATA[
  2805. <set LogType="Logfile">
  2806. ]]>
  2807. </programlisting></refsynopsisdiv>
  2808. <refsect1>
  2809. <title>Description</title>
  2810. <para>
  2811. The type of logs kept for your channel. Currently only "Logfile" is
  2812. supported, so you don't need to change this option.
  2813. </para>
  2814. </refsect1>
  2815. <refsect1>
  2816. <title>Default</title>
  2817. <para> Logfile </para>
  2818. </refsect1>
  2819. </refentry>
  2820. </chapter>
  2821. </book>