PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Fphilip84
Regular
Regular


Joined: Oct 27, 2003
Posts: 73

PostPosted: Sat Nov 22, 2003 4:24 pm Reply with quote Back to top

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:
Only registered users can see links on this board!
Get registered or login to the forums!




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..
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Nov 22, 2003 10:26 pm Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Fphilip84
Regular
Regular


Joined: Oct 27, 2003
Posts: 73

PostPosted: Sat Nov 22, 2003 11:39 pm Reply with quote Back to top

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 Crying or Very sad
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Nov 22, 2003 11:50 pm Reply with quote Back to top

Is this what you see AFTER you try to add and click finish? I also edited your post for content Smile
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Fphilip84
Regular
Regular


Joined: Oct 27, 2003
Posts: 73

PostPosted: Sun Nov 23, 2003 12:46 am Reply with quote Back to top

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.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Nov 23, 2003 3:23 am Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Fphilip84
Regular
Regular


Joined: Oct 27, 2003
Posts: 73

PostPosted: Sun Nov 23, 2003 8:38 am Reply with quote Back to top

Nope, it doesnt say anything? Can you check it out for me? I'd greatly appreciate it. My email is
Only registered users can see links on this board!
Get registered or login to the forums!
. Contact me and I'll give you all the info for the website..
View user's profile Send private message
Fphilip84
Regular
Regular


Joined: Oct 27, 2003
Posts: 73

PostPosted: Mon Nov 24, 2003 12:08 am Reply with quote Back to top

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."
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Nov 24, 2003 12:14 am Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Fphilip84
Regular
Regular


Joined: Oct 27, 2003
Posts: 73

PostPosted: Mon Nov 24, 2003 12:44 am Reply with quote Back to top

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...
View user's profile Send private message
donjski
Regular
Regular


Joined: Jan 14, 2004
Posts: 53

PostPosted: Wed Jan 14, 2004 4:05 pm Reply with quote Back to top

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
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Wed Jan 14, 2004 4:10 pm Reply with quote Back to top

See this post and in it is a mailtest script that runs independently of Nuke. That way we can determine where to start looking.
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
donjski
Regular
Regular


Joined: Jan 14, 2004
Posts: 53

PostPosted: Wed Jan 14, 2004 4:17 pm Reply with quote Back to top

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.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Wed Jan 14, 2004 4:27 pm Reply with quote Back to top

Please post a link to your site.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
donjski
Regular
Regular


Joined: Jan 14, 2004
Posts: 53

PostPosted: Wed Jan 14, 2004 4:30 pm Reply with quote Back to top

Only registered users can see links on this board!
Get registered or login to the forums!


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
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Wed Jan 14, 2004 4:38 pm Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
donjski
Regular
Regular


Joined: Jan 14, 2004
Posts: 53

PostPosted: Wed Jan 14, 2004 4:42 pm Reply with quote Back to top

That is how they are set. In my other curent forum
Only registered users can see links on this board!
Get registered or login to the forums!


It is set the same way:

"nuke"
Only registered users can see links on this board!
Get registered or login to the forums!


"forum"
Only registered users can see links on this board!
Get registered or login to the forums!



Could the trailing forward slash "/" be the problem?
View user's profile Send private message
donjski
Regular
Regular


Joined: Jan 14, 2004
Posts: 53

PostPosted: Wed Jan 14, 2004 5:21 pm Reply with quote Back to top

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.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Wed Jan 14, 2004 8:20 pm Reply with quote Back to top

You absolutely cannot have a trailing slash. It will interfere with other code for sure.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
n0rth
New Member
New Member


Joined: Mar 10, 2004
Posts: 6

PostPosted: Wed Mar 10, 2004 7:30 pm Reply with quote Back to top

i've also had a problem with this..

the site i have installed nuke 6.8 on is
Only registered users can see links on this board!
Get registered or login to the forums!


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
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Wed Mar 10, 2004 8:54 pm Reply with quote Back to top

Not slashes; only the trailing slash. There are 2 versions. Make sure you got the right one.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
n0rth
New Member
New Member


Joined: Mar 10, 2004
Posts: 6

PostPosted: Mon Mar 15, 2004 5:56 pm Reply with quote Back to top

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
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Mar 15, 2004 6:45 pm Reply with quote Back to top

The trailing slash after the Site Url and Domain Name
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
n0rth
New Member
New Member


Joined: Mar 10, 2004
Posts: 6

PostPosted: Mon Mar 15, 2004 6:55 pm Reply with quote Back to top

no slashes there
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Mar 15, 2004 6:57 pm Reply with quote Back to top

Plese post line 1129
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum