Abandon the pphlogger.js file

Moderators: Moderator Team, Development Team

Abandon the pphlogger.js file

Postby pe on Thu Feb 19, 2004 4:45 pm

It's very anoying to put this (actual javascript logging method with external pphlogger.js file) code before the <html> 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 <body> 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
pe
 
Posts: 1
Joined: Thu Feb 19, 2004 4:35 pm

This is such a huge feature

Postby hjuan99 on Wed Jul 21, 2004 11:50 pm

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
hjuan99
 
Posts: 4
Joined: Wed Jul 21, 2004 11:44 pm

Postby sdjl on Thu Jul 22, 2004 1:35 am

This is the statcounter code i found:

Code: Select all
<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=280686;
</script>

<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com" target="_blank"><img  src="http://c1.statcounter.com/counter.php?sc_project=280686&java=0" alt="web site counter" border="0"></a> </noscript>
<!-- End of StatCounter 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
User avatar
sdjl
Moderator
 
Posts: 1282
Joined: Mon Nov 17, 2003 1:13 am
Location: London, UK

you're right

Postby hjuan99 on Fri Jul 23, 2004 10:35 pm

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
hjuan99
 
Posts: 4
Joined: Wed Jul 21, 2004 11:44 pm

Postby sdjl on Fri Jul 23, 2004 11:49 pm

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
User avatar
sdjl
Moderator
 
Posts: 1282
Joined: Mon Nov 17, 2003 1:13 am
Location: London, UK


Return to Phlogger3 feature requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron