It's been a while since...

Well it has been quite a bit of time since I have made a blog post, so I think it would be a good idea to make one today! One thing I want to set straight though, just because I haven't made any recent blog posts does NOT mean I have not been working on Drupaltin!

In the past few posts you have read about the Drupal module side of Drupaltin. Well the good news is that the module is pretty much done (the essential framework + a few extras) and I have now began development on the vBulletin plugin side of Drupaltin. First and foremost in my journey of the plugin is to get the login code done. The login code of course is the synchronous login. It is already done for when you login through Drupal (and works great I must say!!!) so now I just need to do the opposite for the vBulletin login.

In the alpha release I used a rather strange method of authenticating into Drupal from vBulletin, a method which I decided early on to abandon. Since Drupal uses a PHP session to handle user authentication, the alpha Drupaltin would bootstrap Drupal and start a session for the user automatically. While this seems like a good method, and it is in some ways, it is far more resource intensive then it needs to be and there are some session conflicts which I would rather not see.

There was some discussion in the Drupaltin 5.x-1.0a Bugs thread about how sometimes the PHP session ends prematurely and the user would be signed out of Drupal but still be signed in vBulletin. A fellow Drupaltin user, Keyz, mentioned that he uses the Drupal module "Persistent Login" to work around this issue. I did some quick research on the module and had my mind made up, I would use it for the next Drupaltin release.

The Persistent Login module will have an intricate part in Drupaltin starting with the next release. Back to the vBulletin login plugin, to authenticate a user from vBulletin Drupaltin will only bootstrap the Drupal database (much less resources compared to a full bootstrap), write a single query to the persistent_login table, set the appropriate cookie, and bam the user will now be perma-logged into Drupal as well as vBulletin.

Of course I could even cut the Persistent Login module down a bit and not require the database query, but after doing some reading about the security behind the method I think it is well worth the minuscule amount of extra resources required. Remember that the extra resources will only be used when a user is logging in, not often are there going to be more then a few people logging in at the same time even on the largest of sites.

That is a nice little peak into what is to come, oh but so much more is on the drawing board!

Comments

cheap sunglasses

Locating inexpensive men's cheap sunglasses might appear just a little challenging, in particular if you are seeking in all of the wrong places. But, you truly can locate what you need and what you want inside just several minutes. There are many things to consider about them before you make that acquire though. Yes, there is a lot of function that will need to go into selecting the best eye wear, significantly more than folks comprehend. But, you may find out the way to choose the proper Cheap Ray Ban Sunglasses for your wants by reading on.

Picking out the proper pair of oakley sunglasses discount is pretty vital, as they are able to be worn for lots of years. Kate Spade sunglasses are a fairly new brand, and they are rapidly becoming pretty popular due to how stylish they're, how sturdily they are built, and how low-cost they are able to be. Certainly, they're only inexpensive after you compare them to brands like Versace and Ray-Ban. Aside from that, you'll be able to still expect to pay among $100 and $200 for them, and that is income well spent. Unless you lose them, it is not likely which you will have to replace them soon or ever.

Cheap Ray Ban Sunglasses is 1 of those accessories that each man cannot do with out, especially in those seaside areas. And needless to say, it requirements to be the fashion designer models that are preferred and worn by the Tv stars.

Thanks for the update

Thanks for the update Jordan, looking forward to hearing more :)

Keep up the good work!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.