pisg-doc.xml 84 KB

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