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.
 

TEA (v1.2.1) - Member Management Mod for SMF 2, TeamSpeak 3 and Jabber

First post
Author
Erwin Krym'L
Bitslix
Lolsec Fockel
#401 - 2013-03-26 10:52:40 UTC
Thanks so far.

1. API Key is only used for that particular forum.
2.+3. SMF 2.0.4 -- blank new install.

Turns out, i can register with another account's char without problem (avatar, name etc. loaded without issues).
It's just the TEA config that somehow behaves strange and thus me not being able to bind that key to my eve char/account ...
Shin Chogan
Federal Navy Academy
Gallente Federation
#402 - 2013-03-26 11:02:18 UTC
Jognu wrote:
Shin Chogan wrote:
Jognu wrote:
I switched from postgresql to MySQL, it works great !

I have a request : could you add the ability to register an account without the need of fill the API ?
I didn't tick the "Is a Valid Api required to Register?", but when I try to register I have the error : "The API needs to show All characters on the account" (the ID and the verification code are blank and I didn't click the "Get Characters" button).

Thanks !


I'll look at that soonish ... I added the check for an account type key to try prevent people having toons in red corps on the same account ... no need to make it easy for them :) I didn't even think that people would want to allow registration without an api.

Hi Shin,

Any changes for this ?
If it's easy to change you can just give the line to modify and I do the trick ;)


There is an option on the tea settings page to choose if api keys are required for registration - it was already there ... clear this :)

Unfortunately there is also a bug with that option but I've fixed that

Version 175

This version also includes a new script to run that cleans up orphaned api keys and characters - it is in the TEA subdirectory called db_clean_up.php.

You can run this as and when you feel like it :)
Shin Chogan
Federal Navy Academy
Gallente Federation
#403 - 2013-03-26 11:07:20 UTC
Erwin Krym'L wrote:
I just installed the latest rev (174), but feel utterly dumb atm.
When setting up the TEA Mod, i enter the api key, which has full access on the char, but all I get as response is
"A Full API Key is Required for Standings"...

Any ideas on that one?!??

(key has full access, is valid, no expiry, server to get data from is setup with https protocoll)

btw. I get that message even when I enter a totally messed up serveraddress to fetch the api data from?!??



is it the bit that says all in black ? :


The API info needed here is to get Standings
A Full API Key is Required for Standings


If so then the second part isn't an error just information :)
Erwin Krym'L
Bitslix
Lolsec Fockel
#404 - 2013-03-26 11:33:47 UTC  |  Edited by: Erwin Krym'L
Exactly that message. Ok, then i misinterpreted it Roll
Thanks so far ...


Still.... i'm not able to link my admin's forum account to my eve toon.

When I enter the same API key on the profile's eve api config, I get
"[ERROR] Api must be of Type Character and show ALL toons :)"

When I enter another API key, i receive:
"[ERROR] Character already listed with a different api key"

(btw. I upgraded to rev 175)

---

PROBLEM SOLVED.
Although i dont have the slightest idea what may have changed -- it now works.
Shin Chogan
Federal Navy Academy
Gallente Federation
#405 - 2013-03-26 12:37:31 UTC
Erwin Krym'L wrote:
Exactly that message. Ok, then i misinterpreted it Roll
Thanks so far ...


Still.... i'm not able to link my admin's forum account to my eve toon.

When I enter the same API key on the profile's eve api config, I get
"[ERROR] Api must be of Type Character and show ALL toons :)"

When I enter another API key, i receive:
"[ERROR] Character already listed with a different api key"

(btw. I upgraded to rev 175)

---

PROBLEM SOLVED.
Although i dont have the slightest idea what may have changed -- it now works.


Glad you got it working.

I've just looked at the code for all this ... looks like the switch to CAK keys wasn't quite complete for this section and then I added in the checks for duplicate chars which could be confilicting too.
I can't replicate your issues on my boards BUT there are more underlying broken things here that need fixing in the longer term :(
Erwin Krym'L
Bitslix
Lolsec Fockel
#406 - 2013-03-26 17:41:51 UTC
I'll try again anytime soon on a "non productive environment" and report back if I'm able to reproduce it.
Jognu
French Kiss Singularity
#407 - 2013-03-27 20:29:28 UTC
Shin Chogan wrote:
Jognu wrote:
Shin Chogan wrote:
Jognu wrote:
I switched from postgresql to MySQL, it works great !

