open All Channels
seplocked EVE Technology Lab
blankseplocked Drupal API user authentication module - Eveauth
 
This thread is older than 90 days and has been locked due to inactivity.


 
Author Topic

Helgur
Red Federation
Posted - 2010.05.21 20:34:00 - [1]
 

Edited by: Helgur on 29/12/2010 02:22:16
Edited by: Helgur on 17/11/2010 23:52:36
Current release Beta 0.2
As with any other project like this, a lot of time and work are invested, so your isk donations is both welcome and motivating Wink

Eveauth is an authentication middle layer between the CMS Drupal and Eve online character database that lets users register at your site with their userid and limited API key.

What is Drupal?

Drupal (http://www.drupal.org) is a content management system and a web application framework you can use to motor your home page(s) to deliver dynamically generated content to your site visitors. It is simple and intuitive to use, yet powerful enough to be customized to your hearths extent. In this context you would use Drupal for your corporation or alliance home pages to power your forums and other internal communications. To make it easier to administer a site like this I made Eveauth. This site for instance runs drupal and the newest release of Eveauth.

What is Eveauth?

Eveauth provides an authentication mechanism between your drupal site and Eve's character database using the Eve online xml api in conjunction with a user's userid and api key. It uses a character you provide upon configuration as template, and the corporation / alliance of that character will be used to either permit or reject access to new users.

In addition to this functionality, eveauth lets a user with the right permissions view the character sheets of any user registered at the site. This include (but are not limited to) Skills, Corporation, Skillpoints, wallet balance, etc. This feature is handy if you want to check up potential new recruits or help players coordinate their skill training efficiently. Character sheets are available from the users profile page under the tab "Character sheets".

Current release Beta 0.2

Release Notes

Bugfixes:
- The character sheet displayed your clone maximum skillpoints instead of the character current skillpoints. This has now been corrected
- Various information and error messages was displayed twice some places, this has been corrected.

New features:
- Added the option of an extra layer of security with wallet check. If enabled the user now have to balance the last two decimal digits of
his wallet in order to register. The number can be customized on the admin screen
- Added a carebear threshold function. You can set a threshold, and if a number of your corpmates/alliancemates wallet balance falls below
that threshold, the system tells you it is time to carebear to get everyones wallet balance up again

General Fixes:
- Added Planetary Management skill group to the character sheet


Futures to be implemented in 0.3:

Arrow To be added

Download and installation

Click here to download eveauth and follow the instructions in the "Readme.txt" file to install it. Before installation, be sure you meet the system requirements

Helgur
Red Federation
Posted - 2010.05.21 21:14:00 - [2]
 

reserved

Lameh Dba
Posted - 2010.05.21 22:04:00 - [3]
 

As said before, will try testing this w-e. :)
Thanks !

Nagomochi Acknan
Posted - 2010.07.22 20:47:00 - [4]
 

The link to eveauth doesn't work. Any chance of a new link?

Thanks, Smile

Helgur
Red Federation
Posted - 2010.08.17 14:37:00 - [5]
 

Updated, it has a working download link now (using google code)

I've been away from eve a while because of illness so sorry for the lack of updates on this. Will try to work more on it

Pizzutz
Gallente
Capital Industries Research And Development
Fidelas Constans
Posted - 2010.08.20 02:40:00 - [6]
 

I've recently built something similar, and would like to work toward building a set of drupal mods designed for use by corps/alliances in eve. It may be a small niche, but I think it would be worth doing. A quick search on google shows a bunch of people who have started writing these types of modules, but never finished or released code. If you would like any help in adding features to your mod, please let me know.

Helgur
Red Federation
Posted - 2010.08.25 12:49:00 - [7]
 

Sure thing. I'll contact you the next time I login

Mangoor
Posted - 2010.08.27 06:10:00 - [8]
 

Absolutely great module.
One bug noticed: The skill points is their listing is regards to their medic clone not their actual skill points.
I will play around with the code and see if i can fix, though I doubt it.

Cheers though.

Love to see this go further, or more features added.

Helgur
Red Federation
Posted - 2010.11.17 23:51:00 - [9]
 

The time has come for this little module to mature a bit. Some bugs have been addressed, as well as some neat futures have been thrown in for good measure. You can head over to the link provided in the OP to grab the copy, fresh from the oven.

A little warning to people upgrading from 0.1. In order for your existing users to make full use of the new features presented in this release, they need to update their accounts from the account page. I am sorry to say, but there is no way around this. It involves two simple steps: Logging into eve's account page to fetch their API key and updating their API in the account page

Should take two minutes maximum, and it makes it a lot easier to implement cool features into eveauth later on!

I have also made a homepage for this module, with documentation. If you are upgrading from 0.1, be sure to make a visit and pay attention to the documentation I have provided there.

I hope you enjoy it as much as I had making it :-) If you have any comments, suggestion, ideas or bug reports, please provide the feedback!

Steven Trux
State War Academy
Posted - 2010.11.18 09:22:00 - [10]
 

