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
Jognu
French Kiss Singularity
#421 - 2013-04-24 19:18:43 UTC
Hm, I think TEA had a bad reaction with the 404 error on https://api.eveonline.com/.
He dropped every rights, it would be better that it do nothing if the API can't be reach.

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

Tahnil
Gunboat Commando
#422 - 2013-04-24 19:26:39 UTC
You mean the reason is that the API is currently down?
Go0fBall
State War Academy
Caldari State
#423 - 2013-04-24 20:25:04 UTC  |  Edited by: Go0fBall
Hey fellas, need some assistance. I am currently trying to setup SMF v2.04 with TEA 1.3.0 r175 linked in this thread. I'm no rocket scientist when it comes to this stuff, but installation seems to have went okay. When testing and trying to register a new character I am getting the following error:

"API System Screwed - Can't fetch Toons : bool(false)"

I thought it was an issue with the API being down, but it appears that API is back up. I tried registering on another board running TEA, and the API works. I am still getting the "API System Screwed" error on my forums. Any idea as to how to go about fixing this?
Linuz Vip
M4gnum P.I.
#424 - 2013-04-25 07:40:41 UTC  |  Edited by: Linuz Vip
Hi everyone,

I just installed TEA 1.3.0 r175 on my 1 month old SMF 2.0.4 forum.

But I cannot see where to activate it, I have no choice do do it under Features and Options.
The only place I see TEA is in my profile saying me that it is disabled... ok ... but how to enable it and where ?

Can someone copy me is forum link TEA activation page that I see where if get chance to access it on my site ?

Thanks

Edit : I tried this "index.php?action=admin;area=tea" and this "index.php?action=admin;area=tea;sa=tea" bu still on welcome page of admin section


Edit : found the issue
This is at step to modify admin.php file during install
When looking for this :
Quote:

),
),
'layout' => array(
'title' => $txt['layout_controls'],


I my Admin.php file I had a line space
Quote:

),
),

'layout' => array(
'title' => $txt['layout_controls'],


Now I have menu access...
Will check if working fine :)


EDIT 3 : WOW this is wonderfull API. Thank you so much :)

++
Linuz Vip
Jognu
French Kiss Singularity
#425 - 2013-04-27 14:00:22 UTC
Tahnil wrote:
You mean the reason is that the API is currently down?

Yes it was the reason.

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

Manic Velocity
Federal Navy Academy
Gallente Federation
#426 - 2013-05-03 16:07:30 UTC
This is an awesome mod, and does exactly what I need it to do! I help run a multi-game community forum, and I wanted to use this mod for our EVE players.

I have somewhat unique-case scenario that I'm hoping could be addressed in a future release. I am an admin on my forums, but I do not have access to setup a cron job to automate corp checks. I'm wondering if there are any plans to implement this kind of automation via the SMF Scheduled Tasks feature?

http://www.simplemachines.org/community/index.php?topic=329894.0

In the meantime, I'll talk to my db admin and see if he'd be willing to setup the cron. Thanks for the help!

"The most punchable face in New Eden."

Be excellent to each other.

Twitter | Twitch | YouTube

dephekt
Imperial Academy
Amarr Empire
#427 - 2013-05-18 16:11:51 UTC  |  Edited by: dephekt
The current link for the development version of TEA (1.3.0 r169) seems to be broken at the moment. I had a hard time finding a source repository containing the development version on my own, but I eventually did and figured I would upload the dev package to my web server for the moment in case anyone needs to download it and doesn't want to go through hoops.

gzip archive (Linux): http://dephekt.net/tea_1-3-0_r169.tar.gz
Zip archive (Windows): http://dephekt.net/tea_1-3-0_r169.zip

You can download the above package and upload/install to SMF via the Package Manager > Download Packages section in the administration center for SMF.

For the technically curious:
The source code was pulled via subversion from http://temars-eve-api.googlecode.com/svn/trunk/ and I simply did an svn checkout and compressed the resulting files, excluding the .svn directory.

For the paranoid admin:
I have provided an SHA-256 hash of both archives for data assurance:

tea_1-3-0_r169.tar.gz
0cb828be78c0f43bec2bf1f319ba322cdef712b5922ad7b826abbaddfc2e5fce

tea_1-3-0_r169.zip
fd78e77acc4b5d615d75b5fdab76597c5ac3707c2beb15d82aee25d01d81e39f

