open All Channels
seplocked EVE Technology Lab
blankseplocked ESAM - API for Simple Machine Forums - v1.4.2 (Final)
 
This thread is older than 90 days and has been locked due to inactivity.


 
Pages: [1] 2 3 4 5 6 7 8 9

Author Topic

Squizz Caphinator
Woopatang
Posted - 2009.04.13 13:52:00 - [1]
 

Edited by: Squizz Caphinator on 03/12/2010 15:27:59
Current production version is v1.4.2 - perfect for maintaining your SMF forum!

ESAM v1.4.2 Download
(now uses new image server)


This is the final version of ESAM that will work with SMF 1. All future version of ESAM will work with SMF 2 and will have it's own thread.

I've put many, many hours of time into this project, your isk donations will be greatly appreciated!

ESAM Home Page
(if the link isn't working because of CCP's spam checks, go here instead and dl the latest version)

ESAM Setup
ESAM Feature Requests and Bug Fixes

ESAM is a simple way for EVE WebMasters to manage their Simple Machines Forums registration.

Once ESAM is installed, all members on a forum will be asked to provide their Limited API Key. This API will be checked to see what characters are on the account and ensure that one of them is in the corporation or alliance that the forums represent. Then, using WebMaster set rules within the module settings, ESAM will add the user to whatever MemberGroups are appropriate based on his/her alliance, corporation, and corp roles.

This fully automates the process of registering individuals to the forums and ensuring that they have all the correct access rights.

This tool will be helpful to WebMasters running forums with a couple of dozen members, and absolutely invaluable to those WebMasters running forums with hundreds, or thousands of members.

Related:
Simple Machine Forums

Previous post:
SMF (SimpleMachinesForum) Registration via API MOD - Released!

------------------------------------------

Have SMF 2.0? Then use TEA: http://www.eveonline.com/ingameboard.asp?a=topic&threadID=1253847

Squizz Caphinator
Woopatang
Posted - 2009.04.13 13:53:00 - [2]
 

Edited by: Squizz Caphinator on 08/07/2010 13:42:19
ESAM Features

* Pilot names w/ corp ticker (for valid APIs of course)
* Cronjob-able!
* Proxy through a 3rd party
* Add any Alliance, Corporation, Faction Warfare, or individual pilots to the rules.
* Create rules based on Corporation Titles (corp rules only)
* If you have more than one toon on an account, select which one is your "main"
* Eve Character portraits can be set as your account's avatar
* Set custom forum title to match in game Corporation Titles
* Skill validation, add users to MemberGroups based on their skills (Carrier pilots rejoice)
* Does not interfere with themes, and therefore should be able to add this to any theme type without having to manually edit a thing
* All character's Corp and Alliance are now displayed on Validation and User Profile
* Prevents you from installing more than one ESAM (some folks were actually doing this)
* Tests to ensure you have PHP5
* Properly removed api information for deleted accounts (presently disabled)
* Upgrades from legacy versions of ESAM should now run smoother
* Clicking the Legacy link prompts the administrator first to help prevent errors in the logs.
* Better language integration, now open to translators (HELP WANTED!)
* English, French, German, and Russian language packs
* lots of other little things you won't really care about

Upcoming versions:
* More thorough Documentation
* SMF 2.0 support ( long term - read this first )

Xornicon Altair
Woopatang
Primary.
Posted - 2009.04.13 15:51:00 - [3]
 

Thank you for taking this over!

I was a part of the testing process for this version and I must say that it's good.

5layer
Sacred Templars
Black Star Alliance
Posted - 2009.04.13 20:47:00 - [4]
 

i got following error when i click Validate Eve API Users:
Fatal error: Call to undefined method EveApi::getErrors() in /pages/6f/.../EveOnline.php on line 216

Squizz Caphinator
Woopatang
Posted - 2009.04.14 00:25:00 - [5]
 

Please address all errors and requests to this page:

