[Recherche] Scripts de statistiques
#1
Bonjour,

Je cherche une personne qui connaitrerais un scripts tcl de statistiques permetant de visioner les statistique d'un certain canal sur une page web !

Du même genre que (atlantis) créer par merwin !

Je recherche également un scripts permetant de visioner les log d'un certain canal sur une page web !

Après plusieures heures de recherche j'ai rien trouver !

Merci d'avance pour votre aide Smile
Répondre Avertir
#2
bonsoir ,

pigs te conviendrais pas ?
[font=Times New Roman]La différence entre Linux et Windows ,c'est que Linux c'est comme une belle fille , il faut l'apprivoiser , la comprendre , la séduire tandis que Windows , c'est comme une prostitué , il faut payer et surtout bien se protéger.[/font]
Répondre Avertir
#3
Je ne sais pas comment installer ?
Une personne pourrais me guider ?
Répondre Avertir
#4
voici un petit tuto pour l'installer essaye déjà avec ça.

Installer pigs
[font=Times New Roman]La différence entre Linux et Windows ,c'est que Linux c'est comme une belle fille , il faut l'apprivoiser , la comprendre , la séduire tandis que Windows , c'est comme une prostitué , il faut payer et surtout bien se protéger.[/font]
Répondre Avertir
#5
fedora a écrit :voici un petit tuto pour l'installer essaye déjà avec ça.

Installer pigs

Je recois ce message sur le canal :
Citation :[18:20:49] (+CraZy) /home/ircb-network/eggdrop/pisg-0.71/pisg an error occured: No files in "/home/ircb-network/stats/" matched prefix "#lyno-house"

Et celui-ci en pl :
Citation :[22:21] 14--15--->14 No files in "/home/ircb-network/stats/" matched prefix "#lyno-house"
[22:21] 14--15--->14 Warning: /home/ircb-network/eggdrop/pisg-0.71/pisg.cfg, line 66: Unrecognized line:
[22:21] 14--15--->14 while executing
[22:21] 14--15--->14 "exec $pisgexe"

Voici mon fichier de config :
Code :
# pseudo ignoré par exemple vos Bots
<user nick="bot" ignore="y">
#image globale , mettera un avatar par défaut si aucun autre n'est spécifié
<set DefaultPic="avatar.png">
<set lang="FR">
#Ajouter des pseudos sous cette forme
#Sexes possible  f=femme m=homme b=bot
# Pour les alias de pseudo vous pouvez utiliser  une étoile pour englober un type de pseudo
<user nick="Marc" alias="Marc M|Away*" sex="m">
#Définir le Css voulu  ( dans le répertoire /layout
<set ColorScheme="darkred">
<set NickTracking="1">
<set FoulWords="salope petasse con nike connasse pd connard pute salopard encule enculer ">
<set ShowViolentLines="1">
<set hicell="#444444">
<set hicell2="#AAAAAA">
<set ViolentWords="slaps baffes grooosse baffe frappe frapper baffer poing taper tape bousculer bouscule coup coups">
<set ShowSmileys="1">
<set SmileyHistory="15">

<channel="#lyno-house">
   LogDir="/home/ircb-network/stats"
   LogPrefix="#lyno-house"
   Format="mIRC"
   Network="EpiKnet - Lyno-House"
#Chemin où sera envoyée la page et son nom
   OutputFile="/home/ircb-network/www/lyno-house.html"
   Maintainer= "CraZy"
   Lang = "FR"
   ShowActiveTimes = "1"
   ShowWords = "0"
   ShowWpl = "1"
   ShowCpl = "1"
   ShowTopics = "1"
   ShowBigNumbers = "1"
   ShowLastSeen = "1"
   ShowTime = "1"
   ShowLineTime = "1"
   ShowRandQuote = "1"
   ShowLegend = "1"
   ShowKickLine = "1"
   ShowActionLine = "1"
   ShowShoutLine = "1"
   ShowMuw="0"
   ShowMru="0"
   ShowMostNicks = "1"
   ShowOps= "1"
   ShowMrn= "1"
   ShowMostNicks= "1"
   MostNicksHistory = "5"
   ShowMostActiveByHour= "1"
   ShowMostActiveByHourGraph= "1"
   MinQuote = "2"
   ActiveNicks = "20"
   ActiveNicks2= "20"
   ActiveNicksByHour= "10"
   MostNicksVerbose = "150"
   TopicHistory= "4"
   UrlHistory= "5"
   ShowKarma="1"
   ShowSmileys="1"
   SmileyHistory="15"
   ShowActiveGenders="1"
   ShowVoices = "1"
   ShowHalfops = "1"

##pour personnaliser votre page vous pouvez ajouter  une en-tête  et/ou un pied de page personnalisable par salon par exemple ajouter en pied de page les pages générées par chatstats.tcl
## pour avoir une seule et grande page de stats ;)
#PageHead="/home/voteentetedepage.html"
#PageFoot="/home/votrepieddepage.html"
</channel>

