I have begun extensive development on the new Drupal module block. The new module will no longer require you to use a special login block. I hope to add all the available hooks so that users can edit their profile from either vBulletin or Drupal too. I think it will help clear up some confusion to both site administrators and the end-users.
[code talk]Initially I wanted to "bootstrap" vBulletin into Drupal for vBulletin login authentication. To do so I simply set an include for global.php and made the correct page defines. Then to execute the authentication, I used vBulletin's user_authenticate function.
Well it was all fine and dandy in a test file but as soon as I put it into the module and installed the module, my headaches began. I've spent a few hours finding a solution, but it seems the problem is due to variable conflicts between Drupal and vBulletin. It seems my only solution then will to create my own login class (much like how Drupal vB does) and set the login cookies myself.
I coded up most of the necessary components for the authentication and I have successfully gotten the login to work. All is fine and dandy except my original log out code won't work! I will have to recode a log out script now that logs the user out of both Drupal and vBulletin. Shouldn't be a big deal though, logging out is usually the easy part :P[/code talk]
Overall I would consider the progress I've made a huge success! I am so anxious to get this next release done, you guys have no idea!! hehe, that's always a good thing though!
Comments
:D When you're anxious we
:D When you're anxious we
Well bootstrapping Drupal was thrown out early on mostly because of performance issues, and then because of the problems we all ran into on that snapshot I released.
I had never tried "bootstrapping" vBulletin into Drupal yet, doing so took a lot less resources. As I said though, I ran into variable conflicts and other problems which threw this idea out the window as well. I believe this is the exact reason vbDrupal makes their own Drupal files so that it will be compatible with vBulletin. Not to worry though, it only adds to the fun for me :D Anything is possible when you are determined, and I am determined!
Oh for sure. Drupaltin 2.0 will contain all the extra functions which are included in the Drupal vB module. The plan was to add it right from the beginning, but being a Drupal virgin I was still learning how to code a module. I wanted to get something released for you guys to start testing, hence the alpha version was born. Drupaltin 2.0 will also be compatible with existing Drupal sites, existing vBulletin sites, or any mix of the two :)