ESAM Issues

Yakius Warkar
Minmatar
Lutinari Syndicate
Electus Matari
Posted - 2009.04.23 07:49:00 - [6]
 

Hello, I'm having some problems installing.. when I click the "install now" button I get this error:

Fatal error: require_once() [function.require]: Failed opening required 'Sources/EveOnline.php' (include_path='.:') in /Library/WebServer/Documents/therevolutionisnow/forum/Packages/temp/eve_online_install.php on line 27

Does anyone know how I would correct this? thanks.

Yakius Warkar
Minmatar
Lutinari Syndicate
Electus Matari
Posted - 2009.04.24 01:27:00 - [7]
 

I think i found the problem it had to do with my ftp account permissions - please ignore the above post.

metu
Minmatar
hirr
Morsus Mihi
Posted - 2009.05.05 04:41:00 - [8]
 

Mucho thx for this it certainly looks good but i'm waiting that it come avalaible to SMF 2.0 RC.

Mograph
Caldari
SwEaTy ArMpIT RaIDeRs
Posted - 2009.06.02 10:51:00 - [9]
 

What file do I point at to schedule the validation to run ever hour or so, to keep the forum up to daye with who's in and who's out?

Great mod by the way, i was using the phpBB mod but its a pain coz you cant validate api's once they are in, so if a member leaves its tricky to find them in a large alliance environment.

Squizz Caphinator
Woopatang
Posted - 2009.06.03 21:46:00 - [10]
 

Originally by: Mograph
What file do I point at to schedule the validation to run ever hour or so, to keep the forum up to daye with who's in and who's out?

Great mod by the way, i was using the phpBB mod but its a pain coz you cant validate api's once they are in, so if a member leaves its tricky to find them in a large alliance environment.


Anytime a user logs in, his API is revalidated. Once a user is created, he can always log in, but his API information and the rules you have setup determine which boards he allowed to see.

Also, the administrator has the option to revalidate all users at once:
1) Log in as Admin (or a user with admin privs)
2) Click the Admin tab
3) Under configuration, click EVE-Online settings
4) Select "Validate EVE API Users" and wait while all API's are then validated.

cheers

Nephilim667
The Cursed Navy
Posted - 2009.06.04 14:49:00 - [11]
 

Hey!

Thanks for the great work!
Will there be an update for SFM 2.0 RC somewhen soon?

Regards
Neph

Mograph
Caldari
SwEaTy ArMpIT RaIDeRs
Posted - 2009.06.04 17:33:00 - [12]
 

Originally by: Squizz Caphinator
Originally by: Mograph
What file do I point at to schedule the validation to run ever hour or so, to keep the forum up to daye with who's in and who's out?

Great mod by the way, i was using the phpBB mod but its a pain coz you cant validate api's once they are in, so if a member leaves its tricky to find them in a large alliance environment.


Anytime a user logs in, his API is revalidated. Once a user is created, he can always log in, but his API information and the rules you have setup determine which boards he allowed to see.

Also, the administrator has the option to revalidate all users at once:
1) Log in as Admin (or a user with admin privs)
2) Click the Admin tab
3) Under configuration, click EVE-Online settings
4) Select "Validate EVE API Users" and wait while all API's are then validated.

cheers


Ahh didnt realise it checked api every time they logged in.
Thanks.

Ms Leonora
Eighth Army
Posted - 2009.06.11 13:56:00 - [13]
 

Edited by: Ms Leonora on 11/06/2009 14:06:20
Originally by: Squizz Caphinator
Anytime a user logs in, his API is revalidated. Once a user is created, he can always log in, but his API information and the rules you have setup determine which boards he allowed to see.

Also, the administrator has the option to revalidate all users at once:
1) Log in as Admin (or a user with admin privs)
2) Click the Admin tab
3) Under configuration, click EVE-Online settings
4) Select "Validate EVE API Users" and wait while all API's are then validated.

cheers

