• [Integration] PPhlogger v2.2.4/v2.2.5 5 0 5 1
Currently:  

Author Topic: [Integration] PPhlogger v2.2.4/v2.2.5  (Read 71970 times)

0 Members and 1 Guest are viewing this topic.

Offline Parador

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [Integration] PPhlogger v2.2.4/v2.2.5
« Reply #30 on: October 07, 2006, 03:43:02 PM »
Hello everybody,

I integrated PPHLogger 2.2.5 and it works fine .... thx for the post...
I have a question to its function(s):
  • should it tell me what (logged in) user has seen what picture(S)?
  • is it possible to see thumbnails instead of pages?



to question1: if I go over one of these page symbols the tooltip shows only:
                   http://xxxx.xx/yyyyyyy/4images/details.php
                   or
                   http://xxxx.xx/yyyyyyy/4images/categories.php
                   but nothing after the *.php

to question2: I found this post: http://www.4homepages.de/forum/index.php?topic=6876.0 but no MOD belonging to that post...

Thanks for your help !

Offline tdkpaul

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Re: [Integration] PPhlogger v2.2.4/v2.2.5
« Reply #31 on: October 07, 2006, 07:39:43 PM »

is it possible to see thumbnails instead of pages?



it is possible but too slowly

Offline Parador

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [Integration] PPhlogger v2.2.4/v2.2.5
« Reply #32 on: October 09, 2006, 10:23:53 AM »
Ok - thanks to your answer to question 2
Perhaps you can give me also an answer for nr1?

Offline tdkpaul

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Re: [Integration] PPhlogger v2.2.4/v2.2.5
« Reply #33 on: October 29, 2006, 01:03:49 PM »
yes it is possible!

Ask v@no instead of me. He already have done this for his gallery.

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [Integration] PPhlogger v2.2.4/v2.2.5
« Reply #34 on: July 26, 2008, 03:40:16 AM »
Hi V@no,

in the last days I modified my PPHlogger and adapted it to my 4images ACP.  But there is still a case that I don't like.
Bots, Search Engines and Spiders will not be counted because they are ignoring any scripts.

Some times ago you have the same problem and I found your request on forum.phpee.com.
here : http://forum.phpee.com/viewtopic.php?f=5&t=2419 ...

Quote
Hi!
I'm using JS method to call pphlogger.php to log visitors, and since search bots (spiders) are ignoring any scripts, they dont get logged.
is there a way to make them get logged as well?
sometimes on my script that I use on my site I can see that I have 10-20 visitors (some of them have same IP addresses) but pphlogger shows nothing...


and now I tried a little modified solution witch is "working perfectly for you" ...

