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
#41 - 2011-10-09 23:06:59 UTC  |  Edited by: Norian Lonark
Hi Everyone,

I installed TEA and it all looked to be going fine. Put in the API checked the rules and looked good. But when I went to the profile page to try and update to a new API I get the following error:

Quote:
index.php?action=profile;area=tea;save. It may be down for maintenance or configured incorrectly.


When I click Save.

When I look at the error log I find the following:

index.php?action=profile;area=tea;save8: Undefined index: sa
File: /Sources/Profile-Modify.php
Line: 1058

I'm using TEA Version: 1.3.0 r168
SMF version: 2.0.1

Any suggestions greatly appreciated.


Reinstalled forums and tea mod and got past this problem.

Many Thanks,

Nori.

Start wide, expand further, and never look back

LoneEcho
Mining and Salvage Corporation
#42 - 2011-10-10 01:46:23 UTC  |  Edited by: LoneEcho
I have a rule setup for BLUEs but when I check settings. It says 0 standings updated even though I have my full API in there

Standings Last Updated: Never
Standings List Contains: 0 Blue Contacts, 0 Red Contacts
Alliance Corp List Last Updated: 4:41 Sun 09 Oct 11 (GMT)
Alliance Corp List Contains: 12354

So the blue rule is putting allies in the no match group.... How do I get the standings to update properly? Is it character or corp API? I've tried both to no success.

I'm using TEA Version: 1.3.0 r168
SMF version: 2.0.1

Thanks
snipereagle1
Players vs. EVE
Goonswarm Federation
#43 - 2011-10-10 03:37:27 UTC
Is there any kind of setup guide?
Andy Tibs
Ministry of War
#44 - 2011-10-10 12:34:03 UTC
LoneEcho wrote:
Andy Tibs wrote:
LoneEcho wrote:
I'm using 1.3.0 r168 and when I click get characters, nothing happens.

When using 1.2.1 it works fine using the old legacy API keys.


I am having the same issue.



It seems you need to edit permissions for TEA_xmlhttp.php to 644. Its located in the TEA folder.

I tried that and now it works.


Yea, I changed that and had to replace the template files for the profile and registration pages. Now... all is working fine! Cool
Norian Lonark
Center for Advanced Studies
Gallente Federation
#45 - 2011-10-10 14:21:46 UTC
Andy Tibs wrote:
LoneEcho wrote:
Andy Tibs wrote:
LoneEcho wrote:
I'm using 1.3.0 r168 and when I click get characters, nothing happens.

When using 1.2.1 it works fine using the old legacy API keys.


I am having the same issue.



It seems you need to edit permissions for TEA_xmlhttp.php to 644. Its located in the TEA folder.

I tried that and now it works.


Yea, I changed that and had to replace the template files for the profile and registration pages. Now... all is working fine! Cool


Hi,

I am also having this problem. I checked the file permissions and they are fine. Please could you explain the steps that you needed to get it to work as I dont know what you mean by replacing the template files?

Thanks,

Nori.

Start wide, expand further, and never look back

LoneEcho
Mining and Salvage Corporation
#46 - 2011-10-10 18:44:02 UTC
Norian Lonark wrote:
Andy Tibs wrote:
LoneEcho wrote:
Andy Tibs wrote:
LoneEcho wrote:
I'm using 1.3.0 r168 and when I click get characters, nothing happens.

When using 1.2.1 it works fine using the old legacy API keys.


I am having the same issue.



It seems you need to edit permissions for TEA_xmlhttp.php to 644. Its located in the TEA folder.

I tried that and now it works.


Yea, I changed that and had to replace the template files for the profile and registration pages. Now... all is working fine! Cool


Hi,

I am also having this problem. I checked the file permissions and they are fine. Please could you explain the steps that you needed to get it to work as I dont know what you mean by replacing the template files?

Thanks,

Nori.


I just changed the permissions to 644... I didnt do anything else and it worked. I'm not sure what Andy had to do.
Norian Lonark
Center for Advanced Studies
Gallente Federation
#47 - 2011-10-10 19:25:06 UTC  |  Edited by: Norian Lonark
LoneEcho wrote:


I just changed the permissions to 644... I didnt do anything else and it worked. I'm not sure what Andy had to do.


Hi Echo,

thanks for that I checked the permissions and these seem fine on the file. I even reapplied them just incase but still a no go with the get characters button on the user registration page??

