حذف كردن ميل فعال كننده

ara

Member
سوالي از دوستان دارم كه اميدوارم بتونن كمكم كنند
من ميخوام كاري كنم كه هركي تو سايت عضو ميشه ميل فعال كننده براش نفرسته و مستقيم بتونه كه عضو بشه
البته يه ميل هاوي يوزر و پسور رو براش بفرسته
و سپال بعدي كه دارم اينه كه براي عوض كردن اديتور نوك فقط كدوم فايل هارو بايد اديت كنم ؟؟؟
 
آقاي فرزاد اگه بر روي لينك زير كليك كنيد يه مقاله در اين باره مي خوانيد ولي با اين كار ديگه هيچ ايميلي فرستاده نمي شه البته نيازي هم نيست چون كاربر هر وقت pass ش را گم كنه مي تونه اونارو بخواد سايت يه ايميل براش مي فرسته.
خدا حافظ
http://www.donyayema.com/modules.php?name=Content&pa=showpage&pid=10
 

ali_civil

Member
بفرما

بفرما داداش
کد:
The easiest way to install the Auto Activation mod is to
1 - Rename modules/Your_Account/index.php to modules/Your_Account/index-origv73.php
2 - Replace it with the index.php included in this download file.
That's it!  To deactivate the mod you simply have to change the setting $autoActivate = TRUE; to $autoActivate = FALSE;


If you need to manually apply the changes due to other modifications, here are the instructions for manually applying the mod:
===========================================================================================================================
1 - On or about line 22 Find
$userpage = 1;

Add this line After
$autoActivate = TRUE;

===========================================================================================================================
2 - In function confirmNewUser Find
global $stop, $EditedMessage, $sitename, $module_name, $minpass;

Change To
global $stop, $EditedMessage, $sitename, $module_name, $minpass, $autoActivate;

===========================================================================================================================
3 - In function confirmNewUser Find
."<tr><td><b>"._EMAIL.":</b> $user_email</td></tr></table><br><br>"
."<center><b>"._NOTE."</b> "._YOUWILLRECEIVE."";

Change to
."<tr><td><b>"._EMAIL.":</b> $user_email</td></tr></table><br><br>";
if (!$autoActivate) echo "<center><b>"._NOTE."</b> "._YOUWILLRECEIVE."";

===========================================================================================================================
4 - In function finishNewUser Find
global $stop, $EditedMessage, $adminmail, $sitename, $Default_Theme, $user_prefix, $db, $storyhome, $module_name, $nukeurl;

Change to
global $stop, $EditedMessage, $adminmail, $sitename, $Default_Theme, $user_prefix, $db, $storyhome, $module_name, $nukeurl, $autoActivate;

===========================================================================================================================
5 - In function finishNewUser Find
if(!$result) {
	echo ""._ERROR."<br>";
} else {

Change to
if(!$result) {
	echo ""._ERROR."<br>";
} elseif ($autoActivate) { activate($username, $check_num, $autoActivate);
} else {

===========================================================================================================================
6 - In function activate Find
function activate($username, $check_num) {

Change to
function activate($username, $check_num, $autoActivate=FALSE) {

===========================================================================================================================
7 - In function activate Find the 3 instances of
include("header.php");

Change all instances to
if (!$autoActivate) include("header.php");


For all support issues with this mod and nuke and/or php visit
http://irancivileng.com
ali.motallebi
 

جدیدترین ارسال ها

بالا