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

Akov Stohs
Windowlickers Inc
Posted - 2010.05.26 14:55:00 - [31]
 

After setting this up, after I added the first forum, My admin user cannon browse to any forum as it keeps redirecting to the User Control Panel. I have filled out the api, and all the information on that page. But still locks me in?

Any ideas?


Cyerus
Galactic Dominion
Eternal Strife
Posted - 2010.05.26 16:45:00 - [32]
 

I have no clue.
The package should work if set up correctly.

Have you had any problems with PHPBB 3.x itself running on your webhost?

Beani Kliadi
Caldari
Arekin Piggy Bank
Posted - 2010.05.27 11:44:00 - [33]
 

Edited by: Beani Kliadi on 27/05/2010 15:47:55
I'd like to help with making this project better, I'm new to all this php code so may take me some time to wrap my head around it.

Theres several idea's that I'd like to try and make work with the eve api on my website (wallet, skill tree, mail, calendar, market orders).

Today I'm going to install this forum on my host and see how it works. Hopefully it will work. I'm wondering if you have a list of the files you added the api code into, I could probably work out how the api code works and come up with more applications for it.

Contact me ingame.

Thanks, Beani Kliadi

----Edited by: Beani Kliadi on 27/05/2010 13:10:19
Right, I've installed the forum and everything is at the default install setting. I then registered a new user. Then I set "Validation method:" to Alliance, "Entity:" to Arekin Syndicate, "Allow non-member registration:" No, "Member Group:" Registered Users and "NonMember Group:" Guest.

After doing the above I was unable to edit in the new users API information. But I was able to register another user and enter the information in there.

Shortly I'll test if it stops users logging in who are not in the alliance or have been removed from the alliance.

----Edited by: Beani Kliadi on 27/05/2010 13:37:08
I just registered a 3rd user and deleted the first, registered with no issues.
Then I created a new API key for the 3rd user and was still able to login and post with no issues. Having a invalid API key after entering a valid does not effect the login or permissions.

Will test this again in a few hours, if it checks the API key again it should put up a block of some kind. Otherwise the main function of this API Login on the phpBB forum is useless.

It is still letting the 3rd user with a invalid API Key login. So this does not work even after 1 hour.

----Edited by: Beani Kliadi on 27/05/2010 13:50:15
I just created a new character on a trial account, I then attemted to register the user on the forum. It denied my registration. I then move this character into one of the Alliances corporations. It denied my registration.

What is the refresh time on the API Key checks for the forum?

This worked after an hour. The 4th user is now registered.

----Edited by: Beani Kliadi on 27/05/2010 14:21:27
I just tried to update the 3rd users API Key with the new one in the ACP. It says
"Warning

The API information you entered was invalid."

I'll try again when (if) it checks the API Keys.

I still cannot update the API key for the 3rd user via the ACP, even after 1 hour.

I was able to update the 3rd users API key via the UCP of the 3rd user.



Akov Stohs
Windowlickers Inc
Posted - 2010.05.27 14:55:00 - [34]
 

None at all, I think there is probably 30+ instances of it on my server running fine with out this mod.

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2010.05.28 07:55:00 - [35]
 

Beani Kliadi:

Thank you for the tests.
I'm about to release an update to the mod, both full version and ModX.
This will address issues in the overalls tability and rewritten major part of the old code, including api_cron.php

I would like you to contact me as soon as you read this post, to check why the mod is not working for you while it is for me.

Alliance/corp information is updated once every hour on the EVE-API server.
However the test to check if the API key is valid should work within the second.

Lady SensouKimi
Posted - 2010.05.28 14:09:00 - [36]
 

well the link is dead and i cant download this mod, im runing phpnuke that has phpbb3, what i was wandering if it would work with phpnuke because haveing a portal is more worth and easyer to run that just a forum anywho im trying to find something like this that works with php nuke so maybe yours in the awnser only problem is i can not download it.

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2010.05.28 15:08:00 - [37]
 

Edited by: Cyerus on 28/05/2010 15:15:15
API-MOD updated to version 4.
Included are 2 BBcodes designed for the IGB.
Lots of bug small fixes aswell.

Oh, and ModX :)

