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
Shin Chogan
Federal Navy Academy
Gallente Federation
#361 - 2013-02-04 16:36:54 UTC
Specialist Franz wrote:
So I'm having a minor well major issue here... when the cronjobs TEA_TS_Cron_Access.php and TEA/TEA_TS_Cron_Names.php run they don't appear to run properly and kick back an error.


public_html/Forums/TEA/TEA_TS_Cron_Access.php: line 1: ?php: No such file or directory
public_html/Forums/TEA/TEA_TS_Cron_Access.php: line 3: syntax error near unexpected token `'../SSI.php''
public_html/Forums/TEA/TEA_TS_Cron_Access.php: line 3: `if (file_exists('../SSI.php') && !defined('SMF'))'

also when I try and run TEA_Cron.php I get this lovely error...

Could not open input file: public_html/forums/TEA/TEA_Cron.php

Any suggestions would be greatly appreciated.



Exaclty how are you running these commands ?
Specialist Franz
Cruisers Crew
The Initiative.
#362 - 2013-02-04 18:01:54 UTC
Cpanel cronjobs I've removed my username for obvious reasons :P

/usr/bin/php5 /home/*user*/public_html/Forums/TEA/TEA_TS_Cron_Access.php
Specialist Franz
Cruisers Crew
The Initiative.
#363 - 2013-02-06 19:25:29 UTC
never mind its working now but I have a new question now... does the rules selection titles work based off of SMF titles or EVE titles?
epsilonion
CLOVEN SKY
#364 - 2013-02-07 00:35:57 UTC
Specialist Franz wrote:
never mind its working now but I have a new question now... does the rules selection titles work based off of SMF titles or EVE titles?



For the titles = eve titles..

so titles "pos team" for instance will put into the SMF group you have chosen for that title.

if your setting up TS it does the SMF group say "corp members" into whatever you have setup in TS permissions as your corp members group.

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

Specialist Franz
Cruisers Crew
The Initiative.
#365 - 2013-02-07 15:41:12 UTC
Thats perfect then thank you I figured thats how it did it. One last question then hopefully I will be done lol the TS rules as it goes down the list of them once the user hits an accepted rule does it stop and progress to the next user regardless if the rules following apply to the person? Basically is it able to set multiple TS3 groups to a single user?
S Tein
State War Academy
Caldari State
#366 - 2013-02-11 19:10:23 UTC
i am trying to create secondary rules to check for capital skills at level 3.

i add them and assign the rule to group "capital" but the checks don't add anyone to the capital group?

i know for a fact i have capital ships to level 3, so it should add me?

anyone had success with this that can help me out?

Thanks
Shin Chogan
Federal Navy Academy
Gallente Federation
#367 - 2013-02-12 00:12:40 UTC  |  Edited by: Shin Chogan
S Tein wrote:
i am trying to create secondary rules to check for capital skills at level 3.

i add them and assign the rule to group "capital" but the checks don't add anyone to the capital group?

i know for a fact i have capital ships to level 3, so it should add me?

anyone had success with this that can help me out?

Thanks



Assuming you are talking about r170 that I released then :
Wupps ... one bug I introduced
in my defence there were another 2 that the original had in which meant it didn't look at the required skill level.

Both fixed and in release r171 :

Temars r171
S Tein
State War Academy
Caldari State
#368 - 2013-02-12 10:26:48 UTC
Shin Chogan wrote:
S Tein wrote:
i am trying to create secondary rules to check for capital skills at level 3.

i add them and assign the rule to group "capital" but the checks don't add anyone to the capital group?

i know for a fact i have capital ships to level 3, so it should add me?

anyone had success with this that can help me out?

Thanks



Assuming you are talking about r170 that I released then :
Wupps ... one bug I introduced
in my defence there were another 2 that the original had in which meant it didn't look at the required skill level.

Both fixed and in release r171 :

Temars r171


you the man! works a treat!
Tahnil
Gunboat Commando
#369 - 2013-02-12 15:07:28 UTC
Wouldn't it be nice if all active developers used the svn repository at code.google.com?

However, we recently added Jabber support to our forum. Works quite nice, but I've got one problem: if a user joins a new group in SMF, this isn‘t updated in Openfire group memberships.

Our users may enter some groups that are interesting for them, and corresponding groups exist at the Openfire server. Also I have created matching rules (SMF -> Jabber). But it just doesn't work. I'm using r169 (original Temar, I think). I tried a full member check with and without the test user updating his Jabber tab in User Profile.