You should be able to replicate these hashes by following my step under "For the technically curious" to confirm my versions have not been compromised.
Siphix Adestur
Doomheim
#428 - 2013-05-18 17:03:38 UTC
Hi,

I recently installed the latest dev build of TEA and under the settings page where I have to input API for standings. There is no button to fetch characters. I have changed the permissions for file TEA_xmlhttp.php to 0644 to no avail. Any ideas?
dephekt
Imperial Academy
Amarr Empire
#429 - 2013-05-18 17:13:41 UTC  |  Edited by: dephekt
Siphix Adestur wrote:
Hi,

I recently installed the latest dev build of TEA and under the settings page where I have to input API for standings. There is no button to fetch characters. I have changed the permissions for file TEA_xmlhttp.php to 0644 to no avail. Any ideas?

As far as I can tell, there simply is no button to fetch characters on that form. You just type in the key info and hit Enter while inside one of the fields. The "Save" button at the bottom of that page also works to submit the form data.

That being said, you have to update two files with the current EVE API URL before API fetching works at all. There are two files under the Sources directory in your SMF installation, one called TEAC.php and the other TEA.php. In both of these files, you need to search for the following URL: http://api.eve-online.com and replace it with https://api.eveonline.com. There are three instances in the first file and one instance in the second file.

The above is required in addition to setting the correct EVE API URL in the SMF TEA options menu to https://api.eveonline.com.
Siphix Adestur
Doomheim
#430 - 2013-05-18 17:34:18 UTC
dephekt wrote:
Siphix Adestur wrote:
Hi,

I recently installed the latest dev build of TEA and under the settings page where I have to input API for standings. There is no button to fetch characters. I have changed the permissions for file TEA_xmlhttp.php to 0644 to no avail. Any ideas?

As far as I can tell, there simply is no button to fetch characters on that form. You just type in the key info and hit Enter while inside one of the fields. The "Save" button at the bottom of that page also works to submit the form data.

That being said, you have to update two files with the current EVE API URL before API fetching works at all. There are two files under the Sources directory in your SMF installation, one called TEAC.php and the other TEA.php. In both of these files, you need to search for the following URL: http://api.eve-online.com and replace it with https://api.eveonline.com. There are three instances in the first file and one instance in the second file.

The above is required in addition to setting the correct EVE API URL in the SMF TEA options menu to https://api.eveonline.com.



Thank you for the quick response and fix!
dephekt
Imperial Academy
Amarr Empire
#431 - 2013-05-18 17:36:11 UTC
Siphix Adestur wrote:
dephekt wrote:
Siphix Adestur wrote:
Hi,

I recently installed the latest dev build of TEA and under the settings page where I have to input API for standings. There is no button to fetch characters. I have changed the permissions for file TEA_xmlhttp.php to 0644 to no avail. Any ideas?

As far as I can tell, there simply is no button to fetch characters on that form. You just type in the key info and hit Enter while inside one of the fields. The "Save" button at the bottom of that page also works to submit the form data.

That being said, you have to update two files with the current EVE API URL before API fetching works at all. There are two files under the Sources directory in your SMF installation, one called TEAC.php and the other TEA.php. In both of these files, you need to search for the following URL: http://api.eve-online.com and replace it with https://api.eveonline.com. There are three instances in the first file and one instance in the second file.

The above is required in addition to setting the correct EVE API URL in the SMF TEA options menu to https://api.eveonline.com.



Thank you for the quick response and fix!

Not a problem man, I just went through the process myself on a new forum install so I already had the info. Just took a simple grep command to find the files containing the old API URL.
Siphix Adestur
Doomheim
#432 - 2013-05-18 18:01:43 UTC
Also one last question. Is there a way to make it so that when a person registers there username shows up as there character name on forums instead of the one they registered with?
dephekt
Imperial Academy
Amarr Empire
#433 - 2013-05-18 18:31:00 UTC  |  Edited by: dephekt
Siphix Adestur wrote:
Also one last question. Is there a way to make it so that when a person registers there username shows up as there character name on forums instead of the one they registered with?

I think on the SMF options and configuration page for TEA, there's an option in the settings for "Is Real name Locked to Characters" and I think you need to have this checked to get what you're looking for. I could be wrong, as this is the first time I've setup SMF and TEA, so I'm going through some of the same issues you are while I'm testing account creation and group memberships.
Nutbolt
University of Caille
Gallente Federation
#434 - 2013-05-19 21:08:26 UTC  |  Edited by: Nutbolt
Edit: Problem solved.

