pphlogger.js file attachment problem

Get help with installation and running PPhlogger 2.2.x here.
Please do not post bug reports or feature requests here.

Moderators: Moderator Team, Development Team

pphlogger.js file attachment problem

Postby sdjl on Tue Dec 02, 2003 1:51 pm

It is now a known issue that many email interfaces online prevent the sending of .js files via email.
This is mainly to prevent viruses and other annoying emails from spreading but this also affects the sending out of the pphlogger.js file attachment to make pphlogger function.

Following are a couple of options that you can take to stop your users from not getting the .js file attachment:

1) From within the Admin side of pphlogger, switch the emailing system to "Plain". This won't send out the .js file meaning you will have to edit the newuser emails (messages/email_newuser_xx.txt) to tell them where to download the file from.

2) If for some reason the aboce doesn't work for you then modifiying the way in which emails are sent out via HTMLmime or Libmail is an option.
Please see the following URL for details on how to do this:
http://www.phpee.com/forum/viewtopic.php?p=8778#8778

3) If you don't want to let the user download the pphlogger.js file you can use the pphlogger.js.php file in there logger code instead.
Instead of them calling pphlogger.js their code would look something like so:
Code: Select all
<script language="JavaScript" src="http://[url]/pphlogger/pphlogger.js.php?id=[username]"></script>


I hope these alternatives prove useful for some of you :)

David
User avatar
sdjl
Moderator
 
Posts: 1282
Joined: Mon Nov 17, 2003 1:13 am
Location: London, UK

Re: pphlogger.js file attachment problem

Postby pipo on Tue Dec 02, 2003 7:03 pm

Thanks a lot David, for this great tutorial!

I'd just like to add one more thing that everybody should remember:
sdjl wrote:3) If you don't want to let the user download the pphlogger.js file you can use the pphlogger.js.php file in there logger code instead.

If you're using this option, please be aware that this will greatly increase your web-traffic! The generated pphlogger.js file will each time get loaded from your server instead of the user's own one. I'd just like to let you know about this. I don't want anybody shouting at me: "Hey, PPhlogger consumes my whole bandwith!!"
Philip Iezzi - Development Team Leader, phpee.com
PHPee.com | Downloads | PPhlogger
hosted by Onlime Webhosting
User avatar
pipo
Site Admin
 
Posts: 773
Joined: Sat Nov 15, 2003 2:57 pm
Location: Zurich, Switzerland

Postby chromer on Sun Feb 08, 2004 3:50 pm

the email filter from my site suggested I zip up the js file and attach it, How would I modify the php script to do that?
chromer
 
Posts: 3
Joined: Sun Feb 08, 2004 3:44 pm

pphlogger.js.php

Postby kkkk on Fri Feb 27, 2004 12:01 am

i was just wondering how do u turn this function on because it just doesn't make any sense to me at all
kkkk
 
Posts: 1
Joined: Thu Feb 26, 2004 11:58 pm

Postby sdjl on Fri Feb 27, 2004 4:50 pm

Login to the admin side of your PPHLogger installation and click on Setup.
Navigate through that and there is an option there.

David
User avatar
sdjl
Moderator
 
Posts: 1282
Joined: Mon Nov 17, 2003 1:13 am
Location: London, UK

Postby andy on Tue Jul 13, 2004 6:18 am

I have to set email to text anyway to get email working at all
so I thought of a 3rd option.


INSTRUCTIONS:

[1] in order to confirm your new account, you need to login with the password that we've sent to your email address.
login !
If you don't confirm your account it will be deleted after 24 hrs
[2] upload the pphlogger.js-file that you've received as attachment.
[3] add the following HTML Code into all your files that you wish to get logged:
<!-- PowerPhlogger Code START -->
<script language="JavaScript" type="text/javascript" src="pphlogger.js"></script>
<noscript><img alt="" src="http://www.topcounters.com/pphlogger.php?id=theandy8&st=img"></noscript>
<!-- PowerPhlogger Code END -->



Just replace step 2 with a download link to the js file.

[2] Download pphlogger.js and then upload that file to your site


Also include the dowload link in the email. Can someone point out how to do this?

Andy
ps like the com I just found in deleteddomains?
***********************
www.TopCounters.com
***********************
andy
 
Posts: 6
Joined: Tue Jul 13, 2004 6:07 am

I don't get it

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

I tried to navigate through the setup option to change it so that the code provided to the user would link the script from my site, and not ask them to download it but I never saw any option there. What option am I looking for?

Thanks,

John
hjuan99
 
Posts: 4
Joined: Wed Jul 21, 2004 11:44 pm

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

Change the pphlogger.js part of the code to point to this file on your server:

pphlogger.js.php

You need to pass it an ID in order for it to work however:
pphlogger.js.php?id=USERNAME

Please open a new support thread if you need further help as i am closing this topic.

David
User avatar
sdjl
Moderator
 
Posts: 1282
Joined: Mon Nov 17, 2003 1:13 am
Location: London, UK


Return to PPhlogger Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron