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)
26 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
cheap diazepam online buy diazepam in india - long does diazepam withdrawal symptoms last
order ambien online overnight ambien withdrawal vision - ambien picture of pill
xanax online buy xanax kuala lumpur - is generic xanax just as good
diazepam for dogs koop diazepam online - buy diazepam online+mastercard
buy zolpidem zolpidem high blood pressure - zolpidem side effects memory
can you buy valium online valium side effects erectile dysfunction - order valium ireland
lorazepam 1mg ativan to quit smoking - what is lorazepam 1mg tablets for
diazepam diazepam buy online no prescription - lowest dosage diazepam
ativan drug ativan max dose - ativan dosage and side effects
cheap xanax no prescription drug testing xanax how long - overdose on xanax and alcohol
diazepam overdose buy diazepam online with mastercard - high off diazepam
ambien online without rx ambien side effects with alcohol - ambien cheap
buy carisoprodol online soma scheduled drug ca - qualitest generic soma
buy ambien online zolpidem 10 mg erowid - order generic ambien online
brand valium generic for valium - valium 10mg mano
ambien for sale online ambien side effects sleep driving - ok take 2 10 mg ambien
buy somas online drug interactions tramadol and soma - carisoprodol no prescription needed
buy soma online soma intimates promo code 2012 - there generic soma
buy cheap soma carisoprodol drug test - carisoprodol 350 mg uses
advitleva cheap premarin online - cheap generic premarin http://www.premarindiscount.com/
rvb purchase neurontin - neurontin pills http://www.painreliefpharmonline.net/neurontin.html, [url=http://www.painreliefpharmonline.net/neurontin.html]gabapentin sale [/url]
Hi, cheap zolpidem no prescription - ambien price http://www.kpsola.com/#purchase-ambien, [url=http://www.kpsola.com/#cheap-zolpidem]purchase ambien no prescription [/url]
11, [url=http://www.costofklonopin.com/]klonopin for sale online [/url] - clonazepam without prescription - klonopin without rx http://www.costofklonopin.com/.
Post a Comment