open All Channels
seplocked EVE Technology Lab
blankseplocked phpBB3 API Registration Mod v3+
 
This thread is older than 90 days and has been locked due to inactivity.


 
Pages: first : previous : 1 2 3 4 [5] 6 7 8 9 ... : last (10)

Author Topic

SirOldenburg
Amarr
Practical Directions
Posted - 2010.12.20 23:35:00 - [121]
 

The download link is down, please give a new link

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2010.12.21 00:33:00 - [122]
 

Edited by: Cyerus on 21/12/2010 00:50:14
4.2 for phpBB 3.0.8 released into the wild :D

If you find any bug, please EVEmail me or reply to this topic.

Shoot2kilI
Caldari
Unchained Potential
Test Alliance Please Ignore
Posted - 2010.12.21 04:09:00 - [123]
 

Appreciate the work you've put into this cy. I feared you were gone so I muddled through and adapted 4.0 to work with the newest installation of phpbb. Good to know I can scratch my sloppy coding and revert back to the professional =D Look forward to some ISK coming your way. Sent you a mail in-game.

Dvorak Telemnar
Griffin Capsuleers
Ad-Astra
Posted - 2010.12.21 19:46:00 - [124]
 

Edited by: Dvorak Telemnar on 21/12/2010 19:49:12
Thank you greatly for updating the MOD.

This is the first time I am using it and phpBB (clean install) so please excuse any ignorant questions.

I have 3 issues that I can't seem to solve :
1) When adding API credentials via User Administration; it always fails even if the credentials are correct and working (tested on EveMon and manual test using http://api.eve-online.com/account/AccountStatus.xml.aspx?userID=<user_id>&apiKey=<api_key>
Error message : "Warning: The API information you entered was invalid."

2) api_update.php regularly (most times) does not activate accounts and when it redirects to http://forum/ucp.php?mode=login&sid=very_long_number it is just a blank page.

3) For accounts that have managed to activate using their API's, their Eve Character Portrait is not coming up as their avatar and I can't seem to find where to fix that.

Is there any documentation for the MOD as to what it does and does not do and how to configure it?

I would appreciate any help I can get.

Running on Apache 2 with PhP5 and MySQL standard install on Ubuntu 10.10 and register_globals turned off (default)

Tested with IE, firefox (windows & linux) and IGB.

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2010.12.21 22:28:00 - [125]
 

Originally by: Dvorak Telemnar
Edited by: Dvorak Telemnar on 21/12/2010 19:49:12
Thank you greatly for updating the MOD.

This is the first time I am using it and phpBB (clean install) so please excuse any ignorant questions.

I have 3 issues that I can't seem to solve :
1) When adding API credentials via User Administration; it always fails even if the credentials are correct and working (tested on EveMon and manual test using http://api.eve-online.com/account/AccountStatus.xml.aspx?userID=<user_id>&apiKey=<api_key>
Error message : "Warning: The API information you entered was invalid."

2) api_update.php regularly (most times) does not activate accounts and when it redirects to http://forum/ucp.php?mode=login&sid=very_long_number it is just a blank page.

3) For accounts that have managed to activate using their API's, their Eve Character Portrait is not coming up as their avatar and I can't seem to find where to fix that.

Is there any documentation for the MOD as to what it does and does not do and how to configure it?

I would appreciate any help I can get.

Running on Apache 2 with PhP5 and MySQL standard install on Ubuntu 10.10 and register_globals turned off (default)

Tested with IE, firefox (windows & linux) and IGB.



1.) Recheck the settings for the API check. Usually (95% of the cases) it's either a typo or lowercase/uppercase problem in the name of the corporation / alliance.
Be sure it is written EXACTLY the same as ingame.

2.) Blank page is not good, but if you recheck step 1, it could be fixed. Try and please reply back.

3.) Under Avatar settings, enable Avatars in general, enable EVE avatars and, because of a small bug, enable the ability to upload avatars. This should bring up the Avatar options in the User CP.

Hope it helps.

~Cy

Demitrios
Di-Tron Heavy Industries
Atlas.
Posted - 2010.12.22 18:14:00 - [126]
 

How do you stop this message from coming up when doing an api_cron, "Succesful -> Non-Member override".

The person its showing up on is someone thats left, and it isnt making them inactive.

