I am wanting to set up a site where people will be getting to the site from another, external site. When they click on the link from the external site, it will take them to my Drupal site where I want to grab a "userid" and customize the site based on what they want. So an example of this is the following:
site1 they sign up for an "online course" (or courses). They are given a link that would look similar to: http://site2.com/?userid=12345&course=45678
the person then clicks on the link and it goes to the site2 drupal application, logs who it is, then displays only the courses they requested, without having the person log in again to another site to get the content.
Is there anyway I can do that with Drupal, its modules, or any way other possible. I was thinking of using the Cake framework to do this, but am not sure if the Drake module would fully combine what I need. Or is there any third party modules that could do this for me?
Any help would be appreciated.
Comments
Yeop
Yeop. Just a module that take the arguments from the url (arg(1), arg(2)), and does exactly what you just said. that's pretty simple. But i'm missing the 'pseudo encryption' part?
Pseudo encryption
The site we are hosting, is going to be working with another company, and their user base. They do not want to pass over their user passwords, which is reasonable, so we need to get their userid and the course id, but they are going to encrypt it using Blowfish. So it is really a login, as no real username or password is going to be used, just validating the referrer, the encrypted userid, encrypted course id, and then we need to "decrypt" it so we can track data on who is using the courses to do further studies with this other company.
But thank you for the info. I will check that out.
OK, maybe I misunderstood.
OK, maybe I misunderstood. Is this a module, or should I just create one that does that?
Creation
Create one. But it shouldn't be hard. Honestly, it seems like 3-4 hours of work..perhaps even less off the top of my head; this is coming from a seasoned Drupal programmer though, your mileage may vary, but it's still pretty straight forward:
OK, thank you. I am newer to
OK, thank you. I am newer to drupal, but have used it and coded modules before, so should be simple as you point out. Thank you for the help.