cotonti.com : Automatic Welcome PM after registration https://www.cotonti.com Son konu mesajları Cotonti en Tue, 01 Sep 2026 11:46:55 -0000 pieter # 5uper Mario : Second: no members :P I was trying to test it with a random member who somehow joined my hidden site?? edit: oh pieter nvm, how u find it? :))

You gave me a screenshot in the forum for the Gameportal skin:


Look at the address-bar in the picture.]]>
Sal, 05 Oca 2010 21:08:53 -0000
SunChase ]]> Sal, 05 Oca 2010 20:51:15 -0000 5uper Mario # SunChase : hm.I havent seen your script,but if your doing it this way - sign me in for beta testing

Sorry for the delay
Actually, it had to do with the browser cache...
I'd get a previous error, fix it, reload the page, error still there.....drove me mad.
But then I cleared my cache. Worked.

Anyways yea I need a beta tester. for a real live site
First, my server no mail server = can't test emails (Though the automatic one worked)
Second: no members :P I was trying to test it with a random member who somehow joined my hidden site?? edit: oh pieter nvm, how u find it? :))
But the PM function(as you mention) works

@Kingsley
Yep, it has two functions as editable in the config:
1: Send PM's and Emails Automatically
2: Send PM's and Write a EMail to certain users using the form=checkboxs
3: I just threw this one in, can decide if you want to only send emails or emails and PMs vice versa

@SunChase
Please pm me or otherwise I'll finish up the languages and release it.]]>
Sal, 05 Oca 2010 14:07:42 -0000
SunChase So they get both a email and pm is what your saying?
Yes]]>
Cmt, 02 Oca 2010 21:26:35 -0000
5uper Mario # SunChase : Just remembered. Will the Warnings be sent only by email(without a copy of the message by PM) ?
To the user?
So they get both a email and pm is what your saying?]]>
Cmt, 02 Oca 2010 20:27:27 -0000
SunChase Cmt, 02 Oca 2010 20:14:52 -0000 Kingsley # 5uper Mario : Should the Welcome PM be released?
Or would that go against the original author's rights or something?
Cause I have alot of plugins converted from Seditio


You could always put the original designer in the credits, and yourself as adapter to cotonti.
Can't imagen why the original designer would object to that...]]>
Cmt, 02 Oca 2010 19:17:31 -0000
5uper Mario Or would that go against the original author's rights or something?
Cause I have alot of plugins converted from Seditio
...

And for the users inactive plugin, will be done tommarrow.

Will be in 7 languages]]>
Cmt, 02 Oca 2010 14:03:58 -0000
SunChase Cmt, 02 Oca 2010 01:00:46 -0000 5uper Mario # Kingsley : Uhm, think it would be better if it's an automated function.

I mean, what if you're site has hundreds/thousands of members? then it would be a lot of work to select the inactive mebers. Think it better to have options to edit the time period, which groups, etc.. so bassically you will have the welcome message function, and below that the options for reminder mails..
Or two options in the config area
If automated {
do
}
else {
manual selection
}

ect...]]>
Cmt, 02 Oca 2010 00:49:39 -0000
Kingsley
I mean, what if you're site has hundreds/thousands of members? then it would be a lot of work to select the inactive mebers. Think it better to have options to edit the time period, which groups, etc.. so bassically you will have the welcome message function, and below that the options for reminder mails..]]>
Cmt, 02 Oca 2010 00:40:06 -0000
SunChase Cmt, 02 Oca 2010 00:16:30 -0000 5uper Mario # SunChase : i think that this should be done in a little different way:

make a page that would show all those,who hasn't been active for a period of time with a checkbox to select all those,for whom you want to send this messages, and a textboxer window with the text,you want to send.Something like "Dear [name]..bla bla bla"

Did you take a quick peek at my script?
Cause that's basically how its set up]]>
Cum, 01 Oca 2010 23:57:56 -0000
SunChase
make a page that would show all those,who hasn't been active for a period of time with a checkbox to select all those,for whom you want to send this messages, and a textboxer window with the text,you want to send.Something like "Dear [name]..bla bla bla"]]>
Cum, 01 Oca 2010 23:45:56 -0000
5uper Mario # Kingsley : 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..

Oh thanks for reminding me.
Hataz asked for this same plugin.