However it doesn't appear to be removing people from jabber if they leave the corp. I run the jabber access cron every hour.
dephekt
Imperial Academy
Amarr Empire
#435 - 2013-05-20 20:33:14 UTC  |  Edited by: dephekt
Shin Chogan wrote:

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 :)

I'm using TEA r175 (SMF 2.0.4) and my corp standings are not updating on the settings page. I can register a corp member successfully and he gets put into the correct corp groups. I simply can't get it to recognize blue people. I get three undefined index errors in SMF's log when I click save on the API standings admin settings page:

File: /var/www/forums.example.net/public_html/Sources/TEA.php
Line: 1501 - Function: settings_settings($scripturl)
Line: 1510 - 8: Undefined index: tea_api
Line: 1511 - 8: Undefined index: tea_userid
Line: 1512 - 8: Undefined index: tea_charid

I also have no /TEA/eve_standings.php file being created, if that makes any difference; but /TEA/eve_corplist.php is being created and populated.

The problem also existed in my r169 (official dev release) version before I deleted it and installed the branched r175.

I've tried following the call in the PHP from the initial settings submission to the actual standings being checked on the API, but I eventually get lost in the code before I can make all the connections to the final call to the API (I'm not a PHP developer).

Any help leading to a solution would be appreciated by way of a few hundred million ISK/hour donation (to anyone). I can provide additional details, like POST request output and other technical info from Firebug as well, if needed.
Siphix Adestur
Doomheim
#436 - 2013-05-21 14:09:24 UTC  |  Edited by: Siphix Adestur
ISsue solved
Nash Erquillenne
Creatronics
#437 - 2013-05-23 08:41:27 UTC  |  Edited by: Nash Erquillenne
Hi there

A year ago, I used TEA's latest version available from [here] on my corp's SMF forum but trashed it when that corp was disbanded.

As I'm back in the game since a few weeks, I'm wanting to use this tool again but the versions available from [there] seem outdated.

Could you please tell me where I could find a version of TEA which works both with the current API system and SMF 2.0.4 ?

Thanks in advance :)

Edit: I tried the version 175 but its says my API key is not a character key, although it is
d3athmane
Caldari Provisions
Caldari State
#438 - 2013-05-27 04:49:13 UTC  |  Edited by: d3athmane
Can someone help me with this one?

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/matsuyah/public_html/Sources/TEAC.php:366 Stack trace: #0 /home/matsuyah/public_html/Sources/TEAC.php(366): SimpleXMLElement->__construct('') #1 /home/matsuyah/public_html/Sources/TEAC.php(38): TEACN->corp_info('98115691') #2 /home/matsuyah/public_html/Sources/TEA.php(1717): TEAC->corp_info('98115691') #3 /home/matsuyah/public_html/Sources/TEA.php(1317): TEA->settings_rules('http://matsuyah...') #4 /home/matsuyah/public_html/Sources/TEA.php(2985): TEA->Settings('http://matsuyah...') #5 /home/matsuyah/public_html/Sources/Admin.php(519): ModifyTEASettings() #6 [internal function]: AdminMain() #7 /home/matsuyah/public_html/index.php(151): call_user_func('AdminMain') #8 {main} thrown in /home/matsuyah/public_html/Sources/TEAC.php on line 366

ISSUE Resoved via update to r175
Czar Falcorr
Light Style
The Gorgon Spawn
#439 - 2013-05-27 20:05:28 UTC  |  Edited by: Czar Falcorr
Guys is development of this script still alive? Where did you get r175?
Repository at code.google.com has only r169
Also the repository there was not updated since 2011 and most of the issues are open and not assigned/accepted.
Bumse
Caldari Provisions
Caldari State
#440 - 2013-05-29 09:53:14 UTC  |  Edited by: Bumse
Shin Chogan wrote:

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.

Hiya!
I got the same error here. I don't mean to stress or anything, just check up on status :)

We also got a number of users that has all kinds of duplicates after the upgrade to r175 ... will the suggested workaround of emptying the character table work?

Bring EVE into the 21st century, add some basic chat features IRC-clients have had since the beginning of the 1990's. Get proper chat hilighting into EVE! https://forums.eveonline.com/default.aspx?g=posts&t=97035