Forums / Cotonti / Extensions / Automatic Welcome PM after registration

<<<123>>>

SunChase
#16 2010-01-01 20:07
change in the plugins settings the "ID of the sender :" to 0.This will help
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
5uper Mario
#17 2010-01-01 20:17
Found it.

Fixed it.

Done

[download]

welcomepm_107.zip

Enjoy

Please read the Readme for further instructions
SunChase
#18 2010-01-01 20:33
good work.But i think the lang files should be returned.Or i think a divider function must be plased,so that the text would loook like:

===Language - English===
Title : Welcome
Text : Welcome bla bla bla...

and ect.
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
5uper Mario
#19 2010-01-01 20:41
Can be updated :)

I removed the lang files for....the really only reason why I did this:
So that you can add a message via the admin panel and note have to go to the php files.

The only thing I am unsure of is this:


Like, is it possible to make that mulit-langel?

ex.
welcome=1::string:$L['title']:

ect..?
(haven't tried)

Expect a update soon :D
SunChase
#20 2010-01-01 21:00
Yes.This can be done.Read this.

Добавлено 6 Минут спустя:

try something like this:
fromuserid=01:string::1:"cfg_id"
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
This post was edited by SunChase (2010-01-01 21:07, 14 years ago)
5uper Mario
#21 2010-01-01 21:39
Even in another lang that article was easy to understand.

Actually I keep the lang files, but I add:
$L['cfg_fromuserid'] = array('The User ID of the Sender');

ect..

So it works...to a point.

$L['cfg_fromuserid'] = array('The User ID of the Sender');
$L['cfg_fromusername'] = array('The name of the Sender');
$L['messagetitle'] = array('The Title or header of the PM');
$L['message'] = array('Write what you want every new member to read. Use [user] for there name to display');

First two work, last two don't

I can't find the error....

Driving me crazy
SunChase
#22 2010-01-01 21:44
show the setup side of the code
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
5uper Mario
#23 2010-01-01 21:49

[BEGIN_SED_EXTPLUGIN_CONFIG]
fromuserid=01:string::1:The User ID of the Sender
fromusername=02:string::webmaster:Name of the sender
messagetitle=03:string::Hello There New Member:The title of the PM
message=04:words::Hello there [user]\r\nWelcome.\r\nWe hope you enjoy your stay and make lots of friends.\r\nThank You,\r\nAdministrator:Write what you want every new member to read. Use [user] for there name to display.
[END_SED_EXTPLUGIN_CONFIG]

SunChase
#24 2010-01-01 22:07
if i'm not mistaking :
$L['cfg_fromuserid'] = fromuserid
...
than instead of $L['messagetitle'] try $L['cfg_messagetitle']
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
5uper Mario
#25 2010-01-01 22:09
Thank You

Exactly whats wrong
(I always do that)
SunChase
#26 2010-01-01 22:11
did it help?
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
5uper Mario
#27 2010-01-01 22:16
# SunChase : did it help?
Yes
Perfect

I'll release the next version in like 20 mins
After adding different langs

English
Spanish
Russian
French

Anyothers?
SunChase
#28 2010-01-01 22:18
# 5uper Mario : English
Spanish
Russian
French

Anyothers?

No.I think this will be enought
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
5uper Mario
#29 2010-01-01 22:54
Ok

Perfect for anyone
7 Languages
Fixed for Cotonti
Welcomes User

[Download]
This post was edited by 5uper Mario (2010-01-01 23:33, 14 years ago)
Kingsley
#30 2010-01-01 23:26
Thx Mario.

Maybe an option to add a reminder mail to? For when people haven't been on the site for xx time?
Just an idea..

<<<123>>>