Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Members Messages

Asked Modified Viewed 2,846 times
P
pekelpiel
P
Every shadow No Matter How Deep, Is Threatened By Morning Light.
  • Member, joined since
  • Contributed 139 posts on the community forums.
  • Started 37 threads in the forums
  • Started this discussions
asked
Member

Hi

Is there a way i can get an message (PM) to be send to each new members when signing up? Like a welcome messagesor something, if so, can this message be edited so i can add my own text?

Thanx
0 replies

8 posts

D
DubSev
D
DubSev 10
......................................
let's go f***ing mental! la la la la...
  • Senior Member, joined since
  • Contributed 285 posts on the community forums.
  • Started 5 threads in the forums
answered
Senior Member

Should be around. I don't know which site, but I registered at one one time and got an automatically generated PM...
0 replies
P
pekelpiel
P
Every shadow No Matter How Deep, Is Threatened By Morning Light.
  • Member, joined since
  • Contributed 139 posts on the community forums.
  • Started 37 threads in the forums
  • Started this discussions
answered
Member

would love to know where to find this, i have registered myself @ my site as a member and didn't receive anything :)
0 replies
P
pekelpiel
P
Every shadow No Matter How Deep, Is Threatened By Morning Light.
  • Member, joined since
  • Contributed 139 posts on the community forums.
  • Started 37 threads in the forums
  • Started this discussions
answered
Member

somebody must have an idea. with all this phpfusion brainpower someone MUST know :|
0 replies
D
DubSev
D
DubSev 10
......................................
let's go f***ing mental! la la la la...
  • Senior Member, joined since
  • Contributed 285 posts on the community forums.
  • Started 5 threads in the forums
answered
Senior Member

I've been thinking and thinking... think I remember! Thought starglowone.com has this feature... maybe they can share it with ya (if I remembered it right, that is!)
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

yes it is available via the Swedish sites

register.php

First insert, in blue

if (isset($activate)) {
if (!preg_match("/^[0-9a-z]{32}$/", $activate)) fallback("index.php");
$result = dbquery("SELECT * FROM ".$db_prefix."new_users WHERE user_code='$activate'");
if (dbrows($result) != 0) {
$data = dbarray($result);
$user_info = unserialize($data['user_info']);
$activation = $settings['admin_activation'] == "1" ? "2" : "0";
$result = dbquery("INSERT INTO ".$db_prefix."users VALUES('', '".$user_info['user_name']."', '".md5($user_info['user_password'])."', '".$user_info['user_email']."', '".$user_info['user_hide_email']."', '', '0000-00-00', '', '', '', '', '', 'Default', '0', '', '', '0', '".time()."', '0', '".USER_IP."', '', '', '101', '$activation')");
[color=blue]/* Start Send PM Notification to New User */ $new_user_id = mysql_insert_id();
$pm_subject = "WELCOME MESSAGE".$user_info['user_name']."!";
$pm_message = "Hej ".$user_info['user_name'].", \n\n THANKS FOR REGISTERING AT ".$settings['sitename'].". WE WISH YOU A PLEASANT STAY. ANY QUESTIONS LOOK AT URL . \n\n REGARDS,\n".$settings['siteusername'];
$result = dbquery("INSERT INTO ".$db_prefix."messages VALUES('', ".$new_user_id.", 1, '".$pm_subject."', '".$pm_message."', 'n', 0, ".time().", 0)");
/* End Send PM Notification to New User */[/color] $result = dbquery("DELETE FROM ".$db_prefix."new_users WHERE user_code='$activate'");
opentable($locale['401']);
if ($settings['admin_activation'] == "1") {
echo "<center><br>\n".$locale['455']."<br><br>\n".$locale['453']."<br><br>\n</center>\n";
} else {
echo "<center><br>\n".$locale['455']."<br><br>\n".$locale['452']."<br><br>\n</center>\n";
}
closetable();


second insert, in blue:

 if ($error == "") {
if ($settings['email_verification'] == "1") {
require_once INCLUDES."sendmail_include.php";
mt_srand((double)microtime()*1000000); $salt = "";
for ($i=0;$i<=7;$i++) { $salt .= chr(rand(97, 122)); }
$user_code = md5($email.$salt);
$activation_url = $settings['siteurl']."register.php?activate=".$user_code;
if (sendemail($username,$email,$settings['siteusername'],$settings['siteemail'],"Välkommen till ".$settings['sitename'], $locale['450'].$activation_url)) {
$user_info = serialize(array(
"user_name" => $username,
"user_password" => $password1,
"user_email" => $email,
"user_hide_email" => isNum($_POST['user_hide_email']) ? $_POST['user_hide_email'] : "1"
));
$result = dbquery("INSERT INTO ".$db_prefix."new_users VALUES('$user_code', '".$email."', '".time()."', '$user_info')");
[color=blue]/* Start Send PM Notification to New User */ $new_user_id = mysql_insert_id();
$pm_subject = "WELCOME MESSAGE ".$username."!";
$pm_message = "Hej ".$username.", \n\n THANKYOU FOR REGISTERING BLA BLA BLA ".$settings['sitename'].". WE HOPE YOU WILL FIND ANYTHING YOU LIKE HERE. IF YOU HAVE ANY QUESTIONS SEND A PM. \n\n REGARDS, \n".$settings['siteusername'];
$result = dbquery("INSERT INTO ".$db_prefix."messages VALUES('', ".$new_user_id.", 1, '".$pm_subject."', '".$pm_message."', 'n', 0, ".time().", 0)");
/* End Send PM Notification to New User */[/color]
opentable($locale['400']);
echo "<center><br>\n".$locale['454']."<br><br>\n</center>\n";
closetable();
} else {
opentable($locale['456']);
echo "<center><br>\n".$locale['457']."<br><br>\n</center>\n";
closetable();


The salutation text is in Swedish, but I hope You will make it out...

I EDITED THE SWEDISH TEXT FOR ENGLISH...
Edited by Homdax on 23-01-2007 15:13,
0 replies
P
pekelpiel
P
Every shadow No Matter How Deep, Is Threatened By Morning Light.
  • Member, joined since
  • Contributed 139 posts on the community forums.
  • Started 37 threads in the forums
  • Started this discussions
answered
Member

will give it a try, thanks
0 replies
P
pekelpiel
P
Every shadow No Matter How Deep, Is Threatened By Morning Light.
  • Member, joined since
  • Contributed 139 posts on the community forums.
  • Started 37 threads in the forums
  • Started this discussions
answered
Member

good gawd man, thought it was gonna be easy, swedish is like latin man...LOL

No idea, thanks anyway
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

TEXT EDITED FOR CLARITY
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 8 posts
  • Votes 0 votes
  • Topic users 3 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet