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.
 

[EVEOTS] Eve Online Teamspeak 3 API Registration with PHP5 v1.8

First post
Author
Mrs Doubtfire
The Northerners
Pandemic Horde
#141 - 2012-05-24 09:07:11 UTC
Loving your work, very smooth :)

I have some questions though:


1) Can I register "non-EVE pilots" manually on TS without interfering with EVEOTS?
2) Is the proper deletion method, to manually remove client in TS3 and delete user entry in the EVEOTS database?
3) In case I want a server password, how would I go about modding EVEOTS to comply?

Thanks for your work!

MJ Maverick
Hybrid Industrial
#142 - 2012-05-24 13:59:28 UTC
Mrs Doubtfire wrote:
Loving your work, very smooth :)

I have some questions though:


1) Can I register "non-EVE pilots" manually on TS without interfering with EVEOTS?
2) Is the proper deletion method, to manually remove client in TS3 and delete user entry in the EVEOTS database?
3) In case I want a server password, how would I go about modding EVEOTS to comply?

Thanks for your work!


Thank you, perhaps you could consider "fueling my work"? :D

1) Yes, on my Teamspeak I have a "VIP" group for RL friends that come on my server for a chat. EVEOTS won't know they exist.
2) In 1.7b, correct for manual deletion. But remember the cron job does this on the fly, but always have your cron email you the output so you can see if it reports any errors.
3) I left that out originally as a possible security risk but now people only see that page if they can have access anyway. Here's what you need to do :

config.php : (Add underneath $spacer)
Quote:
public $spacer = "";
// Password
public $ts_password = "MYPASSWORD";


index.php : (Find these lines and insert "&password=".$c->ts_password."" as shown)
302:
Quote:
...$nickname."&password=".$c->ts_password."&addbookmark...

382:
Quote:
...$nickname."&password=".$c->ts_password."&addbookmark...


I haven't tested that but it should work no problem. If you do get any problems just ask. :)
Mrs Doubtfire
The Northerners
Pandemic Horde
#143 - 2012-05-24 16:14:37 UTC
Fantastic! Thanks a lot for your help, I'll give it a go :)
Varrun
The Scope
Gallente Federation
#144 - 2012-05-24 18:34:27 UTC  |  Edited by: Varrun
MJ Maverick wrote:
Timed out connecting to your Teamspeak. Are you getting this consistently? Seems a very strange error to get at that stage. Could have just been a hicup.


Yes it's happening all the time I've not been able to get the tool working at all due to this time out error.

http://ts.flyinglow.tk/

Sorry this is felsaa.
JustSharkbait
University of Caille
Gallente Federation
#145 - 2012-05-28 23:17:36 UTC
This worked great. Had a slight problem with the ' in people's names, but turning off Magic quotes fixed it immediately. Great mod. Will be sending you some ISK when everyone gets registered.

Quick question. If there anyway to allow people to choose their own name? Some members have long names, and go by a shorter version.

Thanks for the great tool.

Hoo Ha Ha!!

MJ Maverick
Hybrid Industrial
#146 - 2012-05-29 00:03:53 UTC
JustSharkbait wrote:
This worked great. Had a slight problem with the ' in people's names, but turning off Magic quotes fixed it immediately. Great mod. Will be sending you some ISK when everyone gets registered.

Quick question. If there anyway to allow people to choose their own name? Some members have long names, and go by a shorter version.

Thanks for the great tool.


Not straight off the bat no, but in the admin panel you can change a members "permitted nickname" as and when they request if you like.
JustSharkbait
University of Caille
Gallente Federation
#147 - 2012-05-29 03:57:36 UTC
Thank you.

Hoo Ha Ha!!

Kalstrams
SHIVA NATARADGI
#148 - 2012-06-03 08:33:49 UTC  |  Edited by: Kalstrams
Ok, second question ( first solution I found myself ).

How do I set up like for me, Kalstrams, the needed name will be

B -SHV Kalstrams
not -SHV Kalstrams

It seems that I am not able to find setting that manages alliance ticker.
Greyfish
Church of B0B
#149 - 2012-07-01 22:43:43 UTC
Thank you for making this and most of all thank you for remaining active in supporting/answering questions.
MJ Maverick
Hybrid Industrial
#150 - 2012-07-02 15:41:29 UTC
Az'Kagoth
War Crime Syndicate
#151 - 2012-07-23 15:09:09 UTC
Getting this error, worked perfectly until today.

Quote:
An error occured: API Date could not be read / parsed, original exception: Operation timed out after 10000 milliseconds with 0 bytes received [117]


or sometimes

Quote:
An error occured: API Date could not be read / parsed, original exception: Operation timed out after 10000 milliseconds with 0 bytes received [254]



As per the manual, I've checked character TEST ID and everything for error 117 and even used the default given one, this does not make a difference.
MJ Maverick
Hybrid Industrial
#152 - 2012-07-24 18:57:34 UTC  |  Edited by: MJ Maverick
This happens sometimes when the API server doesn't respond. It's no biggy really and nothing I can stop. It tends to be quite rare.

If you are always getting it though (you've tried again after a few minutes) then you may have a problem with your server firewall/port setup.

At the time of posting this the API server is fine.
farraguat
Perkone
Caldari State
#153 - 2012-08-07 21:03:00 UTC
is there anything like this for openfire
MJ Maverick
Hybrid Industrial
#154 - 2012-08-09 02:26:56 UTC
robo tim
#155 - 2012-08-28 03:00:18 UTC
Hi need a little help

Quote:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user '*********'@'localhost' (using password: YES) in /home/******/public_html/tsauth/admin/login.php on line 17
Could not connect: Access denied for user '******'@'localhost' (using password: YES) [L19]



I checked the config file and everything is correct, no typos, no errors, nothing. Then when i try to log into the admin panel i get this message. This is a fresh install.

Any help would be great thanks
MJ Maverick
Hybrid Industrial
#156 - 2012-08-28 15:55:11 UTC  |  Edited by: MJ Maverick
Are you including your domain prefix in your user/database fields in config.php?

e.g.
ether_database
ether_DBuser
should work.

database
DBuser
will NOT work.
robo tim
#157 - 2012-08-28 16:11:08 UTC  |  Edited by: robo tim
yes i am, i just stared it out for security reason :D

*fixed* wrong password :)
MJ Maverick
Hybrid Industrial
#158 - 2012-08-28 19:00:15 UTC
MillerUk
V0LTA
WE FORM V0LTA
#159 - 2012-09-01 08:04:07 UTC
farraguat wrote:
is there anything like this for openfire



Yes i have tweaked this to work for Openfire mail or convo me in game and ill sort you out
Manhim
Garoun Investment Bank
Gallente Federation
#160 - 2012-09-11 18:43:19 UTC
Do you have any public repository of this? I would take a look and probably put in some code too (If you don't mind).