pisg-doc.xml 84 KB

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