Rather than checking the API every time a user logs in would it be possible to run the check once a day via a cron job or similar to avoid hammering the API server/my bandwidth ?

Also what happens if authentication fails for a long period of time e.g. the API server goes down ? Is there a limit to the number of failed attempts before the user is reverted to another group ?

Squizz Caphinator
Woopatang
Posted - 2009.06.12 19:25:00 - [14]
 

Edited by: Squizz Caphinator on 02/07/2009 18:14:38
Ms Leonora, your request comes at a good time.

Over the last week I've been rewriting the original ESAM codebase, as provided by Sasha J, into something that that can be easily extended for the many feature requests I've received. Thank you Sasha J, your codebase has pointed me in the right direction for some of the tougher problems I've faced integrating with SMF.

Since this is a rewrite/restructuring of the code, it is considered BETA until I get enough folks to say "it works!" At which time I will be starting to add the requested features. One feature already implemented in this new base is cronjob validation.

Do note, that for the time being, this new version will ignore any rules you've previously defined and any API's previously entered. This is because I have created a new table structure using table names different from the previous versions. Code to port the previous rules and API's will be coming very soon and will be fully integrated once I get some "it works" from a few of you folks.

The new beta download can be found here: ESAM v1.2.0 BETA

Ms Leonora
Eighth Army
Posted - 2009.06.13 13:17:00 - [15]
 

Superb. as soon as I can port over the current data to the new tables I'll install the beta.

Squizz Caphinator
Woopatang
Posted - 2009.06.15 18:41:00 - [16]
 

Legacy support for API and rules added by previous version of ESAM has been added to v1.2.0BETA. Please see the top post for more details.

Nephilim667
The Cursed Navy
Posted - 2009.06.16 11:10:00 - [17]
 

Sounds great but ...
Quote:
The requested URL /files/esam_1.2.0.BETA.tgz was not found on this server.

Crying or Very sad

Squizz Caphinator
Woopatang
Posted - 2009.06.16 11:28:00 - [18]
 

Edited by: Squizz Caphinator on 16/06/2009 13:02:56
Originally by: Nephilim667
Sounds great but ...
Quote:
The requested URL /files/esam_1.2.0.BETA.tgz was not found on this server.

Crying or Very sad


*eyes Google Code suspiciously*
Re-uploaded file, not sure where it went in the first place.

Squizz Caphinator
Woopatang
Posted - 2009.06.16 16:38:00 - [19]
 

ESAM 1.2.0 BETA Features

* Major code cleanup
* Many issues corrected
* Pilot names w/ corp ticker (for valid APIs of course)
* Cronjob-able!
* It's now easier to add Alliances, Corporations, and even individual pilots to the rules.

Needs confirmation:
* Does not interfere with themes, and therefore should be able to add this to any theme type without having to manually edit a thing

Upcoming
* Skill validation, add users to MemberGroups based on their skills (Carrier pilots rejoice)
* If you have more than one toon on an account, select while is your "main"
* Easily import your avatar image
* And of course, more thorough Documentation

Nephilim667
The Cursed Navy
Posted - 2009.06.16 16:46:00 - [20]
 

Hey!

Looks great, but I think I found a bug.
I get the following error message after logging in:
Quote:
Fatal error: Class 'EsamAlliance' not found in /<pathToMySMFRootDir>/Sources/EsamValidator.php on line 69


Can this be confirmed by any1 or is it just because I messed something up? I Updated from 1.08 to 2.0Beta.

Regards & tkx for the great work again so far
Neph

Squizz Caphinator
Woopatang
Posted - 2009.06.16 16:47:00 - [21]
 

Edited by: Squizz Caphinator on 16/06/2009 16:47:39
Originally by: Nephilim667
Hey!

Looks great, but I think I found a bug.
I get the following error message after logging in:
Quote:
Fatal error: Class 'EsamAlliance' not found in /<pathToMySMFRootDir>/Sources/EsamValidator.php on line 69


