Форуми / Cotonti / Extensions / Automatic Welcome PM after registration

5uper Mario
#21876 01.01.2010 04:06
Done

I don't know what you did, but I finished it caused I had it planned in my head
Once I see how it could work, I never stop

Anywayz it works, sends a PM, the message is editable via the config of the plugin.
Pretty simple actually

Actually I ran into a problem:
The user gets the PM, but there is no notification.
Like normally it would say "1 New PM"
But it doesn't

$sql = sed_sql_query("INSERT INTO $db_pm ( pm_state) values ('0');

0 or 1 nither does the trick...
(ran into this problem with seditio too...)

Added 17 minutes later:

oh
Would you want to keep the way it is?
When the user gets the PM, due to Cotonti
if you set the name as webmaster(or any other name not the same as user id 1)
they get an error if they click it.

Cause Cotonti is looking for the username webmaster with the id # 1
unless that's your name you get a error.

So I could change that too....

Відредаговано: 5uper Mario (01.01.2010 04:36, 15 років тому)