Any ideas?

Thanks,

Demi

Dvorak Telemnar
Griffin Capsuleers
Ad-Astra
Posted - 2010.12.22 20:43:00 - [127]
 

Originally by: Cyerus

1.) Recheck the settings for the API check. Usually (95% of the cases) it's either a typo or lowercase/uppercase problem in the name of the corporation / alliance.
Be sure it is written EXACTLY the same as ingame.

2.) Blank page is not good, but if you recheck step 1, it could be fixed. Try and please reply back.

3.) Under Avatar settings, enable Avatars in general, enable EVE avatars and, because of a small bug, enable the ability to upload avatars. This should bring up the Avatar options in the User CP.~Cy


I have confirmed that the corp name is spelt correctly and exactly as in game.
I have enabled everything to do with avatars I could find

Still no luck. Anything else I could check?

Paris vonTroja
Posted - 2010.12.22 22:48:00 - [128]
 

Is there any possibility to move a char in corp/alli in several usergroups automatically?
Next question, is it planned to identify directors and CEO to move them in special groups? perhaps in a next step dependent on given title?

Gerin Tell
The Plexus Syndicate
The Order of New Eden
Posted - 2010.12.23 23:54:00 - [129]
 

I'm still using version 2.1.1 and would love to update, but it seems the download link is down... could someone please upload the newest version when they have some time? I ended up updating phpbb3 and losing some of the features, so I'll definitely need the files again : /

Amazing mod, though, it's been infinitely helpful!

Demitrios
Di-Tron Heavy Industries
Atlas.
Posted - 2010.12.24 00:46:00 - [130]
 

http://eve-it.org/phpBB%20API%20MOD%204.2.zip

Same one thats in the first post of the thread.

Demitrios
Di-Tron Heavy Industries
Atlas.
Posted - 2010.12.25 01:47:00 - [131]
 

Edited by: Demitrios on 25/12/2010 01:50:59
Fixed my problem, needed to disable "Allow non-member registration", this then puts non corpies into the non corp group.

Going to check how this affects people that join the fourm to post in the recruitment section.

EDIT:

Character is not a member of the corporation "Di-Tron Heavy Industries"

So i'd say this is a bug, as it overrides putting the person in the non member group, and the only fix is to disable non corp registerations.

Thanks for the mod :).

Demi

Demitrios
Di-Tron Heavy Industries
Atlas.
Posted - 2010.12.25 02:41:00 - [132]
 

Edited by: Demitrios on 25/12/2010 02:45:35
DEMI HAX!

In /includes/functions_user.php

Quote:
switch($config['api_validation'])
{
case 1:
$corp = (string) $xml->result->corporationName;
if($corp == $config['api_entity'])
{
cronlog("Succesful", $row['username']);
eveapi_accountmgt($row, true, 0);
return true;
}
else
{
if(!$config['api_nm_register'])
{
cronlog("User not part of correct corporation", $row['username']);
eveapi_accountmgt($row, false, 6);
return false;
}
else
{
cronlog("Succesful -> Non-Member override", $row['username']);
eveapi_accountmgt($row, false, 0);
return true;
// original line eveapi_accountmgt($row, true, 0);

}
}



Quote:

if($nr == 5)
{
//disabling account
// cronlog("Disabling account", $row['username']);
// $sql = "UPDATE " . USERS_TABLE . "
// SET user_type = '1', user_inactive_reason = '" . $nr . "', user_inactive_time = '" . time() . "'
// WHERE user_id = '" . $row['user_id'] . "'";
// $db->sql_query($sql);
// cronlog("Account disabled", $row['username']);
}



I also quoted out the disable account part, as i want to keep people on the forum in the "peon" area, this now allows me to allow non corp registrations AND move people into the non members group that have left.

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2010.12.25 02:53:00 - [133]
 

Originally by: Demitrios
Edited by: Demitrios on 25/12/2010 01:50:59
Fixed my problem, needed to disable "Allow non-member registration", this then puts non corpies into the non corp group.

Going to check how this affects people that join the fourm to post in the recruitment section.

EDIT:

Character is not a member of the corporation "Di-Tron Heavy Industries"

So i'd say this is a bug, as it overrides putting the person in the non member group, and the only fix is to disable non corp registerations.

Thanks for the mod :).

