These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Omni EVE API: Integrating EVE and Drupal (7.x-2.0-rc8)

First post
Author
0mni Ca
Brutor Tribe
Minmatar Republic
#41 - 2013-10-19 04:53:54 UTC
0mni Ca
Brutor Tribe
Minmatar Republic
#42 - 2013-10-24 06:02:52 UTC
0mni Ca
Brutor Tribe
Minmatar Republic
#43 - 2013-11-06 21:08:38 UTC
EEPLURIBUS
Heavily Redacted
Sky Daddy Ranch
#44 - 2013-11-17 22:33:08 UTC  |  Edited by: EEPLURIBUS
Nevermind, I have a buddy helping me.

Nothing to see here.

Daquaris
Aegis Victorium
The Initiative.
#45 - 2013-12-01 14:54:04 UTC
Awesome project!

I like to force myself to rotate API keys, is it possible to have the CEO key allow expiry?
0mni Ca
Brutor Tribe
Minmatar Republic
#46 - 2013-12-01 21:10:52 UTC
Daquaris wrote:
Awesome project!

I like to force myself to rotate API keys, is it possible to have the CEO key allow expiry?

Yes, but not something I would change, because without they key, your site would shut down. But, there is nothing wrong with you updating the key your self.
ShadowandLight
Trigger Happy Capsuleers
#47 - 2013-12-09 21:03:57 UTC  |  Edited by: ShadowandLight
- is there a forum bridge to PHPBB or SMF that you recommend?

- if someone has a neutral or negative standing alt on their account, is there a way to block registration till a admin can look at it?

- anyway to control who is able to send broadcasts to jabber groups? Ideally a restricted list (without having to dive into openfire's admin panel?)

- when sending a broadcast via jabber, can the same message be simulcasted to an email address and perhaps a skype name?
Ariel Rin
Tactically Challenged
The Initiative.
#48 - 2013-12-12 09:12:09 UTC  |  Edited by: Ariel Rin
Okay, after hours of poking stuff to make it work i've come to a conclusion I'm missing something

I've configured drupal correctly to the point that the eve API is working fine, users can register and all that happy stuff

but in configuring the teamspeak connection i simply get a "TeamSpeak 3 Connection failed. Error: Connection timed out" 3.0.10.1 TS3 for reference

not the greatest of errors, i cant tell if the process is failing to run or the server is rejecting the connection, im not expecting someone to solve my problem - but id really like to know what is actually going wrong

I can telnet into my TS3 server on query port 30384 and run a

login XXX XXX
use port=11117 (or use sid=689)
serverinfo

yay! returns data

Identical configuration in drupal and no dice, about to hook up a jabber client to test if that works

Can i identify whether my host is preventing the PHP script from getting out to the TS host or where the connection is going wrong?

Any help would be appreciated, I've been thrown in the deep end setting this up and really enjoying the challenge

EDIT @ShadowandLight, stay away from bridging the two man, back in drupal 5 it was alright with drupalsmf, but since progress stopped on that most bridges are basically auth hacks, nothing nice, especially not trying to tie into groups and omni

Ariel Rin

Creator and Manager of EVE Meet, for notification and sharing of out of game meets.

Twitter - Ariel Rin - EVE Meet

0mni Ca
Brutor Tribe
Minmatar Republic
#49 - 2013-12-13 16:43:07 UTC  |  Edited by: 0mni Ca
Sorry for not replying here. I use drupal.org's site for all issues as I get instant email notifications :) I use this thread mainly as a "beacon" for people to find the mod :)

ShadowandLight wrote:
- is there a forum bridge to PHPBB or SMF that you recommend?

No, I don't like bridges myself. I did hear that someone was building something that would connect multiple platforms, but I can't remember what its called or the status of it, last I heard it was still in development.

ShadowandLight wrote:
- if someone has a neutral or negative standing alt on their account, is there a way to block registration till a admin can look at it?

At the moment, its not a possibility. The way it works is it looks to see that there is at least one character on the account with positive standings, or in the alliance/corporation, and then provides a list of names that are approved for the user to select. I don't have the time at the moment to alter what you would ask to to do, although it would not take much to accomplish.

ShadowandLight wrote:
- anyway to control who is able to send broadcasts to jabber groups? Ideally a restricted list (without having to dive into openfire's admin panel?)

That is done entirely through Openfire.

ShadowandLight wrote:
- when sending a broadcast via jabber, can the same message be simulcasted to an email address and perhaps a skype name?

Again, through Openfire, but I believe it can be done, I think ....

Ariel Rin wrote:
Okay, after hours of poking stuff to make it work i've come to a conclusion I'm missing something

I've configured drupal correctly to the point that the eve API is working fine, users can register and all that happy stuff

but in configuring the teamspeak connection i simply get a "TeamSpeak 3 Connection failed. Error: Connection timed out" 3.0.10.1 TS3 for reference

Since you can connect remotely to your TS3 server, I am assuming from your own computer? It is most likely a combination of the following issues:

1. You need to query whitelist your web servers host IP address on TS3, good TS3 providers allow you to do this, its very simple for them to do.

2. Your hosting provider has blocked outgoing port 30384, which is not uncommon on shared hosting as they only allow certain ports to be open for incoming and outgoing, if you are on shared hosting chances are you won't be able to fix this.

Can you ssh into your hosting providers web server and try to telnet to your TS3 server ?
Ariel Rin
Tactically Challenged
The Initiative.
#50 - 2013-12-14 07:24:52 UTC
Thanks omni - i actually figured it out last night after tons of bashing my face in

I am incredibly happy with the system so far its working EXACTLY as i want

gonna make my life a lot easier!

Ariel Rin

Creator and Manager of EVE Meet, for notification and sharing of out of game meets.

Twitter - Ariel Rin - EVE Meet

Plain213
Macabre Votum
Northern Coalition.
#51 - 2013-12-27 17:26:14 UTC
raised an issue on drupal page if you could take a look please :)

Plain
Corniel Miranos
Sebiestor Tribe
Minmatar Republic
#52 - 2014-02-07 00:55:58 UTC
Hi, must say this installed smoothly :)

