|
» .::. |
tattoo fonts http://www.checkoutmyink.com/category/tattoo-fonts-tattoo
|
|
 |
|
Nukemods Forum
> Nukemods
> FAQ/Fixes
|
Forum registration date generated problem?This is a discussion on Forum registration date generated problem? within the FAQ/Fixes forums, part of the Nukemods category; after changing new user registration using a method described in one of the forums here by changing two links in ... |
|
|
 |
|
|
|
|
|
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?
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 21
Join Date: Apr 2003
|
04-06-2003, 11:33 AM
Thanks man let me know what you find
|
|
|
|
|
|
|
|
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:
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
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 21
Join Date: Apr 2003
|
04-06-2003, 12:38 PM
you are the man thank you so much.
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 1
Join Date: Apr 2011
|
thanks -
04-09-2011, 01:35 PM
awesome! Thanks for fixing!
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 1
Join Date: May 2011
|
05-02-2011, 11:38 PM
|
|
|
|
|
|
|
|
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‬‏
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 1
Join Date: Apr 2011
|
07-15-2011, 09:51 AM
I also face fome problms while registering
|
|
|
|
 |
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|