Hello. I run a Bingo Portal called BingoParadise.co.uk
I love the Drupal system and have just come up with my most challenging obstacle yet!... possibly
I would like to integrate a bingo game into my site. The game runs through a simple popup. The game can pull the password and username from a Vbulletin forum site (so people registered on the Vbulletin site can automatically login to the game with their Vbulletin credentials). I wrote to the game's sales department to ask if it could do the same with a Drupal system, allowing my members, once logged into my site to be able to click on the game and automatically be logged in.
There reply was as follows:
"Essentially all you have to do is add the forum user's username and password (encrypted or otherwise, its up to you) to the popup URL of the game lobby. Then our system, seeing this extra information, will automatically log the player in OR register then and log them in automatically depending on whether or not they have played before. So to the player they are able to jump right into the games without re-registering. Behind the scenes its registering/logging them in automatically. There is also an extra script URL that your system can call if the user changes their password in your forum/CMS system. This way the passwords always match in your system and in ours.
The password you actually send over with the player's username can be encrypted on your side, ie., via md5() in case you have any concerns of having the users' real passwords stored on our servers. Your player data is confidential and only you have access to it. It can be exported, viewed etc through your web based administration area."
Is there anyone who can help me out here. This is an area which I know nothing about.
Thanks, I really look forwards to a response!
Tom
Comments
Does anyone have any ideas?
Does anyone have any ideas of how I can integrate this game??
where is the link to the popup
where is the link on your site, you are going to have to write some code to build the URL with the username and password for the logged in user.
http://www.bingoparadise.co.u
http://www.bingoparadise.co.uk/free-bingo-internet-game.html
That is the page where the link to the bingo game is. - Unfortunately you'll need to be logged in to view the page in the members view.
My goal is for members to be able to navigate to that page. Click the 'Play now' banner which you'll see once logged in, and from there the game will automatically be logged in based on the login details from my site's login.
Cheers
As justageek said, you'll
As justageek said, you'll need to write some code for that and probably a very small (and pretty simple) custom module.
The links to 'play now' will need a little php code that adds the username and password and the module will need to implement hook_user to hit the server and make the updates when a user changes their page. It is not difficult but will require some basic PHP/Drupal programming knowledge.
ok
So thats what I need to do. Do you know anywhere that I could get some guidance?
It would be excellent if I could get this up and running.
Cheers
Any suggestions? Thank you
Any suggestions? Thank you very much!
look at the documentation part of the site or bet a book
There is good documentation on the basics of module development on this site. the module dev guide starts here http://drupal.org/node/508
Also, the book Pro Drupal Development is very good and worth the investment if you plan to run Drupal long-term.
Did you find your answer? Please advise
I'm in the same boat as you are were. I spent tons of time on this, but still can't figure out how to get my flash games to use Drupal's user authentication and communicate with the database to load and updates scores/levels. How would you do it? Is there a good modules or would you write your own API? Can you please point me to the right direction) Thanks