pisg-doc.xml 87 KB

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