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.3.1) - Member Management Mod for SMF 2, TeamSpeak 3 and Jabber

Author
Ynot Eyob
Nisroc Angels
The Obsidian Front - Reborn
#61 - 2013-11-11 08:46:08 UTC
Yoshmoto wrote:
Hey,

Getting errors on this Package.

Nothing seems to be working lol. Its not pulling any API's

I can ping the api server.

I have:

XAMPP on a Windows 2k8 server.
SMF 2.0.6
Temars EVE API 1.3.1 r4
Curl appears to be enabled in php.ini

I don't think it is pulling the API properly.

API Page

DB Error

Screwed Error


You have the same issue as i we had. Windows cURL doesnt use a propper CA when contacting the API server.

https://forums.eveonline.com/default.aspx?g=posts&m=3804222#post3804222

Nisroc - Angel of Freedom Nisroc is known as "The Great Eagle".

Shin Chogan
Federal Navy Academy
Gallente Federation
#62 - 2013-11-11 13:14:45 UTC
Yoshmoto wrote:
Hey,

Getting errors on this Package.

Nothing seems to be working lol. Its not pulling any API's

I can ping the api server.

I have:

XAMPP on a Windows 2k8 server.
SMF 2.0.6
Temars EVE API 1.3.1 r4
Curl appears to be enabled in php.ini

I don't think it is pulling the API properly.

API Page

DB Error

Screwed Error


Assuming what Ynot was saying is correct then try finding :

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

on line 183 in TEAC.php and adding

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);

on the next line.

Zenith Gravit
LionGate Enterprises
#63 - 2013-11-14 02:25:30 UTC
I'm not sure if this have been covered in a previous thread or not, there was a little too much to read through. My corp has friends that are in NPC corps, the individuals are set light blue at the corporation, but are not being placed in the Blues group. Will TEA not work with individual character standings?
1Gordon Gekko1
Handsome Millionaire Playboys
Sedition.
#64 - 2013-11-15 05:31:30 UTC
Alright, everything seems to working like a champ except for this one odd detail, when we have used go to their profile and try and use the eve avatar, it will pull up the right pic for whichever toon they select, but when they save it, we end up with just the broken pic image. this happens regardless of whatever size we set the avatar size to.

Thought? Something silly I am overlooking?

(Thanks for your time on this epic mod!)
Shin Chogan
Federal Navy Academy
Gallente Federation
#65 - 2013-11-15 10:17:30 UTC
1Gordon Gekko1 wrote:
Alright, everything seems to working like a champ except for this one odd detail, when we have used go to their profile and try and use the eve avatar, it will pull up the right pic for whichever toon they select, but when they save it, we end up with just the broken pic image. this happens regardless of whatever size we set the avatar size to.

Thought? Something silly I am overlooking?

(Thanks for your time on this epic mod!)


I've not had this issue but that sounds more like a smf path/permissions problem to me rather than something specific to smf ... when you right click on the broken link image what is the path/filename ? You'll need to dig in there and see if the folder permissions are correct or if the path is even correct.
Shin Chogan
Federal Navy Academy
Gallente Federation
#66 - 2013-11-15 10:38:36 UTC
Zenith Gravit wrote:
I'm not sure if this have been covered in a previous thread or not, there was a little too much to read through. My corp has friends that are in NPC corps, the individuals are set light blue at the corporation, but are not being placed in the Blues group. Will TEA not work with individual character standings?



I don't think it was covered before ... I know I've not looked at that section of code ... it appears to only look at at the toons Alliance and Corp and compares that to the standings fetched from the master api key.

1Gordon Gekko1
Handsome Millionaire Playboys
Sedition.
#67 - 2013-11-15 20:44:10 UTC
Shin Chogan wrote:
1Gordon Gekko1 wrote:
Alright, everything seems to working like a champ except for this one odd detail, when we have used go to their profile and try and use the eve avatar, it will pull up the right pic for whichever toon they select, but when they save it, we end up with just the broken pic image. this happens regardless of whatever size we set the avatar size to.

Thought? Something silly I am overlooking?

(Thanks for your time on this epic mod!)


I've not had this issue but that sounds more like a smf path/permissions problem to me rather than something specific to smf ... when you right click on the broken link image what is the path/filename ? You'll need to dig in there and see if the folder permissions are correct or if the path is even correct.