Demi


I don't understand what you mean exactly.
The whole concept of the non-members registration is to allow everybody who has working API information to register on the forums. People without an EVE account, basicly without valid API information, will still not be able to create an account if the API mod is enabled. On the other hand, who of that group would ever use this mod.

So that brings us back. I've scatched different situations and on what the current outcome should be. Please tell me which situation you use(d) and if the outcome you got matches the one on my list.

Situations scatch -> http://eve-it.org/situations.png



Cyerus
Galactic Dominion
Eternal Strife
Posted - 2010.12.25 03:06:00 - [134]
 

Originally by: Dvorak Telemnar
Originally by: Cyerus

1.) Recheck the settings for the API check. Usually (95% of the cases) it's either a typo or lowercase/uppercase problem in the name of the corporation / alliance.
Be sure it is written EXACTLY the same as ingame.

2.) Blank page is not good, but if you recheck step 1, it could be fixed. Try and please reply back.

3.) Under Avatar settings, enable Avatars in general, enable EVE avatars and, because of a small bug, enable the ability to upload avatars. This should bring up the Avatar options in the User CP.~Cy


I have confirmed that the corp name is spelt correctly and exactly as in game.
I have enabled everything to do with avatars I could find

Still no luck. Anything else I could check?



Contact me ingame, seems this is one of those bugs I need far more detailed information about :)
Oh, before I forget, are you using my premodded files?


Originally by: Paris vonTroja
Is there any possibility to move a char in corp/alli in several usergroups automatically?
Next question, is it planned to identify directors and CEO to move them in special groups? perhaps in a next step dependent on given title?


Multiple groups? No. Frankly no need for, every person can be set with the 1 member group.
Identifying directors / CEOs is hard, since atm. the API information from CCP doesn't correctly include titles. So when set by a title, there's just no way to check it at this point.

Demitrios
Di-Tron Heavy Industries
Atlas.
Posted - 2010.12.25 04:46:00 - [135]
 

Edited by: Demitrios on 25/12/2010 04:58:45
Originally by: Cyerus
Originally by: Demitrios
Edited by: Demitrios on 25/12/2010 01:50:59
Fixed my problem, needed to disable "Allow non-member registration", this then puts non corpies into the non corp group.

Going to check how this affects people that join the fourm to post in the recruitment section.

EDIT:

Character is not a member of the corporation "Di-Tron Heavy Industries"

So i'd say this is a bug, as it overrides putting the person in the non member group, and the only fix is to disable non corp registerations.

Thanks for the mod :).

Demi


I don't understand what you mean exactly.
The whole concept of the non-members registration is to allow everybody who has working API information to register on the forums. People without an EVE account, basicly without valid API information, will still not be able to create an account if the API mod is enabled. On the other hand, who of that group would ever use this mod.

So that brings us back. I've scatched different situations and on what the current outcome should be. Please tell me which situation you use(d) and if the outcome you got matches the one on my list.

Situations scatch -> http://eve-it.org/situations.png





The problem i was getting was that people that have left the corp, were still being kept in the member group, when i would prefer them to be moved into the non member group as the person may have left corp to move stuff in hisec during a wardec. It use to make them inactive, which was fine, but now theres more wiggle room in the code, it might as well dump non corp people into the public group.

The only way i was able to get the mod to downgrade an account was disabling non member registrations, which means people who wanted to join the corp via the forums couldnt join as they arent in the corp.

The edit that i did has not stopped API verification, but gives the ability of having non member registrations, and it moving people who have left the corp back into the non member group after it has removed all their groups, rather than it allowing non member registrations then not moving ex corpies into the non member group (Succesful -> Non-Member override (when doing cron_api.php)).

So in the picture you linked, none of them would be right for what i've hacked together, as i would like either option 6 or 7, but with user A.

Thanks for replying on xmas day :),

Demi

Demitrios
Di-Tron Heavy Industries
Atlas.
Posted - 2010.12.28 20:05:00 - [136]
 

Also, when running the api cron, it seems to dump some people who have valid api's and who are in corp into the non member group.

Not sure why, ill try and get it to do it some how.

Demi

Demitrios
Di-Tron Heavy Industries
Atlas.
Posted - 2010.12.29 11:11:00 - [137]
 

