May 15th, 2008 No Comments »
Now, instead of having to read about my (sometimes boring, but mostly interesting) personal life every time you visit my site, you now can read about the brief history of this website together with my very own “Foreword”! But of course, if you want to read my blog, just click the “Blog” link above on the navigation menu.
Also, I have taken down the Bugs Database as 1. hardly anyone uses it and 2. it may pose a security risk. I will reupload it when I come up with a better version.
Anyway, short update, I have got a chemistry class test tomorrow.
Till next time,
cheers
Tags: site, update
April 11th, 2008 No Comments »

Recently, there has been a few bug reports submitted to me, regarding some MySQL connection problems on v0.03B Preview 2 Builds. If you see something like this:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘iquest’@'72.52.228.40′ (using password: YES) in /home/xxx/public_html/als/phpcipher.bin(233) : eval()’d code on line 30
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/nexgenwe/public_html/als/phpcipher.bin(233) : eval()’d code on line 30
Warning: mysql_query() [function.mysql-query]: Access denied for user ‘nobody’@'localhost’ (using password: NO) in /home/xxx/public_html/als/phpcipher.bin(233) : eval()’d code on line 30
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/xxx/public_html/als/phpcipher.bin(233) : eval()’d code on line 30
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/xxx/public_html/als/phpcipher.bin(233) : eval()’d code on line 30
Warning: mysql_close(): no MySQL-Link resource supplied in /home/xxx/public_html/als/phpcipher.bin(233) : eval()’d code on line 30
there is no need to panic. It seems that this problem is pretty common. It is probably a connection problem to the update server. As I am writing this, it seems that the error is resolved. However, if the problem persists, one workaround is to disable update checking. (under config.php, set $updatechecking from TRUE to FALSE.) I will update you guys when there is a fix.
Till next time,
cheers
Tags: Advanced Login System, bug, update
December 5th, 2007 2 Comments »
I don’t really like to double post, but Wordpress leaves me with no choice. Their WYSIWYG always screws up my paragraphing, so I try not to edit my post. At least while I was using Safari 2, Wordpress automatically disables WYSIWYG mode. Oh well, if any of you guys know how to disable the WYSIWYG editor, kindly tell me.OK, I managed to turn it off. It was hidden under Users>User Profiles. Tricky.
Anyway, I have added a new feature to Advanced Login System. It is a password strength checker, similar to that of Google Signup. The code was kindly provided by Intelligent Web. Anyway, you can see it in the screenshot here:

I am also thinking of releasing nightly builds, especially since I am not sure when exactly I can release my next build. But that’s just a thought I am holding onto right now. If I do nightly releases, it will probably take a long time as I have to write documentation, upload an encoded version, and also send another version to those that paid for the source code. And this is a very time consuming process. But maybe I will try it out one of these days.
Anyway, I just upgraded to Wordpress 2.3.1. And I am going to test the tagging functions.
Till next time,
cheers
Tags: Advanced Login System, Build 20071117, Nightly Releases, Password Strength Checker, PHP, Preview 2, update, Upgrade, Wordpress
December 5th, 2007 2 Comments »
Here’s the few changes that has been made to ALS in the newest build (20071117). Details below.
- CAPTCHA image tweaked to give better visibility
- Update script tweaked to reduce page loading times.
- SQL injection protection added.
- New email validation function
- Theme Creation Documentation
Update script tweak
One issue with the update script is that it will always check the update server for updates every time a page is loaded. This can slow down the loading of the page by a lot as the script will still have to establish a connection to an external server. Hence, I have added session logging, so that the script will only check for updates on the first page during the user session. This should decrease the loading time by quite a lot.
SQL script injection Protection
Although I strongly doubt that SQL injection will actually work on my script (I made a few tries using methods provided by some online forums and I was unsuccessful - probably because I encode the input), I cannot be completely sure. So I have added mysql_real_escape_string() function to those input variables. I have also added stripslashes() function for servers with magic quotes turned on.
New email validation function
I am currently testing out a different email validation function given at http://www.ilovejackdaniels.com/php/email-address-validation/. Hopefully it will be better than the one I currently have.
Please note that this build is still in progress. There are still quite a lot of features that I have yet to complete. But you can download the tweaked update file here. Just replace the update.php file in the alssystem folder.
You need ALS v0.03B Build 20071013 for this update!
Downloaded a total of 209 times
Till next time,
cheers
Tags: Advanced Login System, Build 20071117, PHP, Preview 2, update