Checking the error log on the server shows the following

Quote:
/index.php?action=register28: Undefined property: TEA::$atagsFile: /Sources/TEAC.php
Line: 51

and

Quote:
/index.php?action=register2Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dad' at line 1File: /Sources/TEA.php
Line: 2828


Unfortunately it means nothing to me?

Nori.

Start wide, expand further, and never look back

Andy Tibs
Ministry of War
#48 - 2011-10-11 01:14:39 UTC  |  Edited by: Andy Tibs
Norian Lonark wrote:
Andy Tibs wrote:
LoneEcho wrote:
Andy Tibs wrote:
LoneEcho wrote:
I'm using 1.3.0 r168 and when I click get characters, nothing happens.

When using 1.2.1 it works fine using the old legacy API keys.


I am having the same issue.



It seems you need to edit permissions for TEA_xmlhttp.php to 644. Its located in the TEA folder.

I tried that and now it works.


Yea, I changed that and had to replace the template files for the profile and registration pages. Now... all is working fine! Cool


Hi,

I am also having this problem. I checked the file permissions and they are fine. Please could you explain the steps that you needed to get it to work as I dont know what you mean by replacing the template files?

Thanks,

Nori.


Here is what I did to get it working for me. After a lot of looking around at the code of the forums / TEA mod I was able to figure out what went wrong in my case. It appears at some point when I was upgrading to different versions of the mod, at some point it did not undo the changes that it executes when you install it on your forum. So what that led to with me is multiple edits in a few of the forum's files which caused some fields in the registration form to show up more than once as shown in this picture: http://i.imgur.com/206WX.png This seemed to cause the code of the TEA mod appear more than once in the code which appeared to confuse everything and make it not work. So here is what I did to get it working for me.


  1. First I uninstalled the TEA mod to make sure it was not active or modifying any part of the forum. (It edits some files when it is active and is supposed to undo its edits when you uninstall).
  2. Then i replaced the Register.template.php file as well as the template file for the profile (I was getting errors in the profile as well when people would try to update their API key) with the default files you get from a fresh SMF Forum install.
  3. Once those were replaced back to the originals, I re-installed the latest version of the TEA mod (1.3.0 r168) and activated it.


After doing this everything has been working for me like it is supposed to. I hope this may help someone else that could have the same problem.
Norian Lonark
Center for Advanced Studies
Gallente Federation
#49 - 2011-10-11 20:31:50 UTC
Hi Andy,

thanks for posting your tips, I think I must have a slightly different problem as I dont have the two fields showing and also did a fresh installation of TEA and still have the same problem Sad

Cheers,

Nori.

Start wide, expand further, and never look back

Takon Orlani
School of Applied Knowledge
Caldari State
#50 - 2011-10-12 15:27:05 UTC  |  Edited by: Takon Orlani
Complete noob here, but this is a great mod so far. I just can't figure out what I'm doing wrong.
What I'm trying to do:
Have the mod assign member groups by api checks
If they are our corp, they get our member group.
If they are not, or they have an invalid API, they are in a non-member group with restricted access.
So far it seems to put my account into both groups. The only groups it checks are the member, non-member, and people without a member group. It does not check global mods or any of the special groups i made to hand out manually.
http://img.photobucket.com/albums/v498/Takon074/Capture-2.jpg
Any help will be rewarded with isk.

Thank you.

EDIT: It seems SOME of my problem was fixed by disabling the second rule. Now if the api check comes back with our corp, it assigns the group. The idea came to me when i saw an account with three alts on it not in corp. I had the idea that it might be checking those too and assigning the groups based on that. vOv

I'm also wondering if it checks the API keys automatically every so often, or if i have to do it manually.
Norian Lonark
Center for Advanced Studies
Gallente Federation
#51 - 2011-10-12 19:34:58 UTC
Norian Lonark wrote:
LoneEcho wrote:


I just changed the permissions to 644... I didnt do anything else and it worked. I'm not sure what Andy had to do.


Hi Echo,

thanks for that I checked the permissions and these seem fine on the file. I even reapplied them just incase but still a no go with the get characters button on the user registration page??

Checking the error log on the server shows the following

Quote:
/index.php?action=register28: Undefined property: TEA::$atagsFile: /Sources/TEAC.php
Line: 51

and

Quote:
/index.php?action=register2Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dad' at line 1File: /Sources/TEA.php
Line: 2828


Unfortunately it means nothing to me?

Nori.


Hi everyone,

I managed to get it up and working with a little bit of jiggling around mod works great now so thanks.

I just thought I would post my solution here in case it helps anyone else.

I uninstalled the tea mod from my forums and then deleted the tea tables from the mysql database. After this I installed the tea mod again, but had the same problem with the register character button. I checked the tea_xmlhttp.php file and this time it was set to 0666. I changed the permissions to 0644 and now it all works.

Thanks

Nori.


Start wide, expand further, and never look back

Norian Lonark
Center for Advanced Studies
Gallente Federation
#52 - 2011-10-12 20:08:51 UTC  |  Edited by: Norian Lonark
Takon Orlani wrote:

I'm also wondering if it checks the API keys automatically every so often, or if i have to do it manually.


Hi Takon,

I think you can setup a Cron job to do it by using the TEA_Cron.php file under the TEA folder.

NOTE: In order to get the Cron job to work I had to change the permissions on the cron file to 0644 also.

Cheers,

Nori.

Start wide, expand further, and never look back

Nabrek Tarell
Telinformix Ltd
#53 - 2011-10-15 18:25:39 UTC  |  Edited by: Nabrek Tarell
I've been working round a few undefined array keys in r168

TEA_Jabber.php

on line 756 $nf = $r[4]; is replaced by $nf = $r[3];


Profile-Modify.php

I added if(array_key_exists('sa',$_GET)){ on line 159 and an extra } before elseif($_GET['area'] == 'tea')

I've still got some I can't quite work out how to get rid of :

Undefined index: title
File: /forum/Themes/default/GenericMenu.template.php (generic_menu_dropdown_above sub template - eval?)
Line: 291

and

Undefined index: description
File: /forum/Themes/default/GenericMenu.template.php (generic_menu_dropdown_above sub template - eval?)
Line: 303

The one Main question I have though is that the Jabber group memberships don't seem to update on running TEA_Cron.php or when a Rule is added or removed only when a person saves their profile on the Jabber page. Can someone help me get these updating automatically
Vahu Shamy
Brave Newbies Inc.
Brave Collective
#54 - 2011-10-17 18:01:50 UTC
Great mod, some ISK sent. I hope you don't burn out and keep up the good work
Baki Yuku
Doomheim
#55 - 2011-10-17 21:46:44 UTC
Did anybody manage to get the TS3 migration to work? (without using the mysql db methode)... I try'd for quit some time now everytime I enable it and enter the server data it wont load the Teamspeak API settings page anymore..
Carl Scarface
Republic Military School
Minmatar Republic
#56 - 2011-10-20 09:58:13 UTC
After installing TEA1.2.1 to SMF 2.0.1 i get a white screen.

I can only upload the old index.php and then deinstall the package.

Andy Moo
The Scope
Gallente Federation
#57 - 2011-10-20 16:04:19 UTC
Check your apache error log to find out what the cause of the white page was.
Takon Orlani
School of Applied Knowledge
Caldari State
#58 - 2011-10-21 15:07:02 UTC
Norian Lonark wrote:
Takon Orlani wrote:

I'm also wondering if it checks the API keys automatically every so often, or if i have to do it manually.


Hi Takon,

I think you can setup a Cron job to do it by using the TEA_Cron.php file under the TEA folder.

NOTE: In order to get the Cron job to work I had to change the permissions on the cron file to 0644 also.

Cheers,

Nori.


Never modified any php before, how would i go about this?

Norian Lonark
Center for Advanced Studies
Gallente Federation
#59 - 2011-10-23 20:58:12 UTC
Takon Orlani wrote:


Never modified any php before, how would i go about this?



Hi Takon,

if you are hosting your site with a web host you can modify the file permissions using an FTP program probably the same one your using to upload the files to the site. Also for the cron job you don't have to modify the php. If your webhosting has cpanel its very easy to setup a job http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/CronJobs.

Failing that I would just contact your host most are quite helpful in assisting you.

Start wide, expand further, and never look back

Tyrion WarMage
Perkone
Caldari State
#60 - 2011-10-25 00:13:29 UTC
Just tried using the jabber integration.
When saving, i just get "MySQL Error :", followed by the page.
I cross checked the login information and it is valid.

Anything i can do ? ...even seeing the mysql error would help me alot