A note of improvement, recruitment

I believe it would be very interesting if you could include a "recruit" status to the website. The idea is that the recruiter would have to tell the recruitee to register on their website and import the API themselves. Thus sparing the recruiter lot's of wasted time and energy. Once this is done, the recruiter can then go on the server and look for the list of people with out any groups. Or to put it in words, people who aren't blue, red, or in the alliance. Basically neutrals :) then the recruiter would flag the account as a "recruit". Then a new page would come up with full api details, easy links to website like "jackknife" "evewho" etc... as well as a click google of the characters name.

An other thing that can be added is the feature to enable recrutement logging. Each time a recruiter speaks to the recruits he can open is file and view past conversation. Once the recruiter is done talking to the recruit, he copies and paste the full content of the chat into a designated text entry area and submits it. Once submitted the data is save for later authentication and validation. AKA if the recruit tells recruiter A that he as a DOG and then tells recruiter B in a different chat that he as a CAT but not a DOG. You then know that the recruit is lying to you.


Other advantages are that if the recruit is recruited he is already pre-registered on the website and is access will all be spreaded on the next update.

I hope this makes sense to you :)
Corniel Miranos
Sebiestor Tribe
Minmatar Republic
#53 - 2014-02-07 02:06:53 UTC  |  Edited by: Corniel Miranos
Also, I am getting issues when setting "main character" basically the API pulls the names, but it doesn't show up on the drop down list.


EDIT: It seems I have resolved the issue, if you are in a corporation it will not pull the "corporation" name into the "alliance corporation" list you have to enter it manually.

An other issue I found is when you create an account by entering the API, it will then ask you to create a user name and enter your email. The issue is once you have authenticated your email your API is not saved. So you need to re-enter the API to be able to set your characters name. You are basically going in loops here.
Ari Chanlin
Aliastra
Gallente Federation
#54 - 2014-02-15 21:58:06 UTC
Issue with jabber groups

