January 06 2009 12:21:57
Navigation
Last Seen Users
sathishIPLOnline
LookMovie< 5 mins
breker< 5 mins
Colognechaser< 5 mins
skorpion31< 5 mins
elyn00:07:17
anum00:13:31
djbigbaer00:13:45
Haunted00:16:33
Ashvinmax00:21:17

Guests Online: 0
Registered Members: 3,621
Newest Member: Colognechaser
Downloads v7
Currently popular Downloads

Professional Down... 543
Extended Profile 502
FusionBoard 4 473
Photoalbum Mass U... 470
Avatar Studio 450
HighSlide Gallery... 416
Photo in Profile 400
VArcade 1.7 388
Wap Mod 360
Who Is Online Adm... 337

Latest Downloads


Login Redirect 5
Apache Errors Mod 3
View & Delete all Co... 0
Mod "index.php + mod... 3
Comments Management 2
FB Latest Referrers ... 8
Slideshow Lightbox P... 10
RSS and Panel 11
Secure Admin Login 21
SQL Injection Block 22
Downloads v6
Currently popular Downloads

Video Gallery 376
EXTboard 362
Extreme Theme Editor 341
Icon Package 2.0 290
Banner System v2.0.4 284
Tabbed welcome panel 281
Fuzed Shoutbox 276
Extended Profile ... 272
News.php 265
Header Banner System 221

Latest Downloads


Login Redirect 0
Mod "index.php + mod... 0
Base Games 1
Banner exchange system 0
Poll with comments a... 88
Media Streamer 5
v6.01.18 FULL 14
v6.01.16 - v6.01.17 44
v6.01.15 - v6.01.16 1
v6.01.17 - v6.01.18 8
Provider
PHPfusion-mods.net is hosted at:

110MB
Online Stats
Guests online: 3
Members online:
sathishIPL

registered members: 3621
newest member: Colognechaser

user today: 3465
user online: 4
Max. onlinerecord: 43
Max. per day: 5705
user yesterday: 4842
user month: 27657
Entire users: 101440

last 24h:
























How To: A PM after registration
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
#3Diemux on January 02 2009 00:51:26
No, this is written for v7.
#2Uzknisator on December 31 2008 02:16:35
This mod works on php-fusion v6.xx?
#1Diemux on November 20 2008 11:31:52
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()."')");



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% [1 Vote]
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Our Coders
Rizald 'Elyn' Maxwell
Diemux
Donate

Affiliates:
Venue

Shoutbox
You must login to post a message.

06/01/2009 10:14
@diemux - i've upload my mod.. with updates..

06/01/2009 09:57
just submit again, I will check both Smile

06/01/2009 06:21
how to update my uploaded mod here? i forgot to attached the images

06/01/2009 03:42
Mod "index.php + mod panels" doenst have a install.php as said on readme file

06/01/2009 01:00
Cheers!

05/01/2009 23:27
Bye!

05/01/2009 20:01
Helloy Bye!

05/01/2009 17:58
kkcafe : lol. yes i am

05/01/2009 17:30
owh.. elyn, are u Malaysian?

05/01/2009 16:26
lol. i am reading Malay in some threads. @diemux: no, its not me..

Advertiser
One-click Translation
Translate This Site

Render time: 0.23 seconds 471,688 unique visits