Foren / Cotonti / Extensions / Automatic Welcome PM after registration

ErsteVorherige123NächsteLetzte

SunChase
#16 1. Januar 2010, 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 1. Januar 2010, 20:17
Found it.

Fixed it.

Done

[download]

welcomepm_107.zip

Enjoy

Please read the Readme for further instructions
SunChase
#18 1. Januar 2010, 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 1. Januar 2010, 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 1. Januar 2010, 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

Dieser Beitrag wurde von SunChase (am 1. Januar 2010, 21:07, vor 14 Jahre) bearbeitet
5uper Mario
#21 1. Januar 2010, 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 1. Januar 2010, 21:44
show the setup side of the code
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
5uper Mario
#23 1. Januar 2010, 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 1. Januar 2010, 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 1. Januar 2010, 22:09
Thank You

Exactly whats wrong
(I always do that)
SunChase
#26 1. Januar 2010, 22:11
did it help?
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
5uper Mario
#27 1. Januar 2010, 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 1. Januar 2010, 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 1. Januar 2010, 22:54
Ok

Perfect for anyone
7 Languages
Fixed for Cotonti
Welcomes User

[Download]

Dieser Beitrag wurde von 5uper Mario (am 1. Januar 2010, 23:33, vor 14 Jahre) bearbeitet
Kingsley
#30 1. Januar 2010, 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..

ErsteVorherige123NächsteLetzte