Edited by: Demitrios on 30/12/2010 02:14:38
Think i figured out what it was, i was running the api check on the hour, every hour, so the API check saw the server running, then half way through, the api server shutdown, failing the rest of the api checks.

Now onto the next oddity, if you have a member that registered while out of corp, and then joined the corp, on my board it is not adding the members group. All it says on the API CRON page is Sucsessful, keeps them in their current group (non members) and does nothing else, trying to see where in the code it does this, but all i can see is removing groups, not adding.

Any Ideas?

Demi

**EDIT**

This is also true for people that for people that join the corp and their api has not updated to show the corp, the previous version would have kept them in the non member group, but would put them in the member group after their api shows they are in the corp.

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2010.12.30 03:40:00 - [138]
 

Demi,

If possible I would like to have a voicechat session with you about the problems you currently have, and also about the features you might like to have added in the future.

Contact me by ingame mail to work out a place and time.

~Cy

Damned Monarchy
Posted - 2011.01.04 13:55:00 - [139]
 

Hi,

I have a fresh install of phpbb3 with the only addition the acidtech theme.

API mod is fully installed with no errors.

API mod is enabled for corp (spelled exactly as in game) with the following settings:

X Corporation
X Entity (My Corp spelled exactly as in game)
X Allow Non Member Registration (YES)
X Member Group (Registered Users)
X Non Member Group (Guests)

HOWEVER, when I go to register, there is nowhere to input the API details on the new registration page and when all details (without api) are entered (including spambot guard) I get the following error:

"The value you entered is too short."

How do I fix this please?

TIA

Drake Draconis
Minmatar
Shadow Cadre
Shadow Confederation
Posted - 2011.01.04 17:59:00 - [140]
 

I'm having an issue here as well.

I've been using the API Mod for some time.... now its time to do an update on both the API mod and the forums.

Can't update the Forums DB as the patcher crashes on your API Mod's entries...

Can't update the API mod because you say to update the forums first.

O.o;;;

Dvorak Telemnar
Griffin Capsuleers
Ad-Astra
Posted - 2011.01.04 18:42:00 - [141]
 

Originally by: Cyerus
Originally by: Dvorak Telemnar
Originally by: Cyerus

1.) Recheck the settings for the API check. Usually (95% of the cases) it's either a typo or lowercase/uppercase problem in the name of the corporation / alliance.
Be sure it is written EXACTLY the same as ingame.

2.) Blank page is not good, but if you recheck step 1, it could be fixed. Try and please reply back.

3.) Under Avatar settings, enable Avatars in general, enable EVE avatars and, because of a small bug, enable the ability to upload avatars. This should bring up the Avatar options in the User CP.~Cy


I have confirmed that the corp name is spelt correctly and exactly as in game.
I have enabled everything to do with avatars I could find

Still no luck. Anything else I could check?



Contact me ingame, seems this is one of those bugs I need far more detailed information about :)
Oh, before I forget, are you using my premodded files?


I sent an eve mail sometime ago. Fresh install so used the files provided in the download.
I have not been able to get this mod to work had to roll back (not as easy as it sounds!!!)

As I can't seem to find a comprehensive description of exactly what the mod does (other than EvE API authentication); I have a possibly stupid question;
If you are simply wanting to do EvE API verification of a character why do you need the characters API at all? There is an API to get a characters "info" without an API :
http://api.eve-online.com/eve/CharacterInfo.xml.aspx?characterID=1164053788
(provides basic info BUT includes the current corp & alliance [if any])

