pisg-doc.sgml 61 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399
  1. <!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
  2. <book id="pisg-documentation">
  3. <bookinfo>
  4. <title>pisg documentation</title>
  5. <subtitle>How to install and configure pisg</subtitle>
  6. </bookinfo>
  7. <toc></toc>
  8. <!-- <lot></lot> -->
  9. <chapter id="what-is-pisg">
  10. <title>What is pisg?</title>
  11. <para>
  12. pisg is an IRC statistics generator. It takes IRC logfiles and turns
  13. them into nice looking stats.
  14. </para>
  15. <para>
  16. In general, you would do something like this to get it running:
  17. <itemizedlist mark="bullet">
  18. <listitem>
  19. <para>
  20. Enable logging in an IRC bot, or in your IRC client. The log will be
  21. outputted into a file.
  22. </para>
  23. </listitem>
  24. <listitem>
  25. <para>
  26. You set up pisg, you define the channel name, and the path to the
  27. logfile you created.
  28. </para>
  29. </listitem>
  30. <listitem>
  31. <para>
  32. You run pisg, pisg runs the log through and create statistics, it
  33. then creates an HTML page which you can upload to a server.
  34. </para>
  35. </listitem>
  36. </itemizedlist>
  37. </para>
  38. <sect1 id="requirements">
  39. <title>What are the requirements to run pisg?</title>
  40. <para>
  41. <itemizedlist mark="bullet">
  42. <listitem>
  43. <para>
  44. An IRC client or bot where pisg supports the output logfile.
  45. </para>
  46. </listitem>
  47. <listitem>
  48. <para>
  49. Any operating system which Perl runs on, this includes popular OS'es
  50. such as Linux, FreeBSD, Windows and Mac. You will have a hard time
  51. finding an OS where Perl isn't supported.
  52. </para>
  53. </listitem>
  54. <listitem>
  55. <para>
  56. <emphasis>Optional</emphasis> - a system to host the statistics page
  57. 24 hours a day, 7 days a week.
  58. </para>
  59. </listitem>
  60. <listitem>
  61. <para>
  62. <emphasis>Optional</emphasis> - a system to log the channel, 24 hours
  63. a day, 7 days a week.
  64. </para>
  65. </listitem>
  66. </itemizedlist>
  67. </chapter>
  68. <chapter id="setting-up-pisg">
  69. <title>Setting up pisg for the first time</title>
  70. <para>
  71. Most configuration happens through the <filename>pisg.cfg</filename>
  72. file, the file format is made to be easy to read, and easy to extend for
  73. further use. It uses an XML-like format, with elements and attributes.
  74. </para>
  75. <sect1 id="setting-up-a-channel">
  76. <title>Setting up a channel</title>
  77. <para>
  78. An element called <command>channel</command> is made for defining
  79. channels, a quick example of a channel is this:
  80. <programlisting>
  81. <![CDATA[
  82. <channel="#channel">
  83. Logfile = "channel.log"
  84. Format = "mIRC"
  85. Maintainer = "John"
  86. OutputFile = "mychan.html"
  87. </channel>
  88. ]]>
  89. </programlisting>
  90. The above will define a channel called <command>#channel</command>, the
  91. logfile pisg will look for is called <command>channel.log</command> and
  92. the format of the logfile will be <command>mIRC</command>. The
  93. maintainer (which will be stated on the output page) is
  94. <command>John</command>.
  95. </para>
  96. <para>
  97. That is basically it! Now, there are a lot more options that you can use
  98. for your channels, for this please refer to the reference documentation.
  99. </para>
  100. <para>
  101. Also be-aware of the fact that pisg uses various images to show the
  102. time-related bars. These images are placed in the
  103. <filename>gfx/</filename> folder and should be putted into the same
  104. directory as your outputted HTML file.
  105. </para>
  106. </sect1>
  107. <sect1 id="user-options">
  108. <title>Specifying user options</title>
  109. <para>
  110. User options are set with a simple XML-like syntax in the form:
  111. <programlisting>
  112. <![CDATA[<user nick="NICK" option="VALUE">]]>
  113. </programlisting>
  114. Remember, the nick is always required.
  115. For example to add aliases to a nick, then you could do this:
  116. <programlisting>
  117. <![CDATA[<user nick="Joe" alias="Joe^*">]]>
  118. </programlisting>
  119. The asterix (*) means that it will match all nicks starting with 'Joe^'. So
  120. it will add all Joe^'s to 'Joe' in the stats.
  121. Another thing you can do is to add a picture to a user:
  122. <programlisting>
  123. <![CDATA[<user nick="Ben" pic="ben_holiday.jpg">]]>
  124. </programlisting>
  125. If you have a larger picture of the user as well, you can make the picture
  126. on the stats page link to it:
  127. <programlisting>
  128. <![CDATA[<user nick="Ben" pic="ben_holiday.jpg" bigpic="ben-big.jpg">]]>
  129. </programlisting>
  130. You can also set a user's sex:
  131. <programlisting>
  132. <![CDATA[<user nick="Ben" sex="m">]]>
  133. </programlisting>
  134. Also you can add links to URLs and e-mails:
  135. <programlisting>
  136. <![CDATA[<user nick="Christine" link="http://www.christine.com">]]>
  137. </programlisting>
  138. or
  139. <programlisting>
  140. <![CDATA[<user nick="Chris" link="chris@host.com">]]>
  141. </programlisting>
  142. The last thing you can do is to ignore nicks (for example bots):
  143. <programlisting>
  144. <![CDATA[<user nick="nameofbot" ignore="y">]]>
  145. </programlisting>
  146. You don't have to do all this in many lines, you could just as easily do:
  147. <programlisting>
  148. <![CDATA[<user nick="Joe" alias="Joe^away Joe^work" pic="joe.jpg" link="joe@joe.com" sex="m">]]>
  149. </programlisting>
  150. (Here the aliases are a space separated list of nicks, that also works! But *
  151. as a wildcard is smarter, although it is slower).
  152. </para>
  153. </sect1>
  154. <sect1 id="global-options">
  155. <title>Setting global options</title>
  156. <para>
  157. Many times, it will be useful to set up global options, global options
  158. are set like this:
  159. <programlisting>
  160. <![CDATA[<set option="VALUE">]]>
  161. </programlisting>
  162. Any global option will override anything defined within channel
  163. elements (see <xref linkend="setting-up-a-channel">)
  164. </para>
  165. <para>
  166. For example, to change the background color of the stats page, you
  167. could do:
  168. <programlisting>
  169. <![CDATA[<set bgcolor="black">]]>
  170. </programlisting>
  171. You can set many options in a single <command>set</command>:
  172. <programlisting>
  173. <![CDATA[<set lang="DE" timeoffset="+1">]]>
  174. </programlisting>
  175. The above will set the language on the statistics page to DE (Deutch,
  176. German) and set the timeoffset to +1.
  177. All options available are mentioned in the reference documentation.
  178. </sect1>
  179. <sect1 id="ignoring-links">
  180. <title>Ignoring links</title>
  181. <para>
  182. It's possible to ignore links in the "Most referenced URLs" section:
  183. <programlisting>
  184. <![CDATA[
  185. <link url="http://www.slashdot.org" ignore="y">
  186. ]]>
  187. </programlisting>
  188. </para>
  189. </sect1>
  190. <sect1 id="using-css">
  191. <title>Changing the layout of your stats page</title>
  192. <para>
  193. The standard layout and colors in the outputted HTML page are made to be
  194. somewhat clean and neutral. But you have the chance to change the layout
  195. yourself.
  196. </para>
  197. <para>
  198. There are a few predefined colorschemes for you to use, use the
  199. ColorScheme option when using them. The available colorschemes are:
  200. default, darkgalaxy.
  201. </para>
  202. <para>
  203. When changing it, you need a fair knowledge of CSS (Cascading Style
  204. Sheets). CSS is what most of the web uses today to define styles and
  205. layout on HTML pages.
  206. </para>
  207. <para>
  208. With the pisg distribution, look in the <filename>layout</filename>
  209. directory. In it resides <filename>default.css</filename> which is the
  210. file being included onto the HTML page. Open it in a text editor like
  211. vi or notepad. Then change it until you're happy with it. Be aware that
  212. you might want to look at the hicell and hicell2 options through
  213. pisg.cfg for changing the last two colors.
  214. </para>
  215. <para>
  216. If you have created a nice stylesheet which other can take advantage of,
  217. you are encouraged to send it to the pisg mailing list so that it can be
  218. distributed with the next version of pisg.
  219. </para>
  220. </sect1>
  221. <sect1 id="running-pisg">
  222. <title>Running pisg</title>
  223. <para>
  224. When everything is set up in the pisg configuration file (pisg.cfg),
  225. then you simply run pisg on the command-line.
  226. </para>
  227. <para>
  228. Using Linux, BSD or another UNIX-like system:
  229. <screen>
  230. <prompt>user@host:pisg-0.37$</prompt> <userinput>./pisg</userinput>
  231. </screen>
  232. </para>
  233. <para>
  234. Using Windows:
  235. <screen>
  236. <prompt>c:\perl\bin&gt;</prompt> <userinput>perl c:\pisg\pisg</userinput>
  237. </screen>
  238. </para>
  239. <para>
  240. The program will run and parse the logfiles you specified in the
  241. configuration file.
  242. </para>
  243. <para>
  244. If you are using Linux and want run pisg
  245. automatically several times a day, then see the
  246. <filename>crontab</filename> file in the
  247. <filename>scripts/</filename> directory.
  248. </para>
  249. <para>
  250. For Windows, see the <filename>windows-upload-ftp.txt</filename> file
  251. with the pisg distribution, this file is also placed in the
  252. <filename>scripts/</filename> directory.
  253. </para>
  254. </sect1>
  255. <sect1 id="mailing-list-and-bugs">
  256. <title>Obtaining help and reporting bugs</title>
  257. <para>
  258. If your problem could not be resolved through here, then you should send
  259. an e-mail to the pisg mailing list. You can subscribe and see more info
  260. at <ulink
  261. url="http://lists.sourceforge.net/lists/listinfo/pisg-general">http://lists.sourceforge.net/lists/listinfo/pisg-general</ulink>.
  262. </para>
  263. <para>
  264. If you believe that you have found a bug, you should use the Sourceforge
  265. <ulink
  266. url="http://sourceforge.net/tracker/?group_id=31862&amp;atid=403711">bug
  267. tracking system.</ulink>
  268. </para>
  269. </sect1>
  270. </chapter>
  271. <chapter id="reference">
  272. <title>General pisg options</title>
  273. <!-- *** CHANNEL *** -->
  274. <refentry id="Channel">
  275. <refmeta> <refentrytitle>Channel</refentrytitle> </refmeta>
  276. <refnamediv>
  277. <refname>Channel</refname>
  278. <refpurpose>define channel name</refpurpose>
  279. </refnamediv>
  280. <refsynopsisdiv><programlisting>
  281. <![CDATA[
  282. <channel="#channel">
  283. Logfile = "channel.log"
  284. Format = "mIRC"
  285. Maintainer = "John"
  286. </channel>
  287. ]]>
  288. </programlisting></refsynopsisdiv>
  289. <refsect1>
  290. <title>Description</title>
  291. <para>
  292. <command>Channel</command> is used in two contexts, globally when using
  293. &lt;set&gt; and when defining new channels. It sets the name of the
  294. channel.
  295. </para>
  296. </refsect1>
  297. <refsect1>
  298. <title>Default</title>
  299. <para> Unset </para>
  300. </refsect1>
  301. </refentry>
  302. <!-- *** FORMAT *** -->
  303. <refentry id="Format">
  304. <refmeta> <refentrytitle>Format</refentrytitle> </refmeta>
  305. <refnamediv>
  306. <refname>Format</refname>
  307. <refpurpose>the logfile format</refpurpose>
  308. </refnamediv>
  309. <refsynopsisdiv><programlisting>
  310. <![CDATA[
  311. <channel="#channel">
  312. Logfile = "channel.log"
  313. Format = "eggdrop"
  314. Maintainer = "John"
  315. </channel>
  316. <set Format="mIRC">
  317. ]]>
  318. </programlisting></refsynopsisdiv>
  319. <refsect1>
  320. <title>Description</title>
  321. <para>
  322. <command>Format</command> is used to define the format of the logfile,
  323. pisg supports a various number of different logfiles, see the FORMATS
  324. file included with the pisg distribution.
  325. </para>
  326. </refsect1>
  327. <refsect1>
  328. <title>Default</title>
  329. <para> mIRC </para>
  330. </refsect1>
  331. </refentry>
  332. <!-- *** NETWORK *** -->
  333. <refentry id="Network">
  334. <refmeta> <refentrytitle>Network</refentrytitle> </refmeta>
  335. <refnamediv>
  336. <refname>Network</refname>
  337. <refpurpose>the IRC network of the channel</refpurpose>
  338. </refnamediv>
  339. <refsynopsisdiv><programlisting>
  340. <![CDATA[
  341. <channel="#channel">
  342. Logfile = "channel.log"
  343. Format = "eggdrop"
  344. Network = "Undernet"
  345. </channel>
  346. <set Network="Quakenet">
  347. ]]>
  348. </programlisting></refsynopsisdiv>
  349. <refsect1>
  350. <title>Description</title>
  351. <para>
  352. <command>Network</command> is used to set the network which the channel
  353. resides on, this name is displayed on the stats page.
  354. </para>
  355. </refsect1>
  356. <refsect1>
  357. <title>Default</title>
  358. <para> SomeIRCNetwork </para>
  359. </refsect1>
  360. </refentry>
  361. <!-- *** OUTPUTFILE *** -->
  362. <refentry id="OutputFile">
  363. <refmeta> <refentrytitle>OutputFile</refentrytitle> </refmeta>
  364. <refnamediv>
  365. <refname>OutputFile</refname>
  366. <refpurpose>name of the generated HTML page</refpurpose>
  367. </refnamediv>
  368. <refsynopsisdiv><programlisting>
  369. <![CDATA[
  370. <channel="#channel">
  371. Logfile = "channel.log"
  372. Format = "eggdrop"
  373. OutputFile = "mychan.html"
  374. </channel>
  375. <set OutputFile="mychan.html">
  376. ]]>
  377. </programlisting></refsynopsisdiv>
  378. <refsect1>
  379. <title>Description</title>
  380. <para>
  381. <command>OutputFile</command> is used to define the name of the
  382. generated statistics page.
  383. </para>
  384. </refsect1>
  385. <refsect1>
  386. <title>Default</title>
  387. <para> index.html </para>
  388. </refsect1>
  389. </refentry>
  390. <!-- *** LOGFILE *** -->
  391. <refentry id="Logfile">
  392. <refmeta> <refentrytitle>Logfile</refentrytitle> </refmeta>
  393. <refnamediv>
  394. <refname>Logfile</refname>
  395. <refpurpose>name of logfile to parse</refpurpose>
  396. </refnamediv>
  397. <refsynopsisdiv><programlisting>
  398. <![CDATA[
  399. <channel="#channel">
  400. Logfile="/home/foo/eggdrop/logs/mylog.txt"
  401. Format = "eggdrop"
  402. </channel>
  403. <set Logfile="foo.log">
  404. ]]>
  405. </programlisting></refsynopsisdiv>
  406. <refsect1>
  407. <title>Description</title>
  408. <para>
  409. This defines the filename of the logfile to parse for the channel. If
  410. you want to parse a directory full of logfiles, you should use the
  411. <command>LogDir</command> option instead.
  412. </para>
  413. </refsect1>
  414. <refsect1>
  415. <title>Default</title>
  416. <para> unset </para>
  417. </refsect1>
  418. </refentry>
  419. <!-- *** LOGDIR *** -->
  420. <refentry id="LogDir">
  421. <refmeta> <refentrytitle>LogDir</refentrytitle> </refmeta>
  422. <refnamediv>
  423. <refname>LogDir</refname>
  424. <refpurpose>parse a directory full of logs</refpurpose>
  425. </refnamediv>
  426. <refsynopsisdiv><programlisting>
  427. <![CDATA[
  428. <channel="#channel">
  429. LogDir="/home/foo/eggdrop/logs/"
  430. Format = "eggdrop"
  431. </channel>
  432. <set LogDir="dailylogs/">
  433. ]]>
  434. </programlisting></refsynopsisdiv>
  435. <refsect1>
  436. <title>Description</title>
  437. <para>
  438. When <command>LogDir</command> is defined to valid path to a directory,
  439. then pisg will run through that directory, parse all logfiles in it and
  440. create 1 HTML from it. Useful with for example eggdrop logs.
  441. </para>
  442. </refsect1>
  443. <refsect1>
  444. <title>Default</title>
  445. <para> unset </para>
  446. </refsect1>
  447. </refentry>
  448. <!-- *** MAINTAINER *** -->
  449. <refentry id="Maintainer">
  450. <refmeta> <refentrytitle>Maintainer</refentrytitle> </refmeta>
  451. <refnamediv>
  452. <refname>Maintainer</refname>
  453. <refpurpose>name of the maintainer</refpurpose>
  454. </refnamediv>
  455. <refsynopsisdiv><programlisting>
  456. <![CDATA[
  457. <channel="#channel">
  458. Logfile = "channel.log"
  459. Format = "mIRC"
  460. Maintainer = "Benny"
  461. </channel>
  462. <set Maintainer="Benny">
  463. ]]>
  464. </programlisting></refsynopsisdiv>
  465. <refsect1>
  466. <title>Description</title>
  467. <para>
  468. <command>Maintainer</command> is used to define the name of the
  469. maintaner of the statistics page, this can be either the person
  470. generating the stats or the bot/client doing the logging.
  471. The maintainer is displayed in the outputted stats page.
  472. </para>
  473. </refsect1>
  474. <refsect1>
  475. <title>Default</title>
  476. <para> MAINTAINER </para>
  477. </refsect1>
  478. </refentry>
  479. <!-- *** COLORSCHEME *** -->
  480. <refentry id="ColorScheme">
  481. <refmeta> <refentrytitle>ColorScheme</refentrytitle> </refmeta>
  482. <refnamediv>
  483. <refname>ColorScheme</refname>
  484. <refpurpose>use a different colorscheme for stats page</refpurpose>
  485. </refnamediv>
  486. <refsynopsisdiv><programlisting>
  487. <![CDATA[
  488. <channel="#channel">
  489. Logfile = "channel.log"
  490. ColorScheme = "darkgalaxy"
  491. Maintainer = "John"
  492. </channel>
  493. <set ColorScheme="default">
  494. ]]>
  495. </programlisting></refsynopsisdiv>
  496. <refsect1>
  497. <title>Description</title>
  498. <para>
  499. <command>ColorScheme</command> is used to define the colorscheme used
  500. for the statistics page. Actually it's the CSS file being included.
  501. Available options are: default, darkgalaxy.
  502. </para>
  503. </refsect1>
  504. <refsect1>
  505. <title>Default</title>
  506. <para> default </para>
  507. </refsect1>
  508. </refentry>
  509. <!-- *** LANG *** -->
  510. <refentry id="Lang">
  511. <refmeta> <refentrytitle>Lang</refentrytitle> </refmeta>
  512. <refnamediv>
  513. <refname>Lang</refname>
  514. <refpurpose>define the language / translation to use</refpurpose>
  515. </refnamediv>
  516. <refsynopsisdiv><programlisting>
  517. <![CDATA[
  518. <channel="#channel">
  519. Logfile = "channel.log"
  520. Format = "mIRC"
  521. Lang = "DE"
  522. </channel>
  523. <set Lang="FR">
  524. ]]>
  525. </programlisting></refsynopsisdiv>
  526. <refsect1>
  527. <title>Description</title>
  528. <para>
  529. <command>Lang</command> is used to define the language translation to
  530. use, if the language support is there, the text on the stats page will
  531. be outputted in that language. All supported languages is mentioned in
  532. the lang.txt file with the pisg distribution. Some of the languages
  533. supported is: EN | DE | DK | FR | ES | PL | PT | NO | NL | SE | EE | IT
  534. | HU | SI | FI
  535. </para>
  536. </refsect1>
  537. <refsect1>
  538. <title>Default</title>
  539. <para> EN (English) </para>
  540. </refsect1>
  541. </refentry>
  542. <!-- *** PAGEHEAD *** -->
  543. <refentry id="pagehead">
  544. <refmeta> <refentrytitle>PageHead</refentrytitle> </refmeta>
  545. <refnamediv>
  546. <refname>PageHead</refname>
  547. <refpurpose>define a file as page header</refpurpose>
  548. </refnamediv>
  549. <refsynopsisdiv><programlisting>
  550. <![CDATA[
  551. <channel="#channel">
  552. Logfile = "chaNnel.log"
  553. Format = "mIRC"
  554. OutputFile = "stats.html"
  555. PageHead = "myheader.txt"
  556. </channel>
  557. <set PageHead="someheader.txt">
  558. ]]>
  559. </programlisting></refsynopsisdiv>
  560. <refsect1>
  561. <title>Description</title>
  562. <para>
  563. <command>PageHead</command> is used to include a file in the stats page,
  564. for example an introduction text, a link to an image or a banner. The
  565. file can hold anything, it will be included raw in the stats page -
  566. so HTML should be preferred. The file will be included in the top of
  567. the page. This option is the opposite of <command>PageFoot</command>.
  568. </para>
  569. </refsect1>
  570. <refsect1>
  571. <title>Default</title>
  572. <para> none </para>
  573. </refsect1>
  574. </refentry>
  575. <!-- *** PAGEFOOT *** -->
  576. <refentry id="PageFoot">
  577. <refmeta> <refentrytitle>PageFoot</refentrytitle> </refmeta>
  578. <refnamediv>
  579. <refname>PageFoot</refname>
  580. <refpurpose>define a file as page footer</refpurpose>
  581. </refnamediv>
  582. <refsynopsisdiv><programlisting>
  583. <![CDATA[
  584. <channel="#channel">
  585. Logfile = "channel.log"
  586. Format = "mIRC"
  587. outputfile = "stats.html"
  588. PageFoot = "myfooter.txt"
  589. </channel>
  590. <set PageFoot="somefooter.txt">
  591. ]]>
  592. </programlisting></refsynopsisdiv>
  593. <refsect1>
  594. <title>Description</title>
  595. <para>
  596. <command>PageFoot</command> is used to include a file in the stats page,
  597. for example an introduction text, a link to an image or a banner. The
  598. file can hold anything, it will be included raw in the stats page -
  599. so HTML should be preferred. The file will be included in the bottom of
  600. the page. This option is the opposite of <command>PageHead</command>.
  601. </para>
  602. </refsect1>
  603. <refsect1>
  604. <title>Default</title>
  605. <para> none </para>
  606. </refsect1>
  607. </refentry>
  608. <!-- *** LogPrefix *** -->
  609. <refentry id="LogPrefix">
  610. <refmeta> <refentrytitle>LogPrefix</refentrytitle> </refmeta>
  611. <refnamediv>
  612. <refname>LogPrefix</refname>
  613. <refpurpose>only parse logs LogPrefixed with a userdefined string</refpurpose>
  614. </refnamediv>
  615. <refsynopsisdiv><programlisting>
  616. <![CDATA[
  617. <channel="#channel">
  618. LogDir="/home/foo/eggdrop/logs/"
  619. Format = "eggdrop"
  620. LogPrefix = "logjun"
  621. </channel>
  622. <set LogPrefix="logjanuary">
  623. ]]>
  624. </programlisting></refsynopsisdiv>
  625. <refsect1>
  626. <title>Description</title>
  627. <para>
  628. When using the <command>LogDir</command> option and you only want to use
  629. a slew of the files in it, you can have pisg choose only files which are
  630. prefixed with a special string.
  631. </para>
  632. </refsect1>
  633. <refsect1>
  634. <title>Default</title>
  635. <para> unset </para>
  636. </refsect1>
  637. </refentry>
  638. <!-- *** LOGSUFFIX *** -->
  639. <refentry id="LogSuffix">
  640. <refmeta> <refentrytitle>LogSuffix</refentrytitle> </refmeta>
  641. <refnamediv>
  642. <refname>LogSuffix</refname>
  643. <refpurpose>Regex to sort logfiles by format month||day||year</refpurpose>
  644. </refnamediv>
  645. <refsynopsisdiv><programlisting>
  646. <![CDATA[
  647. <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)">
  648. ]]>
  649. </programlisting></refsynopsisdiv>
  650. <refsect1>
  651. <title>Description</title>
  652. <para>
  653. <command>LogSuffix</command> is used to define the suffix of a logfile,
  654. it only works when <command>LogDir</command> is defined. The example in
  655. the synopsis is for the eggdrop bots default foramt.
  656. </para>
  657. </refsect1>
  658. <refsect1>
  659. <title>Default</title>
  660. <para> Unset </para>
  661. </refsect1>
  662. </refentry>
  663. <!-- *** SILENT *** -->
  664. <refentry id="Silent">
  665. <refmeta> <refentrytitle>Silent</refentrytitle> </refmeta>
  666. <refnamediv>
  667. <refname>Silent</refname>
  668. <refpurpose>make pisg silent, suppress messages</refpurpose>
  669. </refnamediv>
  670. <refsynopsisdiv><programlisting>
  671. <![CDATA[
  672. <set Silent="1">
  673. ]]>
  674. </programlisting></refsynopsisdiv>
  675. <refsect1>
  676. <title>Description</title>
  677. <para>
  678. This option is useful mainly from commandline when invoking pisg with
  679. <command>--silent 1</command>. But it can also used in the configuration
  680. file. It will suppress all standard output from pisg. Error messages
  681. will still be sent.
  682. </para>
  683. </refsect1>
  684. <refsect1>
  685. <title>Default</title>
  686. <para> 0 (disabled) </para>
  687. </refsect1>
  688. </refentry>
  689. </chapter>
  690. <chapter id="reference-stats">
  691. <title>Options for various statistics features</title>
  692. <!-- *** SHOWACTIVETIMES *** -->
  693. <refentry id="ShowActiveTimes">
  694. <refmeta> <refentrytitle>ShowActiveTimes</refentrytitle> </refmeta>
  695. <refnamediv>
  696. <refname>ShowActiveTimes</refname>
  697. <refpurpose>enable/disable "Most Active Times"</refpurpose>
  698. </refnamediv>
  699. <refsynopsisdiv><programlisting>
  700. <![CDATA[
  701. <channel="#channel">
  702. Logfile = "channel.log"
  703. Format = "xchat"
  704. ShowActiveTimes = "0"
  705. </channel>
  706. <set ShowActiveTimes="1">
  707. ]]>
  708. </programlisting></refsynopsisdiv>
  709. <refsect1>
  710. <title>Description</title>
  711. <para>
  712. With this option you can disable the "Most Active Times" section on the
  713. stats page. It will simply disappear when specifying 0.
  714. </para>
  715. </refsect1>
  716. <refsect1>
  717. <title>Default</title>
  718. <para> 1 (enabled) </para>
  719. </refsect1>
  720. </refentry>
  721. <!-- *** SHOWBIGNUMBERS *** -->
  722. <refentry id="ShowBigNumbers">
  723. <refmeta> <refentrytitle>ShowBigNumbers</refentrytitle> </refmeta>
  724. <refnamediv>
  725. <refname>ShowBigNumbers</refname>
  726. <refpurpose>enable/disable "Big Numbers" sections</refpurpose>
  727. </refnamediv>
  728. <refsynopsisdiv><programlisting>
  729. <![CDATA[
  730. <channel="#channel">
  731. Logfile = "channel.log"
  732. Format = "xchat"
  733. ShowBigNumbers = "0"
  734. </channel>
  735. <set ShowBigNumbers="1">
  736. ]]>
  737. </programlisting></refsynopsisdiv>
  738. <refsect1>
  739. <title>Description</title>
  740. <para>
  741. With this option you can disable the "Big Numbers" and "Other
  742. Interesting numbers" sections on the stats page. They will simply
  743. disappear when specifying 0.
  744. </para>
  745. </refsect1>
  746. <refsect1>
  747. <title>Default</title>
  748. <para> 1 (enabled) </para>
  749. </refsect1>
  750. </refentry>
  751. <!-- *** SHOWTOPICS *** -->
  752. <refentry id="ShowTopics">
  753. <refmeta> <refentrytitle>ShowTopics</refentrytitle> </refmeta>
  754. <refnamediv>
  755. <refname>ShowTopics</refname>
  756. <refpurpose>enable/disable "Latest topics" sections</refpurpose>
  757. </refnamediv>
  758. <refsynopsisdiv><programlisting>
  759. <![CDATA[
  760. <channel="#channel">
  761. Logfile = "channel.log"
  762. Format = "xchat"
  763. ShowTopics = "0"
  764. </channel>
  765. <set ShowTopics="1">
  766. ]]>
  767. </programlisting></refsynopsisdiv>
  768. <refsect1>
  769. <title>Description</title>
  770. <para>
  771. With this option you can disable the "Latest topics" section on the
  772. stats page. It will simply disappear when specifying 0.
  773. </para>
  774. </refsect1>
  775. <refsect1>
  776. <title>Default</title>
  777. <para> 1 (enabled) </para>
  778. </refsect1>
  779. </refentry>
  780. <!-- *** SHOWWPL *** -->
  781. <refentry id="ShowWpl">
  782. <refmeta> <refentrytitle>ShowWpl</refentrytitle> </refmeta>
  783. <refnamediv>
  784. <refname>ShowWpl</refname>
  785. <refpurpose>enable/disable "words per line"</refpurpose>
  786. </refnamediv>
  787. <refsynopsisdiv><programlisting>
  788. <![CDATA[
  789. <channel="#channel">
  790. Logfile = "channel.log"
  791. Format = "xchat"
  792. ShowWpl = "0"
  793. </channel>
  794. <set ShowWpl="1">
  795. ]]>
  796. </programlisting></refsynopsisdiv>
  797. <refsect1>
  798. <title>Description</title>
  799. <para>
  800. With this option you can enable the "words per line" coloumn in the
  801. "Most Active Nicks" section. It will add a column describing the average
  802. words per line for a person.
  803. </para>
  804. </refsect1>
  805. <refsect1>
  806. <title>Default</title>
  807. <para> 0 (disabled) </para>
  808. </refsect1>
  809. </refentry>
  810. <!-- *** SHOWCPL *** -->
  811. <refentry id="ShowCpl">
  812. <refmeta> <refentrytitle>ShowCpl</refentrytitle> </refmeta>
  813. <refnamediv>
  814. <refname>ShowCpl</refname>
  815. <refpurpose>enable/disable "characters per line"</refpurpose>
  816. </refnamediv>
  817. <refsynopsisdiv><programlisting>
  818. <![CDATA[
  819. <channel="#channel">
  820. Logfile = "channel.log"
  821. Format = "xchat"
  822. ShowCpl = "0"
  823. </channel>
  824. <set ShowCpl="1">
  825. ]]>
  826. </programlisting></refsynopsisdiv>
  827. <refsect1>
  828. <title>Description</title>
  829. <para>
  830. With this option you can enable the "characters per line" coloumn in the
  831. "Most Active Nicks" section. It will add a column describing the average
  832. number of characters per line for a person.
  833. </para>
  834. </refsect1>
  835. <refsect1>
  836. <title>Default</title>
  837. <para> 0 (disabled) </para>
  838. </refsect1>
  839. </refentry>
  840. <!-- *** SHOWWORDS *** -->
  841. <refentry id="ShowWords">
  842. <refmeta> <refentrytitle>ShowWords</refentrytitle> </refmeta>
  843. <refnamediv>
  844. <refname>ShowWords</refname>
  845. <refpurpose>enable/disable "number of words"</refpurpose>
  846. </refnamediv>
  847. <refsynopsisdiv><programlisting>
  848. <![CDATA[
  849. <channel="#channel">
  850. Logfile = "channel.log"
  851. Format = "xchat"
  852. ShowWords = "0"
  853. </channel>
  854. <set ShowWords="1">
  855. ]]>
  856. </programlisting></refsynopsisdiv>
  857. <refsect1>
  858. <title>Description</title>
  859. <para>
  860. The <command>ShowWords</command> option adds a column to the "Most
  861. Active Nicks" list which list the total number of words a user has
  862. typed.
  863. </para>
  864. </refsect1>
  865. <refsect1>
  866. <title>Default</title>
  867. <para> 0 (disabled) </para>
  868. </refsect1>
  869. </refentry>
  870. <!-- *** ShowLastSeen *** -->
  871. <refentry id="ShowLastSeen">
  872. <refmeta> <refentrytitle>ShowLastSeen</refentrytitle> </refmeta>
  873. <refnamediv>
  874. <refname>ShowLastSeen</refname>
  875. <refpurpose>show when a user was last seen on a channel</refpurpose>
  876. </refnamediv>
  877. <refsynopsisdiv><programlisting>
  878. <![CDATA[
  879. <channel="#channel">
  880. Logfile = "channel.log"
  881. Format = "xchat"
  882. ShowLastSeen = "0"
  883. </channel>
  884. <set ShowLastSeen="1">
  885. ]]>
  886. </programlisting></refsynopsisdiv>
  887. <refsect1>
  888. <title>Description</title>
  889. <para>
  890. With this option enabled, a column will be added to the "Most Active
  891. Nicks" section to display when a user was last seen. Eg. "2 days ago".
  892. </para>
  893. </refsect1>
  894. <refsect1>
  895. <title>Default</title>
  896. <para> 0 (disabled) </para>
  897. </refsect1>
  898. </refentry>
  899. <!-- *** SHOWTIME *** -->
  900. <refentry id="ShowTime">
  901. <refmeta> <refentrytitle>ShowTime</refentrytitle> </refmeta>
  902. <refnamediv>
  903. <refname>ShowTime</refname>
  904. <refpurpose>show when a nick was active</refpurpose>
  905. </refnamediv>
  906. <refsynopsisdiv><programlisting>
  907. <![CDATA[
  908. <channel="#channel">
  909. Logfile = "channel.log"
  910. Format = "xchat"
  911. ShowTime = "0"
  912. </channel>
  913. <set ShowTime="1">
  914. ]]>
  915. </programlisting></refsynopsisdiv>
  916. <refsect1>
  917. <title>Description</title>
  918. <para>
  919. The default behaviour is to add a column to the "Most Active Nicks"
  920. section displaying a fancy timebar to show when a user was active. With
  921. this option it can be disabled.
  922. </para>
  923. </refsect1>
  924. <refsect1>
  925. <title>Default</title>
  926. <para> 1 (enabled) </para>
  927. </refsect1>
  928. </refentry>
  929. <!-- *** SHOWLINETIME *** -->
  930. <refentry id="ShowLineTime">
  931. <refmeta> <refentrytitle>ShowLineTime</refentrytitle> </refmeta>
  932. <refnamediv>
  933. <refname>ShowLineTime</refname>
  934. <refpurpose>mIRCStats like behaviour of timebar</refpurpose>
  935. </refnamediv>
  936. <refsynopsisdiv><programlisting>
  937. <![CDATA[
  938. <channel="#channel">
  939. Logfile = "channel.log"
  940. Format = "bobot"
  941. ShowLineTime = "0"
  942. </channel>
  943. <set ShowLineTime="1">
  944. ]]>
  945. </programlisting></refsynopsisdiv>
  946. <refsect1>
  947. <title>Description</title>
  948. <para>
  949. The default behaviour is to add a column to the "Most Active Nicks"
  950. section displaying a fancy linetimebar to show when a user was active.
  951. With this option it can be done the same way as mIRCStats does it; that
  952. is, by putting that timebar next to the number of lines, in the same
  953. column.
  954. </para>
  955. </refsect1>
  956. <refsect1>
  957. <title>Default</title>
  958. <para> 0 (disabled) </para>
  959. </refsect1>
  960. </refentry>
  961. <!-- *** SHOWRANDQUOTE *** -->
  962. <refentry id="ShowRandQuote">
  963. <refmeta> <refentrytitle>ShowRandQuote</refentrytitle> </refmeta>
  964. <refnamediv>
  965. <refname>ShowRandQuote</refname>
  966. <refpurpose>enable or disable the random quotes</refpurpose>
  967. </refnamediv>
  968. <refsynopsisdiv><programlisting>
  969. <![CDATA[
  970. <channel="#channel">
  971. Logfile = "channel.log"
  972. Format = "bobot"
  973. ShowRandQuote = "0"
  974. </channel>
  975. <set ShowRandQuote="1">
  976. ]]>
  977. </programlisting></refsynopsisdiv>
  978. <refsect1>
  979. <title>Description</title>
  980. <para>
  981. The default behaviour is to add a column to the "Most Active Nicks"
  982. section displaying a users random quote. With this option it can be
  983. disabled.
  984. </para>
  985. </refsect1>
  986. <refsect1>
  987. <title>Default</title>
  988. <para> 1 (enabled) </para>
  989. </refsect1>
  990. </refentry>
  991. <!-- *** SHOWLEGEND *** -->
  992. <refentry id="ShowLegend">
  993. <refmeta> <refentrytitle>ShowLegend</refentrytitle> </refmeta>
  994. <refnamediv>
  995. <refname>ShowLegend</refname>
  996. <refpurpose>enable or disable the legend of the timebars</refpurpose>
  997. </refnamediv>
  998. <refsynopsisdiv><programlisting>
  999. <![CDATA[
  1000. <channel="#channel">
  1001. Logfile = "channel.log"
  1002. Format = "bobot"
  1003. ShowLegend = "0"
  1004. </channel>
  1005. <set ShowLegend="1">
  1006. ]]>
  1007. </programlisting></refsynopsisdiv>
  1008. <refsect1>
  1009. <title>Description</title>
  1010. <para>
  1011. By default, pisg shows a legend below the "Most Active Times" displaying
  1012. what the different colors means. With this option it can be disabled.
  1013. </para>
  1014. </refsect1>
  1015. <refsect1>
  1016. <title>Default</title>
  1017. <para> 1 (enabled) </para>
  1018. </refsect1>
  1019. </refentry>
  1020. <!-- *** SHOWKICKLINE *** -->
  1021. <refentry id="ShowKickLine">
  1022. <refmeta> <refentrytitle>ShowKickLine</refentrytitle> </refmeta>
  1023. <refnamediv>
  1024. <refname>ShowKickLine</refname>
  1025. <refpurpose>enable or disable the kickline</refpurpose>
  1026. </refnamediv>
  1027. <refsynopsisdiv><programlisting>
  1028. <![CDATA[
  1029. <channel="#channel">
  1030. Logfile = "channel.log"
  1031. Format = "bobot"
  1032. ShowKickLine = "0"
  1033. </channel>
  1034. <set ShowKickLine="1">
  1035. ]]>
  1036. </programlisting></refsynopsisdiv>
  1037. <refsect1>
  1038. <title>Description</title>
  1039. <para>
  1040. By default, pisg shows an example kickline in the "Most kicked"-stats.
  1041. With this option it can be disabled.
  1042. </para>
  1043. </refsect1>
  1044. <refsect1>
  1045. <title>Default</title>
  1046. <para> 1 (enabled) </para>
  1047. </refsect1>
  1048. </refentry>
  1049. <!-- *** SHOWACTIONLINE *** -->
  1050. <refentry id="ShowActionLine">
  1051. <refmeta> <refentrytitle>ShowActionLine</refentrytitle> </refmeta>
  1052. <refnamediv>
  1053. <refname>ShowActionLine</refname>
  1054. <refpurpose>enable or disable the actionline</refpurpose>
  1055. </refnamediv>
  1056. <refsynopsisdiv><programlisting>
  1057. <![CDATA[
  1058. <channel="#channel">
  1059. Logfile = "channel.log"
  1060. Format = "bobot"
  1061. ShowActionLine = "0"
  1062. </channel>
  1063. <set ShowActionLine="1">
  1064. ]]>
  1065. </programlisting></refsynopsisdiv>
  1066. <refsect1>
  1067. <title>Description</title>
  1068. <para>
  1069. By default, pisg shows an example actionline in the "Most actions"-stats.
  1070. With this option it can be disabled.
  1071. </para>
  1072. </refsect1>
  1073. <refsect1>
  1074. <title>Default</title>
  1075. <para> 1 (enabled) </para>
  1076. </refsect1>
  1077. </refentry>
  1078. <!-- *** SHOWSHOUTLINE *** -->
  1079. <refentry id="ShowShoutLine">
  1080. <refmeta> <refentrytitle>ShowShoutLine</refentrytitle> </refmeta>
  1081. <refnamediv>
  1082. <refname>ShowShoutLine</refname>
  1083. <refpurpose>enable or disable the shoutline</refpurpose>
  1084. </refnamediv>
  1085. <refsynopsisdiv><programlisting>
  1086. <![CDATA[
  1087. <channel="#channel">
  1088. Logfile = "channel.log"
  1089. Format = "bobot"
  1090. ShowShoutLine = "0"
  1091. </channel>
  1092. <set ShowShoutLine="1">
  1093. ]]>
  1094. </programlisting></refsynopsisdiv>
  1095. <refsect1>
  1096. <title>Description</title>
  1097. <para>
  1098. By default, pisg shows an example shoutline in the "Most shouting
  1099. people"-stats. With this option it can be disabled.
  1100. </para>
  1101. </refsect1>
  1102. <refsect1>
  1103. <title>Default</title>
  1104. <para> 1 (enabled) </para>
  1105. </refsect1>
  1106. </refentry>
  1107. <!-- *** SHOWVIOLENTLINES *** -->
  1108. <refentry id="ShowViolentLines">
  1109. <refmeta> <refentrytitle>ShowViolentLines</refentrytitle> </refmeta>
  1110. <refnamediv>
  1111. <refname>ShowViolentLines</refname>
  1112. <refpurpose>enable or disable the violentlines</refpurpose>
  1113. </refnamediv>
  1114. <refsynopsisdiv><programlisting>
  1115. <![CDATA[
  1116. <channel="#channel">
  1117. Logfile = "channel.log"
  1118. Format = "bobot"
  1119. ShowViolentLines = "0"
  1120. </channel>
  1121. <set ShowViolentLines="1">
  1122. ]]>
  1123. </programlisting></refsynopsisdiv>
  1124. <refsect1>
  1125. <title>Description</title>
  1126. <para>
  1127. By default, pisg shows example violentlines in the "Most aggresive"
  1128. and "Most attacked"-stats. With this option it can be disabled.
  1129. </para>
  1130. </refsect1>
  1131. <refsect1>
  1132. <title>Default</title>
  1133. <para> 1 (enabled) </para>
  1134. </refsect1>
  1135. </refentry>
  1136. <!-- *** SHOWMUW *** -->
  1137. <refentry id="ShowMuw">
  1138. <refmeta> <refentrytitle>ShowMuw</refentrytitle> </refmeta>
  1139. <refnamediv>
  1140. <refname>ShowMuw</refname>
  1141. <refpurpose>enable or disable "Most used words"</refpurpose>
  1142. </refnamediv>
  1143. <refsynopsisdiv><programlisting>
  1144. <![CDATA[
  1145. <channel="#channel">
  1146. Logfile = "channel.log"
  1147. Format = "xchat"
  1148. ShowMuw = "0"
  1149. </channel>
  1150. <set ShowMuw="1">
  1151. ]]>
  1152. </programlisting></refsynopsisdiv>
  1153. <refsect1>
  1154. <title>Description</title>
  1155. <para>
  1156. By default, pisg adds an "Most used words" section to the stats page.
  1157. With this option you can disable it from being shown.
  1158. </para>
  1159. </refsect1>
  1160. <refsect1>
  1161. <title>Default</title>
  1162. <para> 1 (enabled) </para>
  1163. </refsect1>
  1164. </refentry>
  1165. <!-- *** SHOWMRN *** -->
  1166. <refentry id="ShowMrn">
  1167. <refmeta> <refentrytitle>ShowMrn</refentrytitle> </refmeta>
  1168. <refnamediv>
  1169. <refname>ShowMrn</refname>
  1170. <refpurpose>enable or disable "Most referenced nicks"</refpurpose>
  1171. </refnamediv>
  1172. <refsynopsisdiv><programlisting>
  1173. <![CDATA[
  1174. <channel="#channel">
  1175. Logfile = "channel.log"
  1176. Format = "xchat"
  1177. ShowMrn = "0"
  1178. </channel>
  1179. <set ShowMrn="1">
  1180. ]]>
  1181. </programlisting></refsynopsisdiv>
  1182. <refsect1>
  1183. <title>Description</title>
  1184. <para>
  1185. By default, pisg adds an "Most referenced nicks" section to the stats
  1186. page. With this option you can disable it from being shown.
  1187. </para>
  1188. </refsect1>
  1189. <refsect1>
  1190. <title>Default</title>
  1191. <para> 1 (enabled) </para>
  1192. </refsect1>
  1193. </refentry>
  1194. <!-- *** SHOWMRU *** -->
  1195. <refentry id="ShowMru">
  1196. <refmeta> <refentrytitle>ShowMru</refentrytitle> </refmeta>
  1197. <refnamediv>
  1198. <refname>ShowMru</refname>
  1199. <refpurpose>enable or disable "Most referenced URLs"</refpurpose>
  1200. </refnamediv>
  1201. <refsynopsisdiv><programlisting>
  1202. <![CDATA[
  1203. <channel="#channel">
  1204. Logfile = "channel.log"
  1205. Format = "xchat"
  1206. ShowMru = "0"
  1207. </channel>
  1208. <set ShowMru="1">
  1209. ]]>
  1210. </programlisting></refsynopsisdiv>
  1211. <refsect1>
  1212. <title>Description</title>
  1213. <para>
  1214. By default, pisg adds an "Most referenced URLs" section to the stats
  1215. page. With this option you can disable it from being shown.
  1216. </para>
  1217. </refsect1>
  1218. <refsect1>
  1219. <title>Default</title>
  1220. <para> 1 (enabled) </para>
  1221. </refsect1>
  1222. </refentry>
  1223. <!-- *** SHOWVOICES *** -->
  1224. <refentry id="ShowVoices">
  1225. <refmeta> <refentrytitle>ShowVoices</refentrytitle> </refmeta>
  1226. <refnamediv>
  1227. <refname>ShowVoices</refname>
  1228. <refpurpose>enable or disable voice statistics</refpurpose>
  1229. </refnamediv>
  1230. <refsynopsisdiv><programlisting>
  1231. <![CDATA[
  1232. <channel="#channel">
  1233. Logfile = "channel.log"
  1234. Format = "xchat"
  1235. ShowVoices = "0"
  1236. </channel>
  1237. <set ShowVoices="1">
  1238. ]]>
  1239. </programlisting></refsynopsisdiv>
  1240. <refsect1>
  1241. <title>Description</title>
  1242. <para>
  1243. By default, pisg doesn't have voice statistics like it has op
  1244. statistics. Enabling this option will add a section to the "Most
  1245. interesting numbers" displaying who got most voices.
  1246. </para>
  1247. </refsect1>
  1248. <refsect1>
  1249. <title>Default</title>
  1250. <para> 0 (disabled) </para>
  1251. </refsect1>
  1252. </refentry>
  1253. <!-- *** SHOWMOSTNICKS *** -->
  1254. <refentry id="ShowMostNicks">
  1255. <refmeta> <refentrytitle>ShowMostNicks</refentrytitle> </refmeta>
  1256. <refnamediv>
  1257. <refname>ShowMostNicks</refname>
  1258. <refpurpose>show who changed nick most often</refpurpose>
  1259. </refnamediv>
  1260. <refsynopsisdiv><programlisting>
  1261. <![CDATA[
  1262. <channel="#channel">
  1263. Logfile = "channel.log"
  1264. Format = "xchat"
  1265. ShowMostNicks = "0"
  1266. </channel>
  1267. <set ShowMostNicks="1">
  1268. ]]>
  1269. </programlisting></refsynopsisdiv>
  1270. <refsect1>
  1271. <title>Description</title>
  1272. <para>
  1273. By enabling this option, pisg will add a section to the stats showing
  1274. who had the most nicks, and what the nicks were. This option only works
  1275. properly when <command>NickTracking</command> is enabled.
  1276. </para>
  1277. </refsect1>
  1278. <refsect1>
  1279. <title>Default</title>
  1280. <para> 0 (disabled) </para>
  1281. </refsect1>
  1282. </refentry>
  1283. <!-- *** IGNOREWORDS *** -->
  1284. <refentry id="IgnoreWords">
  1285. <refmeta> <refentrytitle>IgnoreWords</refentrytitle> </refmeta>
  1286. <refnamediv>
  1287. <refname>IgnoreWords</refname>
  1288. <refpurpose>ignore specified words</refpurpose>
  1289. </refnamediv>
  1290. <refsynopsisdiv><programlisting>
  1291. <![CDATA[
  1292. <set IgnoreWords="you me">
  1293. ]]>
  1294. </programlisting></refsynopsisdiv>
  1295. <refsect1>
  1296. <title>Description</title>
  1297. <para>
  1298. Sometimes words in the "most used words" appears which you don't want to
  1299. see, with this option you can ignore these words. It also applies to the
  1300. "most referenced nicks" section. It's a space seperated list of words.
  1301. Can not be used in a channel-only context.
  1302. </para>
  1303. </refsect1>
  1304. <refsect1>
  1305. <title>Default</title>
  1306. <para> unset </para>
  1307. </refsect1>
  1308. </refentry>
  1309. <!-- *** FOULWORDS *** -->
  1310. <refentry id="FoulWords">
  1311. <refmeta> <refentrytitle>FoulWords</refentrytitle> </refmeta>
  1312. <refnamediv>
  1313. <refname>FoulWords</refname>
  1314. <refpurpose>specify words considered to be bad/FoulWords language</refpurpose>
  1315. </refnamediv>
  1316. <refsynopsisdiv><programlisting>
  1317. <![CDATA[
  1318. <set FoulWords="ass fuck bitch">
  1319. ]]>
  1320. </programlisting></refsynopsisdiv>
  1321. <refsect1>
  1322. <title>Description</title>
  1323. <para>
  1324. There is a section in the "Most interesting numbers" which tells who had
  1325. a "dirty mouth" - here you can define which words are considered being
  1326. bad/foul. It is a space seperated list of words.
  1327. Can not be used in a channel-only context.
  1328. </para>
  1329. </refsect1>
  1330. <refsect1>
  1331. <title>Default</title>
  1332. <para> ass fuck bitch shit scheisse scheiße kacke arsch ficker ficken schlampe </para>
  1333. </refsect1>
  1334. </refentry>
  1335. <!-- *** VIOLENTWORDS *** -->
  1336. <refentry id="ViolentWords">
  1337. <refmeta> <refentrytitle>ViolentWords</refentrytitle> </refmeta>
  1338. <refnamediv>
  1339. <refname>ViolentWords</refname>
  1340. <refpurpose>specify words considered to be aggressive/violent</refpurpose>
  1341. </refnamediv>
  1342. <refsynopsisdiv><programlisting>
  1343. <![CDATA[
  1344. <set ViolentWords="slaps beats kick">
  1345. ]]>
  1346. </programlisting></refsynopsisdiv>
  1347. <refsect1>
  1348. <title>Description</title>
  1349. <para>
  1350. There is a section in the "Most interesting numbers" which tells who is
  1351. most "aggressive" - here you can define which words are considered being
  1352. "violent". It is a space seperated list of words. Can not be used in a
  1353. channel-only context.
  1354. </para>
  1355. </refsect1>
  1356. <refsect1>
  1357. <title>Default</title>
  1358. <para> slaps beats smacks </para>
  1359. </refsect1>
  1360. </refentry>
  1361. <!-- *** MinQuote *** -->
  1362. <refentry id="MinQuote">
  1363. <refmeta> <refentrytitle>MinQuote</refentrytitle> </refmeta>
  1364. <refnamediv>
  1365. <refname>MinQuote</refname>
  1366. <refpurpose>minimum numbers of letters for a random quote</refpurpose>
  1367. </refnamediv>
  1368. <refsynopsisdiv><programlisting>
  1369. <![CDATA[
  1370. <channel="#channel">
  1371. Logfile = "channel.log"
  1372. Format = "xchat"
  1373. MinQuote = "10"
  1374. </channel>
  1375. <set MinQuote="5">
  1376. ]]>
  1377. </programlisting></refsynopsisdiv>
  1378. <refsect1>
  1379. <title>Description</title>
  1380. <para>
  1381. The random quotes displayed in the "Most Active Nicks" section has a
  1382. certain range specified. With this option you can change the minimum
  1383. number of letters required for a random quote. Also see the
  1384. <command>maxquote</command> option.
  1385. </para>
  1386. </refsect1>
  1387. <refsect1>
  1388. <title>Default</title>
  1389. <para> 25 </para>
  1390. </refsect1>
  1391. </refentry>
  1392. <!-- *** MaxQuote *** -->
  1393. <refentry id="MaxQuote">
  1394. <refmeta> <refentrytitle>MaxQuote</refentrytitle> </refmeta>
  1395. <refnamediv>
  1396. <refname>MaxQuote</refname>
  1397. <refpurpose>maximum numbers of letters for a random quote</refpurpose>
  1398. </refnamediv>
  1399. <refsynopsisdiv><programlisting>
  1400. <![CDATA[
  1401. <channel="#channel">
  1402. Logfile = "channel.log"
  1403. Format = "xchat"
  1404. MaxQuote = "70"
  1405. </channel>
  1406. <set MaxQuote="100">
  1407. ]]>
  1408. </programlisting></refsynopsisdiv>
  1409. <refsect1>
  1410. <title>Description</title>
  1411. <para>
  1412. The random quotes displayed in the "Most Active Nicks" section has a
  1413. certain range specified. With this option you can change the maximum
  1414. number of letters required for a random quote. Also see the
  1415. <command>minquote</command> option.
  1416. </para>
  1417. </refsect1>
  1418. <refsect1>
  1419. <title>Default</title>
  1420. <para> 65 </para>
  1421. </refsect1>
  1422. </refentry>
  1423. <!-- *** WORDLENGTH *** -->
  1424. <refentry id="WordLength">
  1425. <refmeta> <refentrytitle>WordLength</refentrytitle> </refmeta>
  1426. <refnamediv>
  1427. <refname>WordLength</refname>
  1428. <refpurpose>minimum number of characters in an interesting word</refpurpose>
  1429. </refnamediv>
  1430. <refsynopsisdiv><programlisting>
  1431. <![CDATA[
  1432. <channel="#channel">
  1433. Logfile = "channel.log"
  1434. Format = "xchat"
  1435. WordLength = "10"
  1436. </channel>
  1437. <set WordLength="2">
  1438. ]]>
  1439. </programlisting></refsynopsisdiv>
  1440. <refsect1>
  1441. <title>Description</title>
  1442. <para>
  1443. The "Most Used Words" section on the stats page display the most used
  1444. words. The default is that a word only appears if it is longer than 5
  1445. characters. With this option you can change that minimum.
  1446. </para>
  1447. </refsect1>
  1448. <refsect1>
  1449. <title>Default</title>
  1450. <para> 5 </para>
  1451. </refsect1>
  1452. </refentry>
  1453. <!-- *** ACTIVENICKS *** -->
  1454. <refentry id="ActiveNicks">
  1455. <refmeta> <refentrytitle>ActiveNicks</refentrytitle> </refmeta>
  1456. <refnamediv>
  1457. <refname>ActiveNicks</refname>
  1458. <refpurpose>nicks to show in "Most Active Nicks"</refpurpose>
  1459. </refnamediv>
  1460. <refsynopsisdiv><programlisting>
  1461. <![CDATA[
  1462. <channel="#channel">
  1463. Logfile = "channel.log"
  1464. Format = "mIRC"
  1465. ActiveNicks = "50"
  1466. </channel>
  1467. <set ActiveNicks="10">
  1468. ]]>
  1469. </programlisting></refsynopsisdiv>
  1470. <refsect1>
  1471. <title>Description</title>
  1472. <para>
  1473. With this option you can define how many nicks you want to appear in the
  1474. "Most Active Nicks" section on the stats page.
  1475. </para>
  1476. </refsect1>
  1477. <refsect1>
  1478. <title>Default</title>
  1479. <para> 25 </para>
  1480. </refsect1>
  1481. </refentry>
  1482. <!-- *** ACTIVENICKS2 *** -->
  1483. <refentry id="ActiveNicks2">
  1484. <refmeta> <refentrytitle>ActiveNicks2</refentrytitle> </refmeta>
  1485. <refnamediv>
  1486. <refname>ActiveNicks2</refname>
  1487. <refpurpose>nicks to show in "These didn't make it.."</refpurpose>
  1488. </refnamediv>
  1489. <refsynopsisdiv><programlisting>
  1490. <![CDATA[
  1491. <channel="#channel">
  1492. Logfile = "channel.log"
  1493. Format = "mIRC"
  1494. ActiveNicks2 = "25"
  1495. </channel>
  1496. <set ActiveNicks2="10">
  1497. ]]>
  1498. </programlisting></refsynopsisdiv>
  1499. <refsect1>
  1500. <title>Description</title>
  1501. <para>
  1502. With this option you can define how many nicks you want to appear in the
  1503. "These didn't make it" section on the stats page.
  1504. </para>
  1505. </refsect1>
  1506. <refsect1>
  1507. <title>Default</title>
  1508. <para> 30 </para>
  1509. </refsect1>
  1510. </refentry>
  1511. <!-- *** MOSTNICKSHISTORY *** -->
  1512. <refentry id="MostNicksHistory">
  1513. <refmeta> <refentrytitle>MostNicksHistory</refentrytitle> </refmeta>
  1514. <refnamediv>
  1515. <refname>MostNicksHistory</refname>
  1516. <refpurpose>maximum number of nicks to show in "most nicks"</refpurpose>
  1517. </refnamediv>
  1518. <refsynopsisdiv><programlisting>
  1519. <![CDATA[
  1520. <channel="#channel">
  1521. Logfile = "channel.log"
  1522. Format = "mIRC"
  1523. MostNicksHistory = "2"
  1524. </channel>
  1525. <set MostNicksHistory="10">
  1526. ]]>
  1527. </programlisting></refsynopsisdiv>
  1528. <refsect1>
  1529. <title>Description</title>
  1530. <para>
  1531. With this option you can define how many nicks you want to appear in
  1532. the "Most used nicks" section.
  1533. </para>
  1534. </refsect1>
  1535. <refsect1>
  1536. <title>Default</title>
  1537. <para> 5 </para>
  1538. </refsect1>
  1539. </refentry>
  1540. <!-- *** TOPICHISTORY *** -->
  1541. <refentry id="TopicHistory">
  1542. <refmeta> <refentrytitle>TopicHistory</refentrytitle> </refmeta>
  1543. <refnamediv>
  1544. <refname>TopicHistory</refname>
  1545. <refpurpose>maximum number of topics to show</refpurpose>
  1546. </refnamediv>
  1547. <refsynopsisdiv><programlisting>
  1548. <![CDATA[
  1549. <channel="#channel">
  1550. Logfile = "channel.log"
  1551. Format = "mIRC"
  1552. TopicHistory = "2"
  1553. </channel>
  1554. <set TopicHistory="10">
  1555. ]]>
  1556. </programlisting></refsynopsisdiv>
  1557. <refsect1>
  1558. <title>Description</title>
  1559. <para>
  1560. With this option you can define how many topics you want to appear in
  1561. the "Latest topics" section.
  1562. </para>
  1563. </refsect1>
  1564. <refsect1>
  1565. <title>Default</title>
  1566. <para> 3 </para>
  1567. </refsect1>
  1568. </refentry>
  1569. <!-- *** URLHISTORY *** -->
  1570. <refentry id="UrlHistory">
  1571. <refmeta> <refentrytitle>UrlHistory</refentrytitle> </refmeta>
  1572. <refnamediv>
  1573. <refname>UrlHistory</refname>
  1574. <refpurpose>maximum number of urls to show</refpurpose>
  1575. </refnamediv>
  1576. <refsynopsisdiv><programlisting>
  1577. <![CDATA[
  1578. <channel="#channel">
  1579. Logfile = "channel.log"
  1580. Format = "mIRC"
  1581. UrlHistory = "2"
  1582. </channel>
  1583. <set UrlHistory="10">
  1584. ]]>
  1585. </programlisting></refsynopsisdiv>
  1586. <refsect1>
  1587. <title>Description</title>
  1588. <para>
  1589. With this option you can define how many urls you want to appear in
  1590. the "Most referenced URLs" section.
  1591. </para>
  1592. </refsect1>
  1593. <refsect1>
  1594. <title>Default</title>
  1595. <para> 5 </para>
  1596. </refsect1>
  1597. </refentry>
  1598. <!-- *** WORDHISTORY *** -->
  1599. <refentry id="WordHistory">
  1600. <refmeta> <refentrytitle>WordHistory</refentrytitle> </refmeta>
  1601. <refnamediv>
  1602. <refname>WordHistory</refname>
  1603. <refpurpose>maximum number of words to show</refpurpose>
  1604. </refnamediv>
  1605. <refsynopsisdiv><programlisting>
  1606. <![CDATA[
  1607. <channel="#channel">
  1608. Logfile = "channel.log"
  1609. Format = "mIRC"
  1610. WordHistory = "5"
  1611. </channel>
  1612. <set WordHistory="15">
  1613. ]]>
  1614. </programlisting></refsynopsisdiv>
  1615. <refsect1>
  1616. <title>Description</title>
  1617. <para>
  1618. With this option you can define how many words you want to appear in
  1619. the "Most used words" section.
  1620. </para>
  1621. </refsect1>
  1622. <refsect1>
  1623. <title>Default</title>
  1624. <para> 10 </para>
  1625. </refsect1>
  1626. </refentry>
  1627. <!-- *** NICKHISTORY *** -->
  1628. <refentry id="NickHistory">
  1629. <refmeta> <refentrytitle>NickHistory</refentrytitle> </refmeta>
  1630. <refnamediv>
  1631. <refname>NickHistory</refname>
  1632. <refpurpose>maximum number of nicks to show</refpurpose>
  1633. </refnamediv>
  1634. <refsynopsisdiv><programlisting>
  1635. <![CDATA[
  1636. <channel="#channel">
  1637. Logfile = "channel.log"
  1638. Format = "mIRC"
  1639. NickHistory = "3"
  1640. </channel>
  1641. <set NickHistory="15">
  1642. ]]>
  1643. </programlisting></refsynopsisdiv>
  1644. <refsect1>
  1645. <title>Description</title>
  1646. <para>
  1647. With this option you can define how many nicks you want to appear in
  1648. the "Most referenced nicks" section.
  1649. </para>
  1650. </refsect1>
  1651. <refsect1>
  1652. <title>Default</title>
  1653. <para> 5 </para>
  1654. </refsect1>
  1655. </refentry>
  1656. <!-- *** NICKTRACKING *** -->
  1657. <refentry id="NickTracking">
  1658. <refmeta> <refentrytitle>NickTracking</refentrytitle> </refmeta>
  1659. <refnamediv>
  1660. <refname>NickTracking</refname>
  1661. <refpurpose>track nickchanges and create aliases</refpurpose>
  1662. </refnamediv>
  1663. <refsynopsisdiv><programlisting>
  1664. <![CDATA[
  1665. <set NickTracking="1">
  1666. ]]>
  1667. </programlisting></refsynopsisdiv>
  1668. <refsect1>
  1669. <title>Description</title>
  1670. <para>
  1671. Enabling this option will track nickchanges as well as it can. It will
  1672. then automatically create aliases for these nicks.
  1673. </para>
  1674. </refsect1>
  1675. <refsect1>
  1676. <title>Default</title>
  1677. <para> 0 (disabled) </para>
  1678. </refsect1>
  1679. </refentry>
  1680. <chapter id="reference-pictures">
  1681. <title>Picture options</title>
  1682. <!-- *** PICLOCATION *** -->
  1683. <refentry id="PicLocation">
  1684. <refmeta> <refentrytitle>PicLocation</refentrytitle> </refmeta>
  1685. <refnamediv>
  1686. <refname>PicLocation</refname>
  1687. <refpurpose>path to images on stats page</refpurpose>
  1688. </refnamediv>
  1689. <refsynopsisdiv><programlisting>
  1690. <![CDATA[
  1691. <set PicLocation="userpics/">
  1692. ]]>
  1693. </programlisting></refsynopsisdiv>
  1694. <refsect1>
  1695. <title>Description</title>
  1696. <para>
  1697. The location to the pictures used on the stats page - not the user
  1698. pictures but the different bars in "Most Active Times".
  1699. </para>
  1700. </refsect1>
  1701. <refsect1>
  1702. <title>Default</title>
  1703. <para> Current directory </para>
  1704. </refsect1>
  1705. <!-- *** IMAGEPATH *** -->
  1706. <refentry id="ImagePath">
  1707. <refmeta> <refentrytitle>ImagePath</refentrytitle> </refmeta>
  1708. <refnamediv>
  1709. <refname>ImagePath</refname>
  1710. <refpurpose>path to user pictures</refpurpose>
  1711. </refnamediv>
  1712. <refsynopsisdiv><programlisting>
  1713. <![CDATA[
  1714. <channel="#channel">
  1715. Logfile = "channel.log"
  1716. Format = "mIRC"
  1717. ImagePath = "userpics/"
  1718. </channel>
  1719. <set ImagePath="alt_users/">
  1720. ]]>
  1721. </programlisting></refsynopsisdiv>
  1722. <refsect1>
  1723. <title>Description</title>
  1724. <para>
  1725. <command>ImagePath</command> defines an alternative path to where user
  1726. pictures is located. The default is that user pictures is located in the
  1727. same directory as the HTML page.
  1728. </para>
  1729. </refsect1>
  1730. <refsect1>
  1731. <title>Default</title>
  1732. <para> current directory </para>
  1733. </refsect1>
  1734. </refentry>
  1735. <!-- *** DEFAULTPIC *** -->
  1736. <refentry id="DefaultPic">
  1737. <refmeta> <refentrytitle>DefaultPic</refentrytitle> </refmeta>
  1738. <refnamediv>
  1739. <refname>DefaultPic</refname>
  1740. <refpurpose>use a default user picture</refpurpose>
  1741. </refnamediv>
  1742. <refsynopsisdiv><programlisting>
  1743. <![CDATA[
  1744. <channel="#channel">
  1745. Logfile = "channel.log"
  1746. Format = "mIRC"
  1747. DefaultPic = "not_available.jpg"
  1748. </channel>
  1749. <set DefaultPic="unknown.gif">
  1750. ]]>
  1751. </programlisting></refsynopsisdiv>
  1752. <refsect1>
  1753. <title>Description</title>
  1754. <para>
  1755. <command>DefaultPic</command> defines a picture to be displayed for all
  1756. users which have no other picture defined in the <command>user</command>
  1757. element. This is good for showing "No picture available" or something.
  1758. </para>
  1759. </refsect1>
  1760. <refsect1>
  1761. <title>Default</title>
  1762. <para> unset </para>
  1763. </refsect1>
  1764. </refentry>
  1765. <!-- *** PICWIDTH *** -->
  1766. <refentry id="PicWidth">
  1767. <refmeta> <refentrytitle>PicWidth</refentrytitle> </refmeta>
  1768. <refnamediv>
  1769. <refname>PicWidth</refname>
  1770. <refpurpose>define a standard width for user pictures</refpurpose>
  1771. </refnamediv>
  1772. <refsynopsisdiv><programlisting>
  1773. <![CDATA[
  1774. <channel="#channel">
  1775. Logfile = "channel.log"
  1776. Format = "mIRC"
  1777. PicWidth = "not_available.jpg"
  1778. </channel>
  1779. <set PicWidth="unknown.gif">
  1780. ]]>
  1781. </programlisting></refsynopsisdiv>
  1782. <refsect1>
  1783. <title>Description</title>
  1784. <para>
  1785. <command>PicWidth</command> defines the standard width for user
  1786. pictures. Setting the 'width' attribute of image-elements on the
  1787. outputted stats page. See also <command>PicHeight</command>
  1788. </para>
  1789. </refsect1>
  1790. <refsect1>
  1791. <title>Default</title>
  1792. <para> unset </para>
  1793. </refsect1>
  1794. </refentry>
  1795. <!-- *** PICHEIGHT *** -->
  1796. <refentry id="PicHeight">
  1797. <refmeta> <refentrytitle>PicHeight</refentrytitle> </refmeta>
  1798. <refnamediv>
  1799. <refname>PicHeight</refname>
  1800. <refpurpose>define a standard height for user pictures</refpurpose>
  1801. </refnamediv>
  1802. <refsynopsisdiv><programlisting>
  1803. <![CDATA[
  1804. <channel="#channel">
  1805. Logfile = "channel.log"
  1806. Format = "mIRC"
  1807. PicHeight = "not_available.jpg"
  1808. </channel>
  1809. <set PicHeight="unknown.gif">
  1810. ]]>
  1811. </programlisting></refsynopsisdiv>
  1812. <refsect1>
  1813. <title>Description</title>
  1814. <para>
  1815. <command>PicHeight</command> defines the standard height for user
  1816. pictures. Setting the 'height' attribute of image-elements on the
  1817. outputted stats page. See also <command>PicHeight</command>
  1818. </para>
  1819. </refsect1>
  1820. <refsect1>
  1821. <title>Default</title>
  1822. <para> unset </para>
  1823. </refsect1>
  1824. </refentry>
  1825. </chapter>
  1826. <chapter id="reference-misc">
  1827. <title>Misc options</title>
  1828. <!-- *** CHARSET *** -->
  1829. <refentry id="Charset">
  1830. <refmeta> <refentrytitle>Charset</refentrytitle> </refmeta>
  1831. <refnamediv>
  1832. <refname>Charset</refname>
  1833. <refpurpose>Charset to use for stats page</refpurpose>
  1834. </refnamediv>
  1835. <refsynopsisdiv><programlisting>
  1836. <![CDATA[
  1837. <channel="#channel">
  1838. Logfile = "channel.log"
  1839. Format = "xchat"
  1840. Charset = "utf-8"
  1841. </channel>
  1842. <set Charset="iso-8859-15">
  1843. ]]>
  1844. </programlisting></refsynopsisdiv>
  1845. <refsect1>
  1846. <title>Description</title>
  1847. <para>
  1848. The pisg stats page defines a charset in a meta tag, this can be used if
  1849. your country is using a different one than the default.
  1850. </para>
  1851. </refsect1>
  1852. <refsect1>
  1853. <title>Default</title>
  1854. <para> iso-8859-1 </para>
  1855. </refsect1>
  1856. </refentry>
  1857. <!-- *** TIMEOFFSET *** -->
  1858. <refentry id="TimeOffset">
  1859. <refmeta> <refentrytitle>TimeOffset</refentrytitle> </refmeta>
  1860. <refnamediv>
  1861. <refname>TimeOffset</refname>
  1862. <refpurpose>use a different time zone than the local machine</refpurpose>
  1863. </refnamediv>
  1864. <refsynopsisdiv><programlisting>
  1865. <![CDATA[
  1866. <channel="#channel">
  1867. Logfile = "channel.log"
  1868. Format = "mIRC"
  1869. Maintainer = "John"
  1870. TimeOffset = "+5"
  1871. </channel>
  1872. <set TimeOffset="+2">
  1873. ]]>
  1874. </programlisting></refsynopsisdiv>
  1875. <refsect1>
  1876. <title>Description</title>
  1877. <para>
  1878. By default, pisg uses the time of the local machine to display the time
  1879. of the generated stats. Sometimes when you have a shell on an external
  1880. box, and it's in another country, you want to use another time. This is
  1881. accomplished by the <command>TimeOffset</command> command.
  1882. </para>
  1883. </refsect1>
  1884. <refsect1>
  1885. <title>Default</title>
  1886. <para> +0 </para>
  1887. </refsect1>
  1888. </refentry>
  1889. <!-- *** REGEXPALIASES *** -->
  1890. <refentry id="RegexpAliases">
  1891. <refmeta> <refentrytitle>RegexpAliases</refentrytitle> </refmeta>
  1892. <refnamediv>
  1893. <refname>RegexpAliases</refname>
  1894. <refpurpose>use regular expressions in user aliases</refpurpose>
  1895. </refnamediv>
  1896. <refsynopsisdiv><programlisting>
  1897. <![CDATA[
  1898. <user nick="Joe" alias="Joe\d+">
  1899. <set RegexpAliases="1">
  1900. ]]>
  1901. </programlisting></refsynopsisdiv>
  1902. <refsect1>
  1903. <title>Description</title>
  1904. <para>
  1905. Enabling this option will make all aliases in &lt;user&gt; lines be
  1906. parsed as regular expressions.
  1907. </para>
  1908. </refsect1>
  1909. <refsect1>
  1910. <title>Default</title>
  1911. <para> 0 (disabled) </para>
  1912. </refsect1>
  1913. </refentry>
  1914. <!-- *** LANGFILE *** -->
  1915. <refentry id="LangFile">
  1916. <refmeta> <refentrytitle>LangFile</refentrytitle> </refmeta>
  1917. <refnamediv>
  1918. <refname>LangFile</refname>
  1919. <refpurpose>filename of language file</refpurpose>
  1920. </refnamediv>
  1921. <refsynopsisdiv><programlisting>
  1922. <![CDATA[
  1923. <set LangFile="mylang.txt">
  1924. ]]>
  1925. </programlisting></refsynopsisdiv>
  1926. <refsect1>
  1927. <title>Description</title>
  1928. <para>
  1929. With this option you have an alternative way to define the name and/or
  1930. path to the language file. Usually you don't have to touch this option.
  1931. </para>
  1932. </refsect1>
  1933. <refsect1>
  1934. <title>Default</title>
  1935. <para> lang.txt </para>
  1936. </refsect1>
  1937. </refentry>
  1938. <!-- *** CSSDIR *** -->
  1939. <refentry id="CssDir">
  1940. <refmeta> <refentrytitle>CssDir</refentrytitle> </refmeta>
  1941. <refnamediv>
  1942. <refname>CssDir</refname>
  1943. <refpurpose>path to directory with css files</refpurpose>
  1944. </refnamediv>
  1945. <refsynopsisdiv><programlisting>
  1946. <![CDATA[
  1947. <set CssDir="/usr/share/pisg/layout/">
  1948. ]]>
  1949. </programlisting></refsynopsisdiv>
  1950. <refsect1>
  1951. <title>Description</title>
  1952. <para>
  1953. <command>CssDir</command> is used to define the paths to the CSS files
  1954. (the colorschemes). Usually you don't need to change this.
  1955. </para>
  1956. </refsect1>
  1957. <refsect1>
  1958. <title>Default</title>
  1959. <para> layout/ (in current directory) </para>
  1960. </refsect1>
  1961. </refentry>
  1962. <!-- *** LOGTYPE *** -->
  1963. <refentry id="LogType">
  1964. <refmeta> <refentrytitle>LogType</refentrytitle> </refmeta>
  1965. <refnamediv>
  1966. <refname>LogType</refname>
  1967. <refpurpose>type of log (not the format of the log)</refpurpose>
  1968. </refnamediv>
  1969. <refsynopsisdiv><programlisting>
  1970. <![CDATA[
  1971. <set LogType="Logfile">
  1972. ]]>
  1973. </programlisting></refsynopsisdiv>
  1974. <refsect1>
  1975. <title>Description</title>
  1976. <para>
  1977. The type of logs kept for your channel. Currently only "Logfile" is
  1978. supported, so you don't need to change this option.
  1979. </para>
  1980. </refsect1>
  1981. <refsect1>
  1982. <title>Default</title>
  1983. <para> Logfile </para>
  1984. </refsect1>
  1985. </chapter>
  1986. </book>