September 10 2010 21:24:40
Navigation
Last Seen Users
krejsyOnline
kordunOnline
krohn< 5 mins
gerremans< 5 mins
thenebb00:13:04
bigcarrot00:16:40
pojan00:23:32
damesi2600:34:24
Bubbi00:36:33
m1row00:58:48

Members: 16,277
Newest: pojan
Blogs
Diemux
» 18-09-2009 - Say ...
Diemux
» 10-07-2009 - Will...
Diemux
» 24-06-2009 - Blog...
elyn
» Elyn + Streamyx (...
Diemux
» 19-05-2009 - Thin...
Diemux
» 15-05-2009 - Week...
Diemux
» 13-05-2009 - Comp...
elyn
» Number 1925
Diemux
» Number One
Things to Do
Latest Articles
A tour through the n...
Protect your Fusion ...
Change your database...
Handling MySQL Datab...
Admin Control Panel ...
How to Secure Your I...
Show Content by Defa...
v7 | Add social book...
v7 | Custom MySQL er...
How To: A PM after r...
v7 | SEO friendly UR...
v7 | SEO friendly UR...
Comments Advanced Vi...
Auto-redirect to the...
A tour through PHP-F...

View all articles
Downloads v7
Currently popular Downloads

FusionBoard 4 4030
Video Gallery 2877
Professional Down... 2576
Photoalbum Mass U... 2524
Avatar Studio 2353
Extended Profile 1899
Button panel 1869
XHTML mod for mod... 1867
VArcade 2.1 1836
HighSlide Gallery... 1806

Latest Downloads


Bosnian Locale - PHP... 5
Multimedia Studio ve... 29
Post-Report 2
Post Report with pd_... 1
XHTML mod for modern... 1867
Pimped-Fusion v0.08.01 23
Update Package v0.08.01 4
Support Panel-Skype 25
Header Weather Widget 84
Forum Thread List Pa... 35

Latest 100
Downloads v6
Currently popular Downloads

Banner System v2.0.4 1708
Video Gallery 1214
Extreme Theme Editor 917
Fuzed Shoutbox 818
Seoname.php 756
Icon Package 2.0 702
Extended Profile ... 660
News.php 585
EXTboard 552
Tabbed welcome panel 532

Latest Downloads


Google Sitemap Fast 60
ExtBoard 1.2 385
EXTboard 552
v6.01.18 - v6.01.19 34
v6.01.19 FULL 93
Birthday 123
Moneybookers 47
User info 104
Link to us 262
jNews.php 346

Latest 100
Provider
PHPfusion-mods.net is hosted at:

110MB
How To: A PM after registration

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
user_code='".$_GET['activate']."'");
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_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,
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))."', '',
'".$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
Comments
#1Diemux on November 20 2008 11:31:52
Diemux
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:

Code

      ('".$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:

Code

      ('".$usr['user_id']."', '5', '$newpm_subject', '".sprintf($newpm_message, $usr['user_name'])."', '1', '".time()."')");



#2Uzknisator on December 31 2008 02:16:35
Uzknisator
This mod works on php-fusion v6.xx?
#3Diemux on January 02 2009 00:51:26
Diemux
No, this is written for v7.
#4jparris on March 25 2009 15:44:28
jparris
Can this be modified so that the PM is sent to new members that are created by an Admin manually?????
#5Anime1992V on August 26 2009 16:48:38
Anime1992V
DOWNLOAD not Work!
#6quiki on May 15 2010 17:46:51
quiki
Download dead yes
#7Diemux on May 23 2010 22:03:16
Diemux
Please use this mod:

http://www.phpfus...and]id=742
Post Comment
Please Login to Post a Comment.
Ratings
Rating is available to Members only.

Please login or register to vote.

Awesome! Awesome! 0% [No Votes]
Very Good Very Good 0% [No Votes]
Good Good 0% [No Votes]
Average Average 0% [No Votes]
Poor Poor 100% [2 Votes]
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Our Coders
Smokeman
Rizald 'Elyn' Maxwell
Diemux
Netrix
Donate
Shoutbox
You must login to post a message.

10/09/2010 12:02

10/09/2010 11:37
@Splash: Well now I've tried that - but it didn't work. Spam removed again today.

08/09/2010 03:23
120 . 32 . * . *

08/09/2010 03:22
Block IP range from China and bye bye spammer. Big Smile

06/09/2010 13:00
@smokeman: my shout was not adressed to a special person. Fusion-Mods and Fusion-Main sites have the same problems with stupid spammers. Wink

06/09/2010 10:02
@MarcusG: I agreed with you but I can't do anything about it. It's Diemux that stands for that part of the site.

06/09/2010 09:21
This SPAM really SUX, especially when there are solutions to fight it. I have NO (ZERO) Spam on my site.

06/09/2010 04:18
I think someone break Fusion captcha.

04/09/2010 09:32
Spam deleted.

04/09/2010 08:09
Try this to fight the SPAM: KLICK ME HARD Or THIS

Advertiser
One-click Translation
Translate This Site

Render time: 0.19 seconds 5,416,358 unique visits