pisg-doc.sgml 61 KB

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