pisg-doc.sgml 67 KB

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