Perhaps a better question is, 'where should it point to'? How does the plug-in handle the fectching? Is it going to

https://image.eveonline.com/characters/ID number

and then trying to save it to the avatar folder? I think if I knew what it was trying to do, I'd be able to finish it out, since it IS getting the right images from somewhere in the profile settings.
Zenith Gravit
LionGate Enterprises
#68 - 2013-11-15 22:58:59 UTC
Shin Chogan wrote:
Zenith Gravit wrote:
I'm not sure if this have been covered in a previous thread or not, there was a little too much to read through. My corp has friends that are in NPC corps, the individuals are set light blue at the corporation, but are not being placed in the Blues group. Will TEA not work with individual character standings?



I don't think it was covered before ... I know I've not looked at that section of code ... it appears to only look at at the toons Alliance and Corp and compares that to the standings fetched from the master api key.




Ok, so players in NPC corps have to be manually added to a group. Fair enough.

New question. it seems that if someone botches up their API key and tries to register with it, then gets a error, and tries to register again with the corrected key they get an error that the character already exists and I have to clear them out of the table. Do I have something setup wrong?
Tahnil
Gunboat Commando
#69 - 2013-11-16 12:34:36 UTC  |  Edited by: Tahnil
UPDATE: Problem solved. I was just being stupid.



Hello. I‘ve got a question. I‘m running TEA with a Jabber connection. I set up everything, but there seems to be a problem. My test character is not activated on the Jabber server. Can anybody tell me how I can see what‘s going on in the background, whenever I start TEA_Jabber_Cron_Access.php? I can‘t find anything in the openfire logs, even in debug mode. It just seems like there‘s nothing going on at all.

By the way, the connection seems to work. Most accounts have been transferred to the openfire server, but in at least one case it doesn‘t work, and I‘d like to to some troubleshooting, but I don‘t know how.
Tahnil
Gunboat Commando
#70 - 2013-11-16 13:22:15 UTC
Problem solved. Sorry, stupid me.

For anybody who is interested: you can activate a general logfile in mysql where all database access is logged. For this you need to stop mysql service and start it manually with command line options. In Ubuntu this would be something like:

mysqld --general-log --log-output=FILE --general-log-file=/var/log/mysql/general.log

My problem was simply that my test user didn‘t activate his Jabber account in his SMF user profile settings.
ShadowandLight
Trigger Happy Capsuleers
#71 - 2013-11-16 22:15:19 UTC
Shin Chogan
Federal Navy Academy
Gallente Federation
#72 - 2013-11-18 09:55:49 UTC
ShadowandLight wrote:
any chance to add mumble support to this mod in the future?


Personally I use :

https://gitorious.org/mumble-scripts/mumble-scripts/source/32479fe3474a4a0fc60691425bcab3b8f2ba2e06:Authenticators/SMF/2.0
Shin Chogan
Federal Navy Academy
Gallente Federation
#73 - 2013-11-18 10:08:08 UTC
Zenith Gravit wrote:
Shin Chogan wrote:
Zenith Gravit wrote:
I'm not sure if this have been covered in a previous thread or not, there was a little too much to read through. My corp has friends that are in NPC corps, the individuals are set light blue at the corporation, but are not being placed in the Blues group. Will TEA not work with individual character standings?



I don't think it was covered before ... I know I've not looked at that section of code ... it appears to only look at at the toons Alliance and Corp and compares that to the standings fetched from the master api key.




Ok, so players in NPC corps have to be manually added to a group. Fair enough.

New question. it seems that if someone botches up their API key and tries to register with it, then gets a error, and tries to register again with the corrected key they get an error that the character already exists and I have to clear them out of the table. Do I have something setup wrong?



Hmmm .. I thought I'd fixed that - the current process is (or at least this is what is intended) :

Fill out registration form - gets character list.
hit submit and account is registered.
API key is then processed and groups are added per rules - it is at this point that the characters are added to the db.

So the questions are :
What version are you running ?
Where in the registration process did they get to ?
In what way have they botched their API ?
When you say register again ... exactly what are they doing ... from first registration attempt through to the error message ?
1Gordon Gekko1
Handsome Millionaire Playboys
Sedition.
#74 - 2013-11-24 05:16:24 UTC
ok...after doing some digging, what it looks like it's doing is not appending the size.jpg to the character ID it's pulling from the API mod. So when I inspect the avatar element, it looks like:

