Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Drupal integration
This discussion has been closed.
Comments
Thought I would extend upon my plans a bit (really, it is to get things clear in my mind, but please fire some questions and suggestions at me). I am thinking, for extensions, a range called Drupillafy (Drupal-Vanillafy) which at the moment consists of three simple extensions:
Drupillafy-Messages: Grabs messages from a "drupal_get_message" styled function to display messages from Drupal in Vanilla. This is important for me, as I use, and will continue to use, Drupal's Personal Messaging module... which makes use of messages, and I need some way to display them on the forum.
Drupillafy-Menu: Displays the primary (and secondary?) menu(s) from Drupal, to be rendered in the header.
Drupillafy-Users: Alters Vanilla so that users cannot alter their account information. Instead all profile links will link to their page on Drupal, will also add to the sidebar a drupal-esque login block, which will offer registration and forgotten password links.
I can code, but I am on a bit of a rushed timescale... so it will probably be quite hacky. I think it is out of my remit to synthesise things like Drupal's fancy URLs in Vanilla, so I will stick to default URLs (though, I will probably hardcode my fancy URLs into my version).
Hmm. Thoughts?
Adam.
Adam.
Squirrel, I am not particularly interested in this functionality for my site, but it could be fun to do. If I find myself with some spare time on my hand, I will code a Drupal control for Janine. If I plan to, I will let you know.
Adam.
There is the documentation. It may need some revising, and some cleaning up (also, I have not tested it thoroughly yet... so might be worth keeping to development sites for now).
The site that I am developing it for is private, otherwise I would link you to a working example (sorry).
^__^ enjoy.
Adam.
{
Notice: Undefined index: PHPSESSID in C:\Program Files\VertrigoServ\www\drupilla\vanilla\library\People\People.Class.DrupalAuthenticator.php on line 52
Fatal error: Call to undefined method Authenticator::Authenticate() in C:\Program Files\VertrigoServ\www\drupilla\vanilla\library\People\People.Class.UserManager.php on line 1065
}
any ideas?
Adam.
You should check the integration doc out again, I have updated the authenticator module to provide better support for Drupal 5.2 (I didn't realise there was a change to the way sessions are stored between 5.1 and 5.2, sorry).
I also made some changes so that when signing in and out, you no longer have the nasty error messages. Note that you cannot (using my authenticator module) use the Vanilla controls to log in and out, you should alter your theme to remove references to your forum's people.php. You can add in to the theme a login box that point to your drupal install and a logout link to ?q=logout on your drupal install.
Adam.
Drupal allows multiple roles per person, Vanilla does not (although I know you are working on that). How does that work with Catagory access then once they are integrated?
thanks.
i've added this to /conf/settings.php
//Drupal integration $Configuration['AUTHENTICATION_MODULE'] = 'People/People.Class.DrupalAuthenticator.php'; $Configuration['SignOut'] = 'http://www.YOUR-drupal-SITE.***/logout'; $Configuration['SIGNIN_URL'] = 'http://www.YOUR-drupal-SITE.***/?q=user';
seems it works ok, but still need testing.
i suppose this hint will be usefull for extension for drupal integration...
one issue on this - i can't define other url params to set them in settings.php. i.e. on this page http://www.community.YOUR-drupal-SITE.***/people.php?PostBackAction=SignOutNow
any help would be nice.
ps.
new problem found, in IE when url to vanilla from drupal no authentification happens due to some js error.
can anybody uninstall IE from everyone's PC and install firefox or opera? ))