pisg-doc.sgml 79 KB

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