If you where to re-write (or replace with a simple script) the registration page so it can only be accessed using the IGB which will provide the char_id and a host of other very useful info ( http://wiki.eveonline.com/en/wiki/IGB_Headers ). This info can either be stored in custom tuples in the user tables or as custom [hidden] profile fields.

Character portraits can also be retrieved without the API ( http://image.eveonline.com/Character/<char_id>_<size>.jpg ) which I am sure can be downloaded to the forum avatar cache and linked.
See: http://wiki.eve-id.net/APIv2_Eve_Image_Service

I can only see a win by removing the API UserID & Key dependency from the equation :)

If possible it would be nice to be able to chose to either de-activate or move members to guest group (or group of choice) for members who have left the corp/alliance during an "api_cron" update.


Damned Monarchy
Posted - 2011.01.05 13:55:00 - [142]
 

Edited by: Damned Monarchy on 05/01/2011 13:55:40
ok.. fixed my initial. Seems that the api mod doesnt like the AcidTech Theme.

However I am now getting this new error:

Fatal error: Call to a member function attributes() on a non-object in xxxxxxxx/public_html/apitest/includes/functions_user.php

Any help that helps me fix it will be rewarded hansomly.

Labrena
Posted - 2011.01.05 20:29:00 - [143]
 

I think I found a bug.

When updating an API (api_update.php)

It does not check and make sure the user is in the appropriate groups and add them if not.

Example:
Old member returns to corp, re-activates their account with new API info via api_update.php.

Their acct is enabled, but not added to the group. Running the cron job after that, does not add user to correct group either.

Steph Wing
Gallente
The Graduates
Morsus Mihi
Posted - 2011.01.05 21:59:00 - [144]
 

So uh...after installing, registration fails and returns "The value you entered is too short."

Did I do something wrong? Anybody got a fix?

Labrena
Posted - 2011.01.05 22:22:00 - [145]
 

Originally by: Steph Wing
So uh...after installing, registration fails and returns "The value you entered is too short."

Did I do something wrong? Anybody got a fix?


Clear your template cache, it's not picking up the new templates.

Steph Wing
Gallente
The Graduates
Morsus Mihi
Posted - 2011.01.06 00:05:00 - [146]
 

That did it. Thanks for the tip. o7

Labrena
Posted - 2011.01.06 03:40:00 - [147]
 

Originally by: Labrena
I think I found a bug.

When updating an API (api_update.php)

It does not check and make sure the user is in the appropriate groups and add them if not.

Example:
Old member returns to corp, re-activates their account with new API info via api_update.php.

Their acct is enabled, but not added to the group. Running the cron job after that, does not add user to correct group either.


I was testing this some more multiple different ways..

No matter what, the user is not added back to the default corp/alliance group when they update their API info. It's like that part of the code logic is missing.

Orian NiKunni
Posted - 2011.01.07 04:42:00 - [148]
 

Edited by: Orian NiKunni on 07/01/2011 05:01:11
Hi, got a fatal error while trying to register a new account with the api mod.

Forum format= PHPbb3

Error=
Fatal error: Call to a member function attributes() on a non-object in /home/xxxxxxx/public_html/xxxxxx/includes/functions_user.php on line 3505


Code block =
/**
* Gets the ID for the specified username.
*
* @param string $username The username for the account to be created.
* @param bool $updatename Flag for whether to update the username's capitalization during registration.
* @return the character's ID.
*/
function getID(&$username, $updatename = false)
{
$url = "http://api.eve-online.com/eve/CharacterID.xml.aspx?names=".urlencode(stripslashes($username));
$xml = simplexml_load_string(curl_file_get_contents($url));
$id = (string) $xml->result->rowset->row[0]->attributes()->characterID;
if($updatename)
{
$username = (string) $xml->result->rowset->row[0]->attributes()->name;
}
return $id;
}


Line being called out: $id = (string) $xml->result->rowset->row[0]->attributes()->characterID;




Since my knowledge of php scripting is quite limited I'm not sure where the exact error is.

Drake Draconis
Minmatar
Shadow Cadre
Shadow Confederation
Posted - 2011.01.09 21:38:00 - [149]
 

Still cannot update my forums DB or files or the Mod due to a paradox with the update itself.

I would appreciate help because this patch closes some security holes.

Reinstalling the DB would be unacceptable.

I got 170 Members + who would not like having to re-do the whole damn account business.

Labrena
Posted - 2011.01.10 04:51:00 - [150]
 

Originally by: Drake Draconis
Still cannot update my forums DB or files or the Mod due to a paradox with the update itself.

I would appreciate help because this patch closes some security holes.

Reinstalling the DB would be unacceptable.

I got 170 Members + who would not like having to re-do the whole damn account business.


I think that's because he added the API's to the user table, instead of using the custom profile tables.


Pages: first : previous : 1 2 3 4 [5] 6 7 8 9 ... : last (10)

This thread is older than 90 days and has been locked due to inactivity.


 


The new forums are live

Please adjust your bookmarks to https://forums.eveonline.com

These forums are archived and read-only