The jabber integration works fine for the latest beta posted to Drupal, but it adds every new registration to all the groups in Drupal; This behavior does not happen for the Teamspeak module.

As a workaround, I have disabled the ability to view contact lists on the openfire server, except for one, and have been manually administering placing users into groups that only exist in openfire, not Drupal. This is sub-optimal. I was able to manually patch the jabber php code so that it only adds users to a default group and hardcoded that, but this is also sub-optimal.

jant peuk
Sebiestor Tribe
Minmatar Republic
#55 - 2014-02-26 12:31:52 UTC
keep getting errors with filling in the api on the managment page

i know it can read and parse the xml as our smf forums use tea

so any help on the matter would be greatly apreciated
0mni Ca
Brutor Tribe
Minmatar Republic
#56 - 2014-02-26 23:53:45 UTC
Ari Chanlin wrote:
Issue with jabber groups

The jabber integration works fine for the latest beta posted to Drupal, but it adds every new registration to all the groups in Drupal; This behavior does not happen for the Teamspeak module.

As a workaround, I have disabled the ability to view contact lists on the openfire server, except for one, and have been manually administering placing users into groups that only exist in openfire, not Drupal. This is sub-optimal. I was able to manually patch the jabber php code so that it only adds users to a default group and hardcoded that, but this is also sub-optimal.


I am going to be changing the way the module works with Openfire, I am no longer going to be syncronizeing groups and adding users to groups. I recommend using chat rooms in future.
jant peuk wrote:
keep getting errors with filling in the api on the managment page

i know it can read and parse the xml as our smf forums use tea

so any help on the matter would be greatly apreciated

I'm sorry, my powers of mind reading seem to be failing me, any information you can give would be good.
Corniel Miranos wrote:
An other issue I found is when you create an account by entering the API, it will then ask you to create a user name and enter your email. The issue is once you have authenticated your email your API is not saved. So you need to re-enter the API to be able to set your characters name. You are basically going in loops here.

What additional modules do you have installed, no issues that you describe are occuring on my sites.
jant peuk
Sebiestor Tribe
Minmatar Republic
#57 - 2014-02-27 08:49:57 UTC
EVE API returned an error with the HTTP request. (APIKeyInfo?keyID=******9&vCode=***************) Error: String could not be parsed as XML
tomd741
Pure Victory
#58 - 2014-02-27 17:42:50 UTC  |  Edited by: tomd741
I updated CTools and Libraries as they kept bothering me there was a security update. Now when I got to the TS3 settings section there isn't a drop down box for a group that is excluded from API validation. As a result when I update the TS3 settings and hit save I get:

Notice: Undefined index: bypass_group in eve_api_teamspeak_admin_form_submit() (line 398 of /home/user/public_html/mjolnirbloc/modules/eve_api/eve_api_teamspeak/eve_api_teamspeak.admin.inc).

Ctools: 7.x-1.4
Librariers: Libraries 7.x-2.2

EDIT: I ended up commenting out the line to check for bypass_group in the admin.inc file. I also upgraded to the latest dev version to fix the issue with too many people and the cron not completing. (posted that on your tickets)

Check out my Bio for the Ore Buyback Calculator

Peter Dostoevsky
Friendly Riot
Good Mental
#59 - 2014-03-01 22:48:56 UTC
Ari Chanlin wrote:
Issue with jabber groups

The jabber integration works fine for the latest beta posted to Drupal, but it adds every new registration to all the groups in Drupal; This behavior does not happen for the Teamspeak module.

As a workaround, I have disabled the ability to view contact lists on the openfire server, except for one, and have been manually administering placing users into groups that only exist in openfire, not Drupal. This is sub-optimal. I was able to manually patch the jabber php code so that it only adds users to a default group and hardcoded that, but this is also sub-optimal.



Can you share the Jabber PHP patch?
0mni Ca
Brutor Tribe
Minmatar Republic
#60 - 2014-03-01 23:24:12 UTC
Peter Dostoevsky wrote:
Can you share the Jabber PHP patch?

The latest changes can be retrieved from the DEV branch.