See topicstart post for updated links.
And yes, the link works, altho at this moment the Eve Forum VIRUS LINK WARNING screen doesn't...
ps. Read the readme.txt file!

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2010.06.01 15:39:00 - [38]
 

Just a bump and question if any might have found a bug.

Faridi Dem
Brothers of Destiny
Phobia.
Posted - 2010.06.04 13:18:00 - [39]
 

first of all, very nice you contiuned this mod for phpbb3. so far i havnt found any bugs, but i got a feature request.

atm if the api check fails, the account will be deactivated. it would be nice to have an option that does the following

api check (corpmember) -> fail -> swicht user from group corpmember to nonmember


FreakOfNature666
Posted - 2010.06.14 14:50:00 - [40]
 

I set my forum to allow non-alliance members to register but when I try to register a toon that is not in the alliance I get "The API information you entered was invalid." Also when a toon name is spelled wrong I get the same message instead of a toon not found message.

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2010.06.14 21:50:00 - [41]
 

Originally by: FreakOfNature666
I set my forum to allow non-alliance members to register but when I try to register a toon that is not in the alliance I get "The API information you entered was invalid." Also when a toon name is spelled wrong I get the same message instead of a toon not found message.


I can't just check on character, it's the full package.
If you supplied the correct information the API should pop up.
If not, the page doesn't show. -> Nothing for me to change on that.

If I have the time, I will check on the issue with the "allow non-alliance members". Yet why don't you set the API check to "None"?

Thorin Wren
EVE Guardian Angels
Split Infinity.
Posted - 2010.06.14 22:29:00 - [42]
 

Hi, thx for the work you are doing on this mod. The mod is working fine for me but I am unable to get the cron script to work. I get the following error.....

/api_cron.php: line 1: ?php: No such file or directory
/api_cron.php: line 3: //: is a directory
/api_cron.php: line 27: syntax error near unexpected token `('
/api_cron.php: line 27: `$clean_userid_array = eveapi_array_userid($all_users);'

Any ideas?

Thanks again

-TW-

MEXXDOR
Posted - 2010.06.15 09:32:00 - [43]
 

hi

bbcodes not work for all items --> Please visit your user settings to re-enable images.

thx


FreakOfNature666
Posted - 2010.06.15 17:21:00 - [44]
 

Originally by: Cyerus
Yet why don't you set the API check to "None"?


I want a public section and an alliance only section on the forum. I could make the public section open to guests but I would rather have everyone register so they can not claim to be someone else. I like the idea of putting alliance members in one group and non-alliance members in another group. That way I can make the public section viewable by all groups accept guest and the alliance only section viewable by only people in the alliance group.

FreakOfNature666
Posted - 2010.06.15 23:43:00 - [45]
 

I fixed my problems.

The toon I used to test if non alliance members could join was not in an alliance. In functions_users.php case 2 of the validatechar function returned an invalid api error message if allname was equal to null. I set that to use corp id instead. Now not being in an alliance when api is set to verify by alliance does not cause an error.

As for getting an invalid api message for misspelling your toon name... I think I fixed that. In the same function I added:

$url = "http://api.eve-online.com/char/CharacterSheet.xml.aspx?userID={$user_row['api_userid']}&apikey={$user_row['api_limitedkey']}&characterID={$charid}";
$xml = curl_file_get_contents($url);
preg_match("/<error code=\"(.+)\">/",$xml,$errid);
$errid = $errid[1];


if($corpid == NULL && $errid == 201)
{
return $user->lang['INVALID_API_TOON'];
}

and the related language section. With that the invalid toon name error message only worked if I entered and existing toon name that was not on the account. To fix that I went into ucp_register.php and edited it to look like this:

if ($config['api_validation'])
{
$charid = getID($data['username'], true);
// if(!$charid)
// {
// $error[] = $user->lang['INVALID_CHAR_NAME'];
// }
}


Now charid gets set to 0 for invalid character names and the validatechar function now returns error 201 for any name entered that is not on the account. I was able to do this because the eve api returns 0 for any invalid toon name.

if commenting out that little section of code may have broke something else plese let me know. :)

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2010.06.16 08:14:00 - [46]
 

Originally by: Thorin Wren
Hi, thx for the work you are doing on this mod. The mod is working fine for me but I am unable to get the cron script to work. I get the following error.....