Any ideas?
Shin Chogan
Federal Navy Academy
Gallente Federation
#370 - 2013-02-12 15:16:31 UTC  |  Edited by: Shin Chogan
Tahnil wrote:
Wouldn't it be nice if all active developers used the svn repository at code.google.com?

However, we recently added Jabber support to our forum. Works quite nice, but I've got one problem: if a user joins a new group in SMF, this isn‘t updated in Openfire group memberships.

Our users may enter some groups that are interesting for them, and corresponding groups exist at the Openfire server. Also I have created matching rules (SMF -> Jabber). But it just doesn't work. I'm using r169 (original Temar, I think). I tried a full member check with and without the test user updating his Jabber tab in User Profile.

Any ideas?


Given that Temar appears to have stopped working on it or even looking at the svn repository how prey tell are we supposed to check stuff in without someone to add us as a member or the project ?

now on to your problem it is the saving of the Jabber tab that should do the updating of the groups. I believe I posted an additional cronjob and some changes to TEA_Jabber.php earlier in this thread that will allow for it to update the Jabber groups or you could install the latest version I've just posted (make a backup of your old one incase you don't like what I've done :))
Tahnil
Gunboat Commando
#371 - 2013-02-12 15:19:09 UTC
Shin Chogan wrote:
Tahnil wrote:
Wouldn't it be nice if all active developers used the svn repository at code.google.com?


Given that Temar appears to have stopped working on it or even looking at the svn repository how prey tell are we supposed to check stuff in without someone to add us as a member or the project ?


Right. But you could start a new repository. I think Temar wouldn‘t mind.

Shin Chogan wrote:
Tahnil wrote:
However, we recently added Jabber support to our forum. Works quite nice, but I've got one problem: if a user joins a new group in SMF, this isn‘t updated in Openfire group memberships.

Our users may enter some groups that are interesting for them, and corresponding groups exist at the Openfire server. Also I have created matching rules (SMF -> Jabber). But it just doesn't work. I'm using r169 (original Temar, I think). I tried a full member check with and without the test user updating his Jabber tab in User Profile.

Any ideas?


now on to your problem it is the saving of the Jabber tab that should do the updating of the groups. I believe I posted an additional cronjob and some changes to TEA_Jabber.php earlier in this thread that will allow for it to update the Jabber groups or you could install the latest version I've just posted (make a backup of your old one incase you don't like what I've done :))


Thank you very much. I will have a look at it!
Shin Chogan
Federal Navy Academy
Gallente Federation
#372 - 2013-02-12 15:22:37 UTC
Tahnil wrote:
Shin Chogan wrote:
Tahnil wrote:
Wouldn't it be nice if all active developers used the svn repository at code.google.com?


Given that Temar appears to have stopped working on it or even looking at the svn repository how prey tell are we supposed to check stuff in without someone to add us as a member or the project ?


Right. But you could start a new repository. I think Temar wouldn‘t mind.



I did :)

https://github.com/barneycg/temars-eve-api though the latest changes are not checked in :(
Tahnil
Gunboat Commando
#373 - 2013-02-12 15:37:16 UTC
Great. In this case I would even recommend to go one step further and create a new thread, with the basic information in the first posting. That would be the link to the repository and some more information.

Somebody should carry the torch. And it would be extremely useful if there would be a staff of developers in some kind of coordinated project.

Of course this is only my humble opinion.

I really appreciate this SMF mod, and it deserves to live on.

Maybe I could help by adding some documentation, as I am not a developer.
Shin Chogan
Federal Navy Academy
Gallente Federation
#374 - 2013-02-15 17:07:29 UTC
OK I've got r172 in the repo and ready to release but this one is something of a biggie.

I've added in checks to see if the same character ID is listed against a different api key when you are registering or adding a key or just updateing your tea profile. ie the cron job.

The idea here is to stop people from aquiring compromised keys and using them to register on the forum and masquerade as one of your genuine members (assuming of course that all your genuine members add all their api keys to your forums - of course this isn't too bad an idea in order to make spy alts work that little bit harder Smile)

Of course nothing is simple ... Due to some design choices in the original ... deleting an api key from an account or even deleteing the forum account completely left behind characters in the db (and the api key entries too if you deleted the forum account). I've reworked things so that this stuff now gets deleted but it probably means that those of you with well established sites have DB's littered with these orphaned characters and this is going to cause a load of headaches.

I'm trying to work out how to automatically prune these during the installation of the mod.
Kunnilar
Moonshine Runners
Liquor Legion
#375 - 2013-02-17 23:20:28 UTC  |  Edited by: Kunnilar
Hi There

I'm using Shins repo , and thanks Shin for making one
1.3.0 r172

When trying to fetch character during forum registration

Strict Standards: Non-static method TEACN::get_xml() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\Sources\TEAC.php on line 15

Strict Standards: Non-static method TEACN::get_site() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\Sources\TEAC.php on line 20

Strict Standards: Non-static method TEACN::get_site_curl() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\Sources\TEAC.php on line 30

Strict Standards: Non-static method TEACN::get_api_characters() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\Sources\TEAC.php on line 51

Strict Standards: Non-static method TEACN::get_xml() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\Sources\TEAC.php on line 15

Strict Standards: Non-static method TEACN::get_site() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\Sources\TEAC.php on line 20

Strict Standards: Non-static method TEACN::get_site_curl() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\Sources\TEAC.php on line 30
API System Screwed - Can't fetch Toons : bool(false)


Can someone shed light on this?

Thanks
Dru Prime
Sebiestor Tribe
Minmatar Republic
#376 - 2013-02-18 04:56:24 UTC
ancient thread I know but I've tried setting up temars api tonight and whenever I try to add my API it comes back with an "error()" i've tried switching TEA_xmlhttp to 644 permission but no luck.
Shin Chogan
Federal Navy Academy
Gallente Federation
#377 - 2013-02-18 07:36:33 UTC
Kunnilar wrote:
Hi There

I'm using Shins repo , and thanks Shin for making one
1.3.0 r172

When trying to fetch character during forum registration

Strict Standards: Non-static method TEACN::get_xml() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\Sources\TEAC.php on line 15

Strict Standards: Non-static method TEACN::get_site() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\Sources\TEAC.php on line 20

Strict Standards: Non-static method TEACN::get_site_curl() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\Sources\TEAC.php on line 30

Strict Standards: Non-static method TEACN::get_api_characters() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\Sources\TEAC.php on line 51

Strict Standards: Non-static method TEACN::get_xml() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\Sources\TEAC.php on line 15

Strict Standards: Non-static method TEACN::get_site() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\Sources\TEAC.php on line 20

Strict Standards: Non-static method TEACN::get_site_curl() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\Sources\TEAC.php on line 30
API System Screwed - Can't fetch Toons : bool(false)


Can someone shed light on this?

Thanks


yeah ... you've got strict standards turned on in your php.ini file ... Technically speaking you shouldn't do what the original author did to handle both old and new api types.
you probably want to change it to read :

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

Watch out for r172 I discovered a bug last night and haven't had time to check in the fix. People won't be able to register until it is fixed.
Shin Chogan
Federal Navy Academy
Gallente Federation
#378 - 2013-02-18 07:38:03 UTC
Dru Prime wrote:
ancient thread I know but I've tried setting up temars api tonight and whenever I try to add my API it comes back with an "error()" i've tried switching TEA_xmlhttp to 644 permission but no luck.


not ancient at all :)

I'm going to need a little more to work with here anything else being displayed ? ... which version are you running ?
epsilonion
CLOVEN SKY
#379 - 2013-02-18 13:01:53 UTC
Dru Prime wrote:
ancient thread I know but I've tried setting up temars api tonight and whenever I try to add my API it comes back with an "error()" i've tried switching TEA_xmlhttp to 644 permission but no luck.



It does this on fresh install if you look back over previous the pages it refers to the eve change to SSL for API fix that and it will run fine.

Using https://api.eveonline.com instead of what your doing is http://api.eveonline.com.

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

Shin Chogan
Federal Navy Academy
Gallente Federation
#380 - 2013-02-18 15:28:19 UTC
epsilonion wrote:
Dru Prime wrote:
ancient thread I know but I've tried setting up temars api tonight and whenever I try to add my API it comes back with an "error()" i've tried switching TEA_xmlhttp to 644 permission but no luck.



It does this on fresh install if you look back over previous the pages it refers to the eve change to SSL for API fix that and it will run fine.

Using https://api.eveonline.com instead of what your doing is http://api.eveonline.com.


Ah ... so that is the error it gives ... I missed that bit of info in the many pages of this thread :).