» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 75
1 members and 74 guests
Dr.MatriX
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
buy Rimonabant - Help dieters achieve significant weight loss without having to slog in the gym

Register Now! Contact Us

About this Page
This is a discussion on Add activation link to last page of registration within the FAQ/Fixes forums, part of the Nukemods category; If your server has issues with sending Confirmation Email for the User Activation upon registration, then you can try this ...



Go Back   Nukemods Forum » Nukemods » FAQ/Fixes

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-26-2003, 12:05 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
Add activation link to last page of registration
If your server has issues with sending Confirmation Email for the User Activation upon registration, then you can try this little trick.

OK open your modules/Your_Account/index.php

IN that file is the function finishNewUser area.
Find it.
OK now under that whole section is this part.


Code:
$message = ""._WELCOMETO." $sitename!\n\n"._YOUUSEDEMAIL." ($user_email) "._TOREGISTER." $sitename.\n\n "._TOFINISHUSER."\n\n $finishlink\n\n "._FOLLOWINGMEM."\n\n"._UNICKNAME." $username\n"._UPASSWORD." $user_password";
       $subject = ""._ACTIVATIONSUB."";
       $from = "$adminmail";
       mail($user_email, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion());
       title("$sitename: "._USERREGLOGIN."");
       OpenTable();
       echo "<center>"._ACCOUNTCREATED."

";
       echo ""._YOUAREREGISTERED.""
           ."

"
      .""._FINISHUSERCONF."

"
      .""._THANKSUSER." $sitename!</center>";
       CloseTable();
   }

ok replace it with this.

Code:
$message = ""._WELCOMETO." $sitename!\n\n"._YOUUSEDEMAIL." ($user_email) "._TOREGISTER." $sitename.\n\n "._TOFINISHUSER."\n\n $finishlink\n\n "._FOLLOWINGMEM."\n\n"._UNICKNAME." $username\n"._UPASSWORD." $user_password";
       $subject = ""._ACTIVATIONSUB."";
       $from = "$adminmail";
       mail($user_email, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion());
       title("$sitename: "._USERREGLOGIN."");
       OpenTable();
       echo "<center>"._ACCOUNTCREATED."

";
       echo ""._YOUAREREGISTERED.""
           ."

Click this link to activate your account
 <a href=$finishlink>$finishlink</a>
"       
      .""._THANKSUSER." $sitename!</center>";
       CloseTable();
   }

that will display the Activation link for your users when they register on the last page of the Registration process..

NOW you might want to change the Language file for Your Account module for this definition.

Quote:
Note: You will receive a confirmation email with a link to a page you should visit to activate your account in the next 24 hours.
or you can remove JUST THIS part from the index.php file

Code:
"._NOTE." "._YOUWILLRECEIVE."
BACKUP your index.php file before even touching it
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
New User Activation Error link supplied hallsy Nuke 7.x - General 2 10-15-2005 05:24 PM
Activation Link is broke BunnyNuke Site design 3 10-31-2004 08:33 AM
return activation link error squarebanana Open topics 1 09-24-2004 12:29 PM
Activation Link Problem.. dfm123 Nuke 6.5 to 6.9 - Modules 2 04-30-2003 10:26 PM
Using User Activation from the Forum registration mikem FAQ/Fixes 0 04-06-2003 03:01 PM


All times are GMT -5. The time now is 03:34 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31