Advertisement:

How to send a automatic PM

Aloittaja berendhaan, tammikuu 15, 2005, 03:51:03 IP

« edellinen - seuraava »

berendhaan

Is it posible to sent automatic a PM
Exaple: if date = 13 - 12 he has to sent me a PM
is that posible??

grtzz berend


berendhaan


berendhaan

I got this script:

$pmfrom = array(
'id' => 1,
'name' => 'Oil Change Reminder',
'username' => ''
);
$pmto = array(
'to' => array($context['user']['username']),
'bcc' => array()
);

// Give them a warm welcome via PM :)
sendpm($pmto, 'Oil Change', 'You have to change your oil today! <br> Greets', 0, $pmfrom);

in Profile.template.php  but he gives an Error:
LainaaFatal error: Call to undefined function: sendpm() in /home/haandes/public_html/forum/Sources/Load.php(1036) : eval()'d code on line 1235

[Unknown]

You have to have SSI.php and Subs-Post.php included.

-[Unknown]

Kirby

include('SSI.php');
require_once($sourcedir . '/Subs-Post.php'); <-- something like that

PsyKo BoY

any solution about automatic  send PM ?

i know how to send PM but not automatically for exemple everyday at 00:00
the post mentionned by Unknow don't help me

thx

Kirby

You'd have to use cron jobs for that, or some kind of timed event.

Advertisement: