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.
 

phpBB 3.x API Registration Mod v6+

Author
salia Shiar
The Scope
Gallente Federation
#141 - 2012-02-17 11:26:09 UTC
KongGal wrote:
salia Shiar wrote:
after several changes to that ine now i get


Fatal error: Class 'TeamSpeak3' not found in /home/<...>/public_html/forums/eveapi_cron.php on line 45

thats on the actual cron.php

the cronjob istelf sends my email this

Status: 404 Not Found
Content-type: text/html

No input file specified.

any ideas?


if you not are using the Teamspeak 3 mod then delete Line 45 "cronlog("TeamSpeak 3 Framework -> version " . TeamSpeak3::LIB_VERSION);" and try and run it by your self with Domain/eveapi_cron.php and it should run fine "delete or comment it out with // in front of the line



cheers, that worked perfect i figured it was something simple, or that i hadn't put something in that was supposed to tell it to turn off TS3 integration even though the master lockout was on.
Darlington
Triglovian-Clades
xX SERENITY Xx
#142 - 2012-02-18 00:33:53 UTC
Hello one and all

Could someone tell me which files I copy out of the current zip and in which order

Really can't figure why the install don't work and it is a clean install

Regards

Darlington
Balani
Science and Trade Institute
Caldari State
#143 - 2012-02-18 03:17:11 UTC
the cronjob disables accounts without api keys entered is it possible to move that member into other group instead of disabling account ?
salia Shiar
The Scope
Gallente Federation
#144 - 2012-02-19 04:49:52 UTC  |  Edited by: salia Shiar
Quote:

SQL ERROR [ mysqli ]

Table '[insertdomain]_bb.eveapi_systems' doesn't exist [1146]

SQL

SELECT * FROM eveapi_systems WHERE systemName = "Erenta"

BACKTRACE

FILE: [ROOT]/includes/db/mysqli.php
LINE: 182
CALL: dbal->sql_error()

FILE: [ROOT]/includes/bbcode.php
LINE: 637
CALL: dbal_mysqli->sql_query()

FILE: [ROOT]/includes/bbcode.php(112) : regexp code
LINE: 1
CALL: bbcode->bbcode_second_pass_evesystem()

FILE: [ROOT]/includes/bbcode.php
LINE: 112
CALL: preg_replace()

FILE: [ROOT]/viewtopic.php
LINE: 1407
CALL: bbcode->bbcode_second_pass()


When trying to use the eve link buttons this is what is returned and the thread is unreachable

PS: Solved by re-installing the three items tables
Apocil Munar
Shadovar Inc.
#145 - 2012-02-19 06:45:39 UTC
Can someone tell me what i need to do to make this work with other pro-silver based templates? i have tried copying the files from the pro silver folder into the new template folder but the api fields do not show up on the registration page.
salia Shiar
The Scope
Gallente Federation
#146 - 2012-02-20 08:19:43 UTC
has anyone solved the issue getting the program to check for character picture updates and applying them to the accounts?
KongGal
Circle-0f-Two
Circle-Of-Two
#147 - 2012-02-20 12:43:34 UTC
Balani wrote:
the cronjob disables accounts without api keys entered is it possible to move that member into other group instead of disabling account ?


Thats something that pissed me off also.

like if it was possible then make it so it move them to a group you make with no perrmissions other that edit profile so they have a chance to update the key, since i have a lot memberst hat forget to click no expiry so i have to update the key my self
Cyerus
University of Caille
Gallente Federation
#148 - 2012-02-21 03:45:03 UTC  |  Edited by: Cyerus
KongGal wrote:
Balani wrote:
the cronjob disables accounts without api keys entered is it possible to move that member into other group instead of disabling account ?


Thats something that pissed me off also.

like if it was possible then make it so it move them to a group you make with no perrmissions other that edit profile so they have a chance to update the key, since i have a lot memberst hat forget to click no expiry so i have to update the key my self


Let me give this a quick reply before this gets out of control.

You should take a look at -> eveapi_update.php

Whenever an user's account has been disabled, he/she can re-enable the account by going to that page and filling in their Charactername (as Username obv.), Password, NEW keyId and NEW vCode.
If all the data is correct, and the user is allowed to have an active account, the user should see: You are logged in.
If something went wrong, the user has given no valid API details or he/she is not allowed to have an active account, the script should forward you to a normal login page (is a bug, am working on a better version atm).


To answer your other question:

No, I will not change that when an user has invalid API details, the account will be disabled.
Simple reason: Why would an user be part of an EVE-based forum without API details?
Only exception I can think of would be an admin account, which can be ignored by enabling the feature in the ACP.

Oh, and for each other person you want to "ignore", you could make a group and add him/her to that specific ignore group.
KongGal
Circle-0f-Two
Circle-Of-Two
#149 - 2012-02-21 16:04:05 UTC
Cyerus wrote:


No, I will not change that when an user has invalid API details, the account will be disabled.
Simple reason: Why would an user be part of an EVE-based forum without API details?


there is 1 simple reason for that.

stupid members who is clueless about the API and cant find the no expiry box. each day i have to reactivate like 2-4 accounts

it would be alot better if the cron would move them to a non permission / guest permission group where they can login and update the API data if the data is correct then it would put them into Member group again
Cyerus
University of Caille
Gallente Federation
#150 - 2012-02-21 16:56:47 UTC
KongGal wrote:
Cyerus wrote:


No, I will not change that when an user has invalid API details, the account will be disabled.
Simple reason: Why would an user be part of an EVE-based forum without API details?


there is 1 simple reason for that.

stupid members who is clueless about the API and cant find the no expiry box. each day i have to reactivate like 2-4 accounts

it would be alot better if the cron would move them to a non permission / guest permission group where they can login and update the API data if the data is correct then it would put them into Member group again


Those users can use link-to-forum.com/eveapi_update.php to re-enable their own account with new API settings.
KongGal
Circle-0f-Two
Circle-Of-Two
#151 - 2012-02-21 23:23:21 UTC  |  Edited by: KongGal
Cyerus wrote:
KongGal wrote:
Cyerus wrote:


No, I will not change that when an user has invalid API details, the account will be disabled.
Simple reason: Why would an user be part of an EVE-based forum without API details?


there is 1 simple reason for that.

stupid members who is clueless about the API and cant find the no expiry box. each day i have to reactivate like 2-4 accounts

it would be alot better if the cron would move them to a non permission / guest permission group where they can login and update the API data if the data is correct then it would put them into Member group again


Those users can use link-to-forum.com/eveapi_update.php to re-enable their own account with new API settings.


ohh i see now >.< sorry

is it possible in the eveapi_update that you can add a link under the Vcode box to where they can get the API key predefined

and reflect in the language/en/common.php file on 'ACTIVE_ERROR' telling them where to reactivate the account
Dumgard
State War Academy
Caldari State
#152 - 2012-02-26 19:57:40 UTC  |  Edited by: Dumgard
Hey guys,

Has anyone else received an error when registering that gives an error saying:

SQL ERROR [ mysql4 ]

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 '' at line 4 [1064]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.

===========================================================================
It still successfully registers the person upon giving the error, and they can log in the forum successfully, but I am trying to hunt it down to see what I did wrong.

Any help or ideas would be greatly appreciated, thanks!
KongGal
Circle-0f-Two
Circle-Of-Two
#153 - 2012-03-02 00:30:49 UTC
i get the problem that the cron disable a lot of accounts when with active keys, "i can watch them by doing a API call my self"

Any reason on this?
Gary Hagon
W.A.R. Inc.
#154 - 2012-03-02 05:08:27 UTC  |  Edited by: Gary Hagon
Hey Cyerus, I have been cracking my head on this mod for a few hours now, and I cant seem to get it to work...

The list of alliances/corps allowed does not show up, but i do get the master enable/disable



PM me ingame please...
salia Shiar
The Scope
Gallente Federation
#155 - 2012-03-02 12:09:19 UTC
the latest problem i get is that when i attempt to put my ID in for teamspeak it just deletes it when i hit submit, gives me no errors. Is there something that needs to be enabled somewhere?

it also says to me

Quote:
Fatal error: Uncaught exception 'TeamSpeak3_Adapter_ServerQuery_Exception' with message 'invalid loginname or password' in /home/domain/public_html/forums/includes/eveapi/TeamSpeak3/Adapter/ServerQuery/Reply.php:305 Stack trace: #0 /home/domain/public_html/forums/includes/eveapi/TeamSpeak3/Adapter/ServerQuery/Reply.php(82): TeamSpeak3_Adapter_ServerQuery_Reply->fetchError(Object(TeamSpeak3_Helper_String)) #1 /home/domain/public_html/forums/includes/eveapi/TeamSpeak3/Adapter/ServerQuery.php(140): TeamSpeak3_Adapter_ServerQuery_Reply->__construct(Array, 'login client_lo...', Object(TeamSpeak3_Node_Host)) #2 /home/domain/public_html/forums/includes/eveapi/TeamSpeak3/Node/Abstract.php(72): TeamSpeak3_Adapter_ServerQuery->request('login client_lo...') #3 /home/domain/public_html/forums/includes/eveapi/TeamSpeak3/Node/Abstract.php(96): TeamSpeak3_Node_Abstract->request('login client_lo...') #4 /home/domain/public_html/forums/includes/eveapi/TeamSpeak3/Node/Host.php(708): TeamSpeak3_Node_Abstract->execute('login', Array) #5 /home/karm in /home/domain/public_html/forums/includes/eveapi/TeamSpeak3/Adapter/ServerQuery/Reply.php on line 305

Gary Hagon
W.A.R. Inc.
#156 - 2012-03-02 21:13:23 UTC
Never mind about earlier, I gave up and just started fresh, everything is working now, but I have to reinstall all the other mods...


TEMAndroid
Barrel Roll Squad
#157 - 2012-03-06 17:09:24 UTC
Can u add option that can allow registration to members who have no standing to me|corp|alliance?
Gary Hagon
W.A.R. Inc.
#158 - 2012-03-07 19:07:40 UTC
That option is already in there under standings.

You can also go into the general settings and make it so anyone can register without a api.
TEMAndroid
Barrel Roll Squad
#159 - 2012-03-08 07:17:21 UTC
No, I'm talking about api registration, so if member does not have working api key he must be forbidden to register
I want to register ONLY evemembers with active subscription. Now if char have no stand from me, he can't register...
Hatoshi Onohira
Doomheim
#160 - 2012-03-08 11:38:36 UTC
Have been working on this for several hours, everything installed okay and when I went to test.. received this error message.

SQL ERROR [ mysqli ]
Unknown column 'eveapi_keyId' in 'field list' [1054]
An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.

Can you tell me what I doing wrong.

Recruiting – Happening Now!

See our recruitment forum post for more details: - PvP, Industrial and Exploration Corp LF Pilots