Let me get on this right away]]>
Cum, 01 Oca 2010 23:36:31 -0000
Kingsley
Maybe an option to add a reminder mail to? For when people haven't been on the site for xx time?
Just an idea..]]>
Cum, 01 Oca 2010 23:26:39 -0000
5uper Mario
Perfect for anyone
7 Languages
Fixed for Cotonti
Welcomes User

[Download]]]>
Cum, 01 Oca 2010 22:54:28 -0000
SunChase # 5uper Mario : English
Spanish
Russian
French

Anyothers?

No.I think this will be enought]]>
Cum, 01 Oca 2010 22:18:00 -0000
5uper Mario # 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?]]>
Cum, 01 Oca 2010 22:16:26 -0000
SunChase Cum, 01 Oca 2010 22:11:38 -0000 5uper Mario
Exactly whats wrong
(I always do that)]]>
Cum, 01 Oca 2010 22:09:51 -0000
SunChase $L['cfg_fromuserid'] = fromuserid
...
than instead of $L['messagetitle'] try $L['cfg_messagetitle']]]>
Cum, 01 Oca 2010 22:07:51 -0000
5uper Mario [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] ]]> Cum, 01 Oca 2010 21:49:21 -0000 SunChase Cum, 01 Oca 2010 21:44:58 -0000 5uper Mario
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]]>
Cum, 01 Oca 2010 21:39:37 -0000
SunChase this.

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

try something like this:
fromuserid=01:string::1:"cfg_id"
]]>
Cum, 01 Oca 2010 21:00:39 -0000
5uper Mario

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]]>
Cum, 01 Oca 2010 20:41:22 -0000
SunChase
===Language - English===
Title : Welcome
Text : Welcome bla bla bla...

and ect.]]>
Cum, 01 Oca 2010 20:33:20 -0000
5uper Mario
Fixed it.

Done

[download]

welcomepm_107.zip

Enjoy

Please read the Readme for further instructions]]>
Cum, 01 Oca 2010 20:17:18 -0000
SunChase Cum, 01 Oca 2010 20:07:06 -0000 5uper Mario
I (believe so) fixed this.

However, after the new user sends the message, the name (ex. webmaster) that you sent turns to your name. :p XD

I don't think its a big deal though

EDIT:
nvm
The sent box shows the true name :p
But other then that it shows webmaster and works


Just waiting on a solution for the PM notify]]>
Cum, 01 Oca 2010 19:44:22 -0000
SunChase Even if you set the 0 user id and Webmaster as referent,the user which will open this PM will still see the "Quick reply form" in which he would like to ask something or ect.

I think this could be done by a hack of the pm.inc.php where this form is formed by adding something like If "$row['fromusedid'] !=0" {...} ... cant look at the cotonti distibutive now,but i think the plot is understood]]>
Cum, 01 Oca 2010 19:12:30 -0000
5uper Mario
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....]]>
Cum, 01 Oca 2010 04:06:23 -0000
rayblo Cum, 01 Oca 2010 03:19:01 -0000 SunChase
[BEGIN_SED_EXTPLUGIN_CONFIG]
Message=08:string:::Additional pages fields for search, separated by commas. Example "page_extra1,page_extra2,page_key"
[END_SED_EXTPLUGIN_CONFIG]

and then in welcomepm.en.lang.php add something like this:
$L['plu_pmtext']  =  $Message

I really cant remember how exactly to do this.Coders please correct me]]>
Per, 31 Ara 2009 05:31:07 -0000
rayblo # SunChase : hm.You mean you want to edit the message from the admin pannel directly.
I think that this can be done.But it would be better to make its own slot for this.

How can this be done quickly then?]]>
Per, 31 Ara 2009 04:48:22 -0000
SunChase line 38:
$L['plu_pmtext']  = "Hi [username],\n\nWelcome to my website...\n\nSee ya\nwebmaster";
]]>
Çrş, 30 Ara 2009 23:18:20 -0000
Hataz Çrş, 30 Ara 2009 23:13:49 -0000 SunChase I think that this can be done.But it would be better to make its own slot for this.]]> Çrş, 30 Ara 2009 21:59:22 -0000 5uper Mario # SunChase : what do mean by "freetext slot" ?
In the config menu with the slots, down near the bottom there are open free text slots.
{PHP.cfg.freetext1 through 9}]]>
Çrş, 30 Ara 2009 21:49:02 -0000