https://image.eveonline.com/Character/1088364566

instead of:

https://image.eveonline.com/Character/1088364566_128.jpg

If I fix the HTML manually on the page, it pulls the right pic down.

Any more thoughts on why this would be? I set the entire board to 777 while testing, so I don't think it's permission issue...and it's got the right path, just not adding in the missing section to the end (which I think would be done by the mod, since you can set the size of the avatars you want used in the Temar API settings...it's just not actually doing it).
Shin Chogan
Federal Navy Academy
Gallente Federation
#75 - 2013-11-24 09:29:10 UTC  |  Edited by: Shin Chogan
1Gordon Gekko1 wrote:
ok...after doing some digging, what it looks like it's doing is not appending the size.jpg to the character ID it's pulling from the API mod. So when I inspect the avatar element, it looks like:

https://image.eveonline.com/Character/1088364566

instead of:

https://image.eveonline.com/Character/1088364566_128.jpg

If I fix the HTML manually on the page, it pulls the right pic down.

Any more thoughts on why this would be? I set the entire board to 777 while testing, so I don't think it's permission issue...and it's got the right path, just not adding in the missing section to the end (which I think would be done by the mod, since you can set the size of the avatars you want used in the Temar API settings...it's just not actually doing it).


interesting ... where are you seeing this url ? When I look at a profile and inspect the element of the Avatar it is a url in my forum not in image.eveonline.com


Sorry I missed this :

Quote:

Perhaps a better question is, 'where should it point to'? How does the plug-in handle the fectching? Is it going to

https://image.eveonline.com/characters/ID number

and then trying to save it to the avatar folder? I think if I knew what it was trying to do, I'd be able to finish it out, since it IS getting the right images from somewhere in the profile settings.


That is about what is happening ... it fetches image from image.eveonline.com and then it should save it to either your attachments folder or your avatar folder depending on how you have things configured.
Magenta Flori
Royal Amarr Institute
Amarr Empire
#76 - 2013-11-26 14:19:01 UTC
Having a hard time getting Jabber integration to work. Can you help? Not sure what I'm missing.

I have everything plugged into the Jabber section and enabled it however I see 0 traffic in the MySQL logs being generated from the mod. If I try to register a user I just get unable to match any groups but still no log entries.

I'm sure I'm missing something dumb?
Shin Chogan
Federal Navy Academy
Gallente Federation
#77 - 2013-11-26 14:37:31 UTC
Magenta Flori wrote:
Having a hard time getting Jabber integration to work. Can you help? Not sure what I'm missing.

I have everything plugged into the Jabber section and enabled it however I see 0 traffic in the MySQL logs being generated from the mod. If I try to register a user I just get unable to match any groups but still no log entries.

I'm sure I'm missing something dumb?



Have you got any Jabber rules set up in TEA ? ... I believe an account has to match at least 1 Jabber rule before the account will be created on the openfire server.
Magenta Flori
Royal Amarr Institute
Amarr Empire
#78 - 2013-11-26 14:41:35 UTC
I attempt to create a rule but it looks like where the Jabber groups dropdown is supposed to be the dropdown is just blank. I don't think its even pulling the groups from the openfiredb. All the info is correct, I've tested it multiple times.
Magenta Flori
Royal Amarr Institute
Amarr Empire
#79 - 2013-11-26 15:15:36 UTC  |  Edited by: Magenta Flori
I'm starting to think the hosting company of the forum is preventing MySQL traffic from reaching my MySQL server which is my personal rack at a datacenter. I may just need to move SMF to my server. Its the only logical explanation after looking over everything. I don't even get any hits on my ASA for any sort of MYSQL traffic unless I manually generate it from elsewhere.

Just noticed it says MySQL error at the top of the page, its hard to see due to the color but there is no error message to indicate what sort of MySQL problem it is having. Still playing around.
Magenta Flori
Royal Amarr Institute
Amarr Empire
#80 - 2013-11-27 15:26:37 UTC
Ok, so that's what it was. I just put it on a VPS and it works as expected.

Next question, Trying to setup TS3. I get Unknown Method when I try and register? I see all the groups when I plugged in the query login info.