Articles Hierarchy
How To: A PM after registration
- 07 Sep 2008
- Tutorials
- 166025 Reads
- 8 Comments
NO LONGER UP TO DATE. PLEASE USE THIS MOD.
This will explain how to modify /register.php so new users get a welcome PM automatically.
Step one:
Download the following file: Click!
Step two:
Unpack the file.
Step three:
Upload the includes folder into the root of your web server.
Step four:
Replace this:
$result = dbquery("DELETE FROM ".DB_NEW_USERS." WHERE
user_code='".$_GET['activate']."'");
With this:
$result = dbquery("DELETE FROM ".DB_NEW_USERS." WHERE
With this:
$result = dbquery("DELETE FROM ".DB_NEW_USERS." WHERE
user_code='".$_GET['activate']."'");
include INCLUDES."mwp_pm-on-register.php";
Step five:
Replace this:
$result = dbquery("INSERT INTO ".DB_USERS." (user_name,
include INCLUDES."mwp_pm-on-register.php";
Step five:
Replace this:
$result = dbquery("INSERT INTO ".DB_USERS." (user_name,
user_password, user_admin_password, user_email,
user_hide_email, user_avatar, user_posts, user_threads,
user_hide_email, user_avatar, user_posts, user_threads,
user_joined, user_lastvisit, user_ip, user_rights, user_groups,
user_level, user_status".$db_fields.") VALUES('$username',
'".md5(md5($password1))."', '', '".$email."', '$user_hide_email', ''
, '0', '0', '".time()."', '0', '".USER_IP."', '', '', '101',
'$user_status'".$db_values.")");
With this:
$result = dbquery("INSERT INTO ".DB_USERS." (user_name,
With this:
$result = dbquery("INSERT INTO ".DB_USERS." (user_name,
user_password, user_admin_password, user_email, user_hide_email,
user_avatar, user_posts, user_threads, user_joined,
user_lastvisit, user_ip, user_rights, user_groups, user_level,
user_status".$db_fields.")
VALUES('$username', '".md5(md5($password1))."', '',
VALUES('$username', '".md5(md5($password1))."', '',
'".$email."', '$user_hide_email', '', '0', '0', '".time()."',
'0', '".USER_IP."', '', '', '101', '
$user_status'".$db_values.")");
include INCLUDES."mwp_pm-on-register.php";
How-To Writer: Marwelln Productions
Support: Marwelln Prodctutions
$user_status'".$db_values.")");
include INCLUDES."mwp_pm-on-register.php";
How-To Writer: Marwelln Productions
Support: Marwelln Prodctutions
Post Comment
Please Login to Post a Comment.
Ratings


Information
Resources
Submit





This mod should show the super admins name in the "from" box in the PM.
To change the sender name, open mwp_pm-on-register.php file and go to line 17:
('".$usr['user_id']."', '1', '$newpm_subject', '".sprintf($newpm_message, $usr['user_name'])."', '1', '".time()."')");
Change the first '1' to the user ID you want to PM send from. This should change it.
Like:
('".$usr['user_id']."', '5', '$newpm_subject', '".sprintf($newpm_message, $usr['user_name'])."', '1', '".time()."')");
This mod works on php-fusion v6.xx?
No, this is written for v7.
Can this be modified so that the PM is sent to new members that are created by an Admin manually?????
DOWNLOAD not Work!
Download dead yes
Please use this mod:
http://www.phpfus...hp?op=view [and]id=742
<a href="http://www.theoilpaintingsaless.com/">Oil Painting</a> is an extremely interesting type of painting and it is most likely among the weariest approaches to painting due to time needed to dry out the ultimate creation of an artist's composition. It's not easy to recreate the real life entirely detail if the artist's imagination isn't properly trained in interpretation and being aware of what lies beneath every subject. For beginners within this area of painting, an abstract <a href="http://www.jiyougallery.com/">Handmade Oil Paintings</a> is a great way to start and obtain a grip of the items oil painting is about.A lot of artists are frequently too excited to begin creating pieces of art that focus an excessive amount of around the detail, but afterwards fail due to their lack of knowledge from the fundamental concepts of painting as well as their negligence for true composition. It is crucial for novices in oil painting to understand that just as one artist needs time to work and boat loads of practice and it'll require beginners who're not so gifted in detailed to start with abstract oil painting. Interpretation the real life using shapes along with other geometric elements might help a painter understand composition since everything around us can be simply construed as shapes of different dimensions.Abstract pieces of art can greatly a painter and simultaneously, give a simple approach to indicating art with no complicated particulars however with the intensity and boldness of colours and hues. Composition needs a painter's imagination with abstract painting, an artist's imagination is continuously worked out and accustomed to interpret the real life inside a more vague but creative manner.The whole shebang of popular artists like Van Gogh and Picasso opened up the way in which for abstract works of art to become appreciated by artists and nobles all over the world throughout these painters' some time and some found this specific art expression unusual but fascinating. An abstract oil painting is definitely an artist's ultimate expression of freedom, in which the imagination provides infinity of artistic masterpieces and nearly every subject within the real life could be construed with less effort.Subjective works of art don't require artists with many years of learning drawing landscapes, still existence and <ahref="http://www.chinaoilpaintingonline.com/landscape-oil-painting-c-27.html">landscape oil painting</a> only going to require a never-ending test out strokes, dabs and blends, an outrageous combination of bold colors along with a striking depiction of lines and shapes of various dimensions. Using the complications within the methods of oil painting, abstract works of art can provide many novice artists a great way of learning how you can correct their mistakes and exercise regarding how to carefully handle their works of art with no fear total destruction for any single broken part of the painting.