My hack is highly influenced by GIJOE auto-login hack. This does exactly same thing but my approach is bit refined (I think so, feel free to disagree).
Followings are major changes.
1. In place of making a localized code change, I also changed "kernel/member.php" and added two new methods loginUserAuto (auto-login someone using saved cookies) and loginUserEmail (login someone using email as username).
2. I am using value stored in actkey column for auto-login feature. I too am totally against storing the MD5 of real password in user cookies (like the author of original auto-login and several other people). So here is perhaps the safer work-around. MD5 of actkey is sent to user's browser as cookies and the same is matched for auto-login. I found this column useless after user activation - so why don't we overload it.
Minor differences:
1. I had to change "kernel/user.php" also as it was not persisting actkey column for any existing user.
2. _MB_SYSTEM_REMEMBERME is not used. Rather global variable _REMEMBERME is used to render 'system_userform.html' and 'system_block_login.html' both. I didn't see any reason of duplicating variable for block and main page.
3. Using cookie name 'autologin_key' in place of 'autologin_pass'
4. Using xoops's standard function checkEmail() to test if email was passed as userId.
Looking forward to see feedback from you people :pint:
------------------------------------------------------
Q. How to install hack?
A. You should be knowing what you are doing This patch is ok for version 2.0.9.x only and you just need to overwrite files with the supplied ones. (For older versions, search for the word "s raj" in hacked files and merge the changes manually).
After overwrite, don't forget to update system module
Done, Enjoy...
------------------------------------------------------
Monday, June 9, 2008
.:: Auto Login ::.
Posted by icha at 5:00 PM
Subscribe to:
Post Comments (Atom)
3 comments:
makin seep ajah icha ini ruko
salam
Interesting to know.
buy facebook likes
facebook likes
http://entrepreneurship.unica-network.eu/content/peter-drucker-society-europe-launches-essay-contest http://weeklyseven.com/news/2011/january/20/george-knapp?quicktabs_3=0
1000 facebook likes buy facebook likes get facebook likes
After my computer was infected with verious viruses, I removed the antivirus and installed a new antivirus and scanned my laptop. After this scanning, the laptop hybernate option does not work. Some alert comes and says that the computer doesn't have enough ( ) to load hybernate option. So if any one of u could tell me the reason and the solution of this problem, i will be pleasured.
buy facebook likes get facebook likes [url=http://1000fbfans.info]buy facebook likes [/url] buy facebook likes
Post a Comment