Nice module Very Happy
Just installed it on my test server on a fresh drupal installation and it return this warning:
# warning: Invalid argument supplied for foreach() in /srv/http/test/modules/eveauth/eveauth.charactersheet.inc on line 430.

I cannot also see the Character Sheets page Confused

Helgur
Red Federation
Posted - 2010.11.18 09:56:00 - [11]
 

Thanks for the feedback. I am unable to reproduce the problem at my end, it works fine here ugh

How many characters do you have at that account, does it give that error message when you register with other accounts?

I have uploaded a patch, please download it from google code and replace the original eveauth.charactersheet.inc with it.

Thanks again

Helgur
Red Federation
Posted - 2010.11.18 10:04:00 - [12]
 

What I guess have happened here is you are trying to view character sheets on an account that does not have API tied to it, therefore PhP whines when you are trying to iterate through an empty array. Make sure you have registered that account *after* you installed eveauth

Galileo Trux
Posted - 2010.11.18 10:48:00 - [13]
 

Originally by: Helgur
How many characters do you have at that account, does it give that error message when you register with other accounts?

I have uploaded a patch, please download it from google code and replace the original eveauth.charactersheet.inc with it.

Thanks again


I had the error with the first character (the admin) adding a second account resolved the warning. With the second account I'm able tpo visit the Character Sheets and it works fine...

Helgur
Red Federation
Posted - 2010.11.18 11:24:00 - [14]
 

Edited by: Helgur on 18/11/2010 11:25:48
I have fixed the issue now, when accessing charactersheet with a user not having a working API key (like the administrator) it should return with a more understandable error message. New patch can be downloaded from the google code page, only eveauth.charactersheet.inc needs to be replaced.

Again, thanks for the feedback.

Steven Trux
State War Academy
Posted - 2010.11.18 11:47:00 - [15]
 

Perfect now Very Happy

Novect
Interwebs Cooter Explosion
Fatal Ascension
Posted - 2010.12.03 18:50:00 - [16]
 

Edited by: Novect on 03/12/2010 18:55:28

I'm trying to get this to work... It installed fine, but when trying to view the skill sheet I get this:

"The specified user does not have a API key associated with it. Character sheet can not be displayed with this user
Array "

Yes, the specified user does have an API key associated with it...

What should I do?

Helgur
Red Federation
Posted - 2010.12.07 13:00:00 - [17]
 

Originally by: Novect
Edited by: Novect on 03/12/2010 18:55:28

I'm trying to get this to work... It installed fine, but when trying to view the skill sheet I get this:

"The specified user does not have a API key associated with it. Character sheet can not be displayed with this user
Array "

Yes, the specified user does have an API key associated with it...

What should I do?


I spelled a variable wrong, it is fixed now. Grab the latest version, replace the contents of the package with your existing module and you should be fine.

Melke Smooth
Posted - 2011.02.18 01:50:00 - [18]
 

Any word on an update? I'm looking at starting a new drupal site for a corp and this looks pretty handy.

Helgur
Red Federation
Posted - 2011.02.27 12:35:00 - [19]
 

I am currently working on porting the code over to Drupal 7. I am not planning to extend the current 6.x codebase before a working beta is up and running for 7.x

Neil B
Posted - 2011.04.03 18:46:00 - [20]
 

Cool to see you are updating this, props to you m8! Would definitely like to see this ported to 7.0 Very Happy

PyroTech03
Caldari
Legion of Darkwind
Order of the Void
Posted - 2011.05.20 02:54:00 - [21]
 

Hey, I'm wanting to switch to drupal from a crappy CMS, and need this. Any idea's on how close we could see an update for drupal 7?

Tested it on a drupal 6 site, and love what you did with it. And the planned features look great. Hopefully you don't decide to drop this. Total shame if you did.

Keep up the great work!

Nutbolt
Avalon Project
The Smurfs Alliance
Posted - 2011.05.22 11:06:00 - [22]
 

Same here, wondering if you are still working on porting this to Drupal 7. From the screenshots I have seen etc... it looks great.

Helgur
Red Federation
Posted - 2011.06.25 10:25:00 - [23]
 

Edited by: Helgur on 25/06/2011 10:29:45
In light of recent events and decisions made by CCP I will no longer be supporting this webapp or finish the release for Drupal 7. You are free to use eveauth for Drupal 6

I wish everyone the best

Sincerely

-H.

Edit and PS: If CCP should change its mind, and decide to keep eve like it is, a sandbox MMO with a player driven economy. And by that I mean keep non-vanity items away from the market I will return and release eveauth for D7.

Billy Colorado
Posted - 2011.08.17 00:48:00 - [24]
 

Curious about why this isn't being hosted on drupal.org? Anyone still interested in this module?


 

This thread is older than 90 days and has been locked due to inactivity.


 


The new forums are live

Please adjust your bookmarks to https://forums.eveonline.com

These forums are archived and read-only