News:

Wondering if this will always be free?  See why free is better.

Main Menu

PM to New Registered Users

Started by Midgard, December 17, 2004, 07:00:24 AM

Previous topic - Next topic

Kirby

It should work fine on 1.0.5.
Package attached..
Don't forget to install Anguz' ModSettings text area mod first.

spirulez

Thk.

And find a way for the 1.1b3 ? ;)
Do you undestrand something about SMF's variables? | Vous comprenez quelque chose aux variables sous SMF ?
Some help please? | Un peu d'aide svp ?
Thanks a lot | Merci beaucoup

Isaac

Quote from: ??? on August 03, 2005, 05:58:35 PM
It should work fine on 1.0.5.
Package attached..
Don't forget to install Anguz' ModSettings text area mod first.
Works great.  Thanks a bunch. :)

epyon

when i go to "Proceed" at the instaling it page all of the actions are successful except for ./Sources/Register.php and ./Themes/default/languages/Modifications.english.php


is this ok for me to continue?

Kirby


epyon

i have 1.0.5 (that is what u ment right?)

Kirby

Yes. It looks like you have other mods applied that are blocking this one.

epyon

 :( aww damn...  if its not too much would you be able to tell me which ones

Boylie

can you pick who send the pm ? like no it sends from main admin account

i would like it to send from USER : Forum-Bot

stargazer_1017

Quote from: epyon on August 08, 2005, 08:43:59 PM
when i go to "Proceed" at the instaling it page all of the actions are successful except for ./Sources/Register.php and ./Themes/default/languages/Modifications.english.php


is this ok for me to continue?

I had the same problem as well :( I would really love this mod, though! Help!

-Shayna

modtang

#70
As mentioned here: http://www.simplemachines.org/community/index.php?topic=21708.msg210835#msg210835

Open ./Themes/default/languages/Modifications.english.php

Before ?> just add the following:

$txt['send_welcomeIM'] = 'Send welcome personal message to new members';
$txt['welcomeIM_userid'] = 'User ID of sender<div class="smalltext">Leave blank to send with an unregistered name.</div>';
$txt['welcomeIM_subject'] = 'Subject of welcome message';
$txt['welcomeIM_body'] = 'Body of welcome message';


Problem solved. :)

stargazer_1017

I manually added the code before installation and it still fails on the Modifications.english.php :(  The register.php went through, though. Is that all that was needed to be added to Modifications.english.php?

-Shayna

Webrunner

Is there a way to implement this in 1.1RC1 ?
There is a difference between knowing the path and walking the path.

=========================================
Vrouwen Power! | Sprintweb: No nonsense e-Business consultancy

Webrunner

There is a difference between knowing the path and walking the path.

=========================================
Vrouwen Power! | Sprintweb: No nonsense e-Business consultancy

SpyDie

Beta. Software undergoes beta testing shortly before it's released. Beta is Latin for 'still doesn't work.'

desistyle

Quote from: mytreo on January 05, 2005, 01:56:56 PM
Quote from: Kirby on December 17, 2004, 07:54:02 PM
Open Register.php
Look for:
// Admin gets informed here...
adminNotify('approval', $memberID, $_POST['user']);
}


Add after:

// Set up the message arrays
$pmfrom = array(
'id' => 1,
'name' => 'name or variable',
'username' => 'name or variable'
);
$pmto = array(
'to' => array($memberID),
'bcc' => array()
);

// Give them a warm welcome via PM :)
sendpm($pmto, 'Subject Here', 'Message Here', 0, $pmfrom);


Something along those lines... SMF has a built in PM function to make things easy :D
You will probably have to adjust some of that stuff... who knows if this works out I might even make it a mod o.O

That is awesome kirby, thank you much.

wow this works great but only thing is it shows pm from none i mean its blank even when i put instead of pmfrom my user id ? am i suppose to do something else there ?

L.G.S

Can someone post this for 1.1 please?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


L.G.S

Anybody got this for 1.1 please, I really need it.
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Me102

Anyone know how to do this with 1.1 ??? ???

Ryan


Advertisement: