>>  Site Map >>  Forums >>  PHP-Nuke Common Problems & Solutions

Forum module - topics in forum:



PHP-Nuke Common Problems & Solutions - <font color=red>Look Here First For Your Problems And Get Their Solutions.</font><br><br>See also <a href="http://phpnuke-uk.net/modules.php?name=PHP-Nuke_HOWTO&page=common-installation-problems.html"><b>this</b></a> section of the phpnuke howto.<br>



Site Wont Send Activation Email / Disable Activation Email

----> The Problem / Error Message
----> The Reason----> The Solution

  1. Open your modules/Your_Account/index.php and find this within the function finishNewUser()
    Code: :
    $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();
       }

    Replace with
    Code: :
    $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();
       }


    By doing this, it will display the activation link for your users when they register on the last page of the registration process. All the have to do is click on the link and they are verified and ready to log in.

    You might want to change the language file for the Your Account module for this definition to relect the changes you are making:
    Code: :
     define("_FINISHUSERCONF","Your request for a new account has been processed. You'll receive an email in the next few seconds with a activation link that should be visited in the next 24 hours to be able to activate your account.");

    the other option regarding the finished message would be to remove the following code from the index.php file.
    Code: :
    <b>"._NOTE."</b> "._YOUWILLRECEIVE."


  2. The Second option would be to download the New User Auto Activation Hack from Ravens PHP Scripts Site (link below)

    http://ravenphpscripts.com/downloads-cat6.html
----> Still Having Problems







Some alternatives.

6.5-6.9
http://www.nukeresources.com/downloadview-details-831-No_Mail_Your_Account_Hack.html

http://www.nukeresources.com/downloadview-details-832-No_Mail_Your_Account_Hack_7.0.html

http://www.nukeresources.com/downloadview-details-896-No_Mail_Your_Account_Hack_7.3.html

http://www.nukeresources.com/downloadview-details-908-No_Mail_Your_Account_Hack_7.4.html

http://www.nukeresources.com/downloadview-details-932-No_Mail_Your_Account_Hack_7.5.html

http://www.nukeresources.com/downloadview-details-947-No_Mail_Your_Account_Hack_7.6.html

http://www.nukeresources.com/downloadview-details-1034-No_Mail_Your_Account_Hack_7.7.html

http://www.nukeresources.com/downloadview-details-1050-No_Mail_Your_Account_Hack_7.8.html






Added Poll




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS