obey-robots.txt
pHpFusion Nederlands (BE|NL) Ľ Ondersteuning, Themas, Infusies, Modificaties en Installatie 23 Maart 2019, 21:42 | Search | Contact | najdi
Navigatie
» pHp-Fusion Start

» FAQ
» Reglement

» Forum
» Contact
» Zoeken
» Artikelen
» Weblinks

» Thema's
» Infusions & Mods
» Nieuws CategorieŽn

» PHP-Fusion Downloads
» PHP-Fusion Vergunning
» PHP-Fusion Link Portal

Shoutbox
U moet ingelogd zijn om een bericht te plaatsen.

28 december 2018, 21:42
ROFL

01 januari 2018, 10:29
Gelukkig en gezond 2018 toegewenst iedereen

09 november 2016, 23:46
Groeten vanuit Belgie, ondertussen weer een aantal jaartjes geleden Wink

29 maart 2016, 09:44
Hey haggis, sup

28 maart 2016, 22:34
Hi there.


Extra Downloads

Nieuwste Downloads:

» PHP-Fusion 7.02.07 FIX voor...
» Squirrel Mail Panel
» Dropline Navigation Panel
» News 2 Articles converter
» Multi Contact Panel
» Camamba Panel
» Avatar Panel
» WebInsta MaiLing (WIML) Inf...
» Pro beheer paneel
» V7.02.04 update + Dutch locale

Top 5 Downloads:

» V7.02.04 full core + D... [775]
» DHTML Menu V7 [599]
» V7.02.04 update + Dutc... [591]
» WebInsta MaiLing (WIML... [449]
» Photoalbum Mass Upload [427]

Populaire Fusion sites
» CaiWay Gebruikers.
» KPN Gebruikers.
» Online Gebruikers.
» Tele2 Gebruikers.
» Ziggo Gebruikers.

pHp-Fusion sites
» Php-Fusion.Asia
» Php-Fusion.Cn
» Php-Fusion.Fr
» Php-Fusion.In
» Php-Fusion.Org
» Php-Fusion.Start-Pages.Com
» Start-Pages.Com

Onderwerp bekijken
Nieuw onderwerp Beantwoorden
 Onderwerp afdrukken
Autonews Infusion
afoster
douwe_yntema schreef:

I Got your infusion working and sending mail.

In file autonews_include.php line 393 must be changed to:

Download broncode  Code
$rtn = dbrows($result);




Furthermore to send mail, it is file autonews_cronjob.php that says:

// 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

But, $locale['AN042'] does not exist. You need to change in file autonews_param.php, line 30 to:
Download broncode  Code
$autonews_params['cronjob'] = TRUE;    // TRUE if cronjob is used - FALSE otherwise




and enter a password in file autonews_cronjob.php in line 24.

Then call the cronjob as state as:
http://wwww.mysite.com/infusion/autonews/autonews_cronjob.php?pw=mypassword

where the password is from autonews_cronjob.php line 24.

of course you need to set up PHP-Fusion correctly for sending mail.

There are some warnings about shoutbox, I infused the shoutbox, but not set it up. Don't know if this need to be digged out deeper.


I forgot to ask if you actually sent the email from the screenshot you posted. I got that far in the infusion as well, but the email was never sent.
 
douwe_yntema
The screen shot is from my mail program.

I was confused also when clicking the test link, you get an preview of the mail in your browser, but the mail is not sent.
To send the mail, you need to execute the autonews() function, which is actually done from the cronjob.

Or you must make a call to the autonews() function from somewhere else. e.g. from the footer of your site.
Or make a panel whitout content and call it cronjob.
Every time a visitor comes on your site, the code is executed.
 
http://www.douwe.schoonheidssalonanneke.nl
afoster
douwe_yntema schreef:

The screen shot is from my mail program.

I was confused also when clicking the test link, you get an preview of the mail in your browser, but the mail is not sent.
To send the mail, you need to execute the autonews() function, which is actually done from the cronjob.

Or you must make a call to the autonews() function from somewhere else. e.g. from the footer of your site.
Or make a panel whitout content and call it cronjob.
Every time a visitor comes on your site, the code is executed.


Do you mean the autonews() function in autonews_cronjob.php or somewhere else? As you can tell, I am not very well versed in php.

BTW, how can I respond to your posts without having to quote the message? I can't seem to find the link that will let me do that.
 
douwe_yntema
The function autonews() is located in autonews_include.php:

Download broncode  Code
// Does what has to be done at all times - returns TRUE if something has happened
function autonews()
{
  $autonews_settings = autonews_readdb();
  if ($rtn = autonews_check($autonews_settings))
  {
    autonews_send($autonews_settings);
  }
  return $rtn;
}




This function is calling autonews_check and if there is something to send, autonews_send is called (see below autonews function in te file)

Button explained in attachment :)