/api_cron.php: line 1: ?php: No such file or directory
/api_cron.php: line 3: //: is a directory
/api_cron.php: line 27: syntax error near unexpected token `('
/api_cron.php: line 27: `$clean_userid_array = eveapi_array_userid($all_users);'

Any ideas?

Thanks again

-TW-


You seem to be getting some weird PHP error, and I don't think it has anything to do with the api_cron.php script.
The first lines states that the PHP opening tag isn't viewed correctly, are you sure you didn't change anything to the file?

To fix it you can try to redownload the package and replace the api_cron.php script with the one from the downloadfile.

leath4xr
Posted - 2010.06.16 13:40:00 - [47]
 

a few things:
first of all, this is cool, i have been playing around with this for a while with no luck yet, but it looks promising and i have been looking at the code, looks like it should be working

second, i noticed there were a few problems with the inability to download the packages, have you ever tried google code? the will host all the files for you, check it out!

and third, when you edit the registration permissions, is the entity the ID or the literal name of the corp/alliance?

DaReaper
Net 7
Intrepid Crossing
Posted - 2010.06.16 18:34:00 - [48]
 

does this mod include a way to have people placed in a certin group based off the corp they are in? So i can set a forum for corp x only and all users of corp x can see said forum?

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2010.06.16 22:10:00 - [49]
 

Originally by: Faridi Dem
first of all, very nice you contiuned this mod for phpbb3. so far i havnt found any bugs, but i got a feature request.

atm if the api check fails, the account will be deactivated. it would be nice to have an option that does the following

api check (corpmember) -> fail -> swicht user from group corpmember to nonmember




Thanks for the idea, will include that in a future release.


Originally by: MEXXDOR
hi

bbcodes not work for all items --> PICTURE HERE

thx




Will be fixed in the next release -> 4.1


Originally by: leath4xr
a few things:
first of all, this is cool, i have been playing around with this for a while with no luck yet, but it looks promising and i have been looking at the code, looks like it should be working

second, i noticed there were a few problems with the inability to download the packages, have you ever tried google code? the will host all the files for you, check it out!

and third, when you edit the registration permissions, is the entity the ID or the literal name of the corp/alliance?


The mod should work corerctly, I use the exact same code and haven't had any install / mod problem so far.
I can set up some kind of test forum so you can see it in action if you like? Ofcourse no admin-panel access, but normal functions should be visible...


Originally by: DaReaper
does this mod include a way to have people placed in a certin group based off the corp they are in? So i can set a forum for corp x only and all users of corp x can see said forum?


If you set the non-alliance (or non-corp) group to guests, and the alliance / corp members group to registered users and delete the guest group from every private forum -> should work.
Then just open 1 small forum pure and only for guests to see, having like a welcomepage explaining that a user needs to create an account to see the full forum, which will disappear after the user logged in ;)

leath4xr
Posted - 2010.06.18 00:22:00 - [50]
 

nah, i have a test forum of my own thats setup atm, and its working, however when i test user registration it just gives me a blank screen when i submit the form

also part of my previous question when i fill out the group settings, so i select the type of ID to look for, i select alliance and in the id space do i put the alliance ID or the literal alliance name (10475348 vs Blah Alliance)?

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2010.06.18 00:33:00 - [51]
 

Originally by: leath4xr
nah, i have a test forum of my own thats setup atm, and its working, however when i test user registration it just gives me a blank screen when i submit the form

also part of my previous question when i fill out the group settings, so i select the type of ID to look for, i select alliance and in the id space do i put the alliance ID or the literal alliance name (10475348 vs Blah Alliance)?


Would you mind emailing the character/API information of the user giving a blank screen?

Answer to your second question is already answered in the MOD itself:

Quote:
Entity:
The name of the corporation or alliance in which membership is required.


Chro'Tal
Habitual Euthanasia
Pandemic Legion
Posted - 2010.06.18 18:33:00 - [52]
 

Edited by: Chro''Tal on 18/06/2010 18:33:41
Now this is an excellent mod, thank you for continuing this.

It took me a while to find the API verification part in the registration settings, you might want to hint on that in the readme.