I have a request : could you add the ability to register an account without the need of fill the API ?
I didn't tick the "Is a Valid Api required to Register?", but when I try to register I have the error : "The API needs to show All characters on the account" (the ID and the verification code are blank and I didn't click the "Get Characters" button).

Thanks !


I'll look at that soonish ... I added the check for an account type key to try prevent people having toons in red corps on the same account ... no need to make it easy for them :) I didn't even think that people would want to allow registration without an api.

Hi Shin,

Any changes for this ?
If it's easy to change you can just give the line to modify and I do the trick ;)


There is an option on the tea settings page to choose if api keys are required for registration - it was already there ... clear this :)

Unfortunately there is also a bug with that option but I've fixed that

Version 175

This version also includes a new script to run that cleans up orphaned api keys and characters - it is in the TEA subdirectory called db_clean_up.php.

You can run this as and when you feel like it :)

Works great, thanks !

EveAI developper: https://forums.eveonline.com/default.aspx?g=posts&t=21803

Demitrios
Di-Tron Heavy Industries
OnlyFleets.
#408 - 2013-04-10 16:38:06 UTC
Just tried to run the DB clear up, and PHP says...

Quote:
PHP Notice: Undefined variable: userid in /***/public_html/test/TEA/db_clean_up.php on line 26
PHP Notice: Undefined variable: userid in /***/public_html/test/TEA/db_clean_up.php on line 27


It also tries to kick out a webpage in a shell saying "The database value you're trying to insert does not exist: userid", which is obviously related to the PHP notice.

Any ideas?

Thanks,

Demi
Shin Chogan
Federal Navy Academy
Gallente Federation
#409 - 2013-04-11 22:25:36 UTC  |  Edited by: Shin Chogan
Demitrios wrote:
Just tried to run the DB clear up, and PHP says...

Quote:
PHP Notice: Undefined variable: userid in /***/public_html/test/TEA/db_clean_up.php on line 26
PHP Notice: Undefined variable: userid in /***/public_html/test/TEA/db_clean_up.php on line 27


It also tries to kick out a webpage in a shell saying "The database value you're trying to insert does not exist: userid", which is obviously related to the PHP notice.

Any ideas?

Thanks,

Demi


Hmmm ... that script shouldn't be trying to insert anything :)


when you say you tried to run it how exactly are you running it ?


edit ... never mind, I think I found the problem ... give me a bit to release a fix.
epsilonion
CLOVEN SKY
#410 - 2013-04-14 16:04:46 UTC  |  Edited by: epsilonion
Fresh install of TEA r 175.

Having a problem when trying to register a user, when entering a vailid API and clickin get characters I get the error:

Error 203 (authentication failiure).


CEO full api was used in the settings, the old problem of https:// is correctly entered into the files.

any idea guys?

[u]Boom you went BOOM!![/u]

Jognu
French Kiss Singularity
#411 - 2013-04-15 06:50:35 UTC
Did you try to remove the API key and add it again ?
I had a similar problem for one of my users.

EveAI developper: https://forums.eveonline.com/default.aspx?g=posts&t=21803

epsilonion
CLOVEN SKY
#412 - 2013-04-15 09:40:31 UTC  |  Edited by: epsilonion
Jognu wrote:
Did you try to remove the API key and add it again ?
I had a similar problem for one of my users.



Tried that, when I tried to login with an alt it did it then after a while it gave me the char names..

Ha figured it out. you have to refresh the page.. bloody stupid thing

when you put the api info in it does not refresh and get the char names you have to press register then reenter the details, then click get chars, now it works and you can register.

Any ideas as I know a few people are having this problem?

[u]Boom you went BOOM!![/u]

Tahnil
Gunboat Commando
#413 - 2013-04-19 11:08:01 UTC
rootimus maximus wrote:
Issue 1: forum profile > personalised picture > I want to use my Eve avatar. The image displays correctly, but when I save my settings it goes back to "no avatar" and doesn't disply one.

Issue 2: I can't see any Jabber options at all in the admin menu, although users can see a tab (with no options) on their profile.

