Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 113
8 members and 105 guests
carzpolsbadpedi, debsftconske8fh, exchisercisein7, lawdjnmowe8bjrr, mobetq5ilephonq, onlmzinenurs4ex, retkjrocoutzdj7, seo8dsepgz8bzrv
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > Nukemods > FAQ/Fixes

Reply
 
LinkBack Thread Tools Display Modes
Forum registration date generated problem?
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 21
Join Date: Apr 2003
Forum registration date generated problem? - 04-06-2003, 10:28 AM

after changing new user registration using a method described in one of the forums here by changing two links in the your_account/index.php file. When someone registers now the only problem is the date is listed as a number like 1254789 instead of the date? Does anyone have a solution to this?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
04-06-2003, 11:28 AM

That's becuase apparently the Forum registration is not working as intended.
The includes/usercp_register.php file is the one that generates the Forums registration and THAT date.
I'll have to compare the old usercp file with the new one from Nuke6.5 to find out what to change in order for the date to be written corretcly upon signup.

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 21
Join Date: Apr 2003
04-06-2003, 11:33 AM

Thanks man let me know what you find
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
04-06-2003, 12:01 PM

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
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 21
Join Date: Apr 2003
04-06-2003, 12:38 PM

you are the man thank you so much.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Banned
 
Status: Offline
Posts: 1
Join Date: Mar 2011
03-12-2011, 01:01 AM

The includes/usercp_register.php file is the one that generates the Forums registration and THAT date....



Rift PlatinumRift PlatRift Gold
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
thanks
Old
  (#7 (permalink))
Junior Member
 
Status: Offline
Posts: 1
Join Date: Apr 2011
thanks - 04-09-2011, 01:35 PM

awesome! Thanks for fixing!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#8 (permalink))
Junior Member
 
Status: Offline
Posts: 1
Join Date: May 2011
05-02-2011, 11:38 PM

thanks so much. what you said is helpful to me.





Cheap WOW Gold
WOW Gold
BUY WOW Gold
World of warcraft Gold
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Dunkelstrom calling... Adam Qadamon
Old
  (#9 (permalink))
Junior Member
 
Status: Offline
Posts: 1
Join Date: May 2011
Dunkelstrom calling... Adam Qadamon - 05-23-2011, 01:12 PM

Adam Qadamon - Put it in the box

I was there, when Eons ruled the world and for now, I am back. So that is why my age is a million of years and also not even 5. That's the way how Adam Qadamon would possibly answer if you would ask him about his age. But one thing is certainly true: Adam made an unmatchable start-up into the arts- and music-scenery throughout the last 5 years. The all-rounder Adam Qadamon just hit it off as he danced inside the shadows of the fine arts where his omnipresence could be felt despite his concealment. He's able to yell aloud without making the slightest sound just by his mere presence. Same thing about the brutal street- and performance artist that he is. As of his music, his works will shake your legs with a decent minimalism that expands to the max. So today, Dunkelstrom pronounces that after one year of making contact, we finally won Adam Qadamon for our label and together we will stand for a new beginning. His work becomes reloaded!





Watch the Video here:
YouTube - ‪Dunkelstrom's Channel‬‏
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#10 (permalink))
Junior Member
 
Status: Offline
Posts: 1
Join Date: Apr 2011
07-15-2011, 09:51 AM

I also face fome problms while registering
   
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-28-2005 12:37 AM
problem with old-articles block - date text very big DeVision Nuke 6.5 to 6.9 - Blocks 0 06-23-2003 05:13 AM
forum date prob? ShRapNeR Open topics 1 05-25-2003 01:19 AM
Registration hack Problem!!!!! G2F Purged Topics 2 03-24-2003 09:23 PM
Test post date, Joined date mikem Open topics 5 10-06-2002 03: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