| Author |
Message |
Fphilip84 Regular


Joined: Oct 27, 2003 Posts: 73
|
Posted:
Sat Nov 22, 2003 4:24 pm |
|
Hi,
For some reason, this hack does not work for me ever since I switched servers. It works fine until:
| Quote: | New User Registration: Final Step
Test, please check the following information. If all is correct you can proceed with the registration by clicking on "Finish" button, otherwise "Go Back" and change whatever information is needed.
User Name: test
Email:
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. |
BUt then after I click FINISH, it just takes me to the user login screen...after I type my name and pword, it just says "incorrect login" ...Does anyone know what this could be?....I tried overwriting the Your Account folder with a fresh nuke folder, and then I tried changing the index.php to include the FinishNewUser function...but i still get the problem.. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sat Nov 22, 2003 10:26 pm |
|
My guess is that you may have a mod that modified the user table and may be conflicting with the finishNewuser mod. Check your error log for a message. Also, try setting $sql_debug = 0; to $sql_debug = 1; in includes/sql_layer.php to temporarily show errors. Sometimes that will reveal the error. |
|
|
|
 |
Fphilip84 Regular


Joined: Oct 27, 2003 Posts: 73
|
Posted:
Sat Nov 22, 2003 11:39 pm |
|
Raven,
I did what you said and made the sql thingy to 1, and i see all this coding but I cant understand anything! I am such a newbie!! I will post the stuff that I see....ok on the left hand side I see
[Raven edited for content as there were no errors.]
I dont know if this has helped at all  |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sat Nov 22, 2003 11:50 pm |
|
Is this what you see AFTER you try to add and click finish? I also edited your post for content  |
|
|
|
 |
Fphilip84 Regular


Joined: Oct 27, 2003 Posts: 73
|
Posted:
Sun Nov 23, 2003 12:46 am |
|
no this is after you told me to edit the sql_layer file....once I set it to "1" like you said, then when I go to my site, I get all this code. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sun Nov 23, 2003 3:23 am |
|
I understand that. That's what is supposed to happen. Now, go through the add new user steps. After each screen, look for an error message. |
|
|
|
 |
Fphilip84 Regular


Joined: Oct 27, 2003 Posts: 73
|
Posted:
Sun Nov 23, 2003 8:38 am |
|
Nope, it doesnt say anything? Can you check it out for me? I'd greatly appreciate it. My email is . Contact me and I'll give you all the info for the website.. |
|
|
|
 |
Fphilip84 Regular


Joined: Oct 27, 2003 Posts: 73
|
Posted:
Mon Nov 24, 2003 12:08 am |
|
Hey,
I fixed the error!
Open your modules/Your_Account/index.php and find the following code:
| Quote: | $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><b>"._ACCOUNTCREATED."</b><br><br>";
echo ""._YOUAREREGISTERED.""
."<br><br>"
.""._FINISHUSERCONF."<br><br>"
.""._THANKSUSER." $sitename!</center>";
CloseTable();
} |
Then replace it with:
| Quote: | $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><b>"._ACCOUNTCREATED."</b><br><br>";
echo ""._YOUAREREGISTERED.""
."<br><br>Click this link to activate your account<br> <a href=$finishlink>$finishlink</a><br>"
.""._THANKSUSER." $sitename!</center>";
CloseTable();
} |
that will display the Activation link for your users when they register on the last page of the Registration process..
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
| Quote: | | <b>"._NOTE."</b> "._YOUWILLRECEIVE." |
|
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Mon Nov 24, 2003 12:14 am |
|
The purpose of the hack is to NOT have to click anything to activate and the hack does work as published as hundreds can attest to. By adding that line into yours it is no longer an auto activation hack. |
|
|
|
 |
Fphilip84 Regular


Joined: Oct 27, 2003 Posts: 73
|
Posted:
Mon Nov 24, 2003 12:44 am |
|
AHhhh Yeahhh I know that, but I needed somethin.....for the time being at least....until I find out what is up with the hack on my site... |
|
|
|
 |