TEA Version: 1.3.0 r168
SMF version: 2.0.1

Anyone able to help?


I've got a similar problem in Version: 1.3.0 r171

The thing is, while most avatars in my forum are displayed correctly (image url is CCP imageserver) some avatars are not shown at all (image url points to avatar sub-folder of my SMF installation).

Any ideas?
epsilonion
CLOVEN SKY
#414 - 2013-04-20 11:19:40 UTC
Tahnil wrote:
rootimus maximus wrote:
Issue 1: forum profile > personalised picture > I want to use my Eve avatar. The image displays correctly, but when I save my settings it goes back to "no avatar" and doesn't disply one.

Issue 2: I can't see any Jabber options at all in the admin menu, although users can see a tab (with no options) on their profile.

TEA Version: 1.3.0 r168
SMF version: 2.0.1

Anyone able to help?


I've got a similar problem in Version: 1.3.0 r171

The thing is, while most avatars in my forum are displayed correctly (image url is CCP imageserver) some avatars are not shown at all (image url points to avatar sub-folder of my SMF installation).

Any ideas?


I have just installed r175 with no problems

[u]Boom you went BOOM!![/u]

Shin Chogan
Federal Navy Academy
Gallente Federation
#415 - 2013-04-20 13:07:56 UTC
epsilonion wrote:
Jognu wrote:
Did you try to remove the API key and add it again ?
I had a similar problem for one of my users.



Tried that, when I tried to login with an alt it did it then after a while it gave me the char names..

Ha figured it out. you have to refresh the page.. bloody stupid thing

when you put the api info in it does not refresh and get the char names you have to press register then reenter the details, then click get chars, now it works and you can register.

Any ideas as I know a few people are having this problem?



Having registered lots of accounts during various bits of testing I can honestly say I've never seen this and the only thing I've had to do is wait a bit on the api fetch to complete :).
Shin Chogan
Federal Navy Academy
Gallente Federation
#416 - 2013-04-20 13:09:33 UTC
Tahnil wrote:
rootimus maximus wrote:
Issue 1: forum profile > personalised picture > I want to use my Eve avatar. The image displays correctly, but when I save my settings it goes back to "no avatar" and doesn't disply one.

Issue 2: I can't see any Jabber options at all in the admin menu, although users can see a tab (with no options) on their profile.

TEA Version: 1.3.0 r168
SMF version: 2.0.1

Anyone able to help?


I've got a similar problem in Version: 1.3.0 r171

The thing is, while most avatars in my forum are displayed correctly (image url is CCP imageserver) some avatars are not shown at all (image url points to avatar sub-folder of my SMF installation).

Any ideas?


So the Eve avatar option works but images from the avatar subfolder don't work ? Sounds like a permissions problem on that avatar folder. Check your webserver logs.
Tahnil
Gunboat Commando
#417 - 2013-04-23 17:48:04 UTC
Will do.

New problem: Several Users have been locked out. Error Log says: „Toons exist“.
A user reported the following error message: „[ERROR] Character already listed with a different api key“

Does anybody have an idea of what went wrong?
Tahnil
Gunboat Commando
#418 - 2013-04-23 22:00:05 UTC
Some more information. In the error log I can find the following entry:

http://xxxxxxxxx/forum/index.php?action=profile;area=tea;sa=api;u=34
2: Invalid argument supplied for foreach()
File: /var/www/eve-community/forum/Sources/TEA.php
Line: 3257
Tahnil
Gunboat Commando
#419 - 2013-04-24 15:20:54 UTC
Tahnil wrote:
Will do.

New problem: Several Users have been locked out. Error Log says: „Toons exist“.
A user reported the following error message: „[ERROR] Character already listed with a different api key“

Does anybody have an idea of what went wrong?


I "solved" the problem by basically emptying the characters table and running the checks again.
Tahnil
Gunboat Commando
#420 - 2013-04-24 19:13:00 UTC  |  Edited by: Tahnil
Dammit. I thought I solved the problem, but now, after nearly 24 hours, all (!) users have been locked out. But with a different error message:

Status: API Error (no error message)
Main Matched Rule: NO API

The characters table is empty now, mysql table "smf_tea_api" shows the error message "errorid=0" "no error message".