Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 76
3 members and 73 guests
charlesalfasesy, tre3rqndyttr48j, wsojy7qrrx3m5qe
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > Nukemods > FAQ/Fixes

Reply
 
LinkBack Thread Tools Display Modes
Old
  (#11 (permalink))
Junior Member
 
Status: Offline
Posts: 2
Join Date: Jun 2011
07-19-2011, 07:18 AM

What sort of problems you faced while registering?
___________________
Government Jobs in Pakistan
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#12 (permalink))
Junior Member
 
Status: Offline
Posts: 1
Join Date: Jul 2011
07-25-2011, 09:51 AM

i found same problem while mikem provide the right solution to the same thanks for the post.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Thx a lot
Old
  (#13 (permalink))
Junior Member
 
Status: Offline
Posts: 1
Join Date: Aug 2011
Smile Thx a lot - 08-01-2011, 06:21 PM

Thx for sharing the fix... it was really usefull.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Thanks
Old
  (#14 (permalink))
Junior Member
 
Status: Offline
Posts: 1
Join Date: Aug 2011
Thanks - 08-03-2011, 03:15 AM

Quote:
Originally Posted by mikem View Post
Ok I fixed it..a little tricky but here goes.

Open
includes/usercp_register.php

just below this:
Code:
                        //
                        // Get current date
                        //
add this line
Code:
                        $reg_date = date("M d, Y");
then just below that line you should see this line:
Code:
                                VALUES ($user_id, '" . str_replace("\'", "''", $username) . "', " . time() . ", '" . str_replace("\'", "''", $new_password) . "', '" . str_replace("\'", "''", $email) . "', '" . str_replace("\'", "''", $icq) . "', '" . str_replace("\'", "''", $website) . "', '" . str_replace("\'", "''", $occupation) . "', '" . str_replace("\'", "''", $location) . "', '" . str_replace("\'", "''", $interests) . "', '" . str_replace("\'", "''", $signature) . "', '$signature_bbcode_uid', $avatar_sql, $viewemail, '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', '" . str_replace("\'", "''", $yim) . "', '" . str_replace("\'", "''", $msn) . "', $attachsig, $allowsmilies, $allowhtml, $allowbbcode, $allowviewonline, $notifyreply, $notifypm, $popuppm, $user_timezone, '" . str_replace("\'", "''", $user_dateformat) . "', '" . str_replace("\'", "''", $user_lang) . "', $user_style, 0, 1, ";
change that line to this
Code:
                                VALUES ($user_id, '" . str_replace("\'", "''", $username) . "', '" . $reg_date . "', '" . str_replace("\'", "''", $new_password) . "', '" . str_replace("\'", "''", $email) . "', '" . str_replace("\'", "''", $icq) . "', '" . str_replace("\'", "''", $website) . "', '" . str_replace("\'", "''", $occupation) . "', '" . str_replace("\'", "''", $location) . "', '" . str_replace("\'", "''", $interests) . "', '" . str_replace("\'", "''", $signature) . "', '$signature_bbcode_uid', $avatar_sql, $viewemail, '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', '" . str_replace("\'", "''", $yim) . "', '" . str_replace("\'", "''", $msn) . "', $attachsig, $allowsmilies, $allowhtml, $allowbbcode, $allowviewonline, $notifyreply, $notifypm, $popuppm, $user_timezone, '" . str_replace("\'", "''", $user_dateformat) . "', '" . str_replace("\'", "''", $user_lang) . "', $user_style, 0, 1, ";
The only part I had to change in that big ole line was this:
Code:
" . time() . "
to this
Code:
'" . $reg_date . "'
that should generate the Date in the format expected now when a user signs up using the Forum registration.

mikem
Thanks mikem|getting rid of cellulite
   
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 registration problem/bug nastey Nuke 7.x - General 0 06-27-2005 11:37 PM
problem with old-articles block - date text very big DeVision Nuke 6.5 to 6.9 - Blocks 0 06-23-2003 04:13 AM
forum date prob? ShRapNeR Open topics 1 05-25-2003 12:19 AM
Registration hack Problem!!!!! G2F Purged Topics 2 03-24-2003 08:23 PM
Test post date, Joined date mikem Open topics 5 10-06-2002 02:56 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.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