You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 60 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - V6.0 - Problem: No New-User (Password emails being generated [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Fri Feb 07, 2003 4:49 pm Reply with quoteBack to top

I think it's because the -f flag is only getting added to your email address but not to the email of your users, i'm not quite sure why my suggestion gave you a parse error but let's try a variant, modify the finishnewuser line using the following and try to register an account using a email addy other than your domain email

Code:

       $subject=""._USERPASS4." $username";
       $from = "$adminmail";
       $testemail = "-f $user_ email";
       mail($testemail, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion());

remember to remove the blank space in $user_ email

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
Darkmoor_Dragon
Sergeant
Sergeant


Joined: Jan 31, 2003
Posts: 79

Location: UK

PostPosted: Fri Feb 07, 2003 6:10 pm Reply with quoteBack to top

got it now:


line 137
Quote:
mail($email, $subject, $message, $adminmail, "-fICiA@fourbelowzero.com");


line 581
Quote:
mail($email, $subject, $message, $adminmail, "-fICiA@fourbelowzero.com");


line 611
Quote:
mail($email, $subject, $message, $adminmail, "-fICiA@fourbelowzero.com");



that gets both registrations, lost passwords and password codes working - gotta check later to fix newsletters but im assuming its gonna be the same essentially

"ICiA@fourbelowzero.com" just needs to be replaced by whatever "youraccount@yourdomain.com" is..

I guess you'd term the whole thing as needing to "hardcoded" (???) to get past the hosting issues - working so far anyway - usrs registering away without probs and ive had em check lost password and such like - all works so far.
Find all posts by Darkmoor_DragonView user's profileSend private messageVisit poster's website
mamep
Nuke Cadet
Nuke Cadet


Joined: Mar 17, 2003
Posts: 4


PostPosted: Tue Mar 18, 2003 11:14 am Reply with quoteBack to top

which file we need to edit??
thanks
Find all posts by mamepView user's profileSend private message
eskimo0
Nuke Soldier
Nuke Soldier


Joined: Sep 09, 2003
Posts: 32


PostPosted: Tue Sep 09, 2003 5:59 am Reply with quoteBack to top

ok this absolutely takes the cake. how it can work for any one is beyond me.
i just spent the last 6 hours hunting this down and thanks to dragon i got it to work BUT ... i am using nuke 6.8 and the lines that need changing are in 146,653 and 683 of modules/your_acount/index.php

now originally they looked like this:
Code:
mail($email, $subject, $message, "From: $adminmail\nX-Mailer: PHP/" . phpversion());

however $email is created nowhere !! what is created is $user_email !!!
i wonder how the mail is working for anyone!!
Code:
mail($user_email, $subject, $message, $adminmail, "-fwebmaster@strikemepink.com");

the above works for me .. hope it helps a few others as well. i am one of the F flaggers so , folks get editing !!! Smile
Find all posts by eskimo0View user's profileSend private message
Ace
Nuke Soldier
Nuke Soldier


Joined: Sep 03, 2003
Posts: 21


PostPosted: Wed Sep 10, 2003 1:48 pm Reply with quoteBack to top

i'm running 6.7 and i'm wondering wat lines r supose to be edited and where and wat files
Find all posts by AceView user's profileSend private messageVisit poster's websiteMSN Messenger
Ace
Nuke Soldier
Nuke Soldier


Joined: Sep 03, 2003
Posts: 21


PostPosted: Fri Sep 12, 2003 2:14 pm Reply with quoteBack to top

anyone?
Find all posts by AceView user's profileSend private messageVisit poster's websiteMSN Messenger
eskimo0
Nuke Soldier
Nuke Soldier


Joined: Sep 09, 2003
Posts: 32


PostPosted: Fri Sep 12, 2003 3:55 pm Reply with quoteBack to top

well , the same lines as i have posted above in the same file. eventhough i run 6.8 i doubt that the differences are huge, the line count might be off by 1 or 2 just search for the original
Code:
mail($email, $subject, $message, "From: $adminmail\nX-Mailer: PHP/" . phpversion());
in modules/your_acount/index.php and replace them with what i suggested two/three posts earlier. the above suggestion applies only if your sendmail uses the -f flag.
Find all posts by eskimo0View user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.243 Seconds - 224 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::