douwe_yntema voegde bij, afbeelding: (Klik het plaatje voor vergroting!)
answer_button.png
 
http://www.douwe.schoonheidssalonanneke.nl
afoster
Thanks, I will see if I can get the cronjob to work. I would still like the infusion to work (send emails) without using a cron job...I know it is possible because it is working on two different php-fusion 7.02.07 sites.
 
douwe_yntema
Oh no I forgot:

For the infusion to infuse, in infusion.php search for Type=MyISAM;
and replace with ENGINE=MyISAM; (twice)

I checked again, but the autonews function is also called from the autonews panel, if the cronjob parameter is set to false. It was in the readme. But then then the mails are only sent if the panel is executed, so if a visitor enters your site.


Sorry not to mention this before.

I just tested and it works also
 
http://www.douwe.schoonheidssalonanneke.nl
afoster
I was aware of the Type=MyISAM issue as that is the reason why it did not infuse correctly originally.

When you say "I just tested and it works also", do you mean it is working without using cron job? If so, I would love it if you could zip up your whole infusion (changing db connection details) and add it to a post here. Perhaps when comparing the files I could figure out where the problem lies for me.
 
afoster
I defused and re-infused the autonews and it now seems to be working without the cronjob. Don't really know what I did but I am happy that it is working.

Again, it is on a site running php-fusion 8.00.21, with php version 5.6.3

Thanks again for your help on this.
 
douwe_yntema
afoster schreef:

I was aware of the Type=MyISAM issue as that is the reason why it did not infuse correctly originally.

When you say "I just tested and it works also", do you mean it is working without using cron job? If so, I would love it if you could zip up your whole infusion (changing db connection details) and add it to a post here. Perhaps when comparing the files I could figure out where the problem lies for me.


Yes it is working whitout the cron job if you make the setting in the file autonews_param.php, line 30 to:
Download broncode  Code

$autonews_params['cronjob'] = FALSE;   


 
http://www.douwe.schoonheidssalonanneke.nl
douwe_yntema
afoster schreef:

I defused and re-infused the autonews and it now seems to be working without the cronjob. Don't really know what I did but I am happy that it is working.

Again, it is on a site running php-fusion 8.00.21, with php version 5.6.3

Thanks again for your help on this.



Glad it is working. Maybe a setting that was set to default again after infusion
 
http://www.douwe.schoonheidssalonanneke.nl
Spring naar forum:
Nieuw onderwerp Beantwoorden

Gebruik BBcode of HTML om naar; 'Autonews Infusion', te verwijzen!
BBcode:
HTML:

Vergelijkbare onderwerpen
Onderwerpen Forum Antw. Laatste bericht
infusion aanpassen via phpmyadmin Infusions 12 19 februari 2017, 08:28
nieuwe infusion Infusions 1 18 februari 2017, 23:05
nieuw infusion shoutchat Infusions 2 01 februari 2015, 15:34
Versie infusion Modificaties 5 24 september 2014, 19:59
infusion of mod Infusions 4 08 december 2013, 13:57

Inloggen / Registreren
Gebruikersnaam

Wachtwoord



Nog geen lid?

» Registreer «
Als geregistreerd lid kunt u reageren en alle extra functies gebruiken.

Wachtwoord vergeten?
Verzoek nieuw wachtwoord.

Gebruikers Online
» Gasten online: 1

» Leden online: 1
barman-productions

» Totaal aantal leden: 1,211
» Nieuwste lid: gaboe

Laatst geziene leden
» barman-produc...Online
» douwe_yntema08:04:02

Doneren


Promoot je website
Ad-Vertise hoe werkt het? Registreer, selecteer "Advertenties Nederland" en maak een eigen tekst advertentie. Kies een ad formaat, pas de kleuren aan en plaats html code op je eigen website. Nu worden jouw advertenties vertoont op alle deelnemende websites die ůůk voor Advertenties Nederland hebben gekozen. Bekijk advertentie formaten.
Hieronder "Advertenties BelgiŽ", deze advertenties worden vertoont op alle deelnemende websites die ůůk voor Advertenties BelgiŽ hebben gekozen. Bekijk advertentie formaten..

Laatste Downloads
» PHP-Fusion 7.02.07 update v...
» PHP-Fusion v7.02.07
» Cookie Controle 1.0
» PHP-Fusion v7.01.02 upgrade...
» PHP-Fusion v7.01.01 upgrade...

7,750,352 bezoeken