| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538 |
- <!-- This is the raw docbook source of the pisg documentation -->
- <?xml version='1.0'?>
- <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
- "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
- <book id="pisg-documentation">
- <bookinfo>
- <title>pisg 0.63 documentation</title>
- <subtitle>How to install and configure pisg</subtitle>
- </bookinfo>
- <toc></toc>
- <!-- <lot></lot> -->
- <chapter id="what-is-pisg">
- <title>What is pisg?</title>
- <para>
- pisg is an IRC statistics generator. It takes IRC logfiles and turns
- them into nice looking stats.
- </para>
- <para>
- In general, you would do something like this to get it running:
- <itemizedlist mark="bullet">
- <listitem>
- <para>
- Enable logging in an IRC bot, or in your IRC client. The log will be
- outputted into a file.
- </para>
- </listitem>
- <listitem>
- <para>
- You set up pisg, you define the channel name, and the path to the
- logfile you created.
- </para>
- </listitem>
- <listitem>
- <para>
- You run pisg, pisg runs the log through and create statistics, it
- then creates an HTML page which you can upload to a webserver.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- <sect1 id="requirements">
- <title>What are the requirements to run pisg?</title>
- <para>
- <itemizedlist mark="bullet">
- <listitem>
- <para>
- An IRC client or bot where pisg supports the output logfile.
- </para>
- </listitem>
- <listitem>
- <para>
- Any operating system which Perl runs on, this includes popular OSes
- such as Linux, FreeBSD, Windows and Mac. You will have a hard time
- finding an OS where Perl isn't supported. For Windows this means
- that you need to download <ulink url="http://activestate.com/Products/ActivePerl/">ActivePerl</ulink>.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Optional</emphasis> - a system to host the statistics page
- 24 hours a day, 7 days a week.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Optional</emphasis> - a system to log the channel, 24 hours
- a day, 7 days a week.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </sect1>
- </chapter>
- <chapter id="setting-up-pisg">
- <title>Setting up pisg for the first time</title>
- <para>
- Most configuration happens through the <filename>pisg.cfg</filename>
- file, the file format is made to be easy to read, and easy to extend for
- further use. It uses an XML-like format, with elements and attributes.
- </para>
- <sect1 id="setting-up-a-channel">
- <title>Setting up a channel</title>
- <para>
- An element called <xref linkend="Channel" /> is made for defining
- channels, a quick example of a channel is here:
- <programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- Maintainer = "John"
- OutputFile = "mychan.html"
- </channel>
- ]]>
- </programlisting>
- The above will define a channel called <command>#channel</command>, the
- logfile pisg will look for is called <command>channel.log</command> and
- the format of the logfile will be <command>mIRC</command>. The
- maintainer (which will be stated on the output page) is
- <command>John</command>.
- </para>
- <para>
- That is basically it! Now, there are a lot more options that you can use
- for your channels, for this please refer to the reference documentation.
- </para>
- <para>
- Also be-aware of the fact that pisg uses various images to show the
- time-related bars. These images are placed in the
- <filename>gfx/</filename> folder and should be placed into the same
- directory as your outputted HTML file.
- </para>
- </sect1>
- <sect1 id="user-options">
- <title>Specifying user options</title>
- <para>
- User options are set with a simple XML-like syntax in the form:
- <programlisting>
- <![CDATA[<user nick="NICK" option="VALUE">]]>
- </programlisting>
- Remember, the nick is always required.
- For example to add aliases to a nick, then you could do this:
- <programlisting>
- <![CDATA[<user nick="Joe" alias="Joe^*">]]>
- </programlisting>
- The asterisk (*) means that it will match all nicks starting with 'Joe^'. So
- it will add all Joe^'s to 'Joe' in the stats.
- Another thing you can do is to add a picture to a user:
- <programlisting>
- <![CDATA[<user nick="Ben" pic="ben_holiday.jpg">]]>
- </programlisting>
- If you have a larger picture of the user as well, you can make the picture
- on the stats page link to it:
- <programlisting>
- <![CDATA[<user nick="Ben" pic="ben_holiday.jpg" bigpic="ben-big.jpg">]]>
- </programlisting>
- You can include * or ? to enable filename globbing to randomly choose one
- from several pictures: (see documentation for the
- <xref linkend="ImageGlobPath" /> option)
- <programlisting>
- <![CDATA[<user nick="Ben" pic="ben_*.jpg">]]>
- </programlisting>
- You can also set a user's sex.
- The sex setting can be "f"emale, "m"ale, or "b"ot:
- <programlisting>
- <![CDATA[<user nick="Ben" sex="m">]]>
- </programlisting>
- Also you can add links to URLs and e-mails:
- <programlisting>
- <![CDATA[<user nick="Christine" link="http://www.christine.com">]]>
- </programlisting>
- or
- <programlisting>
- <![CDATA[<user nick="Chris" link="chris@host.com">]]>
- </programlisting>
- The last thing you can do is to ignore nicks (for example bots):
- <programlisting>
- <![CDATA[<user nick="nameofbot" ignore="y">]]>
- </programlisting>
- You don't have to do all this in many lines, you could just as easily do:
- <programlisting>
- <![CDATA[<user nick="Joe" alias="Joe^away Joe^work" pic="joe.jpg" link="joe@joe.com" sex="m">]]>
- </programlisting>
- (Here the aliases are a space separated list of nicks, that also works! But *
- as a wildcard is smarter, although it is slower).
- </para>
- </sect1>
- <sect1 id="global-options">
- <title>Setting global options</title>
- <para>
- Many times, it will be useful to set up global options, global options
- are set like this:
- <programlisting>
- <![CDATA[<set option="VALUE">]]>
- </programlisting>
- Any global option will override anything defined within channel
- elements (see <xref linkend="setting-up-a-channel" />)
- </para>
- <para>
- For example, to change the background color of the stats page, you
- could do:
- <programlisting>
- <![CDATA[<set bgcolor="black">]]>
- </programlisting>
- You can set many options in a single <command>set</command>:
- <programlisting>
- <![CDATA[<set lang="DE" timeoffset="+1">]]>
- </programlisting>
- The above will set the language on the statistics page to DE (Deutsch,
- German) and set the time offset to +1.
- All options available are mentioned in the reference documentation.
- </para>
- </sect1>
- <sect1 id="ignoring-links">
- <title>Ignoring links</title>
- <para>
- It's possible to ignore links in the "Most referenced URLs" section:
- <programlisting>
- <![CDATA[
- <link url="http://www.slashdot.org" ignore="y">
- ]]>
- </programlisting>
- </para>
- </sect1>
- <sect1 id="including-config">
- <title>Including common settings for various channels</title>
- <para>
- If you have, for example, more than one channel, where the users are the
- same, or you don't want to maintain more than one user file, you can use
- the "include" setting in the main config file:
- <programlisting>
- <![CDATA[
- <include="/home/vetinari/pisg/users.cfg">
- ]]>
- </programlisting>
- This will include the file /home/vetinari/pisg/users.cfg in the config
- at the place where the include statement is set.
- </para>
- <para>
- Note, that you can NOT include a file from an included file!
- </para>
- </sect1>
- <sect1 id="using-css">
- <title>Changing the layout of your stats page</title>
- <para>
- The standard layout and colors in the outputted HTML page are made to be
- somewhat clean and neutral. But you have the chance to change the layout
- yourself.
- </para>
- <para>
- There are a few predefined color schemes for you to use, use the
- <xref linkend="ColorScheme" /> option when using them. The
- colorschemes distributed with pisg are: default (which is the default),
- darkgalaxy, darkred, justgrey, ocean, orange_grey, pisg, softgreen.
- </para>
- <para>
- When changing it, you need a fair knowledge of CSS (Cascading Style
- Sheets). CSS is what most of the web uses today to define styles and
- layout on HTML pages.
- With the pisg distribution, look in the <filename>layout</filename>
- directory. In it resides <filename>default.css</filename> which is the
- file being included onto the HTML page. Open it in a text editor like
- vi or notepad. Then change it until you're happy with it. Be aware that
- you might want to look at the <link linkend="HiCell">HiCell and HiCell2</link>
- options through pisg.cfg for changing the last two colors.
- </para>
- <para>
- If you have created a nice stylesheet which other can take advantage of,
- you are encouraged to send it to the pisg mailing list so that it can be
- distributed with the next version of pisg.
- </para>
- <para>
- If you want to embed the statistics into another page, use the "none" color scheme.
- Pisg will then omit the HTML header and write only the body part.
- </para>
- </sect1>
- <sect1 id="running-pisg">
- <title>Running pisg</title>
- <para>
- When everything is set up in the pisg configuration file (pisg.cfg),
- then you simply run pisg on the command-line.
- </para>
- <para>
- Using Linux, BSD or another UNIX-like system:
- <screen>
- <prompt>user@host:pisg-0.37$</prompt> <userinput>./pisg</userinput>
- </screen>
- </para>
- <para>
- Using Windows:
- <screen>
- <prompt>c:\pisg></prompt> <userinput>perl pisg</userinput>
- </screen>
- </para>
- <para>
- The program will run and parse the logfiles you specified in the
- configuration file.
- </para>
- <para>
- If you are using Linux, BSD or another UNIX-like system and want run
- pisg automatically several times a day, then see the
- <filename>crontab</filename> file in the <filename>scripts/</filename>
- directory.
- </para>
- <para>
- For Windows, see the <filename>windows-upload-ftp.txt</filename> file
- with the pisg distribution, this file is also placed in the
- <filename>scripts/</filename> directory.
- </para>
- </sect1>
- <sect1 id="mailing-list-and-bugs">
- <title>Obtaining help and reporting bugs</title>
- <para>
- If your problem could not be resolved through here, then you should send
- an e-mail to the pisg mailing list. You can subscribe and see more info
- at <ulink
- url="http://lists.sourceforge.net/lists/listinfo/pisg-general">http://lists.sourceforge.net/lists/listinfo/pisg-general</ulink>.
- </para>
- <para>
- If you believe that you have found a bug, you should use the SourceForge
- <ulink
- url="http://sourceforge.net/tracker/?group_id=31862&atid=403711">bug
- tracking system.</ulink>
- </para>
- </sect1>
- </chapter>
- <chapter id="reference">
- <title>General pisg options</title>
- <!-- *** CHANNEL *** -->
- <refentry id="Channel">
- <refmeta> <refentrytitle>Channel</refentrytitle> </refmeta>
- <refnamediv>
- <refname>Channel</refname>
- <refpurpose>define channel name</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- Maintainer = "John"
- </channel>
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>Channel</command> is used in two contexts, globally when using
- <set> and when defining new channels. It sets the name of the
- channel.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> Unset </para>
- </refsect1>
- </refentry>
- <!-- *** FORMAT *** -->
- <refentry id="Format">
- <refmeta> <refentrytitle>Format</refentrytitle> </refmeta>
- <refnamediv>
- <refname>Format</refname>
- <refpurpose>the logfile format</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "eggdrop"
- Maintainer = "John"
- </channel>
- <set Format="mIRC">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>Format</command> is used to define the format of the logfile,
- pisg supports a various number of different logfiles, see the FORMATS
- file included with the pisg distribution.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> Unset </para>
- </refsect1>
- </refentry>
- <!-- *** NETWORK *** -->
- <refentry id="Network">
- <refmeta> <refentrytitle>Network</refentrytitle> </refmeta>
- <refnamediv>
- <refname>Network</refname>
- <refpurpose>the IRC network of the channel</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "eggdrop"
- Network = "Undernet"
- </channel>
- <set Network="Quakenet">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>Network</command> is used to set the network which the channel
- resides on, this name is displayed on the stats page.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> SomeIRCNetwork </para>
- </refsect1>
- </refentry>
- <!-- *** OUTPUTFILE *** -->
- <refentry id="OutputFile">
- <refmeta> <refentrytitle>OutputFile</refentrytitle> </refmeta>
- <refnamediv>
- <refname>OutputFile</refname>
- <refpurpose>name of the generated HTML page</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "eggdrop"
- OutputFile = "mychan.html"
- </channel>
- <set OutputFile="mychan.html">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>OutputFile</command> is used to define the name of the
- generated statistics page.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> index.html </para>
- </refsect1>
- </refentry>
- <!-- *** OUTPUTTAG *** -->
- <refentry id="OutputTag">
- <refmeta> <refentrytitle>OutputTag</refentrytitle> </refmeta>
- <refnamediv>
- <refname>OutputTag</refname>
- <refpurpose>tag to insert into OutputFile</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- LogDir = "logs/"
- Format = "eggdrop"
- OutputFile = "mychan%t.html"
- OutputTag = "-week"
- </channel>
- <set OutputTag="-week">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>OutputTag</command> specifies a string that will replace
- occurrences of "%t" in <xref linkend="OutputFile" />. This option is most
- useful when used as a command line switch (-t) to pisg in conjunction with
- <xref linkend="NFiles" /> (-nf). Example:
- <programlisting>
- <![CDATA[
- $ pisg -co pisg.conf
- $ pisg -co pisg.conf -nf 8 -t -week
- ]]>
- </programlisting>
- Leaving out the <command>OutputTag</command> settings from the above
- pisg.conf snippet, this writes both the full statistics (mychan.html) and
- statistics for the last week (mychan-week.html) using the same pisg config
- file. (Assuming that there are separate logfiles for each day.)
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> unset </para>
- </refsect1>
- </refentry>
- <!-- *** LOGFILE *** -->
- <refentry id="Logfile">
- <refmeta> <refentrytitle>Logfile</refentrytitle> </refmeta>
- <refnamediv>
- <refname>Logfile</refname>
- <refpurpose>name of logfile to parse</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile="/home/foo/eggdrop/logs/mylog.txt"
- Format = "eggdrop"
- </channel>
- <set Logfile="foo.log">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- This defines the filename of the logfile to parse for the channel. If
- you want to parse a directory full of logfiles, you should use the
- <xref linkend="LogDir" /> option instead. Providing this option multiple
- times will parse multiple files in the order the statements appear.
- Wildcards (* ? []) will be expanded.
- See also <xref linkend="LogDir" /> and <xref linkend="NFiles" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> unset </para>
- </refsect1>
- </refentry>
- <!-- *** LOGDIR *** -->
- <refentry id="LogDir">
- <refmeta> <refentrytitle>LogDir</refentrytitle> </refmeta>
- <refnamediv>
- <refname>LogDir</refname>
- <refpurpose>parse a directory full of logs</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- LogDir="/home/foo/eggdrop/logs/"
- Format = "eggdrop"
- </channel>
- <set LogDir="dailylogs/">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- When <command>LogDir</command> is defined to valid path to a directory,
- then pisg will run through that directory, parse all logfiles in it and
- create one HTML page from it. Useful with for example eggdrop logs. Providing
- this option multiple times will parse all the files in multiple
- directories in the order the statements appear.
- See also <xref linkend="NFiles" />, <xref linkend="LogPrefix" />, and
- <xref linkend="LogSuffix" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> unset </para>
- </refsect1>
- </refentry>
- <!-- *** NFILES *** -->
- <refentry id="NFiles">
- <refmeta> <refentrytitle>NFiles</refentrytitle> </refmeta>
- <refnamediv>
- <refname>NFiles</refname>
- <refpurpose>parse only the last files in <xref linkend="LogDir" /></refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- LogDir="/home/foo/eggdrop/logs/"
- NFiles="8"
- Format="eggdrop"
- </channel>
- <set NFiles="8">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- When <command>NFiles</command> is set to a positive integer, pisg will
- process only the last that much logfiles from <xref linkend="Logfile" />
- and <xref linkend="LogDir" /> options. Useful to create statistics that
- cover the last week or month (assuming there are separate logfile per
- day/week/etc.). </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (process all files) </para>
- </refsect1>
- </refentry>
- <!-- *** MAINTAINER *** -->
- <refentry id="Maintainer">
- <refmeta> <refentrytitle>Maintainer</refentrytitle> </refmeta>
- <refnamediv>
- <refname>Maintainer</refname>
- <refpurpose>name of the maintainer</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- Maintainer = "Benny"
- </channel>
- <set Maintainer="Benny">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>Maintainer</command> is used to define the name of the
- maintainer of the statistics page, this can be either the person
- generating the stats or the bot/client doing the logging.
- The maintainer is displayed in the outputted stats page.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> MAINTAINER </para>
- </refsect1>
- </refentry>
- <!-- *** COLORSCHEME *** -->
- <refentry id="ColorScheme">
- <refmeta> <refentrytitle>ColorScheme</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ColorScheme</refname>
- <refpurpose>use a different color scheme for stats page</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- ColorScheme = "darkgalaxy"
- Maintainer = "John"
- </channel>
- <set ColorScheme="default">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>ColorScheme</command> is used to define the color scheme used
- for the statistics page. Actually it's the CSS file being included.
- CSS files distributed with pisg are: darkgalaxy, darkred, default,
- justgrey, ocean, orange_grey, pisg, softgreen (omit the .css). The file
- will be included statically in the generated HTML page. If you give a file
- name or URL (i.e. a color scheme name with .css or a path), the file will
- be linked to instead. Using "none" will cause pisg to write only the body
- of the page; use this to include the statistics into a custom page. See
- also <xref linkend="CssDir" />,
- <link linkend="HiCell">HiCell/HiCell2</link>.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> default </para>
- </refsect1>
- </refentry>
- <!-- *** ALTCOLORSCHEME *** -->
- <refentry id="AltColorScheme">
- <refmeta> <refentrytitle>AltColorScheme</refentrytitle> </refmeta>
- <refnamediv>
- <refname>AltColorScheme</refname>
- <refpurpose>alternate stylesheets for stats page</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- ColorScheme = "darkgalaxy"
- AltColorScheme = "layout/ocean.css"
- Maintainer = "John"
- </channel>
- <set AltColorScheme="layout/darkgalaxy.css layout/justgrey.css">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>AltColorScheme</command> defines an alternate CSS file to
- be used for the statistics page. Multiple files can be given (space
- separated.) Note that this is not supported by all browsers.
- See also <xref linkend="ColorScheme" /> and <xref linkend="CssDir" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> default </para>
- </refsect1>
- </refentry>
- <!-- *** LANG *** -->
- <refentry id="Lang">
- <refmeta> <refentrytitle>Lang</refentrytitle> </refmeta>
- <refnamediv>
- <refname>Lang</refname>
- <refpurpose>define the language / translation to use</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- Lang = "DE"
- </channel>
- <set Lang="FR">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>Lang</command> defines the language to use for the stats.
- Currently, lang.txt includes:
- EN (English),
- BG (Bulgarian),
- CA (Catalan),
- CZ (Czech),
- DA (Danish),
- DE (German),
- EE (Estonian),
- ES (Spanish),
- FI (Finnish),
- FR (French),
- GR (Greek),
- HE (Hebrew),
- HU (Hungarian),
- IS (Icelandic),
- IT (Italian),
- NL (Dutch),
- NO (Norwegian),
- PL (Polish),
- PT (Portuguese),
- PT-BR (Portuguese/Brazil),
- RO (Romanian),
- RU (Russian),
- SE (Swedish),
- SI (Slovenian),
- SK (Slovak),
- SQ (Albanian),
- TR (Turkish),
- YU (Serbian).
- See also <xref linkend="LangFile" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> EN (English) </para>
- </refsect1>
- </refentry>
- <!-- *** PAGEHEAD *** -->
- <refentry id="PageHead">
- <refmeta> <refentrytitle>PageHead</refentrytitle> </refmeta>
- <refnamediv>
- <refname>PageHead</refname>
- <refpurpose>define a file as page header</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- OutputFile = "stats.html"
- PageHead = "myheader.txt"
- </channel>
- <set PageHead="someheader.txt">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>PageHead</command> is used to include a file in the stats page,
- for example an introduction text, a link to an image or a banner. The
- file can hold anything, it will be included raw in the stats page -
- so HTML should be preferred. The file will be included in the top of
- the page. This option is the opposite of <xref linkend="PageFoot" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> none </para>
- </refsect1>
- </refentry>
- <!-- *** PAGEFOOT *** -->
- <refentry id="PageFoot">
- <refmeta> <refentrytitle>PageFoot</refentrytitle> </refmeta>
- <refnamediv>
- <refname>PageFoot</refname>
- <refpurpose>define a file as page footer</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- outputfile = "stats.html"
- PageFoot = "myfooter.txt"
- </channel>
- <set PageFoot="somefooter.txt">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>PageFoot</command> is used to include a file in the stats page,
- for example an introduction text, a link to an image or a banner. The
- file can hold anything, it will be included raw in the stats page -
- so HTML should be preferred. The file will be included in the bottom of
- the page. This option is the opposite of <xref linkend="PageHead" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> none </para>
- </refsect1>
- </refentry>
- <!-- *** LogPrefix *** -->
- <refentry id="LogPrefix">
- <refmeta> <refentrytitle>LogPrefix</refentrytitle> </refmeta>
- <refnamediv>
- <refname>LogPrefix</refname>
- <refpurpose>only parse logs LogPrefixed with a user defined string</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- LogDir="/home/foo/eggdrop/logs/"
- Format = "eggdrop"
- LogPrefix = "logjun"
- </channel>
- <set LogPrefix="logjanuary">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- When using the <xref linkend="LogDir" /> option and you only want to use
- a slew of the files in it, you can have pisg choose only files which are
- prefixed with a special string.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> unset </para>
- </refsect1>
- </refentry>
- <!-- *** LOGSUFFIX *** -->
- <refentry id="LogSuffix">
- <refmeta> <refentrytitle>LogSuffix</refentrytitle> </refmeta>
- <refnamediv>
- <refname>LogSuffix</refname>
- <refpurpose>Regexp to sort logfiles by format month||day||year</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <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)">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>LogSuffix</command> is used to define the suffix of a logfile,
- it only works when <xref linkend="LogDir" /> is defined. The example in
- the synopsis is for the eggdrop bots default format.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> Unset </para>
- </refsect1>
- </refentry>
- <!-- *** SILENT *** -->
- <refentry id="Silent">
- <refmeta> <refentrytitle>Silent</refentrytitle> </refmeta>
- <refnamediv>
- <refname>Silent</refname>
- <refpurpose>make pisg silent, suppress messages</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set Silent="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- This option is useful mainly from command line when invoking pisg with
- <command>--silent 1</command>. But it can also used in the configuration
- file. It will suppress all standard output from pisg. Error messages
- will still be sent.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- </chapter>
- <chapter id="reference-stats">
- <title>Options for various statistics features</title>
- <!-- *** SHOWACTIVETIMES *** -->
- <refentry id="ShowActiveTimes">
- <refmeta> <refentrytitle>ShowActiveTimes</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowActiveTimes</refname>
- <refpurpose>enable/disable "Most Active Times"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowActiveTimes = "0"
- </channel>
- <set ShowActiveTimes="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can disable the "Most Active Times" section on the
- stats page. It will simply disappear when specifying 0.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWACTIVENICKS *** -->
- <refentry id="ShowActiveNicks">
- <refmeta> <refentrytitle>ShowActiveNicks</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowActiveNicks</refname>
- <refpurpose>enable/disable "Most Active Nicks"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowActiveNicks = "0"
- </channel>
- <set ShowActiveNicks="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can disable the "Most Active Nicks" section on the
- stats page.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWBIGNUMBERS *** -->
- <refentry id="ShowBigNumbers">
- <refmeta> <refentrytitle>ShowBigNumbers</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowBigNumbers</refname>
- <refpurpose>enable/disable "Big Numbers" sections</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowBigNumbers = "0"
- </channel>
- <set ShowBigNumbers="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can disable the "Big Numbers" and "Other
- Interesting numbers" sections on the stats page. They will simply
- disappear when specifying 0.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWTOPICS *** -->
- <refentry id="ShowTopics">
- <refmeta> <refentrytitle>ShowTopics</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowTopics</refname>
- <refpurpose>enable/disable "Latest topics" sections</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowTopics = "0"
- </channel>
- <set ShowTopics="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can disable the "Latest topics" section on the
- stats page. It will simply disappear when specifying 0.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWLINES *** -->
- <refentry id="ShowLines">
- <refmeta> <refentrytitle>ShowLines</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowLines</refname>
- <refpurpose>enable/disable "words per line"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowLines = "0"
- </channel>
- <set ShowLines="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The default behaviour is to add a column to the "Most Active Nicks"
- section displaying the number of lines a user wrote. With this option it
- can be disabled.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWWPL *** -->
- <refentry id="ShowWpl">
- <refmeta> <refentrytitle>ShowWpl</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowWpl</refname>
- <refpurpose>enable/disable "words per line"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowWpl = "0"
- </channel>
- <set ShowWpl="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can enable the "words per line" column in the
- "Most Active Nicks" section. It will add a column describing the average
- words per line for a person.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWCPL *** -->
- <refentry id="ShowCpl">
- <refmeta> <refentrytitle>ShowCpl</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowCpl</refname>
- <refpurpose>enable/disable "characters per line"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowCpl = "0"
- </channel>
- <set ShowCpl="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can enable the "characters per line" column in the
- "Most Active Nicks" section. It will add a column describing the average
- number of characters per line for a person.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWWORDS *** -->
- <refentry id="ShowWords">
- <refmeta> <refentrytitle>ShowWords</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowWords</refname>
- <refpurpose>enable/disable "number of words"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowWords = "0"
- </channel>
- <set ShowWords="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The <command>ShowWords</command> option adds a column to the "Most
- Active Nicks" list which list the total number of words a user has
- typed.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** ShowLastSeen *** -->
- <refentry id="ShowLastSeen">
- <refmeta> <refentrytitle>ShowLastSeen</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowLastSeen</refname>
- <refpurpose>show when a user was last seen on a channel</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowLastSeen = "0"
- </channel>
- <set ShowLastSeen="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option enabled, a column will be added to the "Most Active
- Nicks" section to display when a user was last seen. E.g. "2 days ago".
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWTIME *** -->
- <refentry id="ShowTime">
- <refmeta> <refentrytitle>ShowTime</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowTime</refname>
- <refpurpose>show when a nick was active</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowTime = "0"
- </channel>
- <set ShowTime="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The default behaviour is to add a column to the "Most Active Nicks"
- section displaying a fancy time bar to show when a user was active. With
- this option it can be disabled.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWLINETIME *** -->
- <refentry id="ShowLineTime">
- <refmeta> <refentrytitle>ShowLineTime</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowLineTime</refname>
- <refpurpose>mIRCStats like behaviour of time bar</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "bobot"
- ShowLineTime = "0"
- </channel>
- <set ShowLineTime="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The default behaviour is to add a column to the "Most Active Nicks"
- section displaying a fancy time bar to show when a user was active.
- With this option it can be done the same way as mIRCStats does it; that
- is, by putting that time bar next to the number of lines, in the same
- column.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWWORDTIME *** -->
- <refentry id="ShowWordTime">
- <refmeta> <refentrytitle>ShowWordTime</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowWordTime</refname>
- <refpurpose>ShowLineTime like behavior of words column</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "bobot"
- ShowWordTime = "0"
- </channel>
- <set ShowWordTime="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The default behaviour is to add a column to the "Most Active Nicks"
- section displaying a fancy time bar to show when a user was active.
- With this option it can be done similarly to mIRCStats does it and like
- the ShowLineTime option, but using words instead of lines; that is, by
- putting that time bar next to the number of words, in the same column.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWRANDQUOTE *** -->
- <refentry id="ShowRandQuote">
- <refmeta> <refentrytitle>ShowRandQuote</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowRandQuote</refname>
- <refpurpose>enable or disable the random quotes</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "bobot"
- ShowRandQuote = "0"
- </channel>
- <set ShowRandQuote="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The default behaviour is to add a column to the "Most Active Nicks"
- section displaying a users random quote. With this option it can be
- disabled.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWLEGEND *** -->
- <refentry id="ShowLegend">
- <refmeta> <refentrytitle>ShowLegend</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowLegend</refname>
- <refpurpose>enable or disable the legend of the time bars</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "bobot"
- ShowLegend = "0"
- </channel>
- <set ShowLegend="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg shows a legend below the "Most Active Times" displaying
- what the different colors means. With this option it can be disabled.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWKICKLINE *** -->
- <refentry id="ShowKickLine">
- <refmeta> <refentrytitle>ShowKickLine</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowKickLine</refname>
- <refpurpose>enable or disable the kick line</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "bobot"
- ShowKickLine = "0"
- </channel>
- <set ShowKickLine="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg shows an example kick line in the "Most kicked"-stats.
- With this option it can be disabled.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWACTIONLINE *** -->
- <refentry id="ShowActionLine">
- <refmeta> <refentrytitle>ShowActionLine</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowActionLine</refname>
- <refpurpose>enable or disable the action line</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "bobot"
- ShowActionLine = "0"
- </channel>
- <set ShowActionLine="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg shows an example action line in the "Most actions"-stats.
- With this option it can be disabled.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWSHOUTLINE *** -->
- <refentry id="ShowShoutLine">
- <refmeta> <refentrytitle>ShowShoutLine</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowShoutLine</refname>
- <refpurpose>enable or disable the shout line</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "bobot"
- ShowShoutLine = "0"
- </channel>
- <set ShowShoutLine="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg shows an example shout line in the "Most shouting
- people"-stats. With this option it can be disabled.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWFOULDECIMALS *** -->
- <refentry id="ShowFoulDecimals">
- <refmeta> <refentrytitle>ShowFoulDecimals</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowFoulDecimals</refname>
- <refpurpose>set how many decimals to show</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "bobot"
- ShowFoulDecimals = "2"
- </channel>
- <set ShowFoulDecimals="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg uses 1 decimal. With this option you could change
- it to whatever you like. Negative is treated as the default value.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 decimal </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWFOULLINE *** -->
- <refentry id="ShowFoulLine">
- <refmeta> <refentrytitle>ShowFoulLine</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowFoulLine</refname>
- <refpurpose>enable or disable the foul line</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "bobot"
- ShowFoulLine = "0"
- </channel>
- <set ShowFoulLine="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg doesn't show an example foul line in the "Most
- fouls"-stats. With this option it can be enabled.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWVIOLENTLINES *** -->
- <refentry id="ShowViolentLines">
- <refmeta> <refentrytitle>ShowViolentLines</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowViolentLines</refname>
- <refpurpose>enable or disable the violent lines</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "bobot"
- ShowViolentLines = "0"
- </channel>
- <set ShowViolentLines="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg shows example violent lines in the "Most aggressive"
- and "Most attacked"-stats. With this option it can be disabled.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWMUW *** -->
- <refentry id="ShowMuw">
- <refmeta> <refentrytitle>ShowMuw</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowMuw</refname>
- <refpurpose>enable or disable "Most used words"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowMuw = "0"
- </channel>
- <set ShowMuw="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg adds an "Most used words" section to the stats page.
- With this option you can disable it from being shown.
- See also <xref linkend="WordHistory" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWMRN *** -->
- <refentry id="ShowMrn">
- <refmeta> <refentrytitle>ShowMrn</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowMrn</refname>
- <refpurpose>enable or disable "Most referenced nicks"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowMrn = "0"
- </channel>
- <set ShowMrn="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg adds an "Most referenced nicks" section to the stats
- page. With this option you can disable it from being shown.
- See also <xref linkend="NickHistory" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWMRU *** -->
- <refentry id="ShowMru">
- <refmeta> <refentrytitle>ShowMru</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowMru</refname>
- <refpurpose>enable or disable "Most referenced URLs"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowMru = "0"
- </channel>
- <set ShowMru="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg adds an "Most referenced URLs" section to the stats
- page. With this option you can disable it from being shown.
- See also <xref linkend="UrlHistory" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWOPS *** -->
- <refentry id="ShowOps">
- <refmeta> <refentrytitle>ShowOps</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowOps</refname>
- <refpurpose>enable or disable op statistics</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowOps = "0"
- </channel>
- <set ShowOps="0">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg has op statistics in the "Most interesting numbers"
- section. Here you can disable the feature, it's useful if you don't feel
- that the information is of any value, or your log format doesn't support
- ops/deops.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWVOICES *** -->
- <refentry id="ShowVoices">
- <refmeta> <refentrytitle>ShowVoices</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowVoices</refname>
- <refpurpose>enable or disable voice statistics</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowVoices = "0"
- </channel>
- <set ShowVoices="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg doesn't have voice statistics like it has op
- statistics. Enabling this option will add a section to the "Most
- interesting numbers" displaying who got most voices.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWHALFOPS *** -->
- <refentry id="ShowHalfops">
- <refmeta> <refentrytitle>ShowHalfops</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowHalfops</refname>
- <refpurpose>enable or disable halfop statistics</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowHalfops = "0"
- </channel>
- <set ShowHalfops="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg doesn't have halfop statistics (+h on some servers)
- like it has op statistics. Enabling this option will add a section to
- the "Most interesting numbers" displaying who gave most half-ops.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWMOSTNICKS *** -->
- <refentry id="ShowMostNicks">
- <refmeta> <refentrytitle>ShowMostNicks</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowMostNicks</refname>
- <refpurpose>show who changed nick most often</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowMostNicks = "0"
- </channel>
- <set ShowMostNicks="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By enabling this option, pisg will add a section to the stats showing
- who had the most nicks, and what the nicks were. This option only works
- properly when <xref linkend="NickTracking" /> is enabled.
- See also <xref linkend="MostNicksHistory" />,
- <xref linkend="MostNicksVerbose" />, and
- <xref linkend="NickLimit" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWACTIVEGENDERS *** -->
- <refentry id="ShowActiveGenders">
- <refmeta> <refentrytitle>ShowActiveGenders</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowActiveGenders</refname>
- <refpurpose>show stats on which gender talked most</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowActiveGenders = "0"
- </channel>
- <set ShowActiveGenders="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- Setting this option will make pisg create statistics on which gender
- (female/male/bot) talked most (see the "sex" option in <xref
- linkend="user-options" />). See also <xref linkend="NickLimit" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWKARMA *** -->
- <refentry id="ShowKarma">
- <refmeta> <refentrytitle>ShowKarma</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowKarma</refname>
- <refpurpose>show channel karma</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowKarma = "0"
- </channel>
- <set ShowKarma="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option, pisg will analyze the channel karma. Users can give other
- users (or things) good or bad karma by saying "nickname++" or "nickname--";
- "nickname==" resets it to zero. Only the last karma is remembered per
- nick/nick combination, so there is at most +- 1 karma point.
- See also <xref linkend="KarmaHistory" /> and <xref linkend="NickLimit" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWMOSTACTIVEBYHOUR *** -->
- <refentry id="ShowMostActiveByHour">
- <refmeta> <refentrytitle>ShowMostActiveByHour</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowMostActiveByHour</refname>
- <refpurpose>show most active nicks by hour</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowMostActiveByHour = "0"
- </channel>
- <set ShowMostActiveByHour="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By enabling this option, pisg will add a section to the stats showing
- "Most Active Nicks By Hour" - also look at the
- <xref linkend="ShowMostActiveByHourGraph" /> and
- <xref linkend="ActiveNicksByHour" /> settings.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWONLYTOP *** -->
- <refentry id="ShowOnlyTop">
- <refmeta> <refentrytitle>ShowOnlyTop</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowOnlyTop</refname>
- <refpurpose>only count stats for top talkers, ignore less-active users</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowOnlyTop = "1"
- </channel>
- <set ShowOnlyTop="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By enabling this option, stats in the "Big Numbers" and "Interesting
- Numbers" section will only be counted for users who were the most
- active. E.g. users who appear in the "Most Active Nicks" section, as
- respected by the ActiveNicks and ActiveNicks2 options. See also
- <xref linkend="BigNumbersThreshold" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** SHOWMOSTACTIVEBYHOURGRAPH *** -->
- <refentry id="ShowMostActiveByHourGraph">
- <refmeta> <refentrytitle>ShowMostActiveByHourGraph</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ShowMostActiveByHourGraph</refname>
- <refpurpose>show graphs in most active nicks by hour</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- ShowMostActiveByHourGraph = "0"
- </channel>
- <set ShowMostActiveByHour="1">
- <set ShowMostActiveByHourGraph="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By enabling this option and the <xref linkend="ShowMostActiveByHour" />
- option, pisg will show graphs in the "Most Active Nicks By Hour"
- section.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** IGNOREWORDS *** -->
- <refentry id="IgnoreWords">
- <refmeta> <refentrytitle>IgnoreWords</refentrytitle> </refmeta>
- <refnamediv>
- <refname>IgnoreWords</refname>
- <refpurpose>ignore specified words</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set IgnoreWords="there about">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- Sometimes words in the "most used words" appears which you don't want to
- see, with this option you can ignore these words. It also applies to the
- "most referenced nicks" section. It's a space separated list of words.
- You can use * like in nick aliases.
- Can not be used in a channel-only context.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> unset </para>
- </refsect1>
- </refentry>
- <!-- *** NOIGNOREDQUOTES *** -->
- <refentry id="NoIgnoredQuotes">
- <refmeta> <refentrytitle>NoIgnoredQuotes</refentrytitle> </refmeta>
- <refnamediv>
- <refname>NoIgnoredQuotes</refname>
- <refpurpose>Control random quote output</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set NoIgnoredQuotes="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- When set to "1", pisg will not output quotes containing ignored words.
- Pisg will output a blank line after trying 20 random quotes if all 20 random quotes were ignored.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 </para>
- </refsect1>
- </refentry>
- <!-- *** FOULWORDS *** -->
- <refentry id="FoulWords">
- <refmeta> <refentrytitle>FoulWords</refentrytitle> </refmeta>
- <refnamediv>
- <refname>FoulWords</refname>
- <refpurpose>specify words considered to be bad/FoulWords language</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set FoulWords="ass fuck bitch">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- There is a section in the "Most interesting numbers" which tells who had
- a "dirty mouth" - here you can define which words are considered being
- bad/foul. It is a space separated list of words.
- You can use * like in nick aliases.
- Can not be used in a channel-only context.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> ass fuck bitch shit scheisse kacke arsch ficker ficken schlampe </para>
- </refsect1>
- </refentry>
- <!-- *** VIOLENTWORDS *** -->
- <refentry id="ViolentWords">
- <refmeta> <refentrytitle>ViolentWords</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ViolentWords</refname>
- <refpurpose>specify words considered to be aggressive/violent</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set ViolentWords="slaps beats kick">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- There is a section in the "Most interesting numbers" which tells who is
- most "aggressive" - here you can define which words are considered being
- "violent". It is a space separated list of words. You can use * like in
- nick aliases. Can not be used in a channel-only context.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> slaps beats smacks </para>
- </refsect1>
- </refentry>
- <!-- *** MinQuote *** -->
- <refentry id="MinQuote">
- <refmeta> <refentrytitle>MinQuote</refentrytitle> </refmeta>
- <refnamediv>
- <refname>MinQuote</refname>
- <refpurpose>minimum numbers of letters for a random quote</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- MinQuote = "10"
- </channel>
- <set MinQuote="5">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The random quotes displayed in the "Most Active Nicks" section has a
- certain range specified. With this option you can change the minimum
- number of letters required for a random quote. Also see the
- <xref linkend="MaxQuote" /> option.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 25 </para>
- </refsect1>
- </refentry>
- <!-- *** MaxQuote *** -->
- <refentry id="MaxQuote">
- <refmeta> <refentrytitle>MaxQuote</refentrytitle> </refmeta>
- <refnamediv>
- <refname>MaxQuote</refname>
- <refpurpose>maximum numbers of letters for a random quote</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- MaxQuote = "70"
- </channel>
- <set MaxQuote="100">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The random quotes displayed in the "Most Active Nicks" section has a
- certain range specified. With this option you can change the maximum
- number of letters required for a random quote. Also see the
- <xref linkend="MinQuote" /> option.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 65 </para>
- </refsect1>
- </refentry>
- <!-- *** WORDLENGTH *** -->
- <refentry id="WordLength">
- <refmeta> <refentrytitle>WordLength</refentrytitle> </refmeta>
- <refnamediv>
- <refname>WordLength</refname>
- <refpurpose>minimum number of characters in an interesting word</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- WordLength = "10"
- </channel>
- <set WordLength="2">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The "Most Used Words" section on the stats page display the most used
- words. The default is that a word only appears if it is longer than 5
- characters. With this option you can change that minimum.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 5 </para>
- </refsect1>
- </refentry>
- <!-- *** QUOTEWIDTH *** -->
- <refentry id="QuoteWidth">
- <refmeta> <refentrytitle>QuoteWidth</refentrytitle> </refmeta>
- <refnamediv>
- <refname>QuoteWidth</refname>
- <refpurpose>maximum allowed length of a "word" with no spaces</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- QuoteWidth = "48"
- </channel>
- <set QuoteWidth="48">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- Pisg will automatically insert a space in words that have a length
- over the amount QuoteWidth is set to. When used in breaking up
- URLs it will insert a space in the displayed URL, but not in the
- actual URL referenced by the HREF.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 80</para>
- </refsect1>
- </refentry>
- <!-- *** BIGNUMBERSTHRESHOLD *** -->
- <refentry id="BigNumbersThreshold">
- <refmeta> <refentrytitle>BigNumbersThreshold</refentrytitle> </refmeta>
- <refnamediv>
- <refname>BigNumbersThreshold</refname>
- <refpurpose>Minimum number of lines per user for some "Big Numbers" statistics</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- BigNumbersThreshold = "10"
- </channel>
- <set BigNumbersThreshold="sqrt">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- Pisg will ignore users with less than this setting lines in the "questions
- asked", "shouts loudest", "CAPSLOCK", "longest line", "most sad", and "most
- happy" sections. If the setting is "sqrt" (the default), it will be
- dynamically replaced with the square root of the number of lines of the
- most active nick. See also <xref linkend="ShowOnlyTop" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> sqrt </para>
- </refsect1>
- </refentry>
- <!-- *** ACTIVENICKS *** -->
- <refentry id="ActiveNicks">
- <refmeta> <refentrytitle>ActiveNicks</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ActiveNicks</refname>
- <refpurpose>nicks to show in "Most Active Nicks"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- ActiveNicks = "50"
- </channel>
- <set ActiveNicks="10">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can define how many nicks you want to appear in the
- "Most Active Nicks" section on the stats page.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 25 </para>
- </refsect1>
- </refentry>
- <!-- *** ACTIVENICKS2 *** -->
- <refentry id="ActiveNicks2">
- <refmeta> <refentrytitle>ActiveNicks2</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ActiveNicks2</refname>
- <refpurpose>nicks to show in "These didn't make it.."</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- ActiveNicks2 = "25"
- </channel>
- <set ActiveNicks2="10">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can define how many nicks you want to appear in the
- "These didn't make it" section on the stats page.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 30 </para>
- </refsect1>
- </refentry>
- <!-- *** ACTIVENICKSBYHOUR *** -->
- <refentry id="ActiveNicksByHour">
- <refmeta> <refentrytitle>ActiveNicksByHour</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ActiveNicksByHour</refname>
- <refpurpose>number of nicks to show in "Most Active Nicks By Hour"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- ActiveNicksByHour = "25"
- </channel>
- <set ActiveNicksByHour="10">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can define how many nicks you want to appear in the
- "Most Active Nicks By Hour" section on the stats page.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 10 </para>
- </refsect1>
- </refentry>
- <!-- *** MOSTNICKSHISTORY *** -->
- <refentry id="MostNicksHistory">
- <refmeta> <refentrytitle>MostNicksHistory</refentrytitle> </refmeta>
- <refnamediv>
- <refname>MostNicksHistory</refname>
- <refpurpose>maximum number of nicks to show in "users with most nicknames"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- MostNicksHistory = "2"
- </channel>
- <set MostNicksHistory="10">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can define how many nicks you want to appear in
- the "Users with most nicknames" section. See also
- <xref linkend="ShowMostNicks" /> and <xref linkend="MostNicksVerbose" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 5 </para>
- </refsect1>
- </refentry>
- <!-- *** MOSTNICKSVERBOSE *** -->
- <refentry id="MostNicksVerbose">
- <refmeta> <refentrytitle>MostNicksVerbose</refentrytitle> </refmeta>
- <refnamediv>
- <refname>MostNicksVerbose</refname>
- <refpurpose>show nicks used in "most nicks"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- MostNicksVerbose = "0"
- </channel>
- <set MostNicksVerbose="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By disabling this option you can stop pisg from displaying all the nicks
- a user has had in the "Most used nicks" section.
- See also <xref linkend="ShowMostNicks" />,
- <xref linkend="MostNicksHistory" />, and <xref linkend="NickLimit" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 1 (enabled) </para>
- </refsect1>
- </refentry>
- <!-- *** TOPICHISTORY *** -->
- <refentry id="TopicHistory">
- <refmeta> <refentrytitle>TopicHistory</refentrytitle> </refmeta>
- <refnamediv>
- <refname>TopicHistory</refname>
- <refpurpose>maximum number of topics to show</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- TopicHistory = "2"
- </channel>
- <set TopicHistory="10">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can define how many topics you want to appear in
- the "Latest topics" section.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 3 </para>
- </refsect1>
- </refentry>
- <!-- *** URLHISTORY *** -->
- <refentry id="UrlHistory">
- <refmeta> <refentrytitle>UrlHistory</refentrytitle> </refmeta>
- <refnamediv>
- <refname>UrlHistory</refname>
- <refpurpose>maximum number of URLs to show</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- UrlHistory = "2"
- </channel>
- <set UrlHistory="10">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can define how many URLs you want to appear in
- the "Most referenced URLs" section. See also <xref linkend="ShowMru" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 5 </para>
- </refsect1>
- </refentry>
- <!-- *** WORDHISTORY *** -->
- <refentry id="WordHistory">
- <refmeta> <refentrytitle>WordHistory</refentrytitle> </refmeta>
- <refnamediv>
- <refname>WordHistory</refname>
- <refpurpose>maximum number of words to show</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- WordHistory = "5"
- </channel>
- <set WordHistory="15">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can define how many words you want to appear in
- the "Most used words" section. See also <xref linkend="ShowMuw" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 10 </para>
- </refsect1>
- </refentry>
- <!-- *** NICKHISTORY *** -->
- <refentry id="NickHistory">
- <refmeta> <refentrytitle>NickHistory</refentrytitle> </refmeta>
- <refnamediv>
- <refname>NickHistory</refname>
- <refpurpose>maximum number of nicks to show in "Most referenced nicks"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- logfile = "channel.log"
- format = "mIRC"
- NickHistory = "3"
- </channel>
- <set NickHistory="15">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you can define how many nicks you want to appear in
- the "Most referenced nicks" section. See also <xref linkend="ShowMrn" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 5 </para>
- </refsect1>
- </refentry>
- <!-- *** KarmaHistory *** -->
- <refentry id="KarmaHistory">
- <refmeta> <refentrytitle>KarmaHistory</refentrytitle> </refmeta>
- <refnamediv>
- <refname>KarmaHistory</refname>
- <refpurpose>maximum number of nicks to show in "Karma"</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- logfile = "channel.log"
- format = "mIRC"
- KarmaHistory = "3"
- </channel>
- <set KarmaHistory="15">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- At most this many nicks will appear in the good and bad karma stats.
- See also <xref linkend="ShowKarma" /> and <xref linkend="NickLimit" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 5 </para>
- </refsect1>
- </refentry>
- <!-- *** NICKTRACKING *** -->
- <refentry id="NickTracking">
- <refmeta> <refentrytitle>NickTracking</refentrytitle> </refmeta>
- <refnamediv>
- <refname>NickTracking</refname>
- <refpurpose>track nick changes and create aliases</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set NickTracking="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- Enabling this option will track nick changes as well as it can. It will
- then automatically create aliases for these nicks. Useful for
- <xref linkend="ShowMostNicks" /> and other stats.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** NickLimit *** -->
- <refentry id="NickLimit">
- <refmeta> <refentrytitle>NickLimit</refentrytitle> </refmeta>
- <refnamediv>
- <refname>NickLimit</refname>
- <refpurpose>maximum number of nicks in lists</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set NickLimit="0">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- This option trims lists of nicks to a maximum length, replacing the rest
- with "...". Setting to 0 disables trimming. Affected are the used nicks in
- the "Users with most nicknames" section, nicks in "Most active genders",
- and nicks in the "Good/bad karma by" columns. See
- <xref linkend="ShowMostNicks" />, <xref linkend="ShowKarma" />, and
- <xref linkend="ShowActiveGenders" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 10 </para>
- </refsect1>
- </refentry>
- <!-- *** SORTBYWORDS *** -->
- <refentry id="SortByWords">
- <refmeta> <refentrytitle>SortByWords</refentrytitle> </refmeta>
- <refnamediv>
- <refname>SortByWords</refname>
- <refpurpose>sort "most active nicks" by words</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- logfile = "channel.log"
- format = "xchat"
- SortByWords = "0"
- </channel>
- <set SortByWords="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The default for the "Most Active Nicks" section - is to sort users by
- lines. Enabling this will sort it by words instead.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- </chapter>
- <chapter id="reference-pictures">
- <title>Picture options</title>
- <!-- *** PICLOCATION *** -->
- <refentry id="PicLocation">
- <refmeta> <refentrytitle>PicLocation</refentrytitle> </refmeta>
- <refnamediv>
- <refname>PicLocation</refname>
- <refpurpose>path to images on stats page</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set PicLocation="gfx/">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The location to the pictures used on the stats page - not the user
- pictures but the different bars in "Most Active Times".
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> Current directory </para>
- </refsect1>
- </refentry>
- <!-- *** USERPICS *** -->
- <refentry id="UserPics">
- <refmeta> <refentrytitle>UserPics</refentrytitle> </refmeta>
- <refnamediv>
- <refname>UserPics</refname>
- <refpurpose>number of user pictures per row</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- UserPics = "no"
- </channel>
- <set UserPics="3">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>UserPics</command> allows you to configure the number of user
- pictures per row. Per default, one picture will be shown. Since pictures
- are usually higher than one line of text, this lets the table grow. With
- settings greater than 1, several pictures will be placed next to each
- other. A good setting would be <command>UserPics</command>=3 and pictures
- of size 60x60. Set <command>UserPics</command> to no or 0 to disable user
- pictures. The latter is useful if you share a user config file between
- channels and want to disable user pictures for some channels.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> yes (1) </para>
- </refsect1>
- </refentry>
- <!-- *** IMAGEPATH *** -->
- <refentry id="ImagePath">
- <refmeta> <refentrytitle>ImagePath</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ImagePath</refname>
- <refpurpose>path to user pictures (HTML page)</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- ImagePath = "userpics/"
- </channel>
- <set ImagePath="users/">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>ImagePath</command> defines the path to where user
- pictures are located, relative to the HTML page generated. The default is
- that user pictures is located in the same directory as the HTML page.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> current directory </para>
- </refsect1>
- </refentry>
- <!-- *** DEFAULTPIC *** -->
- <refentry id="DefaultPic">
- <refmeta> <refentrytitle>DefaultPic</refentrytitle> </refmeta>
- <refnamediv>
- <refname>DefaultPic</refname>
- <refpurpose>use a default user picture</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- DefaultPic = "not_available.jpg"
- </channel>
- <set DefaultPic="unknown.gif">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>DefaultPic</command> defines a picture to be displayed for all
- users which have no other picture defined in the <command>user</command>
- element. This is good for showing "No picture available" or something.
- May contain globbing patterns, see <xref linkend="ImageGlobPath" /> below.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> unset </para>
- </refsect1>
- </refentry>
- <!-- *** IMAGEGLOBPATH *** -->
- <refentry id="ImageGlobPath">
- <refmeta> <refentrytitle>ImageGlobPath</refentrytitle> </refmeta>
- <refnamediv>
- <refname>ImageGlobPath</refname>
- <refpurpose>path to user pictures (output generation)</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- ImageGlobPath = "users/"
- </channel>
- <set ImageGlobPath="/var/www/pisg/">
- <set DefaultPic="default-??.gif">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>ImageGlobPath</command> defines the path to the directory where
- user pictures are located, relative to the current directory. This setting
- is used to choose random pictures if ? or * (globbing characters) are used
- in the picture name. ? matches a single character, * matches a (possibly
- empty) string. The default is the <xref linkend="ImagePath" /> setting.
- (NB: This setting will be different from <xref linkend="ImagePath" /> if
- the latter is not relative to the current directory, e.g. if you are
- writing the HTML file outside of the current directory.)
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> current <xref linkend="ImagePath" /> setting </para>
- </refsect1>
- </refentry>
- <!-- *** PICWIDTH *** -->
- <refentry id="PicWidth">
- <refmeta> <refentrytitle>PicWidth</refentrytitle> </refmeta>
- <refnamediv>
- <refname>PicWidth</refname>
- <refpurpose>define a standard width for user pictures</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- PicWidth = "500"
- </channel>
- <set PicWidth="500">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>PicWidth</command> defines the standard width for user
- pictures. Setting the 'width' attribute of image-elements on the
- outputted stats page. See also <xref linkend="PicHeight" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> unset </para>
- </refsect1>
- </refentry>
- <!-- *** PICHEIGHT *** -->
- <refentry id="PicHeight">
- <refmeta> <refentrytitle>PicHeight</refentrytitle> </refmeta>
- <refnamediv>
- <refname>PicHeight</refname>
- <refpurpose>define a standard height for user pictures</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- PicHeight = "500"
- </channel>
- <set PicHeight="500">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>PicHeight</command> defines the standard height for user
- pictures. Setting the 'height' attribute of image-elements on the
- outputted stats page. See also <xref linkend="PicWidth" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> unset </para>
- </refsect1>
- </refentry>
- </chapter>
- <chapter id="reference-misc">
- <title>Misc options</title>
- <!-- *** CHARSET *** -->
- <refentry id="Charset">
- <refmeta> <refentrytitle>Charset</refentrytitle> </refmeta>
- <refnamediv>
- <refname>Charset</refname>
- <refpurpose>character set to use for stats page</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- Charset = "utf-8"
- </channel>
- <set Charset="iso-8859-15">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The pisg stats page defines a character set in a meta tag, this can be
- used if your country is using a different one than the default. Pisg
- will also use this setting to convert the language templates from
- <xref linkend="LangFile" /> if the language defines a source charset.
- Note: you also have to tell your webserver to transmit the charset to
- the browser. With Apache, use "AddDefaultCharset off" in the server
- config.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> iso-8859-1 </para>
- </refsect1>
- </refentry>
- <!-- *** LOGCHARSET *** -->
- <refentry id="LogCharset">
- <refmeta> <refentrytitle>LogCharset</refentrytitle> </refmeta>
- <refnamediv>
- <refname>LogCharset</refname>
- <refpurpose>character set for logfiles</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- Charset = "iso-8859-1"
- LogCharset = "utf-8"
- </channel>
- <set Charset="iso-8859-15">
- <set LogCharset="iso-8859-15">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- If <command>LogCharset</command> is set and different from
- <xref linkend="Charset" />, pisg will convert the charset using
- Text::Iconv. Using this option slows down log processing.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> empty (no conversion) </para>
- </refsect1>
- </refentry>
- <!-- *** LOGCHARSETFALLBACK *** -->
- <refentry id="LogCharsetFallback">
- <refmeta> <refentrytitle>LogCharsetFallback</refentrytitle> </refmeta>
- <refnamediv>
- <refname>LogCharsetFallback</refname>
- <refpurpose>fallback character set for logfiles</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "xchat"
- Charset = "utf-8"
- LogCharset = "utf-8"
- LogCharsetFallback = "iso-8859-1"
- </channel>
- <set Charset="utf-8">
- <set LogCharset="utf-8">
- <set LogCharsetFallback="iso-8859-15">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>LogCharsetFallback</command> defines a fallback charset for
- the <xref linkend="LogCharset" /> conversion. This is useful if you
- have mixed unicode/iso-8859-* logs. Pisg will first try the conversion
- from <xref linkend="LogCharset" />. If that fails,
- <command>LogCharsetFallback</command> is used. Note that this only works
- for charsets where certain byte sequences are illegal, like UTF-8. (In
- short: <command>LogCharset</command> = utf-8,
- <command>LogCharsetFallback</command> = iso-8859-15 works, the other way
- round does not.)
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> empty (no fallback conversion) </para>
- </refsect1>
- </refentry>
- <!-- *** TIMEOFFSET *** -->
- <refentry id="TimeOffset">
- <refmeta> <refentrytitle>TimeOffset</refentrytitle> </refmeta>
- <refnamediv>
- <refname>TimeOffset</refname>
- <refpurpose>use a different time zone than the local machine</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <channel="#channel">
- Logfile = "channel.log"
- Format = "mIRC"
- Maintainer = "John"
- TimeOffset = "+5"
- </channel>
- <set TimeOffset="+2">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- By default, pisg uses the time of the local machine to display the time
- of the generated stats. Sometimes when you have a shell on an external
- box, and it's in another country, you want to use another time. This is
- accomplished by the <command>TimeOffset</command> command.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> +0 </para>
- </refsect1>
- </refentry>
- <!-- *** REGEXPALIASES *** -->
- <refentry id="RegexpAliases">
- <refmeta> <refentrytitle>RegexpAliases</refentrytitle> </refmeta>
- <refnamediv>
- <refname>RegexpAliases</refname>
- <refpurpose>use regular expressions in user aliases</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <user nick="Joe" alias="Joe\d+">
- <set RegexpAliases="1">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- Enabling this option will make all aliases in <user> lines be
- parsed as regular expressions; this setting also applies to the
- <xref linkend="IgnoreWords" />, <xref linkend="FoulWords" />, and
- <xref linkend="ViolentWords" /> settings.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> 0 (disabled) </para>
- </refsect1>
- </refentry>
- <!-- *** LANGFILE *** -->
- <refentry id="LangFile">
- <refmeta> <refentrytitle>LangFile</refentrytitle> </refmeta>
- <refnamediv>
- <refname>LangFile</refname>
- <refpurpose>filename of language file</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set LangFile="mylang.txt">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- With this option you have an alternative way to define the name and/or
- path to the language file. Usually you don't have to touch this option.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> lang.txt </para>
- </refsect1>
- </refentry>
- <!-- *** CSSDIR *** -->
- <refentry id="CssDir">
- <refmeta> <refentrytitle>CssDir</refentrytitle> </refmeta>
- <refnamediv>
- <refname>CssDir</refname>
- <refpurpose>path to directory with CSS files</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set CssDir="/usr/share/pisg/layout/">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>CssDir</command> is used to define the paths to the CSS files
- (the <xref linkend="ColorScheme" />s). Usually you don't
- need to change this. This setting is only used when statically including
- the CSS file.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> layout/ (in current directory) </para>
- </refsect1>
- </refentry>
- <!-- *** HICELL *** -->
- <refentry id="HiCell">
- <refmeta> <refentrytitle>HiCell, HiCell2</refentrytitle> </refmeta>
- <refnamediv>
- <refname>HiCell, HiCell2</refname>
- <refpurpose>colors for color gradient in most active nicks section</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set HiCell="#BABADD" HiCell2="#CCCCCC">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- <command>HiCell</command> and <command>HiCell2</command> define the colors
- to be used for the color gradient in the most active nicks section. They should
- match your <xref linkend="ColorScheme" />.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> #BABADD, #CCCCCC </para>
- </refsect1>
- </refentry>
- <!-- *** LOGTYPE *** -->
- <refentry id="LogType">
- <refmeta> <refentrytitle>LogType</refentrytitle> </refmeta>
- <refnamediv>
- <refname>LogType</refname>
- <refpurpose>type of log (not the format of the log)</refpurpose>
- </refnamediv>
- <refsynopsisdiv><programlisting>
- <![CDATA[
- <set LogType="Logfile">
- ]]>
- </programlisting></refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- The type of logs kept for your channel. Currently only "Logfile" is
- supported, so you don't need to change this option.
- </para>
- </refsect1>
- <refsect1>
- <title>Default</title>
- <para> Logfile </para>
- </refsect1>
- </refentry>
- </chapter>
- </book>
|