4
0

pisg-doc.xml 88 KB

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