where i can configure for non md5 usage?
Printable View
where i can configure for non md5 usage?
This version doesn't have an MD5 switch. However the next update I will be releasing does have it.
For now, you can use the following guide and do it manually:
==================================================================
Step 1:
Open /includes/classes/class.common.php
Step 2:
On line 50:
PHP Code:$query = "INSERT INTO "._TBL_MI_." (memb___id, memb__pwd, memb_name, sno__numb, bloc_code, ctl1_code, mail_chek, mail_addr, appl_days, modi_days, out__days, true_days, confirmed, activation_id) VALUES ('".$info[0]."', [dbo].[fn_md5]('".$info[1]."','".$info[0]."'), '".$info[2]."', '".$info[3]."', '".$info[4]."', '".$info[5]."', '".$info[6]."', '".$info[7]."', '".$info[8]."', '".$info[9]."', '".$info[10]."', '".$info[11]."', '".$info[12]."', '".$info[13]."')";
Replace the above code with:
PHP Code:$query = "INSERT INTO "._TBL_MI_." (memb___id, memb__pwd, memb_name, sno__numb, bloc_code, ctl1_code, mail_chek, mail_addr, appl_days, modi_days, out__days, true_days, confirmed, activation_id) VALUES ('".$info[0]."', '".$info[1]."', '".$info[2]."', '".$info[3]."', '".$info[4]."', '".$info[5]."', '".$info[6]."', '".$info[7]."', '".$info[8]."', '".$info[9]."', '".$info[10]."', '".$info[11]."', '".$info[12]."', '".$info[13]."')";
Step 3:
On line 576:
PHP Code:$query = "SELECT * FROM "._TBL_MI_." WHERE "._CLMN_USERNM_." = '$username' AND "._CLMN_PASSWD_." = [dbo].[fn_md5]('$password','$username')";
Replace the above code with:
PHP Code:$query = "SELECT * FROM "._TBL_MI_." WHERE "._CLMN_USERNM_." = '$username' AND "._CLMN_PASSWD_." = '$password'";
Step 4:
On line 684:
PHP Code:$query = "UPDATE "._TBL_MI_." SET "._CLMN_PASSWD_." = [dbo].[fn_md5]('$new_password','$username') WHERE "._CLMN_MEMBID_." = '$id'";
Replace the above code with:
PHP Code:$query = "UPDATE "._TBL_MI_." SET "._CLMN_PASSWD_." = '$new_password' WHERE "._CLMN_MEMBID_." = '$id'";
Step 5:
On line 1075:
PHP Code:$query = "INSERT INTO "._TBL_MI_." (memb___id, memb__pwd, memb_name, sno__numb, bloc_code, ctl1_code, mail_chek, mail_addr, appl_days, modi_days, out__days, true_days, confirmed, activation_id) VALUES ('".$info[0]."', [dbo].[fn_md5]('".$info[1]."','".$info[0]."'), '".$info[2]."', '".$info[3]."', '".$info[4]."', '".$info[5]."', '".$info[6]."', '".$info[7]."', '".$info[8]."', '".$info[9]."', '".$info[10]."', '".$info[11]."', '".$info[12]."', '".$info[13]."')";
Replace the above code with:
PHP Code:$query = "INSERT INTO "._TBL_MI_." (memb___id, memb__pwd, memb_name, sno__numb, bloc_code, ctl1_code, mail_chek, mail_addr, appl_days, modi_days, out__days, true_days, confirmed, activation_id) VALUES ('".$info[0]."', '".$info[1]."', '".$info[2]."', '".$info[3]."', '".$info[4]."', '".$info[5]."', '".$info[6]."', '".$info[7]."', '".$info[8]."', '".$info[9]."', '".$info[10]."', '".$info[11]."', '".$info[12]."', '".$info[13]."')";
Save changes, and that's it!
I have managed to enter the AdminCP, but the session duration is very low (~1 minute ) and then i got a logout and the site redirect me to index page, it there any way to increase the session duration? (AdminCp)
By default the website will keep the sessions active for 5 minutes. If there's no activity after 5 minutes it will automatically log you out. Your problem seems to be a misconfiguration of your php.ini
Thank you very much for your time and answers!
By chance you have the psd template Default?
There any way to add this lateral menu, the default template?
Sorry for the inconvenience. Thanks for your time!
http://i58.tinypic.com/21ms37a.jpg
There you go:
http://we.arcticnight.net/public/1.0/other/
Hi, me again!
So far everything works fine, exept the downloads module .
Every time I try to add a link tells me: ERROR: There has-been an error while adding the download.
I have proven with different host, and the error persists, any ideas?
Hello, I was wondering if you could take some time and add a really short description of about 2 or 3 sentences summing what this is about, for those who do not know and adding it to the main post, it would be really helpful.
EDIT: If it's that obvious and there's no need for a description, then don't bother. :)
Hi, I resolved the dowload problem.
Now when I try to create an account tells me: ERROR: You must complete all the fields in the form.
I have answered all available fields.
http://i60.tinypic.com/2622ped.jpg
I use server files IGCN Ex702
I can see you edited the form. Did you make sure to keep the field names intact?
Place the original file, the problem persists:
http://i58.tinypic.com/2zjes6a.jpg
The only way to get that error message would be by not passing one of the four values of the form. I just checked on my test site and it works fine. Try enabling error_reporting in the config.php and see if any errors show up.
Quote:
confirmed, activation_id INTO MEMB_INFO
I have issues with the account creation, i can see there are 2 missing columns,i may need to create these columns manually since the sql scripts into the SQL folder does not have the alter table modificacion to add these columns.
Thanks!
---
And about the session duration, it is because if you login with an account into your computer, and other user login into the same account on another computer, the session into the first computer will be terminated and the last login into the new computer will be stay.
bro do you havea free template for your webengine not the default one? ^_^