Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
s1amson
New Member
New Member



Joined: Aug 12, 2003
Posts: 4

PostPosted: Tue Aug 12, 2003 11:30 pm Reply with quote

i dont know what topic to put this under, i didnt see any that it really fit in Confused
so anyway, here goes.
i found the New User Auto Activation Hack, wich would be unbelievably great considering my free host wont let nuke email member activation mail. but... the instructions are VERY hard to follow ( atleast for me they are ).
also, i dont know if its being worked on or not anymore. but im using php-nuke 6.7 is there a newer version in the works, or has this been tested on 6.7?
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Aug 13, 2003 5:54 am Reply with quote

What hard to follow?

Right from the INSTALL instructions:

Backup modules/Your_Account/index.php
Edit modules/Your_Account/index.php
Find the function finishNewUser()
Replace it with this one
That's it!

You replace the finishNewUser() function with the one in the download. Couldn't be any simpler Wink AFAIK it works on 6.7 as I haven't heard otherwise.
 
View user's profile Send private message
s1amson







PostPosted: Wed Aug 13, 2003 10:19 am Reply with quote

where does the finishNewUser() end Question
 
Raven







PostPosted: Wed Aug 13, 2003 11:20 am Reply with quote

As with any and all functions in PHP, it is defined as

function () {

//code

}
 
s1amson







PostPosted: Wed Aug 13, 2003 1:22 pm Reply with quote

thx, i figured out my problem.... i was using notepad for my editor, and the code was all garbled, so i got cute ftp and used its editor instead, and the code was nice and pretty, it works wonderfully, the editor as well as the hack. its a godsend, mad props to the coder
 
Raven







PostPosted: Wed Aug 13, 2003 5:04 pm Reply with quote

Yep, I've posted many warning messages about using Notepad and/or Wordpad. They are not meant for programming editors. I recommend Textpad.
 
s1amson







PostPosted: Sat Aug 16, 2003 12:49 am Reply with quote

textpad kicks butt
 
TheosEleos
Life Cycles Becoming CPU Cycles



Joined: Sep 18, 2003
Posts: 960
Location: Missouri

PostPosted: Thu Sep 18, 2003 12:00 pm Reply with quote

I added this hack and I think it is going to help a lot. I have ran into one problem though.

The 'date joined' column is messed up. Check out j.white (created two accounts)

http://www.ccfministries.com/modules.php?name=Members_List
 
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Raven







PostPosted: Thu Sep 18, 2003 12:44 pm Reply with quote

I was unable to see the link because I'm not registered, but the hack does not alter any data at all. So, if something is messed up, I suspect that something else is amiss. Can you provide me with a user/pass to see it?
 
TheosEleos







PostPosted: Thu Sep 18, 2003 1:58 pm Reply with quote

PM sent and thanks!
 
Raven







PostPosted: Thu Sep 18, 2003 4:49 pm Reply with quote

I see what you're talking about. Let me see if I can reproduce it here.
 
TheosEleos







PostPosted: Thu Sep 18, 2003 5:06 pm Reply with quote

Thanks!

I will patiently await your assistance. Very Happy
 
Raven







PostPosted: Thu Sep 18, 2003 5:16 pm Reply with quote

You're sure you're talking about the New User Activation Hack? I just installed it on a fresh install of 6.8 and it worked perfectly and translated the date perfectly. As I said, I didn't alter the code that translates the data so I was as surprized as you were. Try deleting those 2 users from the table, reinstall the finishUser() function, and re-register. I know that for the 1600+ who have d/l and tried it, if this were an issue with the hack I would have heard about it by now, so I'm fairly confident it's something else but I don't yet know what.
 
Raven







PostPosted: Thu Sep 18, 2003 5:21 pm Reply with quote

And I just reaffirmed that it still works correctly on 6.5
 
TheosEleos







PostPosted: Thu Sep 18, 2003 5:26 pm Reply with quote

I am pretty new at this nuke stuff and have made a lot of changes lately. It is possible that I have done something else.

Should I create a log of changes and add ons I am doing so I can track problems or something?

I really appreciate your help, Raven. I have a hard time getting questions answered at the busy forums. Very Happy
 
Raven







PostPosted: Thu Sep 18, 2003 5:30 pm Reply with quote

Definitely for your sanity Laughing . When it comes time to upgrade, you will lose your mind trying to remember everything you have changed. Trust me - I know!! Laughing
 
TheosEleos







PostPosted: Thu Sep 18, 2003 5:33 pm Reply with quote

Time to sit down and and try and figure out what I have done over the last 3 months. Laughing

Fortunantly I have saved most of the files I have uploaded into a special Nuke folder on my hard drive. I can go over that list and try and remember which ones I have installed. Laughing

Edit: Trying to get my sig to work Very Happy
 
TheosEleos







PostPosted: Fri Sep 19, 2003 11:42 am Reply with quote

I had another person sign up for an account today and the date came across just fine. I have not done anything new. I wonder if someone is behind a huge firewall or something if it would make a difference. Very strange.
 
Raven







PostPosted: Fri Sep 19, 2003 11:44 am Reply with quote

Shouldn't matter. Try it again yourself.
 
TheosEleos







PostPosted: Fri Sep 19, 2003 12:03 pm Reply with quote

I just registered an account and the date is fine.

On another note how do I edit the available web sites in the 'my headlines' area under 'your account'?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©