pisg-doc.xml 84 KB

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