Jamen dog! Hvor er det JavaScript henne?
Din browser understøtter ikke JavaScript eller har ikke understøttelsen slået til. Slå JavaScript til i din browser for at se denne side ordentligt, eller opgrader til en browser, der understøtter JavaScript.
Besøgende online nu
Gæster online 14
Brugere online 0

Antal brugere: 185
Nyeste bruger: Mrnight

Tilføjelse til datafil

Sidst opdateret den 10 år siden
A
afosterBruger
Skrevet d. 10 år siden
I received notification of the news item I posted so it appears that the notifications are working. I also posted a new video about an hour ago and am waiting to see if there is a notification about that. I will post that result when I get it unless it comes during the early morning hours. It is 5:15 PM here in California as I post this.
A
afosterBruger
Skrevet d. 10 år siden
The notification about the new video uploaded has come through, so it looks like everything is working the way it is supposed to. Thanks again for your help.
F
fljFusioneer
Skrevet d. 10 år siden
That's great!

I will do nothing further unless you revert.
A
afosterBruger
Skrevet d. 10 år siden
I just noticed that although I am receiving the notifications of changes to the website through autonews, the notifications are coming 3 days after the change. The admin settings show that notifications should be sent after 4 hours. Do you have any idea why this is happening?

I sent an email from the website and received the email almost instantly, so the problem is not the sendmeil function.

The website is http://babyfritz.fredswebportal.com
F
fljFusioneer
Skrevet d. 10 år siden
It's hard to say, but one guess is that the 4 days is the time when the site have first been accessed after sending was due.

In order to send the mails, it is checked when the site is accessed whether mail are due to be sent. The reason is, that you need some php code to run, to allow the code to send mails.

This way of sending mails is the default setting in autonews. However, I have also built in the option to use cron. cron is a server feature, allowing code to be executed at sepcific times. Few web-hotels provides this feature. However, even if your web-host does not support cron, you may use it by subscribing to an external cron service. cron.de is providing it for free (or used to at least). Unfortunately it is in german.

But first, I suggest you verify that this is a likely reason.
A
afosterBruger
Skrevet d. 10 år siden
To make sure I understand, if no one is visiting the website, there will be no notification being sent out? If the admin is set to send out notification within 4 hours of the change, would that not count as visiting the site? Is there a specific number of times that the website has to be visited?

In response to your question, it is quite possible that the 3 days is the time in between someone checking into the site.
F
fljFusioneer
Skrevet d. 10 år siden
Mails are ONLY sent when a page is being visited. Depending on your settings mails may be split in several packages, each requiring a visit.

This can be circumvened by using a cron server, as outlined in #25
A
afosterBruger
Skrevet d. 10 år siden
I've looked at my webhost and I can set up a cron job, but I need a file name to put into the cron admin that will run at the appropriate time. Which of the files would I enter?
F
fljFusioneer
Skrevet d. 10 år siden
Follow the instruction in autonews_cronjob.php
A
afosterBruger
Skrevet d. 10 år siden
Here is the content of my autonews_cronjob.php file:

require_once "../../maincore.php";
require_once INFUSIONS."autonews/autonews_include.php";

// To activate this file, set $locale['AN042'] to TRUE and insert a password below               
// Use 'http://wwww.mysite.com/infusion/autonews/autonews_cronjob.php?pw=mypassword' from cronjob

$pw = '';

if ($autonews_params['cronjob'] === TRUE && $pw <> '' && $_GET['pw'] == $pw) { autonews(); }
?>


Where do I set $locale [AN042] to TRUE. BTW, there is no AN 042 in my English locale
F
fljFusioneer
Skrevet d. 10 år siden
Sorry

// To activate this file, set $locale['AN042'] to TRUE and insert a password below 

has to read
// To activate this file, set $autonews_params['cronjob'] in  autonews_params.php to TRUE and insert a password below 


I have to admit that it's a while since I tested it, but give it a try
A
afosterBruger
Skrevet d. 10 år siden
Thanks again for your quick response. I will follow your directions and see what happens. BTW, where can I download the newest version of autonews...I could not find it in the Downloads section.
F
fljFusioneer
Skrevet d. 10 år siden
You got the newest version, I think. I am not sure where to download it. I uploaded it to php-fusion.co.uk once, and I have not deleted it.
H
helmuthSuperadministrator
Skrevet d. 10 år siden
did a search on the UK-site:

http://www.php-fusion.co.uk/search.ph...0&chars=50

but with negative result on the download issue
A
afosterBruger
Skrevet d. 10 år siden
I have looked for it on many sites with no success. Perhaps not many users were looking for it. Is it possible for you to re-zip it so that I can upload it to another site that I have started?
Du kan se alle diskussionstråde i dette debatforum.
Du kan ikke starte en ny diskussionstråd i dette debatforum.
Du kan ikke svare i denne diskussionstråd.
Du kan ikke påbegynde en afstemning i dette debatforum.
Du kan ikke vedhæfte downloads i dette debatforum.
Du kan ikke vedhæfte downloads i dette debatforum.
Log ind
Er du endnu ikke registreret bruger? Klik her for at oprette dig.
Glemt kodeord?