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
Norian Lonark
Center for Advanced Studies
Gallente Federation
#461 - 2013-07-11 14:28:43 UTC  |  Edited by: Norian Lonark
Hi Shin,

firstly many thanks for your hardwork in taking this on. Currently I have r169 installed. I just wondered what is the method of upgrading to your release version?

I had a read through the thread so sorry if I missed it.

Do you just upload and upgrade via the package manager?

Many thanks,

Nori.

Start wide, expand further, and never look back

Shin Chogan
Federal Navy Academy
Gallente Federation
#462 - 2013-07-11 15:40:02 UTC
Personally when I've been testing I uninstall, delete and then install new version. All the settings are in the DB and are not removed as part of the uninstall
Demitrios
Di-Tron Heavy Industries
OnlyFleets.
#463 - 2013-07-13 20:03:55 UTC
As a small mod, could you change the table colour in the rules from light green to green.

Trying to read white text on light green is somewhat annoying ;).

Also, nice work on getting the mod to delete the API details when you delete a user, much better than running a separate script to do the job, although when i did run the DB clear up, it said it removed an orphaned api key, but it didn't actually do it.

Still, gave me an idea on who's api keys need to be hell purged.

Thanks,

Demi
Shin Chogan
Federal Navy Academy
Gallente Federation
#464 - 2013-07-15 10:29:43 UTC  |  Edited by: Shin Chogan
Demitrios wrote:
As a small mod, could you change the table colour in the rules from light green to green.

Trying to read white text on light green is somewhat annoying ;).

Also, nice work on getting the mod to delete the API details when you delete a user, much better than running a separate script to do the job, although when i did run the DB clear up, it said it removed an orphaned api key, but it didn't actually do it.

Still, gave me an idea on who's api keys need to be hell purged.

Thanks,

Demi


Ah .... my text is black ... never noticed that kind of problem :)

Which version of the db clean up script are you running ... the one I posted on the 10th ? And was it an orphaned key or character ?

Edit never mind ... I'm stupid ... found a bug :)

On lines 26 and 27 of the db clean up script change userid[0] to userid[1] ... that should work
Shin Chogan
Federal Navy Academy
Gallente Federation
#465 - 2013-07-16 07:29:49 UTC
I've noticed a load more "API is down I'm gonna wait" type messages (even more than usual) in my logs ... Thinking about this it could well be to do with how expired/deleted/restricted or old api keys when entered for CAK only API calls now return an http 403 forbidden rather than XML with an error code in ... All the error checking is going to need to be reworked.