Code: [Select]
<?php 
$robots 
= array("Alexibot""ArchitextSpider""AltaVista""asterias""BackDoorBot""Black.Hole""BlowFish""BotALot""BuiltBotTough""Bullseye"
"BunnySlippers""Cegbfeieh""CheeseBot""CherryPicker""CJNetworkQuality""combine""COMBINE""CopyRightCheck"
"cosmos""crawler""Crescent""DIIbot""DittoSpyder""EmailCollector""EmailSiphon""EmailWolf""EroCrawler"
"ExtractorPro""FAST-WebCrawler""Foobot""FriendlySpider""Googlebot""Gulliver""Harvest""hloader""httplib""humanlinks"
"ia_archiver""InfoNaviRobot""ip3000.com-crawler""gazz""JennyBot""Kenjin.Spider""Keyword.Density""LexiBot""libWeb\/clsHTTP"
"LinkextractorPro""LinkScan""LinkWalker""LWP::Simple""lwp-trivial""Lycos_Spider_(T-Rex)""Mata.Hari""Microsoft.URL"
"MIIxpc""Mister.PiX""moget""Mozilla.*NEWT""NaverRobot""NetAnts""NetMechanic""NICErsPRO"
"NPBot""Offline.Explorer""Openbot""Openfind""PJspider""Pompos""ProPowerBot""ProWebWalker ""QueryN.Metasearch""RepoMonkey"
"RMA""Scooter""SiteSnagger""Slurp""SpankBot""spanner""SpiderKU""Sqworm""suzuran""SurveyBot""Szukacz""Tagword"
"Teleport""Telesoft""The.Intraformant""TheNomad""TightTwatBot""Titan""toCrawl"
"True_Robot""turingos""TurnitinBot""Ultraseek""UrlDispatcher""URLy.Warning""VCI""W3C_Validator""W3C_CSS_Validator""WebAuto"
"WebBandit""WebCopier""Webcrawler""WebEMailExtrac""WebEnhancer""Web.Image.Collector"
"WebmasterWorldForumBot""WebSauger""Website.Quester""Webster.Pro""WebStripper""WebWasher"
"WebZip""WiseWire-Spider""Wget""[Ww]eb[Bb]andit""WWW-Collector-E""Xenu""Zeus""zyborg" ) ; 
foreach( 
$robots as $value ) { 
if(
preg_match("/".$value."/i"$_SERVER['HTTP_USER_AGENT'])) {
//    if(preg_match("/".$value."/i", $HTTP_USER_AGENT)) {
$st "php"
$id "my_id"//your id or name 
$user_name "bot"
define('PPHL_SCRIPT_PATH''/log/'); //change this to your pphlogger dir 
include(PPHL_SCRIPT_PATH."pphlogger.php"); 


?>


I put the code in the header.html after the <body>-tag (of course with my id an the right path ... ).
But with no succes ... Bots, Search Engines and Spiders were not counted.

What's wrong ... ?
Thanks in advance for your statement.
« Last Edit: July 26, 2008, 03:55:18 AM by mawenzi »
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Integration] PPhlogger v2.2.4/v2.2.5
« Reply #35 on: July 26, 2008, 05:15:24 AM »
hmmmm...you have an extra closing curly bracket "}" at the end...if removing it doesn't help, try debugging it by inserting something like
Code: [Select]
echo "blah"; above last "}" and then use some user agent spoofer (i.e. Firefox extension User Agent Switcher) and see if it shows word "blah" on the top of the page (or in the source) when you use name of one the bots.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [Integration] PPhlogger v2.2.4/v2.2.5
« Reply #36 on: July 26, 2008, 05:03:31 PM »
Hi V@no,

thanks for your fast response ..

- curly bracket
first closing curly bracket is for "if" , second closing curly bracket is for "foreach", it is from your original code fom forum.phpee.com and I think they are right ...

- user Agent Switcher
nice tool and it is working perfectly, but for testing it is also possible to switch betwen browsers MSIE <-> FF.
in
Code: [Select]
$robots = array(
I have added for testing
Code: [Select]
"Firefox",

- echo "blah";
instead of "echo "blah";" I took the following code for testing also the path for "include"
Code: [Select]
echo "<center><img src=\"".PPHL_SCRIPT_PATH."img/desc_order.gif\"><br></center>";
before the first closing curly bracket and "img/desc_order.gif" is shown only by using FF one times ...
and before the last curly bracket "img/desc_order.gif" is shown only by using FF for each robot in array ... xx times ... ;)

now I took the code for "img/desc_order.gif" also in pphlogger.php and it is also shown only by using FF a second "desc_order.gif"

so I think the code in header.html works right ...

but my problem remains the same ... Bots, Search Engines and Spiders will not be counted ...
I don't know why, but I think pphlogger.php works not in this way ...
sometimes I need some new settings in the control panel or somewhere else ... ?
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [Integration] PPhlogger v2.2.4/v2.2.5
« Reply #37 on: July 30, 2008, 02:25:30 PM »
... my problem is still the same ...
... but with tihs fix : http://forum.phpee.com/viewtopic.php?t=3007 pphlogger show me now msn- and some other search-bots ...
... this is much better, but not perfect ...
... then heavy user google-bot will not be shown in my pphlogger online list, only in my 4images online list ...
... but I still get him ...  :P
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Integration] PPhlogger v2.2.4/v2.2.5
« Reply #38 on: July 30, 2008, 03:50:45 PM »
Sorry, I have no way of testing this mod anymore nor pphlogger.
Have you checked your server's access log, maybe googlebot have changed its user agent?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [Integration] PPhlogger v2.2.4/v2.2.5
« Reply #39 on: July 30, 2008, 04:47:39 PM »
... I think Google has't changed its user agent ... it is the same sincs some times ago ...
Quote
Googlebot/2.1 (+http://www.google.com/bot.html)
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Googlebot-Image/1.0


... I am in testing ... and I still get him ...  :P
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline AntiNSA2

  • Hero Member
  • *****
  • Posts: 774
  • As long as I can finish my site before I die.
    • View Profile
    • http://www.thelifephotography.com
Re: [Integration] PPhlogger v2.2.4/v2.2.5
« Reply #40 on: May 08, 2009, 08:16:14 AM »
Mawenzi= Did you figure out how to log the bots? I really want to know how too.......


And V@no are there any changes needed to get this to work with 1.7.6.?




And where is the best place to put the doe in 4images I want to make sure it counts EVERYTHING!

THanks!
As long as I can finish my site before I die.

Offline AntiNSA2

  • Hero Member
  • *****
  • Posts: 774
  • As long as I can finish my site before I die.
    • View Profile
    • http://www.thelifephotography.com
Re: [Integration] PPhlogger v2.2.4/v2.2.5
« Reply #41 on: May 08, 2009, 11:44:12 AM »
Its definately not this
Code: [Select]
<!-- PowerPhlogger Code START -->
<script language="JavaScript" type="text/javascript" src="pphlogger.js"></script>
<noscript><img alt="" src="http://www.thelifephotography.com/pphlogger/pphlogger.php?id=AntiNSA&st=img"></noscript>
<!-- PowerPhlogger Code END -->


thats what it gives me in settings... I did follow your steps but can not see me loggid in or any information in the control panel about currently online users.


And we only need to put in your midified version of the script in the header.html
, right?

Before or after the body tag?
As long as I can finish my site before I die.

Offline Bommel

  • Full Member
  • ***
  • Posts: 114
    • View Profile
Re: [Integration] PPhlogger v2.2.4/v2.2.5
« Reply #42 on: January 20, 2010, 10:19:33 PM »
Hallo allerseits,

habe mich bei der Installation an die Anleitung gehalten, jedoch werden von pphlogger keine Aktivitäten geloggt. Da tut sich garnichts. Woran könnte das liegen? Ich bin das ganze nochmal Schritt für Schritt durchgegangen.

Kann es sein, dass pphlogger eine eigene Datenbank benötigt? Ich musste die Datenbankeinträge in die 4Images-Datenbank einpflegen, da ich nur eine Datenbank erstellen darf.

Freundliche Grüße, Bommel
Freundliche Grüße, Bommel

Nicht die Geduld mit mir verlieren, ich bin noch am Lernen./ Do not lose the patience with me, I am still in the learning. ;)

