PHPee.com PHP development forum
Abandon the pphlogger.js file

 
Post new topic   Reply to topic    phpee.com Forum Index -> Phlogger3 feature requests
View previous topic :: View next topic  
Author Message
pe



Joined: 19 Feb 2004
Posts: 1

PostPosted: Thu Feb 19, 2004 3:45 pm    Post subject: Abandon the pphlogger.js file Reply with quote
It's very anoying to put this (actual javascript logging method with external pphlogger.js file) code before the tag for it to work without problems...

In my humble opinion you have to ways of doing this:

1 - Try to make this file compatible to work in th part of html;

2 - Try to make the img src method to allow alternative methods of logging, for example, st=js for javascript or st=img for image and, in the same logic, insert a variable for showme=n (no output) and showme=y (image counting output)...

Keep on the good work!

PE
Back to top
View user's profile Send private message
hjuan99



Joined: 21 Jul 2004
Posts: 4

PostPosted: Wed Jul 21, 2004 10:50 pm    Post subject: This is such a huge feature Reply with quote
This is the one thing holding me and many of my friends back from using phlogger. It's just too cumbersome to require a huge javascript file on the server. I believe all of these stats (or, almost all of them) can be obtained if the user puts an img src tag on their page. Look at www.statcounter.com. All they require is an image on your page and they provide tons of stats.

I think the program is awesome, and would install and use it on my 6 sites if it only required the image.

Thanks,

John
Back to top
View user's profile Send private message Visit poster's website
sdjl
Moderator


Joined: 17 Nov 2003
Posts: 936
Location: London, UK

PostPosted: Thu Jul 22, 2004 12:35 am    Post subject: Reply with quote
This is the statcounter code i found:

Code:








You'll notice it uses the same system as pphlogger...
You too can use on pphlogger file hosted on your main server and use that to server customers.
Simply point to pphlogger.js.php instead of the pphlogger.js file locally.

Ask if you need any more information.

David
_________________
-----
Free Logger Accounts | PPHlogger Manual | PM Me
Back to top
View user's profile Send private message Visit poster's website
hjuan99



Joined: 21 Jul 2004
Posts: 4

PostPosted: Fri Jul 23, 2004 9:35 pm    Post subject: you're right Reply with quote
Well, I stand corrected. Thanks.

How do I get the system to point the script to http://mydomain.com/pphlogger.js.php?

I read the sticky post about the email and setting the email to plain text so that it doesn't attach the js file, but don't know how to change it so it displays the correct code to the user now.

Any help is greatly appreciated. I'm trying not to modify the code so that it's easy for me to upgrade later. I think this is awesome software.

Thanks,

John
Back to top
View user's profile Send private message Visit poster's website
sdjl
Moderator


Joined: 17 Nov 2003
Posts: 936
Location: London, UK

PostPosted: Fri Jul 23, 2004 10:49 pm    Post subject: Reply with quote
I have replied on the other thread, but basically, instead of calling their own pphlogger.js file, you provide in its place a link as follows:

pphlogger.js.php?id=USERNAME

David
_________________
-----
Free Logger Accounts | PPHlogger Manual | PM Me
Back to top
View user's profile Send private message Visit poster's website
Post new topic   Reply to topic    phpee.com Forum Index -> Phlogger3 feature requests All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.11
Theme design based on Team 101 Designs, modified by Philip Iezzi