Can this be confirmed by any1 or is it just because I messed something up? I Updated from 1.08 to 2.0Beta.

Regards & tkx for the great work again so far
Neph


Yup, this was a bug and has been fixed. The latest copy on Google Code has the fix :)

Squizz Caphinator
Woopatang
Posted - 2009.06.16 16:48:00 - [22]
 

Since I haven't documented it, and I know the question will come up:

How do I setup the cronjob?

OK, if your forum is at http://myalliance.com/forums/
then you want to setup a cronjob to point to http://myalliance.com/forums/Sources/EsamValidator.php

CRONJOB FAQ

I recommend setting this to run once an hour. Depending on the number of API keys you have stored, it may not complete them all. The validator will stop itself after 20 seconds, and resume later where it left off. I've seen, in practice, that 3-5 users are validated in this time frame, so you can verify anywhere from 60-120 pilots in a day - fully depending on how quickly the API servers respond.

NOTE: The validator does *NOT* ever remove or delete users, it merely adds and removes their access to the membergroups as your rules are defined.

Kravek
Lamb Federation Navy
C0VEN
Posted - 2009.06.16 17:56:00 - [23]
 

How force API query for already registered members?

Squizz Caphinator
Woopatang
Posted - 2009.06.16 18:02:00 - [24]
 

Originally by: Kravek
How force API query for already registered members?


Until I implement something that forces a page redirect, you can setup MemberGroups, Boards, and Esam Rules to ensure that only people who have validated API's can read the boards that you'd like protected.

Nephilim667
The Cursed Navy
Posted - 2009.06.16 18:39:00 - [25]
 

Originally by: Squizz Caphinator
Edited by: Squizz Caphinator on 16/06/2009 16:47:39
Originally by: Nephilim667
Hey!

Looks great, but I think I found a bug.
I get the following error message after logging in:
Quote:
Fatal error: Class 'EsamAlliance' not found in /<pathToMySMFRootDir>/Sources/EsamValidator.php on line 69


Can this be confirmed by any1 or is it just because I messed something up? I Updated from 1.08 to 2.0Beta.

Regards & tkx for the great work again so far
Neph


Yup, this was a bug and has been fixed. The latest copy on Google Code has the fix :)

Tkx for the fast response. Working like a charm now. :)

Kravek
Lamb Federation Navy
C0VEN
Posted - 2009.06.17 06:31:00 - [26]
 

Next question.

Mod give/remove membership to two groups. Why he remove all additional groups that are set manualy?

Squizz Caphinator
Woopatang
Posted - 2009.06.17 14:51:00 - [27]
 

Originally by: Kravek
Next question.

Mod give/remove membership to two groups. Why he remove all additional groups that are set manualy?


Issue 48

Kravek
Lamb Federation Navy
C0VEN
Posted - 2009.06.17 16:22:00 - [28]
 

Edited by: Kravek on 17/06/2009 16:22:26
Originally by: Squizz Caphinator
Originally by: Kravek
Next question.

Mod give/remove membership to two groups. Why he remove all additional groups that are set manualy?


Issue 48


Thank you very much Smile

Squizz Caphinator
Woopatang
Posted - 2009.06.18 14:28:00 - [29]
 

Edited by: Squizz Caphinator on 30/06/2009 15:07:31
Originally by: Squizz Caphinator
Originally by: Kravek
Next question.

Mod give/remove membership to two groups. Why he remove all additional groups that are set manualy?


Issue 48


This caused a new issue, see Issue 50, which I have now corrected. The corrected Beta is available here.

Squizz Caphinator
Woopatang
Posted - 2009.06.18 20:25:00 - [30]
 

Originally by: Kravek
How force API query for already registered members?


This has now been implementd. When a user logs in, if they have an invalid (or none) API key entered they will be forwarded to their profile.


Pages: [1] 2 3 4 5 6 7 8 9

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