Offline Hagen-Roderich

  • Full Member
  • ***
  • Posts: 127
    • View Profile
    • Hof Jokers
Re: [Integration] PPhlogger v2.2.4/v2.2.5
« Reply #43 on: January 21, 2010, 12:31:39 PM »
Schau dir mal http://www.php-web-statistik.de/ an.
Braucht keine Datenbank.
Kostet 6,99€ und läuft bei mir ohne Probleme mit der Galerie zusammen.

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [Integration] PPhlogger v2.2.4/v2.2.5
« Reply #44 on: January 21, 2010, 03:00:58 PM »
@ Hagen-Roderich
... nur ist dein Vorschlag (via Link) eine allgemeine Webstatistik ...
... die [Integration] PPHlogger von V@no kann erheblich mehr und ist vor allem auf die Funktionsweise von 4images angepasst ...
... nur einige Highlights ...
... lässt sich komplett incl. Design in das 4images-APC und Reload integrieren, so siehst du auf deinem 2.Monitor immer aktuell was auf deiner Website los ist ...
... die Statistik ist personalisiert für jeden Gast, User und auch die Bots ...
... man sieht so z.B. was Google auf der Seite treibt, welche Seiten und auch konkret welche Bilder gerade indiziert werden ...
... und wie bereits gesagt ... alles in Echtzeit ...

@ Bommel
... ja, benötigt im Idealfall eine eigene Datenbank ...
... jedoch funktioniert auch eine Erweiterung der 4images-Datenbank um die Tabellen von PPhlogger ...
... die config-Dateien müssen dann aber entsprechend angepasst werden ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...