donjski Regular


Joined: Jan 14, 2004 Posts: 53
|
Posted:
Wed Jan 14, 2004 4:05 pm |
|
I'm having the exact same problem on my end.
I see that when I registered here that the email thing worked. Howd you get it to work Raven?
THis is the weird thing. The PM for my forum send out an email to the users when a PM is sent. But it seems as though that a reply to post's is not working either.
NUKE 6.9 and 7.0 |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Wed Jan 14, 2004 4:10 pm |
|
See this post and in it is a mailtest script that runs independently of Nuke. That way we can determine where to start looking.
|
|
|
|
 |
donjski Regular


Joined: Jan 14, 2004 Posts: 53
|
Posted:
Wed Jan 14, 2004 4:17 pm |
|
It worked, I got the email
Mailed - This just means that the PHP mail() function is working.
If you do not receive the email, then there is probably something wrong with your SMTP setup. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Wed Jan 14, 2004 4:27 pm |
|
Please post a link to your site. |
|
|
|
 |
donjski Regular


Joined: Jan 14, 2004 Posts: 53
|
Posted:
Wed Jan 14, 2004 4:30 pm |
|
this is just a test site for now, till I get it working right.
this is the 6.9 version |
Last edited by donjski on Wed Jan 14, 2004 4:53 pm; edited 1 time in total |
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Wed Jan 14, 2004 4:38 pm |
|
Make sure that in your nuke Preferences that the Site URL is | Code: | | http://www.donjski.com/nuke6.9 | and that in Forum Configuration the Domain Name is | Code: | | www.donjski.com/nuke6.9 | Also, I'm not too sure about that folder name nuke6.9 . You might try renaming it to nuke69 if it still doesn't work after the two settings above are verified. |
|
|
|
 |
donjski Regular


Joined: Jan 14, 2004 Posts: 53
|
Posted:
Wed Jan 14, 2004 4:42 pm |
|
That is how they are set. In my other curent forum
It is set the same way:
"nuke"
"forum"
Could the trailing forward slash "/" be the problem? |
|
|
|
 |
donjski Regular


Joined: Jan 14, 2004 Posts: 53
|
Posted:
Wed Jan 14, 2004 5:21 pm |
|
I took the trailing slash out and still no go. But I did just get a reply mail for a post I had made on the above forum. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Wed Jan 14, 2004 8:20 pm |
|
You absolutely cannot have a trailing slash. It will interfere with other code for sure. |
|
|
|
 |
n0rth New Member


Joined: Mar 10, 2004 Posts: 6
|
Posted:
Wed Mar 10, 2004 7:30 pm |
|
i've also had a problem with this..
the site i have installed nuke 6.8 on is
i followed the intstructions, replaced the right things... i even tried deleting the slashes (wasn't sure about that)
each time i got the error
Parse error: parse error in /home/n0rth/public_html/cs/modules/Your_Account/index.php on line 1129
doesn't sound good
thanks, n0rth |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Wed Mar 10, 2004 8:54 pm |
|
Not slashes; only the trailing slash. There are 2 versions. Make sure you got the right one. |
|
|
|
 |
n0rth New Member


Joined: Mar 10, 2004 Posts: 6
|
Posted:
Mon Mar 15, 2004 5:56 pm |
|
i use nuke 6.8, which is the correct version? i tried both... and what do you mean by trailing slash? in which field should we not have a trailing slash?
thanks |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Mon Mar 15, 2004 6:45 pm |
|
The trailing slash after the Site Url and Domain Name |
|
|
|
 |
n0rth New Member


Joined: Mar 10, 2004 Posts: 6
|
Posted:
Mon Mar 15, 2004 6:55 pm |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Mon Mar 15, 2004 6:57 pm |
|
|
|
 |
|
|
|
|