One thing I am missing for our Alliance forum is the possibility to enter a director's full API and draw the member corporations from there, then link those to user groups, which new forum members are put into by default.

Shouldn't be too hard, I'd be very glad to have that and save me the time to assign the groups to each new member manually.

PS: Shouldn't user avatars be loaded by the API as well? Somehow it doesn't work for me...

Zagdul
Gallente
Clan Shadow Wolf
Fatal Ascension
Posted - 2010.07.06 06:38:00 - [53]
 

How hard would it be for you to port this to SMF?

Vhaydher
Gallente
Posted - 2010.07.06 16:27:00 - [54]
 

Edited by: Vhaydher on 06/07/2010 16:27:41
Originally by: Zagdul
How hard would it be for you to port this to SMF?


There already is something like this for SMF: Link

DaReaper
Net 7
Intrepid Crossing
Posted - 2010.07.09 22:34:00 - [55]
 

all this is missing is a way to link members of corps in the alliance into there own forums

Carl Rannseier
Caldari
Trust Foundation
Liberi Fatales
Posted - 2010.07.10 08:38:00 - [56]
 

Nice work u did there, although u might want to change the lines 588 and 628 of "includes/bbcode.php" to this:

Quote:

582 function bbcode_second_pass_eveitem($itemname)
583 {
584 global $db, $phpbb_root_path;
585
586 $sql = 'SELECT *
587 FROM eve_items
588 WHERE itemName = "' . $db->sql_escape($itemname) . '"';
589 $result = $db->sql_query($sql);
590 $row = $db->sql_fetchrow($result);
591 $db->sql_freeresult($result);
592
593 $preview_array = array(2,6,18,23,40);
594 $return_string = $itemname;
...


line 628 is the same for the system name. that way it is using phpbb's built in database methods and u don't have to bother what db driver actually is used. i came across this since i'm using mysqli.

keep up the great work m8, really appreciate it.

Drake Draconis
Minmatar
Shadow Cadre
Shadow Confederation
Posted - 2010.07.11 08:43:00 - [57]
 

Edited by: Drake Draconis on 11/07/2010 08:43:51
Excellent job... I love this package.

Comments:
1: Instructions would be deathly/dangerous to any noob who didn't know enough about PHPBB systems to be dangerous... strongly urged to find a way to automate the SQL insertion commands via PHP or some such.

2: Might want to set a trap/error code for when you tell the API checker to use "Pre-set" User Groups... triggered an SQL Error... managed to find out that you have to use a pre-set group to make it happy again. Minor but a little annoying if your not the tinker'er type.

3: I got a suggestion for your "why allow more than one corporation/alliance" bit...

Standings... some alliances may want guests or some such... or there may be some corporations with +10 standings... would be nice to have extra sets of permissions set aside for them. Push them to different groups perhaps?


Conclusion - Fantastic addition to any EVE Online PHPBB... I love it. Hope it works when I throw a a crapload of users at it. :)

Question - If you leave API fields blank... does it "assume" your just a guest and not error out? Havn't tried this yet as no one that doesn't play eve will be seeing this board but I'd like to put it on a couple others for just corporations.

Agent Unknown
Caldari
Posted - 2010.07.14 22:03:00 - [58]
 

Link is broken. Please host it again...I need it. Crying or Very sad

Drake Draconis
Minmatar
Shadow Cadre
Shadow Confederation
Posted - 2010.07.15 09:46:00 - [59]
 

Email me at sc.goomba@gmail.com if you want a set... I'd like to see this project continue with development.

Gerin Tell
The Plexus Syndicate
The Order of New Eden
Posted - 2010.07.15 14:44:00 - [60]
 

Edited by: Gerin Tell on 15/07/2010 18:33:41
Edited by: Gerin Tell on 15/07/2010 18:32:22
I apologize if this question has already been answered, but as I have not seen an adequate response so far i'll ask away:

I have the old API mod running on my forum (version 2.1.1) and I am looking to update to this version. Can I simply update the files, and if so how would I go about doing this? I, of course, know how to do it as it's working and installed on my board currently, but I was wondering if there was an alternative to manually installing everything again, or if that is even possible without creating errors.

The current mod version I'm running has a lot of issues and limitations, so I'd love to update!


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