:(
Shin Chogan
Federal Navy Academy
Gallente Federation
#466 - 2013-07-24 21:20:33 UTC  |  Edited by: Shin Chogan
And as a nice person helped me discover ... it would appear that if you don't have php curl installed then the fallback raw socket method of fetching the API pages has been broken since CCP switched to https only. Roll
Veroxx
Federal Navy Academy
Gallente Federation
#467 - 2013-07-25 19:07:49 UTC  |  Edited by: Veroxx
*delete* Nevermind.
S'if
Clan Destyne
#468 - 2013-07-26 13:51:11 UTC
I have just updated to the latest version 1.3.0 r176 as I was getting errors with the cron update script.

I now get the following whenever the cron job runs:

API System Screwed :
bool(false)

Any ideas what this means? I have run the db_clean_up script a few times but that makes no difference.

Cheers

Shin Chogan
Federal Navy Academy
Gallente Federation
#469 - 2013-07-26 19:22:45 UTC  |  Edited by: Shin Chogan
S'if wrote:
I have just updated to the latest version 1.3.0 r176 as I was getting errors with the cron update script.

I now get the following whenever the cron job runs:

API System Screwed :
bool(false)

Any ideas what this means? I have run the db_clean_up script a few times but that makes no difference.

Cheers



it means it is unable to fetch one of the api pages quite early on in the checking for a toon.
S'if
Clan Destyne
#470 - 2013-07-29 12:50:12 UTC
Shin Chogan wrote:
S'if wrote:
I have just updated to the latest version 1.3.0 r176 as I was getting errors with the cron update script.

I now get the following whenever the cron job runs:

API System Screwed :
bool(false)

Any ideas what this means? I have run the db_clean_up script a few times but that makes no difference.

Cheers



it means it is unable to fetch one of the api pages quite early on in the checking for a toon.



OK, so I'm guessing that has something to do with this message I get when I run the cleanup script.

deleting orphaned api key : 145
deleting orphaned api key : 385

I get this message repeatedly everytime I run the cleanup script. Do I need to go into the database and manually delete stuff??
Tahnil
Gunboat Commando
#471 - 2013-07-29 13:23:42 UTC
Question: Did anybody try to connect or succeed in connecting SMF and Eve Corp Management (ecm)?

http://eve-corp-management.org/
Shin Chogan
Federal Navy Academy
Gallente Federation
#472 - 2013-07-29 14:27:17 UTC  |  Edited by: Shin Chogan
S'if wrote:
Shin Chogan wrote:
S'if wrote:
I have just updated to the latest version 1.3.0 r176 as I was getting errors with the cron update script.

I now get the following whenever the cron job runs:

API System Screwed :
bool(false)

Any ideas what this means? I have run the db_clean_up script a few times but that makes no difference.

Cheers



it means it is unable to fetch one of the api pages quite early on in the checking for a toon.



OK, so I'm guessing that has something to do with this message I get when I run the cleanup script.

deleting orphaned api key : 145
deleting orphaned api key : 385

I get this message repeatedly everytime I run the cleanup script. Do I need to go into the database and manually delete stuff??


no the 2 are not related. When the cron job to check api's runs the first thing it does is get a list of the available api calls this is just a basic thing to ensure CCP's api servers are actually running if this fails you get the "API System Screwed" error.

the db clean up is simply that somehow a forum account has been deleted but the api key associated with it was not removed ... prior to rev 172 or 173 api keys were not removed when a forum account was deleted, which is why I came up with the db_clean_up script ... since then I've improved the forum account deletion code so it removes the api keys and characters too and the last release stopped characters being added to the db until the registration process was complete so the db_clean_up script should be redundant now.

That said there is a bug in the clean up script that I thought I'd fixed ages ago ... see next post :)
Shin Chogan
Federal Navy Academy
Gallente Federation
#473 - 2013-07-29 15:28:05 UTC
New version uploaded :

r179

Changes :


  • db_clean_up script now actually deletes orphaned api keys
  • some clean up of undefined variables.
  • Doesn't phone home to temars website to check for latest version number
  • Doesn't add toons to the db from the master API key
  • forces an update of the alliance list and the standings list when you load the admin settings page (assuming there is a key set and the cache on those has expired - must be > 24 hours since the last check).


Vistrix Starshadow
New Eden Webservices
#474 - 2013-08-06 00:51:08 UTC
I just wanted to say thank you. Your hard work made this extremely simple.
Used your repository and downloaded temars-eve-api-master, extracted to Packages folder in a clean forum install.

You rock.
Zenith Gravit
LionGate Enterprises
#475 - 2013-08-06 23:45:40 UTC
Is there anyone willing to help me get the Jabber portion setup? I have Openfire server running with a external mySQL database, and it's working fine. I just can't seem to get TEA to communicate with it. I'm not sure if I'm entering the information properly or what.
Shin Chogan
Federal Navy Academy
Gallente Federation
#476 - 2013-08-07 21:59:06 UTC
Zenith Gravit wrote:
Is there anyone willing to help me get the Jabber portion setup? I have Openfire server running with a external mySQL database, and it's working fine. I just can't seem to get TEA to communicate with it. I'm not sure if I'm entering the information properly or what.



Have you installed & configured the user service plugin in openfire ?
Zenith Gravit
LionGate Enterprises
#477 - 2013-08-08 04:37:10 UTC  |  Edited by: Zenith Gravit
Sorry for the late update. I figured out what I was doing wrong. I didn't realize that I had to create the groups in Openfire I thought that the plugin would do that. Once I created the groups, everything has been smooth cruising.

New problem though. I've moved on to setting up the TS3 portion of the plugin. While the verification and group assignment is working flawlessly, I can't get the automatic "Incorrect name warning" and "Incorrect name kick" to work. I also realized that the forums also aren't automatically checking to see if a member changes corps or something like that. It's like there is a task that's not running or something.
Max Botix
The Scope
Gallente Federation
#478 - 2013-08-08 15:24:08 UTC
So I've managed to install your mod, however I'm unclear about what I have to do with the cron scripts, how often do they need to run and which ones do I need to add to my crontab file?

Thanks
SuperKID
Viziam
Amarr Empire
#479 - 2013-08-08 16:22:06 UTC
Shin Chogan wrote:
New version uploaded :

r179

Changes :


  • db_clean_up script now actually deletes orphaned api keys
  • some clean up of undefined variables.
  • Doesn't phone home to temars website to check for latest version number
  • Doesn't add toons to the db from the master API key
  • forces an update of the alliance list and the standings list when you load the admin settings page (assuming there is a key set and the cache on those has expired - must be > 24 hours since the last check).





ty for your work.

My corp forum is now working the way it should be again ;)

the clean up and the upgrade fixed my issues :D
Zenith Gravit
LionGate Enterprises
#480 - 2013-08-08 18:26:31 UTC
Max Botix wrote:
So I've managed to install your mod, however I'm unclear about what I have to do with the cron scripts, how often do they need to run and which ones do I need to add to my crontab file?

Thanks

I may have missed a file, but I recently has dealing with the same thing. I created cron jobs for everything in the TEA directory with CRON in the name. All the TS and Jabber files are running every minute and the other one every 5 minutes. It seems to be working fine for me, but if that's wrong I'd sure love to know.