Voici mon fichier tcl :
tcl
#pisg.tcl v0.15 by HM2K - auto stats script for pisg (perl irc statistics generator)
#based on a script by Arganan

# WARNING - READ THIS
#
# If you use this script, PLEASE read the documentation about the "Silent"
# option. If you get the message "an error occured: Pisg v0.67 - perl irc
# statistics generator" in the channel, you are NOT running silent. Fix it.
 
set pisgver "0.15"

#Location of pisg execuitable perl script
set pisgexe "/home/ircb-network/eggdrop/pisg-0.71/pisg.pl"

#URL of the generated stats
set pisgurl "http://80.93.90.214/~ircb-network/stats"

#channel that the stats are generated for
set pisgchan "#lyno-house"

#Users with these flags can operate this function
set pisgflags "nmao"

#How often the stats will be updated in minutes, ie: 30 - stats will be updated every 30 minutes
set pisgtime "4"
 
bind pub $pisgflags !stats pub:pisgcmd
 
proc pub:pisgcmd {nick host hand chan arg} {
	global pisgexe pisgurl pisgchan
	append out "PRIVMSG $pisgchan :" ; if {[catch {exec $pisgexe} error]} { append out "$pisgexe an error occured: [string totitle $error]" } else { append out "Stats Updated: $pisgurl" }
	puthelp $out
}
 
proc pisgcmd_timer {} {
	global pisgexe pisgurl pisgchan pisgtime
	append out "PRIVMSG $pisgchan :" ; if {[catch {exec $pisgexe} error]} { append out "$pisgexe an error occured: [string totitle $error]" } else { append out "Stats Updated: $pisgurl" }
	puthelp $out
	timer $pisgtime pisgcmd_timer
}
 
if {![info exists {pisgset}]} {
  set pisgset 1
  timer 2 pisgcmd_timer
}
 
putlog "pisg.tcl $pisgver loaded"




Ou es l'erreur :'(
Répondre Avertir
#6
Aucune réponse ? Sad
Répondre Avertir
#7
Citation :[22:21] 14--15--->14 No files in "/home/ircb-network/stats/" matched prefix "#lyno-house"
[22:21] 14--15--->14 Warning: /home/ircb-network/eggdrop/pisg-0.71/pisg.cfg, line 66: Unrecognized line:
[22:21] 14--15--->14 while executing
[22:21] 14--15--->14 "exec $pisgexe"
LogPrefix="#lyno-house"
-- remplace --
LogPrefix="lyno-house"
Alsyx v1.0, en cours de développement.
Répondre Avertir
#8
Toujours le même soucis !
Si quelqu'un aurais ou saurais ou je puisse trouver une ancienne version de pisg, faite moi signe !

Merci a toi chris et fedora Smile
Répondre Avertir
#9
Bonjour ,

question idiote peut-être , mais .. Smile

ton eggdrop est-il hebergé :
• chez toi ?
• sur un shell ?? ( serveur type ovh, ect .. )
• l'OS utilisé , est ? (windows ? linux ? autre?)
• pisg est il configuré en fonction des chemins log salon ?

Bonne journée.
Répondre Avertir
#10
Citation :LogDir="/home/ircb-network/stats"
LogDir correspond au répertoire des fichiers de log de l'eggdrop, donc c'est plus probablement /home/ircb-network/eggdrop/logs/
Répondre
#11
cestlemien a écrit :Bonjour ,

question idiote peut-être , mais .. Smile

ton eggdrop est-il hebergé :
• chez toi ?
• sur un shell ?? ( serveur type ovh, ect .. )
• l'OS utilisé , est ? (windows ? linux ? autre?)
• pisg est il configuré en fonction des chemins log salon ?

Bonne journée.
Hebergement : VDS chez exolia
OS : UNIX (linux)
Répondre Avertir
#12
Je vous remercie pour votre aide !
Je lache malheureusement prise pour pisg !

Mais je reste a l'affut de ce topic si toute personne connais un autre scripts de statistique !

Bien à vous, Marc.
Répondre Avertir
#13
Tu peux peut-être t'orienter vers un module dédié: logs2html
Répondre
#14
Il me semble que les stats pisg sont pas accordé chez eXolia ( a voir avec Tisma ) car niveau conso sur les machines ava pas :p ( d'ou mon problème :p )
Répondre Avertir
#15
Oui, beaucoup d'hébergeurs n'aiment pas pisg, et c'est vrai qu'il est très consommateur de ressources.

Je le conseille "avec modération", parce qu'en gros c'est vraiment du traitement de fichier texte et que ça bouffe un max.
Répondre


Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
Tchat 100% gratuit -Discutez en toute liberté