Pages: 1 2 3 4 5 6 7 8 9 10 :: [one page] |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Cyerus
|
Posted - 2010.04.18 20:56:00 -
[1]
Current Version - 3.0 Released April 18, 2010
This is a modification written to allow support for membership validation within corporations or alliances in EVE Online via its API. This functionality can also be disabled via the Administration Control Panel, under "User registration settings". You can either manually install this mod (if you have mods already installed and in use), or you can copy the supplied files in the 'root' folder if you're installing this mod on a fresh installation (see below for version support).
Ignore references to phpBB.com's MODs section. This one will not be posted there, as it's got a specific purpose many phpBB users won't have use for.
NOTE: Only follow the Copy instructions if you don't have mods already installed. Otherwise, follow the manual edit directions.
Also, be sure to open the installation XML file in Firefox. IE incorrectly assumes there's a problem with the XML. NOTE: Currently I'm not yet finished with the
Link #1: phpBB 3.0.7-PL1 + API Mod v3.0 Link #2: API Mod v3.0 only [soon]
Please check my next post for the changelog.
I would like to thank Valek Rennesist for his past work on creating and maintaining this mod.
|

Cyerus
|
Posted - 2010.04.18 21:04:00 -
[2]
Placeholder for changelog, etc.
|

Keil Sonter
|
Posted - 2010.04.19 00:06:00 -
[3]
Hi,
Firstly let me thank you for taking the time to work on this as I know the effort involved and the work you will put in...
Now for the bad bit :)
I'm getting and error on the installtion at the 'create database tables' stage.
--------------------------------------------------------------------------- A fatal and unrecoverable database error has occurred. This may be because the specified user does not have appropriate permissions to CREATE TABLES or INSERT data, etc. Further information may be given below. Please contact your hosting provider in the first instance or the support forums of phpBB for further assistance.
install_install.php [ 1230 ]
SQL : INSERT INTO phpbb_users (user_type, group_id, username, username_clean, user_regdate, user_password, user_email, user_lang, user_style, user_rank, user_colour, user_posts, user_permissions, user_ip, user_birthday, user_lastpage, user_last_confirm_key, user_post_sortby_type, user_post_sortby_dir, user_topic_sortby_type, user_topic_sortby_dir, user_avatar, user_sig, user_sig_bbcode_uid, user_from, user_icq, user_aim, user_yim, user_msnm, user_jabber, user_website, user_occ, user_interests, user_actkey, user_newpasswd, user_allow_massemail) VALUES (2, 1, 'Anonymous', 'anonymous', 0, '', '', 'en', 1, 0, '', 0, '', '', '', '', '', 't', 'a', 't', 'd', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0)
Field 'api_userid' doesn't have a default value -----------------------------------------------------------------------------
Now I have an existing phBB3 installaton but I have setup a new directory on the server and a new database so I know its not a configuration issue or compatibility as I already have a running phpBB3.
Looking at the above the last statement 'Field 'api_userid' doesn't have a default value' seems to be the sticking point. Also the SQL INSERT doesn't include the api_userid in the field list.
When I look at the database the tables are configured but no data has been installed in the user table. This table should include the users such as Google_bot etc by default.
Please advise..
regards, Keil Sonter Website Hosting Services - EVE Corporation Classified Ad's, guides - Solar Sentinel |

Cyerus
|
Posted - 2010.04.19 02:19:00 -
[4]
Edited by: Cyerus on 19/04/2010 02:22:32 Which SQL-type are you using? I'm using MySQL (without MySQLi!) and I have no problems with setting it up.
Open install\schemas\schema_data.sql Change line 8 to 10 to this (the old ALTER TABLE lines):
Quote:
ALTER TABLE phpbb_users ADD COLUMN api_userid VARCHAR(10) NOT NULL AFTER user_form_salt DEFAULT ''; ALTER TABLE phpbb_users ADD COLUMN api_limitedkey VARCHAR(64) NOT NULL AFTER api_userid DEFAULT ''; ALTER TABLE phpbb_users ADD COLUMN character_id INTEGER UNSIGNED NOT NULL AFTER api_limitedkey DEFAULT 0;
Rerun setup and let me know if it works.
OR use this link to download a pre-modified schema_data.sql
|

Keil Sonter
|
Posted - 2010.04.19 05:49:00 -
[5]
Hi,
That was a fix but with a slight change in the ALTER in install\schemas\schema_data.sql
Quote:
ALTER TABLE phpbb_users ADD COLUMN api_userid VARCHAR(10) NOT NULL AFTER user_form_salt DEFAULT ''; ALTER TABLE phpbb_users ADD COLUMN api_limitedkey VARCHAR(64) NOT NULL AFTER api_userid DEFAULT ''; ALTER TABLE phpbb_users ADD COLUMN character_id INTEGER UNSIGNED NOT NULL AFTER api_limitedkey DEFAULT 0;
This should be
ALTER TABLE phpbb_users ADD COLUMN api_userid VARCHAR(10) NOT NULL DEFAULT '' AFTER user_form_salt; ALTER TABLE phpbb_users ADD COLUMN api_limitedkey VARCHAR(64) NOT NULL DEFAULT '' AFTER api_userid; ALTER TABLE phpbb_users ADD COLUMN character_id INTEGER UNSIGNED NOT NULL DEFAULT 0 AFTER api_limitedkey;
good work and thanks for your prompt response..
regards, Keil Sonter Website Hosting Services - EVE Corporation Classified Ad's, guides - Solar Sentinel |

Lompen
|
Posted - 2010.04.19 10:56:00 -
[6]
Edited by: Lompen on 19/04/2010 10:56:03 Well,, the download is the complete forum and mod.
Do you perhaps have the mod itself? or maybe specify where the edit directions are?
Edit: Sorry, i saw the second download is coming. My bad
|

Dan O'Connor
Cerberus Network Dignitas.
|
Posted - 2010.04.19 13:39:00 -
[7]
Is there a mod like this for PunBB also? My Forum is PunBB ----
Store | Apply |

He dares
Caldari Silexx
|
Posted - 2010.04.19 14:52:00 -
[8]
Originally by: Cyerus
Link #1: phpBB 3.0.7-PL1 + API Mod v3.0.1
This link doese not work
|

Cyerus
|
Posted - 2010.04.19 18:23:00 -
[9]
Fixed the link :)
|

Ecliptic Illusion
Caldari Emerald Empire
|
Posted - 2010.04.20 02:37:00 -
[10]
Edited by: Ecliptic Illusion on 20/04/2010 02:37:57 Is there another location to download this from? Would like to test this out so I can update our forums :) That link is downloading at like 10b/s lol.
nvm it speeded up :) - Ecliptic |
|

Tidachidd
|
Posted - 2010.04.21 21:35:00 -
[11]
Edited by: Tidachidd on 21/04/2010 21:36:26 Thanks for stepping up as the new dev. 
|

Lompen
|
Posted - 2010.04.22 05:49:00 -
[12]
any updates on the release of the mod only? |

Cyerus
|
Posted - 2010.04.22 12:14:00 -
[13]
Originally by: Lompen any updates on the release of the mod only?
I'm sorry, what do you mean exactly?
|

Lompen
|
Posted - 2010.04.24 08:40:00 -
[14]
well,, i have a forum with a couple of mods in it.. So i would love if you could release the mod only.
with modification info
|

Lompen
|
Posted - 2010.04.29 08:43:00 -
[15]
Any updates`?
|

Head Noob
|
Posted - 2010.04.30 13:52:00 -
[16]
I just installed a fresh copy of the 3.0.7-PL1+API Mod v3.0.1 file referenced in the OP (Thanks for your efforts), and everything is working up to the point when I try to register a the first user.
The API fields are not showing up for entry on the register page, and when I submit, it complains the "entry is too short".
The registration completes normally when I turn off the API mod in the admin control panel.
Any ideas what I could be doing wrong? Do I need to set up custom user fields manually or anything?
|

Geallen
Gallente ACME Holding Looney Toons.
|
Posted - 2010.05.02 03:01:00 -
[17]
Any ETA on the MOD only? I did a diff on your phpbb+mod and might have some issues trying to merge/modify with the number of mods and customization already on our board.
Also, if it helps, let me know if you need a mirror, I would be glad to set up a sync for you. Contact me in-game evemail.
...G.
|

Lompen
|
Posted - 2010.05.03 12:30:00 -
[18]
Please update this with the mod only.
Would be really appreciated
|

Cyerus
|
Posted - 2010.05.05 02:24:00 -
[19]
Sorry I haven't been in touch.
I have been working on more eve related mods for the forum ^^, which will be released very soon. After that I the mod-only file will be released, but be aware that file will probably take an hour to mod into your existing forum.
The issue about the API fields not showing up on the registration page I haven't had yet. I use the alliance feature, haven't tested the corp one. Can you reinstall the whole forum (basicly start over) and test it again, if possible write down the steps you did (changes you did) comparing it to the default settings?
|

Alex Stokes
|
Posted - 2010.05.10 07:32:00 -
[20]
Where can I find the installation instruction? I have some mods already installed and need the installation xml file.
|
|

xXShadowWarriorXx
|
Posted - 2010.05.11 08:13:00 -
[21]
I installed the forum, all good, no errors, everything but the API works. I installed a style. (maybe that was the problem?)
I then enabled the API thing. I then went to register a new user, and the fields don't show up, i enter the info anyway, and hit submit. then i get the value too short thing and can't proceed any further.
Also another problem - it doesn't seem as though there is any way for me to set my API key once already registered. Would I have to get people to re-register in order for them to be able set the API key?
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2010.05.12 03:51:00 -
[22]
You need to edit certain style files to add the API fields.
If you are using the default skin, users can change their API under User Control -> Profile -> Edit account settings.
|

xXShadowWarriorXx
|
Posted - 2010.05.12 11:36:00 -
[23]
could you please tell me how to edit my style? if that's even possible.
It's the one thing stopping this mod from being completely awesome right now.
|

Jules Asner
|
Posted - 2010.05.14 05:11:00 -
[24]
Hey guys i have found the files that need to be modified. If you do NOT know what you are looking at it will be hard to change. Eve mail me in game and i can ether do it for you (isk fee) or tell you the files to edit (higher isk fee if i have to fix it)
|

Amon Rhar
Samsara Dynamics
|
Posted - 2010.05.19 07:51:00 -
[25]
I'm trying to install the mod and get the following error:
Parse error: parse error, unexpected T_OBJECT_OPERATOR in C: \ Inetpub \ vhosts \ meudominio.com \ httpdocs \ forums \ includes \ functions_user.php on line 156
I glanced at the code and you put it:
152 - function getId (& $ username, $ updatename = false) ( 153 - $ url = "http://api.eve-online.com/eve/CharacterID.xml.aspx?names =". Urlencode (stripslashes ($ username)); 154 - $ xml = simplexml_load_string (file_get_contents ($ url)); 155 - $ id = (string) $ xml-> result-> rowset-> row [0] -> attributes () -> characterID;
I thought the error was on line 152 showing the variable username with the character '&' but even removing the error continues, someone would have some solution?
|

xXShadowWarriorXx
|
Posted - 2010.05.19 08:12:00 -
[26]
Here's a solution that worked for me AND allowed eve API's to work with custom themes:
Delete PHPBB and install SimpleMachines Forum. Much better. And more modern. And the EVE API mod WORKS.
|

Lompen
|
Posted - 2010.05.20 09:35:00 -
[27]
i'm afraid that is not a solution. Thats just avoiding problems. We want it on phpbb, hence the topic name
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2010.05.22 01:30:00 -
[28]
Amon Rhar: I don't see any bugs on that line, nor line 156 itself. The zipfile works for me, as it sohuld for you without any problems. Nonetheless, would you mind posting a bigger snippet of the code? (between quote brackets if possible).
All: First version of ModX file will be released this weekend, expect it on somewhere on the sunday evening UTC.
|

Amon Rhar
Samsara Dynamics
|
Posted - 2010.05.22 04:24:00 -
[29]
So I've been thinking about the error and possible causes.
Realized it could be PHP then updated my forum to a server with PHP 5.0 and it worked perfectly, perhaps because the mod is not compatible with PHP 4 is a tip for those who experience this problem in the future.
I would take and take two doubts:
1 - How do I allow users to be registered in two different corps, but these corps are not in the same alliance?
2 - Registered users are not showing tab of Users and Groups> Manage Users they appear only in the Inactive Users, but once you activate them they do not appear anywhere, is this normal?
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2010.05.22 17:50:00 -
[30]
Edited by: Cyerus on 22/05/2010 17:52:10 Answer to the previous post questions:
1. No, impossible for now. At this point I don't see why this would be needed? If you can convince me, I'll try to work something out.
2. I'm not sure what you mean exactly by this. Are you sure you have setup the API-settings correctly? AdminCP: General -> User registration settings -> (scroll down to the bottom) API validation settings -> Member Group. Default should be Registered Users.
|
|

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 Secure Holdings
|
Posted - 2010.05.27 11:44:00 -
[33]
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
|

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 Primary.
|
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 Retribution.
|
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 -->
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 The Last Brigade
|
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
Caldari Empire Luminance Alliance
|
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 Shadowed Command 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 The Last Brigade
|
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:
582function bbcode_second_pass_eveitem($itemname) 583{ 584global $db, $phpbb_root_path; 585 586$sql = 'SELECT * 587FROM eve_items 588WHERE 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. ________________________________________ There are 10 types of people, those that understand binary and those that don't... |

Drake Draconis
Minmatar Shadow Cadre Xenogenesis Alliance
|
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. ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Agent Unknown
Caldari
|
Posted - 2010.07.14 22:03:00 -
[58]
Link is broken. Please host it again...I need it.  I forgot to mention that you are in fact reading something that is called a signature. |

Drake Draconis
Minmatar Shadow Cadre Xenogenesis Alliance
|
Posted - 2010.07.15 09:46:00 -
[59]
Email me at [email protected] if you want a set... I'd like to see this project continue with development. ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Gerin Tell
The Plexus Syndicate The Order of New Eden
|
Posted - 2010.07.15 14:44:00 -
[60]
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?
The current mod version I'm running has a lot of issues, so i'd love to update! Also can this be installed on phbb3 3.0.5, or only 3.0.7-PL1? (I'm having trouble updating to 3.0.7PL-1, an issue caused most likely by the very mod I am hoping to update!) -Gerin Tell President of the Order of New Eden Alliance CEO of The Plexus Consortium |
|

DiLantius
Caldari More-Cowbell
|
Posted - 2010.07.16 01:31:00 -
[61]
I'm sorry if this has been answered before, but I can't seem to find out how to do this. I've installed this mod on my test phpbb server, but from what I can tell I can only use it for bbcode stuff, like entering a system name and linking it in game.
Is there more to it than that? How can I take advantage of more functionality without knowing php/js and the api system intimately?
1.) I've seen on a few phpbb powered alliance boards where the profile has a dedicated Eve Online section of the profile settings. Under that, there are spaces to enter the User ID/limited-api, along with the TS3 uniq Id for teamspeak registration. Then under that are lines that list which characters are associated with the userid/api. In addition, you can have those link back to the alliance/corp killboard.
Not only that, but it gives you the option to pull the avatar from eve and replace your uploaded avatar in phpbb. Under your avatar it also shows your total kills/losses and k/d ratio. Also your kills per month.
So what I'm curious about is if the info to do that is out there already, or if that's a custom job. Also, how difficult would that be to do?
Thanks very much to anyone who can answer that. I hope it stems from the use of this API mod.
|

Carl Rannseier
Caldari Trust Foundation Liberi Fatales
|
Posted - 2010.07.17 03:02:00 -
[62]
Edited by: Carl Rannseier on 17/07/2010 03:02:08 @ Gerin Tell: I can't help ya here, i think for this you have to ask Cyerus. I actually think that you have to do all the work again cos he has rewritten pretty much all of the code so it might be easier setting it up from scratch again.
@DiLantius: You have to update your board template if you want those functions to work properly. The mod ships with the prosilver template only so this is the only one that actually works when you initially install it. The files that need to be modified are:
- prosilver based templates
- posting_buttons.html
- ucp_avatar_options.html
- ucp_profile_reg_details.html
- ucp_register.html
- subsilver2 based templates
- posting_buttons.html
- ucp_profile_avatar.html
- ucp_profile_reg_details.html
- ucp_register.html
You can tell what style was used to create the one you are using by looking up those files in the "phpbb/styles/<your_style>/template" folder. check if there is either ucp_avatar_options.html (prosilver) or ucp_profile_avatar.html (subsilver2). If it is prosilver based then simply follow the steps that can be found in the install_api_registration_4.0.xml file. it's well structured and easy to read. For a subsilver based style i don't have any instructions ready but you can contact me ingame and we can figure out how to get your board running correctly with this mod. ________________________________________ There are 10 types of people, those that understand binary and those that don't... |

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2010.07.17 08:36:00 -
[63]
Edited by: Drake Draconis on 17/07/2010 08:37:32 OK.
One of the things that didn't get mentioned or looked over was how to kick the module in do automatically check for valid members of ______ according to the API Mod's settings.
Cyerus included a "api_cron.php" file that can be triggered if you surf manually to it... but that's such a pain to do if you forget to do it enough.
CRON is a cronological "egg timer" that basically triggers various tasks on the server/computer in question. The "api_cron.php" file is a script that can be triggered by CRON... but only if you know how to set it up.
Most servers are linux based... and the majority of them (not all) grant SSH access on request to allow you to walk around the jailed_root portion of your web server.
Let me be very clear... this type of thing is not to be taken lightly... you must follow instructions clearly and carefully.
There's a few unknowns that I have yet to figure out answer but they won't break anything.
Step1: You must log into your server's SSH portal. Typically that information is made available on request if your able to do so.
ssh [email protected]
It then asks for password... and may require a signature approval or encryption key addition.
Step2: Make sure your aware of the exact literal location of your files
For example:
~/web/forums/directory/api_mod.php
(~ is relative to your home account/default directory)
Typically PHP is stored in ~/usr/bin/php5 (Cyerus says it requires PHP5 but it MAY run PHP4 (Which is just php)
Step 3: Now that you know where your files are... it's time to test that the script runs. #WARNING - If it finds any accounts on your forums that do not check out... it will deactivate the account. Requiring reactivation by Admin#
/usr/bin/php5 -q web/forums/directory/api_mod.php
you should see some text scroll by with HTML code... that means it works. If it says "no input file found" it means you've not triggered the file correctly. Technically the api_mod.php is NOT an executable script in the eyes of the server... its a script. You have to pass it to PHP to handle and then it will run the commands in that file.
You may have to learn a little more about how your server is configured... can't help you there as all are potentially configured differently but typically its the same... so hopefully you'll be fine.
#If it doesn't work... you can stop here and log out by typing exit And it will leave your server unharmed#
Step 4: time to get the command into CRON. CRON uses a "crontab" to allow you to add your own "cron jobs". Provided the server provider allows access to said feature. Usually they do... they just restrict what it can do.
type this crontab -e
You'll be dumped into a VI Text editor...
type i Use the arrow keys to type the following: 00 00 * * * /usr/bin/php5 -q web/forums/directory/api_mod.php 00 12 * * * /usr/bin/php5 -q web/forums/directory/api_mod.php
hit the ESC Key then SHIFT : (colon). Then type x Hit Enter Your done.
What this does is tell the CRON "daemon" to run that script every 12 hours at 00:00 and 12:00 (your Servers Time Zone not EVE Time)
Google CRON and CRONTAB to learn more how to mess with it. If you think you've messed up you can back up to crontab -e and add a # in front of each line to disable it... or you can erase it.
So yeah... little bit of command line but it should work.
My server emailed me each time it ran the script. So it works.
So if you want to automate it without the fuss... there you go.
Maybe Cyerus will find a way for it to automate that process by installation script? Not sure how you'd do that.
but there you go for you Linux Nerds.
type exit on the command line to close out.
PS: Set the crontab to go off at a time closer to your own to test it... you'll have to figure out which time zone its in to do that! Feel free to come up with quicker "hands free" solutions. Unless you want to manually surf to the page on your own.
========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Carl Rannseier
Caldari Trust Foundation Liberi Fatales
|
Posted - 2010.07.17 11:34:00 -
[64]
I recommend creating a backup of your database before creating the cron job as it's always a good idea to have one.
Quote: Step1: You must log into your server's SSH portal. Typically that information is made available on request if your able to do so. ssh [email protected] It then asks for password... and may require a signature approval or encryption key addition.
Windows users should actually google for "putty" and download it, as it is the most used ssh client for windows users. the ssh command itself only runs on unix based operating systems.
Quote: type this crontab -e
You'll be dumped into a VI Text editor...
type i Use the arrow keys to type the following: 00 00 * * * /usr/bin/php5 -q web/forums/directory/api_mod.php 00 12 * * * /usr/bin/php5 -q web/forums/directory/api_mod.php
hit the ESC Key then SHIFT : (colon). Then type x Hit Enter Your done.
As some installations of php don't change the working directory you should go a more failsafe way. use the editor of your choice to create a new file and simply name it api_cron without any endings. Copy and paste the following into the file:
Quote:
#!/bin/sh cd path/to/phpbb /usr/bin/php5 api_cron.php
make sure to change the "path/to/phpbb" part according to the location where phpbb is located on the webserver and upload the file. Make the uploaded file executable for the user(owner) and group by either using the FTP client or type "chmod ug+x path/to/api_cron" in the console.
now go ahead creating the crontab as described by Drake Draconis. Depending on the linux installation it might ask you what editor to use, i would recommend pico or nano if available rather than vi as vi is pretty hard to use for newbies. Once you edit the file one line is sufficient to run the script every 12 hours:
Quote: 0 */12 * * * path/to/api_cron
this kicks the job into action every 12 hours too and there's no need for a second line. ________________________________________ There are 10 types of people, those that understand binary and those that don't... |

DiLantius
Caldari More-Cowbell
|
Posted - 2010.07.17 21:29:00 -
[65]
Originally by: Carl Rannseier Edited by: Carl Rannseier on 17/07/2010 03:13:30 Edited by: Carl Rannseier on 17/07/2010 03:02:08 @ Gerin Tell: I can't help ya here, i think for this you have to ask Cyerus. I actually think that you have to do all the work again cos he has rewritten pretty much all of the code so it might be easier setting it up from scratch again.
@DiLantius: You have to update your board template if you want those functions to work properly. The mod ships with the prosilver template only so this is the only one that actually works when you initially install it. The files that need to be modified are:
- prosilver based templates
- posting_buttons.html
- ucp_avatar_options.html
- ucp_profile_reg_details.html
- ucp_register.html
- subsilver2 based templates
- posting_buttons.html
- ucp_profile_avatar.html
- ucp_profile_reg_details.html
- ucp_register.html
You can tell what style was used to create the one you are using by looking up those files in the "phpbb/styles/<your_style>/template" folder. check if there is either ucp_avatar_options.html (prosilver) or ucp_profile_avatar.html (subsilver2). To check this you can simply use the acp, go to the styles tab -> templates -> edit the style you are using. there you get a dropdown box that offers you all files within that template. you can also modify it there althouh a proper editor would perform better.
If it is prosilver based then simply follow the steps that can be found in the install_api_registration_4.0.xml file. it's well structured and easy to read. For a subsilver based style i don't have any instructions ready but you can contact me ingame and we can figure out how to get your board running correctly with this mod.
Thanks for the reponse, very detailed and helpful. However, I just want to double check to make sure I'm on the right track. I currently use prosilver as that's the default template with phpbb3. When I installed this mod, I went through each directory, and overwrote all the files from the prosilver template, with the ones from this mod.
I thought that did what the install_api_registration_4.0.xml install guideline did? I'm going to check through the code again and make sure I did this right. As of now, the profile page has the userid/api fields, you can enter, it validates. It also allows bbcode references to eve to be made in a post. However, avatar pulls don't seem to be an option, automatic or manual, so they're not working atm. And no other options as far as putting kill information under the avatar are available.
But thank you very much for pointing out the specific files I need to edit to add functionality manually. I stalled on this to work on some other things, and that list is going to make it much easier to find/edit those specific things.
Thanks 
|

Carl Rannseier
Caldari Trust Foundation Liberi Fatales
|
Posted - 2010.07.18 01:00:00 -
[66]
Have you checked the ACP -> General -> Avatar settings? You have to enable EVE avatars there.
About Kill information i don't know anything. That might be another mod as this one only uses the API to validate whether the user is allowed or not. ________________________________________ There are 10 types of people, those that understand binary and those that don't... |

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2010.07.18 01:43:00 -
[67]
Let me take some time and answer some of your questions.
Originally by: Carl Rannseier Nice work u did there, although u might want to change the lines 588 and 628 of "includes/bbcode.php" to this:
Quote:
582function bbcode_second_pass_eveitem($itemname) 583{ 584global $db, $phpbb_root_path; 585 586$sql = 'SELECT * 587FROM eve_items 588WHERE 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.
Thanks for that bit of info, will be change din the future. Do note that currently it is relatively safe, considering 'regex' weeds out most of the damage.
Originally by: Drake Draconis 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.
1. Some kind of database change/update PHP script will be created and released in the next update. (will take some time, to do proper testing).
2. I'm not sure what you are asking here?
3. I will add standings support to the forum in a later version (not scheduled for v5). A simple list of corps/alliance to get access will however not be created, I'm thinking more of an on/off function with a numeric value of the standings a corp/alliance should at least have.
..and thanks for the kind words. 
Originally by: Agent Unknown Link is broken. Please host it again...I need it. 
Link works, hasn't changed since I uploaded it a while ago. You are probably trying to use an outdated version of the mod. Be sure to check the topic startpost to get updated information, including links.
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2010.07.18 02:13:00 -
[68]
Originally by: Gerin Tell 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!
Hhhmm, where to start. I suggest you download a 'clean' phpBB 3.0.7-PL1 pack from phpbb.com and read the instructions I've posted to mod the files.
The database on the other hand doesn't need much work. You should compare my DB-edits witht he ones from 2.1.1, and remove what is already done. I'm pretty sure I didn't change anything in the way 2.1.1 was editing the phpbb_users table, so you can ignore those. Besides that just add the ones that weren't in 2.1.1, and you should be fine.
This is a very very very short 'guide', can provide live-help if needed.
Originally by: DiLantius I'm sorry if this has been answered before, but I can't seem to find out how to do this. I've installed this mod on my test phpbb server, but from what I can tell I can only use it for bbcode stuff, like entering a system name and linking it in game.
Is there more to it than that? How can I take advantage of more functionality without knowing php/js and the api system intimately?
1.) I've seen on a few phpbb powered alliance boards where the profile has a dedicated Eve Online section of the profile settings. Under that, there are spaces to enter the User ID/limited-api, along with the TS3 uniq Id for teamspeak registration. Then under that are lines that list which characters are associated with the userid/api. In addition, you can have those link back to the alliance/corp killboard.
Not only that, but it gives you the option to pull the avatar from eve and replace your uploaded avatar in phpbb. Under your avatar it also shows your total kills/losses and k/d ratio. Also your kills per month.
So what I'm curious about is if the info to do that is out there already, or if that's a custom job. Also, how difficult would that be to do?
Thanks very much to anyone who can answer that. I hope it stems from the use of this API mod.
This mod is intended to add API verification to phpBB forums. Besides that, I added extra features specially made for either the ingame browser, or automated adminitration processes. Besides that, I'm aiming for a stable, easy-installable mod that is carefully tested before released.
I'm sure the other items you named are a custom job. Some of those features will be integrated in the mod, and others won't. Can't release more information on this subject at this point.
I would rather not spend development/testing time on custom jobs while releasing it to the public a month later. However, if you feel/need it ASAP, feel free to contact me.
Originally by: Carl Rannseier Edited by: Carl Rannseier on 17/07/2010 03:13:30 Edited by: Carl Rannseier on 17/07/2010 03:02:08 @ Gerin Tell: I can't help ya here, i think for this you have to ask Cyerus. I actually think that you have to do all the work again cos he has rewritten pretty much all of the code so it might be easier setting it up from scratch again.
Wrong, no need to rewrite it again. The way 2.1.1 and older were setup wasn't supporting major use. I just converted (read: rewritten) the functions to support phpBB internal functions and/or high usage. It's setup to relativly easy add new features.
|

Ghorth
|
Posted - 2010.07.23 13:32:00 -
[69]
Hi,
I've seen this mod on several corp forums and thought of installing it on mine. Now The only part that changed before actually installing the script (by just copy pasting most files) was I added a theme.
So i just copied the files which had to be uploaded in the prosilver skin, to the new skin.
Afterwards I've set every option (corps name, "Allow non-member registration" to yes, ...) And tried to register my self (as the API for my admin account wasnt entered), didn't work. So I used my admin account (which had the characters name) and tried to enter the API code from within the admin panel... Still I get the same error message that the API key is invalid.
Any ideas? Kind Regards
|

Carl Rannseier
Caldari Trust Foundation Liberi Fatales
|
Posted - 2010.07.28 12:14:00 -
[70]
Try using the UCP for your admin account. I also have troubles using the acp to modify api information. ________________________________________ There are 10 types of people, those that understand binary and those that don't... |
|

Miste Warren
|
Posted - 2010.08.05 04:54:00 -
[71]
Although my forum does not upload eve avatars automatically for some reason, and furthermore the ucp upload avatar feature is broken, everything else works perfectly! (I suspect the issues are stemming from my forum and it alone, not the mod... though if anyone has any solutions I'd love to hear them!)
I am extremely impressed at the upgrades Cyerus has made to this mod! The in-game stuff is especially fun to use as we can link ships, items and systems with a click of a button prior to posting!
Thanks for all your hard work!
|

Kaomond
|
Posted - 2010.08.05 16:39:00 -
[72]
I'm currently using the evestyle theme for my forum, will this work on that theme? If not is there a way to get it to work?
Link to the eveStyle theme site ... http://www.agabel.ch/cat_phpBB/theme_phpBB.html
|

Ramos Cornelious
Caldari Lonestar Distribution Inc.
|
Posted - 2010.08.08 15:49:00 -
[73]
I've tried using the API mod for my board, but whenerver somebody tries to register is just takes them back to the register page and does utterly nothing.
Pressing submit seems to submit the data but doesn't do anything but bring them pack to the register page again.
I followed to readme file to the letter, any suggestions?
|

Agent Known
|
Posted - 2010.08.13 00:40:00 -
[74]
Now I have a "major" issue. Whenever a non-alliance member registers the registration fails with "the API was invalid". I have it set up so non-alliance members can register but are placed in a different group. What's happening?  On another note, I also have an annoying sig. |

Rubke
The 8th Order
|
Posted - 2010.08.19 16:11:00 -
[75]
I just tried installing this mod (upload and copy all the files, run the mysql scripts).
But I cant fint anything that's related to the API mod. ACP, UCP and registration form are still the same.
I have another skinn installed, but this is disabled and thus we are using the default skin.
I think its a problem with the template files, but i dont know where to look.
|

Haden Ranch
|
Posted - 2010.08.20 21:57:00 -
[76]
Hi,
I've got the latest mod and im getting "Invaild API key" every time i try and input the ID and key. Also when you try and register on the forum and you enter the API key, nothing shows up.
Could you post a link to the latest version incase im behind.
Haden.
|

Zeers
|
Posted - 2010.08.22 12:26:00 -
[77]
it was a fresh install i followed the readme file
but i'm getting this error
Quote: General Error SQL ERROR [ mysqli ]
Unknown column 'api_userid' in 'field list' [1054]
An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
Any ideas?
|

Carl Rannseier
Caldari Trust Foundation Liberi Fatales
|
Posted - 2010.08.23 16:51:00 -
[78]
looks like you forgot to insert the new database tables located in the sql directory. ________________________________________ There are 10 types of people, those that understand binary and those that don't... |

Rubke
The 8th Order
|
Posted - 2010.08.23 17:15:00 -
[79]
Tnx for the respondse!
It's indeed working now. I'm going to try to get the mod working in another skin.
Tnx
|

Haden Ranch
|
Posted - 2010.08.23 18:35:00 -
[80]
Edited by: Haden Ranch on 23/08/2010 18:36:03 Ahh Right, ok.
|
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2010.09.06 00:33:00 -
[81]
Vacation is over, school started. Next weeks I'll release a new version.
If you have any issue that is still unresolved (or unanswered), please let me know and I'll get back to you as soon as I can. Ingame mail preferred.
~Cyerus
|

vale storm
Shadows Of The Federation
|
Posted - 2010.09.14 14:47:00 -
[82]
Hey there,
Some great work on this mod I cannot wait to get it working. I have installed it on my forum which has around 120 users currently registered. Everything seems to be running fine and I have setup all the settings in the acp the way I want them. I ran the api_cron.php file which has checked and disabled all accounts with out api details in the account details.
I am not running the standard theme but I followed the xml file to change all the code specified in the theme files that I have currently running on the forum. The issue I am having is when trying to add the api details to my own admin account on the forum I am getting "The API information you entered is invalid.". I am not sure what this means, the details are definitely correct. I have also made sure that my forum account has my characters in game name of "vale storm" all lower case. I have also tried entering the key via the acp and ucp but still no luck.
Is there anything else I could try to fix this issue?
Cheers, Vale.
|

Tevoda
Unrealized Reality NowWhat.
|
Posted - 2010.09.21 14:55:00 -
[83]
Install everything fine. Went through all the backend settings. When trying to register a user, it will accept all the information then proceed to http://nowwhat.mmocafe.net/ucp.php?mode=register and a blank page will appear.
If I check in the admin panel no request or registration of a new user is made.
Apache logs show nothing.
Any ideas?
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2010.09.21 22:39:00 -
[84]
It appears cURL is not installed properly, or not configured properly in the php.ini file. Either way, PHP doesn't recognize the function curl_init(), which suggest you need to doublecheck your settings.
Would you mind, just to be sure, to give me a link to a page showing phpinfo()?
|

Tevoda
Unrealized Reality NowWhat.
|
Posted - 2010.09.21 23:10:00 -
[85]
Edited by: Tevoda on 21/09/2010 23:11:17 Doh never mind. Too tired, forget to reload apache.
|

FreakOfNature666
|
Posted - 2010.09.22 04:14:00 -
[86]
Originally by: Tevoda Edited by: Tevoda on 21/09/2010 23:11:17 Doh never mind. Too tired, forget to reload apache.
lol, been there done that. On the bright side, at least you didn't restart sshd on a remote system over 1k miles away only to have sshd crash and never load back up. Second time that happened, I decided sshd was set up just fine the way it was.
Anyway, is there an ETA on the next version of this lovely mod?
|

Tevoda
Unrealized Reality NowWhat.
|
Posted - 2010.09.27 09:33:00 -
[87]
I got a question about admin/member changing member/user info. There seems to be no way to change the email or password unless I do it directly via sql. The message I get is "API key is too short" when I try to change the user email.
There is no field to change API/userid so how would the user/member do this themselves?
Any ideas thx.
|

Cyberslog
|
Posted - 2010.09.28 19:41:00 -
[88]
Is there a current download link? I'm getting 404 page when i try to download the mod.
|

Rasta Rocketman
Appetite 4 Destruction
|
Posted - 2010.09.28 21:26:00 -
[89]
I emailed you about this as well, but not sure if you check the email you provided so I'll post here too.
Anyway, can this mod be installed on a style called black pearl? http://www.phpbb.com/community/viewtopic.php?f=74&t=574818
In your mod, there are 4 files to edit in the prosilver style directory...however my Black Pearl style directory doesn't have the ucp_avatar_options.html file at all. Also, in my ucp_register.html file, I cannot find the code that needs to be replaced. My block of code regarding password confirmation looks much different.
I can post relevant code if necessary.
Is it still possible to install this mod on my board? _______________________________________________
|

Tevoda
Unrealized Reality NowWhat.
|
Posted - 2010.09.30 10:38:00 -
[90]
Originally by: FreakOfNature666
Originally by: Tevoda Edited by: Tevoda on 21/09/2010 23:11:17 Doh never mind. Too tired, forget to reload apache.
lol, been there done that. On the bright side, at least you didn't restart sshd on a remote system over 1k miles away only to have sshd crash and never load back up. Second time that happened, I decided sshd was set up just fine the way it was.
Anyway, is there an ETA on the next version of this lovely mod?
LOL I done worst I think, killed serial console located in another country while doing a kernel update. Not fun I can tell you :P
|
|

mazin mubinmiraj
|
Posted - 2010.10.03 09:01:00 -
[91]
I've done a significant amount of modification in order to get your mod working with PostgreSQL. Unfortunately, I have one minor problem: I can't seem to get avatars to display. The avatar file itself seems intact when downloaded, but phpBB doesn't seem to want to display the file correctly and the file itself seems odd though it has some semblance of JFIF header:
djpeg -verbose 2.jpeg Independent JPEG Group's DJPEG, version 8b 16-May-2010 Copyright (C) 2010, Thomas G. Lane, Guido Vollbeding Not a JPEG file: starts with 0x20 0x20
Any ideas?
|

Greyfish
CyberDyne Industries ESSANCE OF ESCALATION
|
Posted - 2010.10.03 21:27:00 -
[92]
Greetings, I sent this to Cyerus, but I know sometimes we get busy and dont log into the game so I thought posting here might help. I would like to thank anyone in advance for their help.
This issue comes up when I try to log in on my Forum Admin account.
This is a complete new install on a new phbb3 install. I have no accounts except the default forum admin that is created when you do the install. No other mods are installed. Error: Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /phpbb/includes/functions_user.php on line 3477
Few lines of the code from fuctions_user.php: * @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)); Line 3477 ---> $id = (string) $xml->result->rowset->row[0]->attributes()->characterID; if($updatename) { $username = (string) $xml->result->rowset->row[0]->attributes()->name; } return $id;
Any help you can give me would be great Greyfish
|

Onyc Chick
|
Posted - 2010.10.07 10:08:00 -
[93]
Just hoping someone can help with the problem I am having. Hopefully its just a box I havent ticked somewhere...
Basically the problem is with the avatars. Although I have enabled them in the ACP the UCP doesnt show the download your avatar option. The only place the option actually shows is in the ACP when I manually look at a member and then his avatar settings.
This basicaly means that users do not seem able to have the option to download their avatars but admins do...
Thanks for any pointers you guys can give me |

Geezer08UK
DARK ADAMA DEM0N HUNTERS
|
Posted - 2010.10.07 14:57:00 -
[94]
Have now hooked your MOD with working with EVEAuth for Drupal so when people register for the Website www.DemonHunters.org they auto register for comms and phpbb3 forums also.... amazing job ths mod :) ------------------------------------------------ Demon Hunters Alliance >>> www.demonhunters.co.cc |

Motoko Oshii
Caldari
|
Posted - 2010.10.09 00:48:00 -
[95]
Hi there.
I just installed this on my board, and I am having problems with the fact that SOME users' API keys aren't recognized as valid, while others are.
Can anyone provide some clarity here? Thanks! :)
|

Motoko Oshii
Caldari
|
Posted - 2010.10.10 21:42:00 -
[96]
Anyone? :)
|

Demitrios
Di-Tron Heavy Industries BricK sQuAD.
|
Posted - 2010.10.12 08:06:00 -
[97]
I'm getting that problem when trying to change someone's api, IE, they change their api, so i go to change it in the acp and it tells me its invalid, even though when i run it through evemon, its fine.
i end up having to manually edit the DB in order to change it, after that its fine.
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2010.10.14 20:12:00 -
[98]
Originally by: mazin mubinmiraj I've done a significant amount of modification in order to get your mod working with PostgreSQL. Unfortunately, I have one minor problem: I can't seem to get avatars to display. The avatar file itself seems intact when downloaded, but phpBB doesn't seem to want to display the file correctly and the file itself seems odd though it has some semblance of JFIF header:
djpeg -verbose 2.jpeg Independent JPEG Group's DJPEG, version 8b 16-May-2010 Copyright (C) 2010, Thomas G. Lane, Guido Vollbeding Not a JPEG file: starts with 0x20 0x20
Any ideas?
No clue, you might want to contact CCP about what them, I just copy/paste basicly.
Originally by: Greyfish
Greetings, I sent this to Cyerus, but I know sometimes we get busy and dont log into the game so I thought posting here might help. I would like to thank anyone in advance for their help.
I think I have answered you ingame, if not, hereby. I would like you to email me the charactername of the person (or multiple people) getting this error. I think I know what's wrong, just want to doublecheck.
Originally by: Onyc Chick Edited by: Onyc Chick on 08/10/2010 09:08:26 Just hoping someone can help with the problem I am having. Hopefully its just a box I havent ticked somewhere...
Basically the problem is with the avatars. Although I have enabled them in the ACP the UCP doesnt show the download your avatar option. The only place the option actually shows is in the ACP when I manually look at a member and then his avatar settings.
This basicaly means that users do not seem able to have the option to download their avatars but admins can do it for them...
Thanks for any pointers you guys can give me
2 options you need to set: - Enable Avatars - Enable EVE Avatars
Work for me with both enabled.
Originally by: Motoko Oshii Hi there.
I just installed this on my board, and I am having problems with the fact that SOME users' API keys aren't recognized as valid, while others are.
Can anyone provide some clarity here? Thanks! :)
Please contact me by ingame chat. Demitrios; you to if possible.
|

Donna Vecchi
|
Posted - 2010.10.24 02:12:00 -
[99]
I have installed this on a New board & For the life of me I cant get the API fields to appear on the registration page.
I have refreshed of everything in the Styles page, etc etc.....
Can you give me pointers to why its not work???
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2010.10.24 03:17:00 -
[100]
Originally by: Donna Vecchi Edited by: Donna Vecchi on 24/10/2010 02:24:21 I have installed this on a New board & For the life of me I cant get the API fields to appear on the registration page. I have activated the API Reg in 'User Registration Settings' I have refreshed of everything in the Styles page, etc etc.....
Can you give me pointers to why its not work???
It should work with the ProSilver default style. If you are using another template, you need to edit that yourself using the included .xml file.
|
|

Donna Vecchi
|
Posted - 2010.10.24 04:54:00 -
[101]
Originally by: Cyerus
Originally by: Donna Vecchi Edited by: Donna Vecchi on 24/10/2010 02:24:21 I have installed this on a New board & For the life of me I cant get the API fields to appear on the registration page. I have activated the API Reg in 'User Registration Settings' I have refreshed of everything in the Styles page, etc etc.....
Can you give me pointers to why its not work???
It should work with the ProSilver default style. If you are using another template, you need to edit that yourself using the included .xml file.
Dooh i was using a different style. Thanks. Any way.
A Question, Does this API mod check regularly to see if the Account is Subbed & if the character/s on the account are members of the Stated Corp/Alliance????
|

LoegPose
|
Posted - 2010.10.25 16:48:00 -
[102]
Ok so im in the process of moving forums from one server to another and are having big problems getting this mod to work.
First of i tried getting the mod going on the exsisting forum, when a new user hits submit the page goes blank and user is not add'd. i figured it might have been some **** gone wrong in the move from the old server to the new one, so i went a head and set up a new site, installed a freish copy of phpbb, uploaded the files from /pre-edit/ folder to my forum, then add'd the sql scripts the the db, and still, im getting the blank page when hitting submit.
i have no other issues with the server what, and when i disable the api mod i am able to register users just fine.
anyone have any clue as to whats going on? im having a hard time working out wtf to do about this one.
|

Krusty McNugget
|
Posted - 2010.10.26 09:53:00 -
[103]
Originally by: LoegPose Edited by: LoegPose on 25/10/2010 17:01:10 Ok so im in the process of moving forums from one server to another and are having big problems getting this mod to work.
First of i tried getting the mod going on the exsisting forum, when a new user hits submit the page goes blank and user is not add'd. i figured it might have been some **** gone wrong in the move from the old server to the new one, so i went a head and set up a new site, installed a freish copy of phpbb, uploaded the files from /pre-edit/ and /new files/ folder to my forum, then add'd the sql scripts the the db, and still, im getting the blank page when hitting submit.
i have no other issues with the server what, and when i disable the api mod i am able to register users just fine.
anyone have any clue as to whats going on? im having a hard time working out wtf to do about this one.
Got in touch with cyrous ingame, he jumped in ts3 with me and help me with my problem, its all fixed and good now, turns out you need curl to run this, and i was missing it. :) install now and all is working beutifully.
Thanks again!
|

Onyc Chick
|
Posted - 2010.11.07 09:22:00 -
[104]
Edited by: Onyc Chick on 07/11/2010 09:27:44 Ok things are getting real messy atm. Ever since the last patch i have had 2 instances where the 1st time a handful of members lost registration with a reason: Invalid API credentials. Today Sunday 1:00am all members have lost access with the same reason. I have the cron run every 2 hours (the reports are successful) and my users arent changing their APIs.
Does anyone know why this is happening ?
|

Krusty McNugget
|
Posted - 2010.11.07 14:13:00 -
[105]
Edited by: Krusty McNugget on 07/11/2010 14:15:36
Originally by: Onyc Chick Edited by: Onyc Chick on 07/11/2010 09:27:44 Ok things are getting real messy atm. Ever since the last patch i have had 2 instances where the 1st time a handful of members lost registration with a reason: Invalid API credentials. Today Sunday 1:00am all members have lost access with the same reason. I have the cron run every 2 hours (the reports are successful) and my users arent changing their APIs.
Does anyone know why this is happening ?
Same happend here.
Acording to the dev. this happens when the script does the check during server dt.
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2010.11.14 02:42:00 -
[106]
Originally by: Krusty McNugget
Originally by: LoegPose Edited by: LoegPose on 25/10/2010 17:01:10 Ok so im in the process of moving forums from one server to another and are having big problems getting this mod to work.
First of i tried getting the mod going on the exsisting forum, when a new user hits submit the page goes blank and user is not add'd. i figured it might have been some **** gone wrong in the move from the old server to the new one, so i went a head and set up a new site, installed a freish copy of phpbb, uploaded the files from /pre-edit/ and /new files/ folder to my forum, then add'd the sql scripts the the db, and still, im getting the blank page when hitting submit.
i have no other issues with the server what, and when i disable the api mod i am able to register users just fine.
anyone have any clue as to whats going on? im having a hard time working out wtf to do about this one.
Got in touch with cyrous ingame, he jumped in ts3 with me and help me with my problem, its all fixed and good now, turns out you need curl to run this, and i was missing it. :) install now and all is working beutifully.
Thanks again!
Only "major" difference in the use of functions between my mod and a "clean" forum is the use of cURL. YOu can simply check whether you have it on your webhost by searching for cURL in the phpinfo() page.
Originally by: Krusty McNugget Edited by: Krusty McNugget on 07/11/2010 14:15:36
Originally by: Onyc Chick Edited by: Onyc Chick on 07/11/2010 09:27:44 Ok things are getting real messy atm. Ever since the last patch i have had 2 instances where the 1st time a handful of members lost registration with a reason: Invalid API credentials. Today Sunday 1:00am all members have lost access with the same reason. I have the cron run every 2 hours (the reports are successful) and my users arent changing their APIs.
Does anyone know why this is happening ?
Same happend here.
Acording to the dev. this happens when the script does the check during server dt.
Indeed, the cronjob doesn't take into account the downtime of the server. New version does, and will be released soon. Easy fix is to set the API check 12 hours different from the scheduled downtime (for instance 1am servertime), since EVE haven't been offline for nearly as long as that. Detailed information of the process during downtime; CheckAPI ---api.eveonline.com--> 404 --search for alliance/corp tag--> not found, being empty "" --compare with presetup one--> no match, meaning not in corp/alliance --disable account--> account disabled :)
Fix is in next release.
|

BeanBagKing
Terra Incognita Black Star Alliance
|
Posted - 2010.11.14 20:42:00 -
[107]
Download link (http://87.253.139.8/phpBB%20API%20Mod%204.0.zip) is giving me a "The page cannot be found" error.
|

Institute Ofwar
Wrecking Shots -Mostly Harmless-
|
Posted - 2010.11.15 04:49:00 -
[108]
*waiting for new download link* --------------------------- Join "The Institute FanClub" JUST DO IT |

Damned Monarchy
|
Posted - 2010.11.18 03:04:00 -
[109]
Any word on the new download link?
|

PryMary
Minmatar
|
Posted - 2010.11.23 17:15:00 -
[110]
Originally by: BeanBagKing Download link (http://87.253.139.8/phpBB%20API%20Mod%204.0.zip) is giving me a "The page cannot be found" error.
The reason you can't download the file is because it has spaces in the filename. Hence the %20
Can you rename the file on the server to: phpBBAPIMOD4.zip or similar?
Many Thanks
|
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2010.11.24 14:22:00 -
[111]
I took the file temp. offline for the following reasons:
* phpBB 3.0.8 release was near, hence has been released few days back * Going to release 4.2 of the mod for phpBB 3.0.8 as one big package again
If you really really really want 4.0 for phpBB 3.0.7-PL1, sent me an ingame mail, altho expect to update it to 4.2 soon enough.
~Cy
|

Valek Rennesist
The Scope
|
Posted - 2010.11.25 08:27:00 -
[112]
Cyerus, now that I am back in EVE, I wanted to thank you for carrying on development of the mod. It is definitely appreciated. Thank you also for retaining the credit to me in your initial post.
|

PryMary
|
Posted - 2010.11.25 18:44:00 -
[113]
I have already updated to the latest version of PHPbb so will wait for the next release bro, thank you for this exceptional peice of netware mate donation coming your way :-)
|

Venetian Tar
United Systems Navy Wildly Inappropriate.
|
Posted - 2010.11.27 11:53:00 -
[114]
Eagerly awaiting the new version.
Currently running 3.0.8 by the way. |

Splastastic
|
Posted - 2010.11.27 23:32:00 -
[115]
Edited by: Splastastic on 27/11/2010 23:32:10 Is there an update for this yet? |

Lance Tyr
Minmatar New Eden Logistics
|
Posted - 2010.12.05 21:54:00 -
[116]
Is there an updated link for this? Where is the current version located?
|

Migo Gemcrusher
|
Posted - 2010.12.08 22:58:00 -
[117]
i have instaled this in my phpbb3 forum 3.0.7-PL1 but when i try to update it for 3.0.8 i receive this errors when i try to update mysql database:
Notice: Undefined index: api_userid in /home/..../public_html/includes/functions_user.php on line 300
Notice: Undefined index: api_limitedkey in /home/..../public_html/includes/functions_user.php on line 301
Fatal error: in /home/..../public_html/includes/db/dbal.php on line 694
can anyone help me resolve this?
|

Damned Monarchy
|
Posted - 2010.12.09 18:14:00 -
[118]
Any news on the updated download link??
TIA
|

MauserKar
|
Posted - 2010.12.16 02:09:00 -
[119]
bump for information.
|

ColdCase
|
Posted - 2010.12.17 15:20:00 -
[120]
Originally by: Migo Gemcrusher i have instaled this in my phpbb3 forum 3.0.7-PL1 but when i try to update it for 3.0.8 i receive this errors when i try to update mysql database:
Notice: Undefined index: api_userid in /home/..../public_html/includes/functions_user.php on line 300
Notice: Undefined index: api_limitedkey in /home/..../public_html/includes/functions_user.php on line 301
Fatal error: in /home/..../public_html/includes/db/dbal.php on line 694
can anyone help me resolve this?
I would like help to resolve this aswell
|
|

SirOldenburg
|
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]
4.2 for phpBB 3.0.8 released into the wild :D
|

Shoot2kilI
Caldari
|
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
|
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
|
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
|
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! -Gerin Tell President of the Order of New Eden Alliance CEO of The Plexus Consortium |

Demitrios
Di-Tron Heavy Industries
|
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
|
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
|
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
|
Posted - 2010.12.25 04:46:00 -
[135]
Edited by: Demitrios on 25/12/2010 04:49:25
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.
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
|
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
|
Posted - 2010.12.29 11:11:00 -
[137]
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 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
|

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;;; ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |
|

Dvorak Telemnar
Griffin Capsuleers
|
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 Blame The Bunny Reverberation Project
|
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 Blame The Bunny Reverberation Project
|
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
Orian's EvE Communications
|
Posted - 2011.01.07 04:42:00 -
[148]
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/odstkill/public_html/apitest/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.
|
|

Norjia Blacksteel
Gallente Blacksteel Mining and Manufacturing Renaissance Federation
|
Posted - 2011.01.11 02:58:00 -
[151]
Edited by: Norjia Blacksteel on 11/01/2011 03:14:15 My cron job doesn't seem to run at all. One of our members created his account, which worked, then invalidated his limited API to test the cron. Nothing has happened in 72 hours. He can still log in and see all the private boards.
ETA: Ok, I get it. I have to run the cron by hitting the page. Sorry about that! ---- Norjia Blacksteel CEO Blacksteel Mining and Manufacturing |

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.01.11 06:39:00 -
[152]
Edited by: Drake Draconis on 11/01/2011 06:40:48 Edited by: Drake Draconis on 11/01/2011 06:40:17
Originally by: Norjia Blacksteel Edited by: Norjia Blacksteel on 11/01/2011 03:14:15 My cron job doesn't seem to run at all. One of our members created his account, which worked, then invalidated his limited API to test the cron. Nothing has happened in 72 hours. He can still log in and see all the private boards.
ETA: Ok, I get it. I have to run the cron by hitting the page. Sorry about that!
Check earlier posts *in this thread*... I think I posted a way to run the script automatically.
Requires SSH access however. Others have since improved it... ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Norjia Blacksteel
Gallente Blacksteel Mining and Manufacturing Renaissance Federation
|
Posted - 2011.01.11 13:24:00 -
[153]
Originally by: Drake Draconis Edited by: Drake Draconis on 11/01/2011 06:40:48 Edited by: Drake Draconis on 11/01/2011 06:40:17
Check earlier posts *in this thread*... I think I posted a way to run the script automatically.
Requires SSH access however. Others have since improved it...
I don't mind running it by hand. Just didn't know I had to.
Also, should I expect the cron-job to reinstate people whose APIs changed? It was valid, he joined, it worked. He invalidated it, the cron kicked him. He did api_update.php and fixed his API key, and it re-activated his account. But it didn't put him into the Members group. ---- Norjia Blacksteel CEO Blacksteel Mining and Manufacturing |

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.01.11 19:00:00 -
[154]
The API Security System (AKA Script) should re-instate the member but only to the group you set originally in the system as far as I know.
Keep in mind the version I run is outdated... If you haven't noticed yet... I'm unable to update because the forums are out of date...and the forums can't update because of the API Mod.
And the authors gone MIA on us.
Your strongly encouraged to automate the script... that way the only thing you have to do is turn it off from the ACP and back on when CCP does their thing. ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Steph Wing
Gallente Blame The Bunny Reverberation Project
|
Posted - 2011.01.12 05:43:00 -
[155]
Is this mod not compatible with some themes? I can't get it to work with any except the default Prosilver.
|

Demitrios
Di-Tron Heavy Industries Atlas.
|
Posted - 2011.01.12 19:25:00 -
[156]
Edited by: Demitrios on 12/01/2011 19:27:55
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.
Go through with the update, telling it to trash all the modifications, then re-add them after its installed.
Was the only way i could make sure i was getting the new version of phpbb.
You can thank the lazy guys at phpbb for not making a propper modding system like EDK for this. (editing core core = pants on head ******ed)
Plus i spoke to him on Sunday, and he was busy at looking at the code to fix the bugs, so he hasnt gone mia, just afk :).
|

Demitrios
Di-Tron Heavy Industries Atlas.
|
Posted - 2011.01.12 19:30:00 -
[157]
Originally by: Steph Wing Is this mod not compatible with some themes? I can't get it to work with any except the default Prosilver.
You need to read up (1st or 2nd page iirc), it tells you what theme files you need to edit, as the API text box's aren't in the theme you are trying to use (phpbb's modding system ftw...).
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.01.12 22:01:00 -
[158]
Just to clarify;
I'm not MIA nor afk. I'm working on this mod in my spare time, basicly dividing time between school, work and EVE.
The problem with phpBB, as Demitrios has already pointed out, is that's it's not having any modding engine at all. You may ask, what's the difference? Let me try to explain.
Normally when you are talking about a moddable application, it's consists of 1 Core and 0 to infinite Modules. The Core is basicly the inner workings of the program, like where/how the data is saved, connections, etc, basicly all the most important stuff that you shouldn't mess with. On the other hand we have modules (MODs). These mods are made to add additional funtionality to the program (Core). Some people would like to have a most clean version and have enough functionality using the Core only, other people would like tons of more functionality and thus rely on a ton of MODs.
This explained, you should now know that phpBB is setup as a Core package without any engine to allow mods. This means that to add functionality, we need to change key parts in the Core with the possiblity of destroying the whole script. While you may think that this isn't bad yet, imagine the person who wants 2+ mods on his phpBB, meaning he has to change the Core for each mod.When you've reached mod nr. 5, you wouldn't even know what you changed when you did nr. 2.
For instance, take the BBcodes in phpBB. You can easily add a simple replacement piece of BBcode into phpBB, like adding a certain smilie or the simple code to make text underlined. What it can't do however, is do things more advanced then that. So let's say I want to check the database and return some text, it falls under scripting and you'll need to change about 8 different sections of code in the Core.
Basicly, the best outcome would be if phpBB would make an MOD engine where instead of having to change the Core files, I would only have to supply you with a certain mod package that automaticly installs in a seperate directory, that once enabled is being used to double check everything.
Would gives us; - No more problems into updating our forums - No more different versions for different updates of phpBB - Far easier to manage
which will hopefully result into far more happy ppl.
~Cy
|

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.01.13 03:40:00 -
[159]
Edited by: Drake Draconis on 13/01/2011 03:44:55 Edited by: Drake Draconis on 13/01/2011 03:43:42 Whoa buddy... we kinda figured your busy... but lack of response/timing is not helpful for us panic/stricken allaince admins who can't update their forums due to a paradox.
Help? Please? ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.01.13 03:43:00 -
[160]
Edited by: Drake Draconis on 13/01/2011 03:45:48
Originally by: Demitrios Edited by: Demitrios on 12/01/2011 19:27:55
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.
Go through with the update, telling it to trash all the modifications, then re-add them after its installed.
Was the only way i could make sure i was getting the new version of phpbb.
You can thank the lazy guys at phpbb for not making a propper modding system like EDK for this. (editing core core = pants on head ******ed)
Plus i spoke to him on Sunday, and he was busy at looking at the code to fix the bugs, so he hasnt gone mia, just afk :).
The update CRASHES at the DB.
I can't exactly "skip that". Nor does it offer such things. Walk-through please? ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |
|

Demitrios
Di-Tron Heavy Industries Atlas.
|
Posted - 2011.01.15 05:58:00 -
[161]
Edited by: Demitrios on 15/01/2011 05:58:52 I'm sorry, i have re-read my post 5 times, and at no point do the words "skip that" come up, not even by them selves scattered around the place.
What i said was, when you are given the option to merge, scrap/overwrite or ignore/dont update, you tell it to scrap the changes, ie, delete your edited files and put the new ones in.
THEN, you have to re-add all the mods. it might moan about the fact there are 2 extra things in the user db (api data), but you deal with that the best way you see fit.
Thats the way i updated the forum while keeping all the data intact without having a "db crash".
Also, if you want help with updating phpbb, i suggest going to their support forum, and while you are there, join what ever threadnaughts you can find about the lack of a modding engine :)
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.01.15 18:09:00 -
[162]
Version 4.3 released with the following fixes:
- Fixed all the group settings for the api_cron script. - Added a file to (hopefully) make it possible for users to have a "simple" mean of updating their board. *NOTE!: Should be said the script is untested, but with good backups nothing can go unrepaired.
So, if you are still using 3.0.7-PL1 with the EVE API MOD, and want to update to 3.0.8; read on. Else, stop reading!
1. Backup your forum before even attempting to upload the "update307pl1to308.php" script. 2. Disable the board so no users are able to do anything while you are busy with the script. 3. Run the script (should only take seconds). Once it's finished, you'll read something like: "Step 1 completed". 4. Now update the forum using the normal phpBB update package. 5. Once your board is fully updated, install my 3.0.8 mod files by uploading the files in 'new_files' and 'pre_edit'. SQL is NOT NEEDED! 6. Now run the 'update307pl1to308.php' script again, after a few seconds it should say "Step 2 completed". 7. Delete 'update307pl1to308.php' from your forum and on you go.
If you have used this script, or are willing to risk using it, contact me by ingame evemail. I'll provide you with help with the script untill I'm statisfied it's working correctly. Nonetheless, be sure by triplechecking that you do have a functioning backup before attempting anything.
|

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.01.15 18:35:00 -
[163]
Edited by: Drake Draconis on 15/01/2011 18:35:23 Anyone successfully run the script and such yet? (Just nervous about taking the plunge as of yet) ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Demitrios
Di-Tron Heavy Industries Atlas.
|
Posted - 2011.01.15 23:01:00 -
[164]
Do a backup, and try the script.
|

Labrena
|
Posted - 2011.01.16 06:25:00 -
[165]
Originally by: Cyerus Version 4.3 released with the following fixes:
- Fixed all the group settings for the api_cron script. - Added a file to (hopefully) make it possible for users to have a "simple" mean of updating their board.
I believe this is a bug:
User has account got deactivated due to bad API. api_update.php corrected User acct still disabled, api_cron.php does not correct it either, since it skips disabled accounts.
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.01.16 15:32:00 -
[166]
Version 4.4 released.
-Updated and tested the 3.0.7-PL1 to 3.0.8 update script on my own forum, and now works like a charms. Follow the instructions I've posted few messages back, and you should be fine. If not, evemail me.
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.01.16 17:12:00 -
[167]
Originally by: Labrena
Originally by: Cyerus Version 4.3 released with the following fixes:
- Fixed all the group settings for the api_cron script. - Added a file to (hopefully) make it possible for users to have a "simple" mean of updating their board.
I believe this is a bug:
User has account got deactivated due to bad API. api_update.php corrected User acct still disabled, api_cron.php does not correct it either, since it skips disabled accounts.
I've tested this myself, seems to work correctly.
I've changed the API settings in the DB, basicly making them invalid. api_cron.php disabled the account. Used api_update.php, and filled in the correct (working) API information, along with the charactername and the correct password. Account was made active again. Ran api_cron.php again, account was in the list as being (and staying) active, like it should.
Are you sure that the character you've tested is suppose to be active by the settings you've set?
|

Demitrios
Di-Tron Heavy Industries Atlas.
|
Posted - 2011.01.16 17:38:00 -
[168]
Is anyone else having fun with the api server recently?
Just logged on after seeing the ts3 checker failed to run, checked the forum and it booted everyone to the non member group.
Its not a problem with the mod, but it looks like the api server is timing out on me.
Anyway, im taking the cron job off till after the patch :)
|

Labrena
|
Posted - 2011.01.16 17:43:00 -
[169]
Originally by: Cyerus Are you sure that the character you've tested is suppose to be active by the settings you've set?
Yes, this is what I did.
User with correct API / correct groups. - Changed the API - Ran api_cron.php - Removed user from groups, and disabled account - Ran api_update.php with correct API - Account was left disabled, but had correct API
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.01.16 19:34:00 -
[170]
Originally by: Labrena
Originally by: Cyerus Are you sure that the character you've tested is suppose to be active by the settings you've set?
Yes, this is what I did.
User with correct API / correct groups. - Changed the API - Ran api_cron.php - Removed user from groups, and disabled account - Ran api_update.php with correct API - Account was left disabled, but had correct API
You didn't understand my question correctly. Is the character, according to the settings you have set, allowed to have an active account on the forum? If he/she has, I need to know every single API setting you've set and also the name of the character you are trying to add.
|
|

Labrena
|
Posted - 2011.01.16 22:40:00 -
[171]
Originally by: Cyerus
Originally by: Labrena
Originally by: Cyerus Are you sure that the character you've tested is suppose to be active by the settings you've set?
Yes, this is what I did.
User with correct API / correct groups. - Changed the API - Ran api_cron.php - Removed user from groups, and disabled account - Ran api_update.php with correct API - Account was left disabled, but had correct API
You didn't understand my question correctly. Is the character, according to the settings you have set, allowed to have an active account on the forum? If he/she has, I need to know every single API setting you've set and also the name of the character you are trying to add.
Sorry.
I have it set to allow non-members to register.
I've tried with both an in corp and out of corp characters, both with the same result.
The API does get updated, but the 1 is not changed to a 0 in user_type enabling the account.
Everything else is working fine. Same issue with 4.2/4.3/4.4.
|

Shoot2kilI
Caldari
|
Posted - 2011.01.19 19:43:00 -
[172]
Did anything change as far as the API system with the recent patch? My board is now failing to retrieve player avatars, or really do anything that requires the API. Cyerus, appreciate all the work you've done.
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.01.20 21:46:00 -
[173]
Originally by: Labrena
Sorry.
I have it set to allow non-members to register.
I've tried with both an in corp and out of corp characters, both with the same result.
The API does get updated, but the 1 is not changed to a 0 in user_type enabling the account.
Everything else is working fine. Same issue with 4.2/4.3/4.4.
I just noticed, that after putting in the correct API, it says "You have been successfully logged in." then goes back to the api_update.php page.
Also, if I try to send the re-activation email, I get this message: "Your account has been manually deactivated and is only able to be reactivated by an administrator."
Open "include/auth.php", go to line 946. Should say; $eve_api_row['user_type'] = 0;
Change that to; $eve_api_row['user_type'] = 5;
Let me know if that does the trick.
Originally by: Shoot2kilI Did anything change as far as the API system with the recent patch? My board is now failing to retrieve player avatars, or really do anything that requires the API. Cyerus, appreciate all the work you've done.
Seems to work for me tho. Just tested the api_cron script, seems to correctly grab all the info from the EVE API.
|

Labrena
|
Posted - 2011.01.21 00:12:00 -
[174]
Originally by: Cyerus Open "include/auth.php", go to line 946. Should say; $eve_api_row['user_type'] = 0;
Change that to; $eve_api_row['user_type'] = 5;
Let me know if that does the trick.
Yes, that seems to have worked.
It nows activates the user account and adds them to the member group if needed.
Thanks
|

Swanny231
FISKL GUARDS
|
Posted - 2011.01.21 05:52:00 -
[175]
After the update I did everything,ran the api_cron and the update_api which takes me to the index and it disabled all accounts ,I had to reactivate them manually so they can put in their api's again and it worked but the avatars aren't showing, even in the admin panel I try a download of the avatars and I get this message. The user CP does not even give the option and I have them enabled.
Warning
It was not possible to determine the dimensions of the image. The submitted avatar is 0 pixels wide and 0 pixels high. Avatars must be at least 64 pixels wide and 64 pixels high, but no larger than 256 pixels wide and 256 pixels high.
Any help would rock.
------------ I may be drunk, but my turrets are not !!
|

WereWolfik
|
Posted - 2011.01.21 14:12:00 -
[176]
Originally by: Swanny231
Warning
It was not possible to determine the dimensions of the image. The submitted avatar is 0 pixels wide and 0 pixels high. Avatars must be at least 64 pixels wide and 64 pixels high, but no larger than 256 pixels wide and 256 pixels high.
Any help would rock.
There are old download link of eve avatars in the 4.4 version of mod. I fixed it with some changing of code. If you wanna you can look in the inludes/functions_user.php code:
Quote: function getAvatar($id, $user_id = false) { global $config, $user, $phpbb_root_path; $user_id = ($user_id) ? $user_id : $user->data['user_id']; $input = 'http://img.eve.is/serv.asp?s=256&c=' . $id;
and change last line to:
Quote: $input = 'http://image.eveonline.com/Character/'.$id.'_128.jpg';
128 is avatar size. You can change it to 64, 128 or 256.
Good luck
|

Swanny231
FISKL GUARDS
|
Posted - 2011.01.21 21:16:00 -
[177]
Originally by: WereWolfik Edited by: WereWolfik on 21/01/2011 21:01:44 Edited by: WereWolfik on 21/01/2011 20:29:18 So if you enabled uploaded avatars + eve its working good? And only eve avatars don't work?
I have only problem if disable all options and only enable eve avatars
No it shows the option to upload an avatar not the eve download, I have even tried to put the file in place again and still nothing,It worked with the old phpbb vers, but I have to do all the characters my self in the admin cp. The download eve avatars is there when I edit members, but is a pain to do 90 or so members. ------------ I may be drunk, but my turrets are not !!
|

Lord Frost
Minmatar Brutor Tribe
|
Posted - 2011.01.22 15:17:00 -
[178]
Haven't got it to work yet. I did everything on a clean new version of phpbb 3.0.8.
I was getting an invalid API key check... now I'm getting this...
Quote: General Error SQL ERROR [ mysqli ]
Unknown column 'api_userid' in 'field list' [1054]
An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
Any help?
|

Demitrios
Di-Tron Heavy Industries Atlas.
|
Posted - 2011.01.22 18:03:00 -
[179]
Did you import the SQL file into the database?
|

Lord Frost
Minmatar Brutor Tribe
|
Posted - 2011.01.22 20:05:00 -
[180]
Originally by: Demitrios Did you import the SQL file into the database?
Guess I misread the steps... okay, but now still issues. There are 3 files... 2 worked fine, and the "default.sql" file does not import. I get..
Quote: SQL query:
# EVE API start ALTER TABLE phpbb_users ADD COLUMN api_userid VARCHAR( 10 ) NOT NULL DEFAULT '' AFTER user_form_salt;
MySQL said: Documentation #1060 - Duplicate column name 'api_userid'
|
|

WereWolfik
|
Posted - 2011.01.23 06:41:00 -
[181]
Edited by: WereWolfik on 23/01/2011 06:41:45
Originally by: Lord Frost Edited by: Lord Frost on 23/01/2011 00:25:51
EDIT:::: okay, I got another step further, but now it's not showing the avatars. I get this message when I try and download character portrait...
Quote: It was not possible to determine the dimensions of the image. The submitted avatar is 0 pixels wide and 0 pixels high. Avatars must be at least 20 pixels wide and 20 pixels high, but no larger than 128 pixels wide and 128 pixels high.
I played with the admin settings on that, and still all the same error message.
look for this post |

Lord Frost
Minmatar Brutor Tribe
|
Posted - 2011.01.23 13:58:00 -
[182]
Originally by: WereWolfik
look for this post
Thanks... that did it. |

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.01.26 01:02:00 -
[183]
Has anybody used my update script yet?
Update to fix avatars will be released in a few days.
~Cy
|

Flirvutus
|
Posted - 2011.01.27 10:38:00 -
[184]
Hi I'm getting Quote: General Error SQL ERROR [ mysqli ] Unknown column 'api_userid' in 'field list' [1054] An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
I know that this means I need to update the database with the files in the SQL directory of the phpBB API MOD 4.4 folder, however, I am unsure as to the method of doing this. I have found a "Database" section on my phpBB ACP control panel, but my only options are: Backup, Restore, and Search Index. I've tried to search around on to find out how exactly to "update your database with additional queries" with no luck. A detailed explanation on how to do this would be great.
So far I've used a fresh install of phpBB3, the phpBB API MOD 4.4 pre_edit files, and I'm just stuck at this part about adding the SQL to the database. Thanks.
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.01.27 19:52:00 -
[185]
Originally by: Flirvutus Hi I'm getting Quote: General Error SQL ERROR [ mysqli ] Unknown column 'api_userid' in 'field list' [1054] An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
I know that this means I need to update the database with the files in the SQL directory of the phpBB API MOD 4.4 folder, however, I am unsure as to the method of doing this. I have found a "Database" section on my phpBB ACP control panel, but my only options are: Backup, Restore, and Search Index. I've tried to search around on to find out how exactly to "update your database with additional queries" with no luck. A detailed explanation on how to do this would be great.
So far I've used a fresh install of phpBB3, the phpBB API MOD 4.4 pre_edit files, and I'm just stuck at this part about adding the SQL to the database. Thanks.
You have to use an application like phpMyAdmin to update your database using the provided .sql files. Your webhost should either already have this installed, or you can do it yourself.
|

Luminus Aardokay
Gallente SI Radio Split Infinity.
|
Posted - 2011.01.29 18:47:00 -
[186]
It seems that whenever users get deactivated through the api mod, they don't receive an e-mail regarding their deactivation. Additionally, a person who had been deactivated this way, managed to reactivate himself by re-clicking on his activation e-mail link (the one he got the first time he subscribed on the board).
|

Lord Frost
Minmatar Brutor Tribe
|
Posted - 2011.01.30 00:53:00 -
[187]
Are the BBCode Eve links working for systems and items? I have the two databases installed, but when I try a post with the "[eveitem][/eveitem]" and "[evesystem][/evesystem]" codes, my posts are not linking to anything. Is there another step I missed?
|

Demitrios
Di-Tron Heavy Industries Atlas.
|
Posted - 2011.01.31 11:04:00 -
[188]
Try it in the eve browser and it will/should work.
In a normal browser, it has nothing to link to.
|

Popolytho
|
Posted - 2011.02.02 12:41:00 -
[189]
Hello all,
I installed everything using an install from scratch. I copied the files to the forum directory and I got the admin options to configure the mod accordingly.
The only problem is that in the registration page there is no field to put in the API / char ID.
I also noticed that the package came with a file "modx.prosilver.en.xsl". The readme.txt doesn¦t mention it, so I wonder what am I supposed to do with it? I have never installed a mod in phpBB before.
Appreciate any help I can get.
Cheers
|

Demitrios
Di-Tron Heavy Industries Atlas.
|
Posted - 2011.02.04 17:58:00 -
[190]
Originally by: Carl Rannseier Edited by: Carl Rannseier on 17/07/2010 03:13:30 Edited by: Carl Rannseier on 17/07/2010 03:02:08 @ Gerin Tell: I can't help ya here, i think for this you have to ask Cyerus. I actually think that you have to do all the work again cos he has rewritten pretty much all of the code so it might be easier setting it up from scratch again.
@DiLantius: You have to update your board template if you want those functions to work properly. The mod ships with the prosilver template only so this is the only one that actually works when you initially install it. The files that need to be modified are:
- prosilver based templates
- posting_buttons.html
- ucp_avatar_options.html
- ucp_profile_reg_details.html
- ucp_register.html
- subsilver2 based templates
- posting_buttons.html
- ucp_profile_avatar.html
- ucp_profile_reg_details.html
- ucp_register.html
You can tell what style was used to create the one you are using by looking up those files in the "phpbb/styles/<your_style>/template" folder. check if there is either ucp_avatar_options.html (prosilver) or ucp_profile_avatar.html (subsilver2). To check this you can simply use the acp, go to the styles tab -> templates -> edit the style you are using. there you get a dropdown box that offers you all files within that template. you can also modify it there althouh a proper editor would perform better.
If it is prosilver based then simply follow the steps that can be found in the install_api_registration_4.0.xml file. it's well structured and easy to read. For a subsilver based style i don't have any instructions ready but you can contact me ingame and we can figure out how to get your board running correctly with this mod.
|
|

Macaya
|
Posted - 2011.02.07 05:18:00 -
[191]
Edited by: Macaya on 07/02/2011 05:19:28 Getting this error when trying to import the default.sql :
Error
SQL query:
# EVE API start ALTER TABLE phpbb_users ADD COLUMN api_userid VARCHAR( 10 ) NOT NULL DEFAULT '' AFTER user_form_salt;
MySQL said: Documentation #1146 - Table 'ioforum.phpbb_users' doesn't exist
HELP 
EDIT : Read the part on page one but I don't understand the fix...
|

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.02.09 17:56:00 -
[192]
The new API changes that CCP announced... are you going to factor those in in a future update? ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Mewzz
|
Posted - 2011.02.15 06:57:00 -
[193]
Ok i've uploaded everything from a clean install. The php sql wouldnt let me load it so i had to input the info manually in php admin the problem i have is that when i put an API in my profile i get:
The API information you entered was invalid.
Idk why i get that cause i copy and pasted my info exactly.
|

PryMary
|
Posted - 2011.02.15 17:10:00 -
[194]
Hi there,
I am trying to get the BB codes to work with the Advanced BBCode MOD for PHPbb3 but I can't for the life of me work out how to go about adding them. Would I have to do this in the ACP in the custom bbcode area, or would I have to modify the Advanced BB Code Box files directly? As I would really like to be able to still link in EVE System's & Items.
Apart from this everything works fine and dandy TY :)
Link to MOD: Click Here
TY ♥
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.02.17 00:47:00 -
[195]
Originally by: Macaya Edited by: Macaya on 07/02/2011 17:43:53 Getting this error when trying to import the default.sql :
Error
SQL query:
# EVE API start ALTER TABLE phpbb_users ADD COLUMN api_userid VARCHAR( 10 ) NOT NULL DEFAULT '' AFTER user_form_salt;
MySQL said: Documentation #1146 - Table 'forum.phpbb_users' doesn't exist
You are using different (non-default) table names for your phpBB installation. In order for the SQL scripts to work, you need to manually change the 3 .sql files to match the table names youa re using.
Originally by: Drake Draconis The new API changes that CCP announced... are you going to factor those in in a future update?
Could you link me to the changes announcement, haven't seen that page yet. In any case I will update the script to match the API changes for the API MOD to continue working normally.
Originally by: Mewzz Ok i've uploaded everything from a clean install. The php sql wouldnt let me load it so i had to input the info manually in php admin the problem i have is that when i put an API in my profile i get:
The API information you entered was invalid.
Idk why i get that cause i copy and pasted my info exactly.
It's the default error message you get, when; 1. The API details are wrong. 2. You are not part of the corp/alliance you have set up. 3. The EVE servers are down (eg. crash or daily downtime).
Originally by: PryMary Hi there,
I am trying to get the BB codes to work with the Advanced BBCode MOD for PHPbb3 but I can't for the life of me work out how to go about adding them. Would I have to do this in the ACP in the custom bbcode area, or would I have to modify the Advanced BB Code Box files directly? As I would really like to be able to still link in EVE System's & Items.
Apart from this everything works fine and dandy TY :)
Link to MOD: Click Here
TY ♥
No, I will not make my mod compatible with that mod. Simple reason is that in my opinion my mod needs to stay clear, focussed and lightweight. However, if you really absolutely want it, I can take a look at it, altho it comes with a price.
|

PryMary
|
Posted - 2011.02.17 12:03:00 -
[196]
How much we talking??
|

Ikki Phoenix
Gallente United Imperial Fleet
|
Posted - 2011.02.21 07:16:00 -
[197]
Hello
I installed this mod without any problems. However when I go to my own profile and enter my API and Key, I also get "The API information you entered was invalid"
-- Get Eve Commander now ---------- Corporations/Places/Downloads Database |

Ikki Phoenix
Gallente United Imperial Fleet
|
Posted - 2011.02.22 05:45:00 -
[198]
Anyone has an idea why the software tells me that the API I entered is invalid. I checked my corp and it is the correct one.
Thanks -- Get Eve Commander now ---------- Corporations/Places/Downloads Database |

Macaya
|
Posted - 2011.02.24 21:14:00 -
[199]
Originally by: Ikki Phoenix Anyone has an idea why the software tells me that the API I entered is invalid. I checked my corp and it is the correct one.
Thanks
Same here.
I tried the avove but still wont work.
Cyerus - You make this work for me and Il pay you a couple of hundred mil.
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.02.26 12:50:00 -
[200]
Try to contact me ingame, will be online most of the day tomorrow.
|
|

Ikki Phoenix
Gallente United Imperial Fleet
|
Posted - 2011.02.27 17:01:00 -
[201]
trying to convo you -- Get Eve Commander now ---------- Corporations/Places/Downloads Database |

Ikki Phoenix
Gallente United Imperial Fleet
|
Posted - 2011.02.27 18:19:00 -
[202]
Alright, the solution is simple. Pilots need to register with their exact Eve character name for the API to work
Thanks to Cyerus for his help and the great tool -- Get Eve Commander now ---------- Corporations/Places/Downloads Database |

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.03.07 03:23:00 -
[203]
Your requested link - API Updates forthcoming ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.03.08 01:49:00 -
[204]
Edited by: Cyerus on 08/03/2011 01:49:25
Originally by: Drake Draconis Edited by: Drake Draconis on 07/03/2011 04:32:36 Your requested link - API Updates forthcoming
Cyerus - The Update script fails/crashes when I try to use it... your instructions don't say where to put it let alone what it expects... so clarification would help....
Warning: include(./common.php) [function.include]: failed to open stream: No such file or directory in ****removed****/install/new_files/update307pl1to308.php on line 6
Warning: include() [function.include]: Failed opening './common.php' for inclusion (include_path='.:/usr/lib/php5') in ****removed****/install/new_files/update307pl1to308.php on line 6
Fatal error: Call to a member function session_begin() on a non-object in ****removed****/install/new_files/update307pl1to308.php on line 9
The script has to be placed in the root directory of your forum. Instructions on how to use it can be found here.
|

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.03.08 07:55:00 -
[205]
Originally by: Cyerus Edited by: Cyerus on 08/03/2011 01:49:25
Originally by: Drake Draconis Edited by: Drake Draconis on 07/03/2011 04:32:36 Your requested link - API Updates forthcoming
Cyerus - The Update script fails/crashes when I try to use it... your instructions don't say where to put it let alone what it expects... so clarification would help....
Warning: include(./common.php) [function.include]: failed to open stream: No such file or directory in ****removed****/install/new_files/update307pl1to308.php on line 6
Warning: include() [function.include]: Failed opening './common.php' for inclusion (include_path='.:/usr/lib/php5') in ****removed****/install/new_files/update307pl1to308.php on line 6
Fatal error: Call to a member function session_begin() on a non-object in ****removed****/install/new_files/update307pl1to308.php on line 9
The script has to be placed in the root directory of your forum. Instructions on how to use it can be found here.
Your instructions didn't say to put it in the root directory... did so.
Said step 1 complete... now its doing this in the update package - =========== Updating database to latest stable release
Database type :: mysqli Previous version :: 3.0.7-PL1 Updated version :: 3.0.8
Updating database schema
Progress :: No updates required
Updating data
Progress :: . . . . . . . . . . Notice: Undefined index: api_userid in ****removed****/includes/functions_user.php on line 300
Notice: Undefined index: api_limitedkey in ****removed****/includes/functions_user.php on line 301
Fatal error: in ****removed****/includes/db/dbal.php on line 694 =========
And thanks to this I won't be able to do a bloody thing until 24 hours from now (thanks to my job) ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.03.08 12:07:00 -
[206]
Ok, weird error indeed.
Unpack and upload all the files of THIS archieve into your phpBB forum. Then run the phpBB install script again to see if this time it updates correctly.
|

Saxxon Baru
Gallente Aliastra
|
Posted - 2011.03.08 12:27:00 -
[207]
Nice but not working for me 
When i do add my API into my account setting and get error message:
Fatal error: Call to undefined function curl_init() in D:\EasyPHP\www\menelaus\includes\functions.php on line 27
Here line 27:
Quote: $ch = curl_init();
P.s. just test on my localhost
|

Saxxon Baru
Gallente Aliastra
|
Posted - 2011.03.08 23:46:00 -
[208]
nvm , just solved..
find a php.ini file:
;extension=php_curl.dll
remove ; and save it 
|

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.03.09 18:45:00 -
[209]
OK...update took.
But I suspect something is funny funny with the API checking script. The system is booting accounts known to be valid and OK.
Any way to verify that everything is ok?
Some sort of test or manual start to see if the system is successfully working? ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

FASTTRACKS0
|
Posted - 2011.03.12 03:00:00 -
[210]
Getting a blank page after api info entered and submitted at either initial registration or an update to the user profile in the ACP.
Fresh install of phpbb3 3.0.8 mod ver 4.4 downloaded yesterday. Followed all instructions.
Steps taken *installed phpbb3 board. *created test user (non-admin) *verified users can create accounts and login *no errors on the forum at all. - *Copied all from the pre_edit folder and merged with phpbb3 files. *Copied all from new_files to phpbb3 directory. *Logged into phpmyadmin and imported each sql file successfully; all (3). *cleared phpbb3 cache files.
Issue: When a new user registers (entering api info) and submitting a blank page is displayed. The user also isn't registered nor are errors generated.
This is also the case for existing accounts when the api info is added to the user info in the acp.
Any ideas? Thanks.
|
|

Kerark
|
Posted - 2011.03.14 20:20:00 -
[211]
Edited by: Kerark on 14/03/2011 20:20:02 Was there ever found a solution for subsilver2 based themes?
Or do I have to go get a prosilver based one? (Damn, I just tweaked this one to look nice)
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.03.15 18:18:00 -
[212]
Edited by: Cyerus on 15/03/2011 18:18:26
Originally by: Drake Draconis OK...update took.
But I suspect something is funny funny with the API checking script. The system is booting accounts known to be valid and OK.
Any way to verify that everything is ok?
Some sort of test or manual start to see if the system is successfully working?
There is no manual testing. The only thing to do is to wait for user's input and have the cronjob output logged. You could on the other hand set up a test alt and add / remove him from corp to check if that works correctly, although that requires much patience.
Originally by: FASTTRACKS0 Getting a blank page after api info entered and submitted at either initial registration or an update to the user profile in the ACP.
Fresh install of phpbb3 3.0.8 mod ver 4.4 downloaded yesterday. Followed all instructions.
Steps taken *installed phpbb3 board. *created test user (non-admin) *verified users can create accounts and login *no errors on the forum at all. - *Copied all from the pre_edit folder and merged with phpbb3 files. *Copied all from new_files to phpbb3 directory. *Logged into phpmyadmin and imported each sql file successfully; all (3). *cleared phpbb3 cache files.
Issue: When a new user registers (entering api info) and submitting a blank page is displayed. The user also isn't registered nor are errors generated.
This is also the case for existing accounts when the api info is added to the user info in the acp.
Any ideas? Thanks.
Have you set all the settings yet (user registration settings, avatar settings and server settings)? Did you delete all cache? Are you using the default prosilver theme?
Originally by: Kerark Edited by: Kerark on 14/03/2011 20:20:02 Was there ever found a solution for subsilver2 based themes?
Or do I have to go get a prosilver based one? (Damn, I just tweaked this one to look nice)
Subsilver2 based themes work correctly, altho they need a bit more work compared to the prosilver ones. By that I mean that the Subsilver2 uses different html tags than Prosilver and hence need to be changed to match that. Other then that, any subsilver2 / prosilver based template should work correctly.
|

Kerark
|
Posted - 2011.03.16 08:55:00 -
[213]
Originally by: Cyerus
Subsilver2 based themes work correctly, altho they need a bit more work compared to the prosilver ones. By that I mean that the Subsilver2 uses different html tags than Prosilver and hence need to be changed to match that. Other then that, any subsilver2 / prosilver based template should work correctly.
Could you (or anyone) please leave a guide for this? I can't seem to get my head wrapped around this.
So far I've managed to get the API boxes into the UCP, but they still don't show up during the registration process, thus disallowing new members.
|

Alucard Strat
EstFleet
|
Posted - 2011.03.16 09:46:00 -
[214]
First of all good job. Package is almost perfect, tho it takes some level skill's to understand how it works and where what should be. (Thank god to good ERROR reporting)
I adapted this mod to our site g0ons.info/forum , it took me some time to get work but I still experience some problems. As I use custom theme I had to manually do the 4 file programming and move 2 new files via manual upload/copy to custom theme to get cron run perfectly. How ever I have few questions and maybe you can help me out.
- How often I should program cron run on: api_cron.php file?
- I experience follwoing error while trying to get Character avatar via ticking "Use Character Portrait:"
Thank you for your time and reply at advance.
-------------------------------------------------------------------- Feel the warmth, see the light, let my lasers set you free -------------------------------------------------------------- |

Tobe Confirmed
Minmatar Sublime Geek Enterprises
|
Posted - 2011.03.21 04:15:00 -
[215]
Originally by: Alucard Strat First of all good job. Package is almost perfect, tho it takes some level skill's to understand how it works and where what should be. (Thank god to good ERROR reporting)
I adapted this mod to our site g0ons.info/forum , it took me some time to get work but I still experience some problems. As I use custom theme I had to manually do the 4 file programming and move 2 new files via manual upload/copy to custom theme to get cron run perfectly. How ever I have few questions and maybe you can help me out.
- How often I should program cron run on: api_cron.php file?
- I experience follwoing error while trying to get Character avatar via ticking "Use Character Portrait:"
Thank you for your time and reply at advance.
Oddly enough, I get the same error. It seems that when the script is downloading jpg files for the avatars, it isn't properly forming them. Too tired to look into it so I will muck with it tomorrow.
Hopefully the creator has a fix :)
|

Tobe Confirmed
Minmatar Sublime Geek Enterprises
|
Posted - 2011.03.22 10:19:00 -
[216]
Edited by: Tobe Confirmed on 22/03/2011 10:20:42 btw Cyerus, do you have your source code sitting in a repo somewhere for people who want to test the bleeding edge? And possibly even submit patches?
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.03.22 23:23:00 -
[217]
Originally by: Tobe Confirmed
Originally by: Alucard Strat First of all good job. Package is almost perfect, tho it takes some level skill's to understand how it works and where what should be. (Thank god to good ERROR reporting)
I adapted this mod to our site g0ons.info/forum , it took me some time to get work but I still experience some problems. As I use custom theme I had to manually do the 4 file programming and move 2 new files via manual upload/copy to custom theme to get cron run perfectly. How ever I have few questions and maybe you can help me out.
- How often I should program cron run on: api_cron.php file?
- I experience follwoing error while trying to get Character avatar via ticking "Use Character Portrait:"
Thank you for your time and reply at advance.
Oddly enough, I get the same error. It seems that when the script is downloading jpg files for the avatars, it isn't properly forming them. Too tired to look into it so I will muck with it tomorrow.
Hopefully the creator has a fix :)
Avatars are fixed in version 4.5. Thought I already uploaded it, seems I was mistaken **sorry!!**.
Originally by: Tobe Confirmed Edited by: Tobe Confirmed on 22/03/2011 10:20:42 btw Cyerus, do you have your source code sitting in a repo somewhere for people who want to test the bleeding edge? And possibly even submit patches?
I haven't got any SVN up, I'm working from a local directory. After the changes are stable and working, I tag the differences using ExamDiff Pro (compare directories, newly bought license) and add them to the XML. I'm planning to work on options for standings- / faction warfare checking aswell, although put on a hold because of upcoming API changes.
Version 4.5 just released. Changed files compared to 4.4; includes\auth.php includes\function_user.php
* Avatars are working correctly now * api_update.php now correctly enables disabled accounts.
|

Tobe Confirmed
Minmatar Sublime Geek Enterprises
|
Posted - 2011.03.22 23:31:00 -
[218]
Originally by: Cyerus
Originally by: Tobe Confirmed
Originally by: Alucard Strat First of all good job. Package is almost perfect, tho it takes some level skill's to understand how it works and where what should be. (Thank god to good ERROR reporting)
I adapted this mod to our site g0ons.info/forum , it took me some time to get work but I still experience some problems. As I use custom theme I had to manually do the 4 file programming and move 2 new files via manual upload/copy to custom theme to get cron run perfectly. How ever I have few questions and maybe you can help me out.
- How often I should program cron run on: api_cron.php file?
- I experience follwoing error while trying to get Character avatar via ticking "Use Character Portrait:"
Thank you for your time and reply at advance.
Oddly enough, I get the same error. It seems that when the script is downloading jpg files for the avatars, it isn't properly forming them. Too tired to look into it so I will muck with it tomorrow.
Hopefully the creator has a fix :)
Avatars are fixed in version 4.5. Thought I already uploaded it, seems I was mistaken **sorry!!**.
Originally by: Tobe Confirmed Edited by: Tobe Confirmed on 22/03/2011 10:20:42 btw Cyerus, do you have your source code sitting in a repo somewhere for people who want to test the bleeding edge? And possibly even submit patches?
I haven't got any SVN up, I'm working from a local directory. After the changes are stable and working, I tag the differences using ExamDiff Pro (compare directories, newly bought license) and add them to the XML. I'm planning to work on options for standings- / faction warfare checking aswell, although put on a hold because of upcoming API changes.
Version 4.5 just released. Changed files compared to 4.4; includes\auth.php includes\function_user.php
* Avatars are working correctly now * api_update.php now correctly enables disabled accounts.
Cool. I'd like to set you up with Git. It'll make your life a lot easier.
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.03.22 23:46:00 -
[219]
Never used GIT before, don't seem to be any Windows clients for it. SVN is central based, so no local version control and hard to understand for the less-technical people.
So that brings us back to the current system we are using; pre-editted files and an XML for people with custom mods installed.
With this information, why change?
|

Dvorak Telemnar
Griffin Capsuleers
|
Posted - 2011.03.23 20:11:00 -
[220]
Request/Suggestion
Have you considered making a "lite" version? Essentially only does the portrait and changes group membership depending on the characters corp/alliance with the option to disable accounts based on API calls that do not require a valid API such as https://api.eve-online.com/eve/CharacterInfo.xml.aspx?characterID=<CHAR_ID> ?
Also using "custom profile fields" and not changing any of the forum code or database? (I have a bastardised version of this on my forum for registration using the IGB which works well).
The 3 custom profile fields I use are "char_id", "char_corp" & "char_alliance" and the registration script adds a link to the character portrait from https://image.eveonline.com/Character/<char_id>_128.jpg which means any user portrait changes (CCP feature coming soon) are automagic :)
As I said, just an idea for a "lite" version for those who don't want/need all the bells & whistles :)
|
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.03.27 03:44:00 -
[221]
Originally by: Dvorak Telemnar Request/Suggestion
Have you considered making a "lite" version? Essentially only does the portrait and changes group membership depending on the characters corp/alliance with the option to disable accounts based on API calls that do not require a valid API such as https://api.eve-online.com/eve/CharacterInfo.xml.aspx?characterID=<CHAR_ID> ?
Also using "custom profile fields" and not changing any of the forum code or database? (I have a bastardised version of this on my forum for registration using the IGB which works well).
The 3 custom profile fields I use are "char_id", "char_corp" & "char_alliance" and the registration script adds a link to the character portrait from https://image.eveonline.com/Character/<char_id>_128.jpg which means any user portrait changes (CCP feature coming soon) are automagic :)
As I said, just an idea for a "lite" version for those who don't want/need all the bells & whistles :)
All the information we need is hidden behind the API keys. With the upcoming changes you mind be able to select which things fall under a key, removing the somewhat security issue of sharing more information then you want. The IGB is very unsafe and cannot be trusted whatsoever. The extra information fields that the IGB has can easily be duplicated by a few lines of code.
I'm against hotlinking of images, and so is CCP. The image needs to be cached on your webserver for an X amount of days, so you might as well save the image and let the user update the character picture whenever changes are made to his/her character.
The fields I use in the database are pretty much the same as those you mention as being custom profile fields. Problem with phpBB's update script is that it doesn't like database mods, although I'm already working on a solution to that..
The current featureset of the MOD I already call "lite". 
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.03.27 03:56:00 -
[222]
*** SECURITY RELEASE ***
Fixed a few security flaws consisting in the api_update.php process. I urge you to update to v4.6 as soon as possible.
Changed files: * includes/auth.php
Due to the nature of this bug, the "Anonymous" user *can* have API information attached to it, which can only be removed manually from the database. Also, update the groups of the "Anonymous" account, which should consist *only* of a group named "guests".
If you have any questions about this, send me an ingame mail.
|

Omnimushu Hirashi
|
Posted - 2011.03.27 17:27:00 -
[223]
Hi,
Installed a fresh install of PHPBB3.0.7 and installed this mod. Want to update to the latest phpbb but thought I'd test the mod first.
Tried adding the Admins api details and got the following error:
Fatal error: Call to a member function attributes() on a non-object in imperium-alliance.co.uk/beta/includes/functions_user.php on line 3505
Refreshed the page a couple of times and it worked. Got the exact same error trying to download the user avatar. And then the exact same error when a new member tries to register.
Line 3505 is as follows:
Quote: $id = (string) $xml->result->rowset->row[0]->attributes()->characterID;
Any suggestions welcome.
Thanks
|

Varrun
Templar Crusader Corp Wayfarer Stellar Initiative
|
Posted - 2011.03.29 20:30:00 -
[224]
Excellent mod it work perfectly.
Any plans on allowing more than one corp (not in allaince) to be able to register to different groups? **Templar Crusader Corp Recruitment Thread** |

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.03.29 22:16:00 -
[225]
Originally by: Varrun Excellent mod it work perfectly.
Any plans on allowing more than one corp (not in allaince) to be able to register to different groups?
Yes, I plan to, but that's the only information I can currently give you. With the upcoming changes to the API, I'll have to rethink whether or not using a framework to deal with the API details. On the other hand we have phpBB, I'm still waiting for some feedback on how to make certain features work. When I have more information I'll let you know.
On another note; I can set up some kind of hard-coded multi-corp setup for a small fee. This will work just the same way, except for having to change the source code to change the corps rather than changing it in the control panel. Ofcourse you'll have to manually do this mod everytime I release a change to the files used.
|

Squizz Caphinator
Woopatang Primary.
|
Posted - 2011.03.30 13:43:00 -
[226]
Edited by: Squizz Caphinator on 30/03/2011 13:43:20 wow.. the pain you guys are going through...
save yourself the hassle and use http://evechatter.com or just download SMF and use ESAM
-- EveChatter |

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.03.30 23:44:00 -
[227]
Originally by: Squizz Caphinator Edited by: Squizz Caphinator on 30/03/2011 13:43:20 wow.. the pain you guys are going through...
save yourself the hassle and use http://evechatter.com or just download SMF and use ESAM
It is always fun to see troll replies like these.
|

P3k1
|
Posted - 2011.04.11 22:56:00 -
[228]
Hello,
Just finished moving phpBB forum to new hosting and I'm having problems with avatars. I only got the DB dump, so avatars were not moved from old forum.
Is there some php script or function that I can call to get all the users avatars?
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.04.12 00:18:00 -
[229]
Originally by: P3k1 Hello,
Just finished moving phpBB forum to new hosting and I'm having problems with avatars. I only got the DB dump, so avatars were not moved from old forum.
Is there some php script or function that I can call to get all the users avatars?
Each user can go to their respective User Control Panels and update their own avatars. There is no way to do that from the Admin Control Panel.
|

Kyle Cook
|
Posted - 2011.04.15 12:38:00 -
[230]
Edited by: Kyle Cook on 15/04/2011 12:38:39 Hi,
Have to say amazing work, love it! I am having trouble putting the api_cron.php script into good use via the crontab though.
I installed a blank phpbb 3.0.8 forum, the latest mod and it all works, api validation etc and avatar linking ... the only thing is the cron script, which works just fine via a web browser but in cron I get this:
Quote: Warning: include(./common.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 7
Warning: include(./common.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 7
Warning: include(): Failed opening './common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 7
Warning: include(.//includes/functions_messenger.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 8
Warning: include(.//includes/functions_messenger.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 8
Warning: include(): Failed opening './/includes/functions_messenger.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 8
Warning: include(.//includes/functions_user.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 9
Warning: include(.//includes/functions_user.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 9
Warning: include(): Failed opening './/includes/functions_user.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 9
Fatal error: Call to a member function session_begin() on a non-object in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 12
Any ideas/pointers? my webhost is clueless.
|
|

Cronabus
Cowboys and Beach Bums
|
Posted - 2011.04.15 15:29:00 -
[231]
I have just installed the mod and it is wonderful, thank you for you dedication to this project. When I add an item or system with the tags, they show up like they are a link and have the information button. When I mouse over or click on either, nothing happens, is this working as intended? If it is, could it be made to link the item/system on the Wiki(http://wiki.eveonline.com/en/)?
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.04.15 17:10:00 -
[232]
Originally by: Cronabus I have just installed the mod and it is wonderful, thank you for you dedication to this project. When I add an item or system with the tags, they show up like they are a link and have the information button. When I mouse over or click on either, nothing happens, is this working as intended? If it is, could it be made to link the item/system on the Wiki(http://wiki.eveonline.com/en/)?
Use the ingame browser 
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.04.15 18:14:00 -
[233]
Originally by: Kyle Cook Edited by: Kyle Cook on 15/04/2011 12:38:39 Hi,
Have to say amazing work, love it! I am having trouble putting the api_cron.php script into good use via the crontab though.
I installed a blank phpbb 3.0.8 forum, the latest mod and it all works, api validation etc and avatar linking ... the only thing is the cron script, which works just fine via a web browser but in cron I get this:
Quote: Warning: include(./common.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 7
Warning: include(./common.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 7
Warning: include(): Failed opening './common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 7
Warning: include(.//includes/functions_messenger.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 8
Warning: include(.//includes/functions_messenger.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 8
Warning: include(): Failed opening './/includes/functions_messenger.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 8
Warning: include(.//includes/functions_user.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 9
Warning: include(.//includes/functions_user.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 9
Warning: include(): Failed opening './/includes/functions_user.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 9
Fatal error: Call to a member function session_begin() on a non-object in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 12
Any ideas/pointers? my webhost is clueless.
The script is not meant to be a cronscript itself, it's meant to be run from browser. You can circumvent this by making the cronjob run the script by using php binary. In other words, to run the script every 12 hours by cronjob, use this;
00 00 * * * /usr/bin/php5 -q webdirectory/forum/api_cron.php 00 12 * * * /usr/bin/php5 -q webdirectory/forum/api_cron.php
Paths need to be changed to your situation ofc.
|

InSaNe ViRuS
Trojan Legion Rogue Empire.
|
Posted - 2011.04.27 08:09:00 -
[234]
I am having a problem with this mod. I have it downloaded but I have no clue how to upload the files into the forum. InSaNe ViRuS |

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.04.28 16:50:00 -
[235]
Originally by: InSaNe ViRuS I am having a problem with this mod. I have it downloaded but I have no clue how to upload the files into the forum.
The same way you uploaded the phpBB files -> via ftp.
|

InSaNe ViRuS
Trojan Legion Rogue Empire.
|
Posted - 2011.05.22 16:45:00 -
[236]
Yup, I figured out the fact that I literally have to upload those files to the server. I was unaware of that fact. So it is installed now and works just fine. There was an issue of a member registering and getting an error saying the valid entry is to short but I fixed that. It works perfect, outstanding job! InSaNe ViRuS |

MJ Maverick
IronPig Sev3rance
|
Posted - 2011.05.23 03:11:00 -
[237]
Just curious, is there a demo of this anywhere? Or can someone provide some screenies or a link so I can see what it looks like? I don't surrently use PHPBB3
------------------ CCP are not perfect. :) [EVEOTS] Eve Online Teamspeak 3 API Registration
|

Faridi Dem
Brothers of Destiny
|
Posted - 2011.05.23 19:10:00 -
[238]
Edited by: Faridi Dem on 23/05/2011 19:12:50 Edited by: Faridi Dem on 23/05/2011 19:10:16 i¦ve updated to the newest version and i am getting the following error when i try to open the api_cron.php
Quote: Fatal error: Call to a member function attributes() on a non-object in /www/htdocs/w006cac8/testing2/forum/includes/functions_user.php on line 3505
any ideas? rest is working
|

Awarga
|
Posted - 2011.05.25 19:33:00 -
[239]
The download link isn't working? 
|

Ayumikata
|
Posted - 2011.05.26 17:24:00 -
[240]
I get that error when I tried logging off after installing this mod.
Something is up with the xml object in functions_user.php at line 3505.
$xml = simplexml_load_string(curl_file_get_contents($url)); $id = (string) $xml->result->rowset->row[0]->attributes()->characterID;
Bad structure access, bad types, or $xml isn't returned in the proper format.
|
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.05.27 23:42:00 -
[241]
Originally by: MJ Maverick Just curious, is there a demo of this anywhere? Or can someone provide some screenies or a link so I can see what it looks like? I don't surrently use PHPBB3
At this point no. I can make some screenshots of what it lookes like if you want -> send me an ingame mail.
Originally by: Faridi Dem Edited by: Faridi Dem on 23/05/2011 19:12:50 Edited by: Faridi Dem on 23/05/2011 19:10:16 i¦ve updated to the newest version and i am getting the following error when i try to open the api_cron.php
Quote: Fatal error: Call to a member function attributes() on a non-object in /www/htdocs/w006cac8/testing2/forum/includes/functions_user.php on line 3505
any ideas? rest is working
I tried to contact you ingame, but for some reason it keeps saying "You are not allowed to contact this person.". Look at the previous post, perhaps this applies to you aswell.
Originally by: Awarga The download link isn't working? 
I have no problems with the link.
Originally by: Ayumikata ...
Nice plugin!
Is it possible to have a run-down of what happens in case the users either has not supplied a key (registered before validation) and what happens when a user has left the corporation/alliance.
It depends on what your settings are. I can give you a rundown if you can tell me what settings your are using (either here or per evemail).
I'm planning on updating my blog to include changes and fixes on this mod. Hopefully, I will be able to create a simple grid (like Excel) to compare settings with outcome. It's on the to-do list, but can't give an estimate.
|

Awarga
|
Posted - 2011.05.28 23:48:00 -
[242]
The link doesn't work in chrome as it points too http://eve-it.org/phpBB+API+MOD+4.6.zip as opposed to http://eve-it.org/phpBB%20API%20MOD%204.6.zip which is the actual location. Not sure if its particular to the version I am using or what but for reference thats why I couldn't get too it.
|

Nathan WAKE
Caldari Osiris Entreprises
|
Posted - 2011.05.29 11:05:00 -
[243]
Hello there,
I've installed this mod many many times, over the previous versions, both local and live sites, and I always got it to work, thanks to you all and this thread.
This time it's for real, and I set-it up on a brand new forum for my corp.
Everything went smooth, no problem at all but...
When accessing the "user control panel -> profile -> edit avatar -> ticked the download buton -> submit" I get this message :
Quote: [phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 3538: file_put_contents(images/avatars/upload/263c3b34b1a9508e833f9c3c470860b0_2.jpg) [function.file-put-contents]: failed to open stream: No such file or directory
That's the first time I encounter this one, and I'm a bit lost.
I saw that message in one of the previous post, but don't remember finding a solution to it.
Here are details about the forum - phpbb 3.08 - api mod 4.6 - avatar enabled / eve avatar enabled / avatar uploading enabled - no problem when registering user ID and limited API Key - untouched groups in phpbb settings - images/avatars/upload and images/avatars/gallery folders set to CHMOD 777 (just in case) - EvE avatar size set to medium 128x128 - maximum avatar size set to largely enough - all groups avatar size set to max 256x256 (don't remember where, but saw in this thread i was needed)
and I can't get it to work.
I anyone has a clue, it would be very much appreciated.
And thank's for the awsome work Cyerus.
Nathan Wake / Osiris Entreprises
|

Nathan WAKE
Caldari Osiris Entreprises
|
Posted - 2011.05.29 11:08:00 -
[244]
forgot to had the message On the avatar page :
Quote: It was not possible to determine the dimensions of the image. The submitted avatar is 0 pixels wide and 0 pixels high. Avatars must be at least 128 pixels wide and 128 pixels high, but no larger than 256 pixels wide and 256 pixels high.
|

Faridi Dem
Brothers of Destiny
|
Posted - 2011.05.30 11:44:00 -
[245]
nope, i couldnt fix the problem...it still shows the same error...i had the "blocked all unkwon contancts" on a few days ago. i will also try to get you ingame
|

Kisame Hirashi
|
Posted - 2011.06.03 11:04:00 -
[246]
Hi there,
installed a fresh version of PHPBB 3.08 and installed your mod as per the instructions. All seemed to install fine, activated the mod and set it to alliance, but when a new user tries to register or I try and add my own api key, all we're getting is 'API key is invalid'.
Any suggestions?
|

StyphonUK
Caldari Fearless Bandits
|
Posted - 2011.06.03 23:20:00 -
[247]
Hi, I've just done a fresh install of this, copied all the files over in the new files and pre edit folders and imported the three sql files but when importing the first 1 I get the following error:
SQL query:
# EVE API start ALTER TABLE phpbb_users ADD COLUMN api_userid VARCHAR( 10 ) NOT NULL DEFAULT '' AFTER user_form_salt;
MySQL said: Documentation #1060 - Duplicate column name 'api_userid'
What's up?
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.06.04 02:05:00 -
[248]
Originally by: Nathan WAKE ...
Can you tell me if line 3525 in file 'includes/function_user.php' equals
$input = 'http://image.eveonline.com/Character/' . $id . '_256.jpg';
Also, can you doublecheck that the character you are trying to get the portrait on has filled in correct and working API settings?
Originally by: Faridi Dem nope, i couldnt fix the problem...it still shows the same error...i had the "blocked all unkwon contancts" on a few days ago. i will also try to get you ingame
I'm not sure what problem you have on the forum, to figure it out I would have to see it for myself. Perhaps we can schedule a TeamViewer session?
Originally by: Kisame Hirashi Hi there,
installed a fresh version of PHPBB 3.08 and installed your mod as per the instructions. All seemed to install fine, activated the mod and set it to alliance, but when a new user tries to register or I try and add my own api key, all we're getting is 'API key is invalid'.
Any suggestions?
There are two possible outcomes; 1 - The API are indeed invalid 2 - The user is not authorised to create an account using the settings you have set. Be sure to have entered the exact corporation / alliance name (capitals, punctuations).
Originally by: StyphonUK Hi, I've just done a fresh install of this, copied all the files over in the new files and pre edit folders and imported the three sql files but when importing the first 1 I get the following error:
SQL query:
# EVE API start ALTER TABLE phpbb_users ADD COLUMN api_userid VARCHAR( 10 ) NOT NULL DEFAULT '' AFTER user_form_salt;
MySQL said: Documentation #1060 - Duplicate column name 'api_userid'
What's up?
It appears you have either executed the SQL file twice, or you used a database which was already filled with data.
|

StyphonUK
Caldari Fearless Bandits
|
Posted - 2011.06.04 09:37:00 -
[249]
Edited by: StyphonUK on 04/06/2011 09:43:41 Edited by: StyphonUK on 04/06/2011 09:39:00
Originally by: StyphonUK Hi, I've just done a fresh install of this, copied all the files over in the new files and pre edit folders and imported the three sql files but when importing the first 1 I get the following error:
SQL query:
# EVE API start ALTER TABLE phpbb_users ADD COLUMN api_userid VARCHAR( 10 ) NOT NULL DEFAULT '' AFTER user_form_salt;
MySQL said: Documentation #1060 - Duplicate column name 'api_userid'
What's up?
It appears you have either executed the SQL file twice, or you used a database which was already filled with data.
Ah, yea. It's a different error to the first time I ran it. The first three columns the file asks to be created are created fine. If you remove those from the SQL file and try to run the rest I get this error:
SQL query:
# EVE API start INSERT INTO phpbb_config( config_name, config_value ) VALUES ( 'eve_avatars', '0' );
MySQL said: Documentation #1062 - Duplicate entry 'eve_avatars' for key 1
That error came up first time I ran it. If I look in the phpbb_config table there is no eve_avatars. If I manually try to input the data to the table it gives the same error.
|

StyphonUK
Caldari Fearless Bandits
|
Posted - 2011.06.04 11:17:00 -
[250]
Originally by: StyphonUK
OK, I've managed to get all the SQL information in (I deleted the table, restored the backup and did it again, worked first time). However now when I try and register a character when you click submit it just reloads the registration page without the captcha but with the form still filled in. Clicking submit again just keeps reloading that page.
The problem was the name didn't match any of the account names, so the mod is working, however it needs to throw an error instead of just returning to the page with no instructions as to why the account isn't being created.
|
|

Nathan WAKE
Caldari Osiris Entreprises
|
Posted - 2011.06.05 09:15:00 -
[251]
Originally by: Cyerus
Can you tell me if line 3525 in file 'includes/function_user.php' equals
$input = 'http://image.eveonline.com/Character/' . $id . '_256.jpg';
Also, can you doublecheck that the character you are trying to get the portrait on has filled in correct and working API settings?
Hello Cyerus,
Thank you for your answer.
Yes, the line is exactlly as you stated, and the character has typed-in correct credentials, because everything else is working properly - members have the correct access and visitors have their own.
The only thing is (and it might be nothing) :
$input = 'http://image.eveonline.com/Character/' . $id . '_256.jpg';
is on line 3523 and not 3525. I think I am using the latest version (downloaded on the first topic of this thread v4.6)
How could I help you more investigate that problem ?
Nathan
|

StyphonUK
Caldari Fearless Bandits
|
Posted - 2011.06.05 18:09:00 -
[252]
Not sure whether the mod is causing this or not but never seen this happen on a forum before. Users have the correct permissions (checked the masks for the user groups and everything) to edit and delete posts yet they cannot. The buttons don't appear and if you manually browse to the page it says they don't have permission. I have no idea what is happening to stop the masks from being applied properly and just want to cover all the bases. Does this mod edit the users permissions in any way?
|

Nathan WAKE
Caldari Osiris Entreprises
|
Posted - 2011.06.08 20:04:00 -
[253]
Never mind Cyerus, my mistake on that one :
The message :
Quote: [phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 3538: file_put_contents(images/avatars/upload/263c3b34b1a9508e833f9c3c470860b0_2.jpg) [function.file-put-contents]: failed to open stream: No such file or directory
was my fault : I installed Joomla and PHPBB and bridged them with the rockettheme bridge.
When installed, this bridge creates a "forum" folder (hosting the bridge files), and a "distribution" folder (where the actual folder is located).
Your mod was looking for images/avatars/upload in the wrong directory. But you couldn't guess that.
That being solved, I still have the
Quote: It was not possible to determine the dimensions of the image. The submitted avatar is 0 pixels wide and 0 pixels high. Avatars must be at least 128 pixels wide and 128 pixels high, but no larger than 256 pixels wide and 256 pixels high.
problem.
Any clue or part of this thread I'd missed ?
Thanks
Nathan
|

Pardus Aeon
Gallente Galnet Genesis
|
Posted - 2011.06.10 17:18:00 -
[254]
Hey, sorry if this was already asked up further in the thread but I've been playing around with setting this up and have an issue. All was good until I tried to actually register with some API info. A always get the message The API information you entered was invalid. This happens even with valid creds. Any suggestions on where to start with the troubleshooting? It would be cool to be able to get this working soon, I'm going to be talking about setting up forums in my next podcast and would really like to mention this mod along with it if I get it running.
[Pardus Aeon] |

StyphonUK
Caldari Fearless Bandits
|
Posted - 2011.06.13 17:14:00 -
[255]
Originally by: Pardus Aeon Hey, sorry if this was already asked up further in the thread but I've been playing around with setting this up and have an issue. All was good until I tried to actually register with some API info. A always get the message The API information you entered was invalid. This happens even with valid creds. Any suggestions on where to start with the troubleshooting? It would be cool to be able to get this working soon, I'm going to be talking about setting up forums in my next podcast and would really like to mention this mod along with it if I get it running.
First thing make sure the name they sign up with matches their in game name exactly.
|

Pardus Aeon
Gallente Galnet Genesis
|
Posted - 2011.06.14 00:44:00 -
[256]
I knew it had to be something simple. The names didn't match. Thanks for the tip, the mod works nicely now. [Pardus Aeon] |

Ryans Revenge
Gallente Drunken Wookies BricK sQuAD.
|
Posted - 2011.06.14 16:30:00 -
[257]
How do I apply this to a different style? Tried copying the files over the other style and doesn't work. IDLaunch Black style
|

Nathan WAKE
Caldari Osiris Entreprises
|
Posted - 2011.06.18 09:29:00 -
[258]
Originally by: Ryans Revenge How do I apply this to a different style? Tried copying the files over the other style and doesn't work. IDLaunch Black style
When beginning your installation, you'll see a list o files to edit.
There are common files to have nothing to do with your styles / templates :
- adm/...
- include/...
- language/...
These files can be simply edited (or replaced if you do not have installed other mods)
For the files contained in :
- style/prosilver/template/...
Some of these files are overridden by your specific style / template.
- If you find some of the stated files in your style/IDLaunchBlack/... modify them
- If you can not find these files in your specific template folder, it means the prosilver default files apply, and then has to be modified
After you have done that :
- go to ACP -> Styles -> Templates and refresh
- go to ACP -> Styles -> Themes and refresh
- go to ACP -> General and purge your cache
If, in any case you find the stated files to be modified in both your template folder AND in the prosilver folder, I'd say try to modify both and that should do it (worked for me when I had a doubt - not very clean but...)
Hope it helps
Nathan
PS : When installing this mod, I always install it on a "blank" forum, without any mod or style / template, to make sure it works. Then, step by step, I install all the other things I need and modify only the overridden default files.
|

Nathan WAKE
Caldari Osiris Entreprises
|
Posted - 2011.06.18 09:31:00 -
[259]
To Cyerus
Forgot to mention publicly that your intervention helped me solve all my problems. It works like a charm !!
Thanks again.
Chears
Nathan
|

Nuramori
Amarr Drama Llamas
|
Posted - 2011.06.19 05:11:00 -
[260]
Perhaps a bit tangential, but I was wondering if you could assist/add some functionality. What you have now works superbly and I thank and applaud you for your efforts.
I was wondering if you knew of, or could/would add to this validator the ability to also modify rights to teamspeak. While I know it's not directly relevant to phbb3, many of us that play eve use either TS2/3 or vent, and want to also manage access there.
Your validator is excellent and well done - and forums tend to be the FIRST step in gaining membership to a corp and alliance, so having one check point makes not only sense but eases the burden of managing things. So what would be great is if once your validator authenticates a member it not only sets rights on the forum, but also runs thru the client ID on the teamspeak DB and registers them there. Basically an addition of the teamspeak API thing that MJ Maverick has put out.
Just a thought since forums and comms go hand in hand with Eve gaming.
|
|

Vevalius Kion
|
Posted - 2011.06.22 20:29:00 -
[261]
bit of a problem...
would be good if you could edit your API info somewhere... or add it if the account doesn't have it already!
Also a feature request:
Having pepole sign up from the corp would be put in one usergroup and if people sign up from the alliance they get put in another usergroup.
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.06.23 00:45:00 -
[262]
Originally by: StyphonUK The problem was the name didn't match any of the account names, so the mod is working, however it needs to throw an error instead of just returning to the page with no instructions as to why the account isn't being created.
Will be fixed in the next verison, thanks for the TeamViewer session.
Originally by: Nathan WAKE To Cyerus
Forgot to mention publicly that your intervention helped me solve all my problems. It works like a charm !!
Thanks again.
Chears
Nathan
No problem Nathan. Both of his problems were fixed, had to do with his hybrid Joomla / phpBB setup.
Originally by: Nuramori Perhaps a bit tangential, but I was wondering if you could assist/add some functionality. What you have now works superbly and I thank and applaud you for your efforts.
I was wondering if you knew of, or could/would add to this validator the ability to also modify rights to teamspeak. While I know it's not directly relevant to phbb3, many of us that play eve use either TS2/3 or vent, and want to also manage access there.
Your validator is excellent and well done - and forums tend to be the FIRST step in gaining membership to a corp and alliance, so having one check point makes not only sense but eases the burden of managing things. So what would be great is if once your validator authenticates a member it not only sets rights on the forum, but also runs thru the client ID on the teamspeak DB and registers them there. Basically an addition of the teamspeak API thing that MJ Maverick has put out.
Just a thought since forums and comms go hand in hand with Eve gaming.
I can't say anything more then that it will be implemented in the soon future. However, this will be limited to TS 3 and Mumble, since TS 2 and Ventrilo don't support API scripted calls. Version 5 of the MOD will be the best one yet!
Originally by: Vevalius Kion bit of a problem...
would be good if you could edit your API info somewhere... or add it if the account doesn't have it already!
Important: The mod blocks admins from changing their username (even though they don't have their API on their account... and that is because there is nowhere to add it to a current account). Users also inform me they are unable to create an account at all due to "invalid api information".
Also a feature request:
Having pepole sign up from the corp would be put in one usergroup and if people sign up from the alliance they get put in another usergroup.
The ability to change (or add) API details on accounts is build it. "User Control Panel" -> "Profile" -> "Edit account settings". Adminwise, you can find it at the users profile using the Admin Control Panel.
Users should be able to change their usernames, if you have that option enabled in phpBB.
|

Opiboble Inte
Hard Rock Mining Co. The Jagged Alliance
|
Posted - 2011.06.24 05:37:00 -
[263]
thanks! -Opi out. |

TheBooky
|
Posted - 2011.06.24 15:32:00 -
[264]
Might I suggest that you change the comparisons to ID's rather than names since differences in spelling could take a few days of pain for new users. The only reason I realized that it was wrong is I had it echo the 2 values and it saw Of != of.
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.06.28 17:40:00 -
[265]
Originally by: TheBooky Might I suggest that you change the comparisons to ID's rather than names since differences in spelling could take a few days of pain for new users. The only reason I realized that it was wrong is I had it echo the 2 values and it saw Of != of.
I will not be using the IDs (don't feel like implementing unnecessary steps), but I will change the checks to be lower case. In other words; Both the API gathered Corp/Alliance Name and the one filled in on the AdminCP will be transformed to lowercase, then checked against eachother.
Hope that will suffice.
|

TheBooky
|
Posted - 2011.06.29 22:34:00 -
[266]
I hope you don't mind but on mine I just went ahead and changed it to ID's anyways as well as removing curl requirements as it annoyed me as my php said I could use it but it never worked. Another thing I would want is the cron to actually save the log rather than echo it.
|

Kaomond
|
Posted - 2011.07.05 14:04:00 -
[267]
Is there any chance you could look into making this work with the modx installe automod? I've tried using automod but it throws up an error unkown command as soon as you clck install, i'm a total clutz when it comes to these things and i'm scared to even attempt to manually install incase i ruin my forum.
|

Dal Brinium
Amarr Nemesis Holdings Corp
|
Posted - 2011.07.06 11:40:00 -
[268]
Hey there,
I have mailed Cyreus with an issue but thought I would share here my problems in case someone has already encountered and resolved it.
PhpBB3 mod for EVE API registration. From: Dal Brinium Sent: 2011.07.06 11:26 To: Cyreus,
Hello there,
First off let me say what a great job you all did creating the mod in the first instance.
Secondly let me say I am completely new to PHPBB3 but run several forums in Vbulletin and Joomla. I decided to create our corporate forums usnig PHPBB3 to make the most of the mod you have written.
So far everything works great except for the Avatar downloading.
So when trying to download thw avatar through the UsersCP I get an error.
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 3538: file_put_contents(/1950f8c29cf9a2f4ce08f497ab3f262c_55.jpg) [function.file-put-contents]: failed to open stream: Permission denied [phpBB Debug] PHP Notice: in file /includes/functions.php on line 4580: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3781)
Any ideas? Is everyone suffering from this since the API changes by CCP?
Many thanks in advance for any help.
Dal Brinium.
|

StyphonUK
Caldari Fearless Bandits Fearless Bears
|
Posted - 2011.07.31 10:37:00 -
[269]
Hey Cyerus, any ETA on a version for 3.0.9. Can't update my forum because of some conflicting changes.
|

tha Sales
United Nations Organization United Pod Service
|
Posted - 2011.08.01 16:05:00 -
[270]
Originally by: Dal Brinium
So far everything works great except for the Avatar downloading.
So when trying to download thw avatar through the UsersCP I get an error.
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 3538: file_put_contents(/1950f8c29cf9a2f4ce08f497ab3f262c_55.jpg) [function.file-put-contents]: failed to open stream: Permission denied [phpBB Debug] PHP Notice: in file /includes/functions.php on line 4580: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3781)
Any ideas? Is everyone suffering from this since the API changes by CCP?
Take a look at the file/dir permissions. It looks it can not write in the avater directory.
PS and i love an update to 3.09 i tried to install it on that version but i found some errors on new variables and got at the end a WSOD.
|
|

Admiral Tolwyn
|
Posted - 2011.08.02 12:37:00 -
[271]
Hi,
I have wish. Would it be possible to write a normal small install howto, how to install this mod on phpbb3. I have absolutely no idea how to work through this xml files. I know in the phpbb community it has become very cool just to use this files but phpbb3 is the only thing I know which works like this.
Please help me out!
Thanks for your help!
|

Gore Neosilver
|
Posted - 2011.08.10 06:51:00 -
[272]
Hi Admiral Tolwyn, in the ZIP-File is a readme.txt. There you can read what to do, if you have not install any Mod yet. If you have install one, you have to open the XML-File in Firefox or Chrome. In the File is writen what to do and where. It is realy quit easy.
Now my Problem. If i install your MOD in phpBB 3.0.8 it works. But if i make an update or install it on phpBB 3.0.9, i get the Error
SQL ERROR [ mysql4 ]
Table 'myDB.login_attempts' doesn't exist [1146]
Is this a known Error? Or do I something wrong?
Thanks for your reply.
P.S. sorry for my bad english
|

StyphonUK
Caldari Fearless Bandits Fearless Bears
|
Posted - 2011.08.12 18:52:00 -
[273]
Originally by: Gore Neosilver Edited by: Gore Neosilver on 10/08/2011 08:03:51 Hi Admiral Tolwyn, in the ZIP-File is a readme.txt. There you can read what to do, if you have not install any Mod yet. If you have install one, you have to open the XML-File in Firefox or Chrome. In the File is writen what to do and where. It is realy quit easy.
Now my Problem. If i install your MOD in phpBB 3.0.8 it works. But if i make an update or install it on phpBB 3.0.9, i get the Error
SQL ERROR [ mysqli ]
Table 'mydb.LOGIN_ATTEMPT_TABLE' doesn't exist [1146]
Is this a known Error? Or do I something wrong?
Thanks for your reply.
P.S. sorry for my bad english
3.0.9 changed some of the files that this mod changes. That means that Cyerus needs to edit the mod to work with 3.0.9.
|

Balani
|
Posted - 2011.08.14 21:31:00 -
[274]
Someone can tell me how i can automaticaly add the Corporation and Alliance tag into profile field 1 and 2
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.08.17 17:15:00 -
[275]
Edited by: Cyerus on 17/08/2011 17:16:11 Working on it.
*shame* I missed the whole 3.0.9 release due to vacation, now I'm trying to catch up. Working as fast as I can guys ;) Just hold with 3.0.8 for now, not many changes in 3.0.9 security wise.
|

EVEVERIFY Cashier
|
Posted - 2011.08.17 17:35:00 -
[276]
Originally by: Cyerus Edited by: Cyerus on 17/08/2011 17:16:11 Working on it.
*shame* I missed the whole 3.0.9 release due to vacation, now I'm trying to catch up. Working as fast as I can guys ;) Just hold with 3.0.8 for now, not many changes in 3.0.9 security wise.
I'm wondering about the coming changes to api keys and how it relates to this mod?
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.08.18 18:04:00 -
[277]
Originally by: EVEVERIFY Cashier
Originally by: Cyerus Edited by: Cyerus on 17/08/2011 17:16:11 Working on it.
*shame* I missed the whole 3.0.9 release due to vacation, now I'm trying to catch up. Working as fast as I can guys ;) Just hold with 3.0.8 for now, not many changes in 3.0.9 security wise.
I'm wondering about the coming changes to api keys and how it relates to this mod?
In theory nothing big would change. You still need an UserID / APIkey pare, although named slightly different.
Only difference is that the user will have the chance to select what information to share per UserID / APIkey pair. In other words, he will need to set Username, Corporation and Alliance information in there, else the mod will deny him/her access. When the changes are made final, I'll check out what permissions to set on the UserID / APIkey pair to have a fully functional check.
TL-DR: Nothing to worry about.
|

Johnathan Roark
Caldari The Graduates Morsus Mihi
|
Posted - 2011.08.18 19:49:00 -
[278]
Originally by: Cyerus
Originally by: EVEVERIFY Cashier
Originally by: Cyerus Edited by: Cyerus on 17/08/2011 17:16:11 Working on it.
*shame* I missed the whole 3.0.9 release due to vacation, now I'm trying to catch up. Working as fast as I can guys ;) Just hold with 3.0.8 for now, not many changes in 3.0.9 security wise.
I'm wondering about the coming changes to api keys and how it relates to this mod?
In theory nothing big would change. You still need an UserID / APIkey pare, although named slightly different.
Only difference is that the user will have the chance to select what information to share per UserID / APIkey pair. In other words, he will need to set Username, Corporation and Alliance information in there, else the mod will deny him/her access. When the changes are made final, I'll check out what permissions to set on the UserID / APIkey pair to have a fully functional check.
TL-DR: Nothing to worry about.
Instead of checking Characters, all you really need to do is check APIKeyInfo, returns the same info as Characters did.
POS-Tracker 3.0 Hosting |

Zylinda
|
Posted - 2011.08.26 19:07:00 -
[279]
I'm about to setup a new corp forum, and was hoping to base it around PHPBB 3.0.9, and the Stargate Portal.
I'm more than happy to throw some ISK towards this project, as it is a very useful tool to use.
Just wondered if there is any ETA on a 3.0.9 update though before I decide whether to use 3.08 or not?
|

Zylinda
|
Posted - 2011.08.29 16:50:00 -
[280]
Ok, I went ahead and installed this on a fresh installation of PHPBB v3.0.9
There is one error, which I'm guessing actually applies to all versions:
'INVALID_CHAR_NAME' isn't defined in the character files, so a new registration could get frustrated as they wouldn't see an error message.
However, following ALL the instructions (modifications to the php, adding the new files, and running the SQL updates), this API mod works perfectly.
The included 'api_cron.php' file can be used to automatically update all registered members to check change of corp/alliance membership. This can be run manually, or you could set this up with you host if you know how to.
You do have to edit the 3.0.9 files as listed in the 'install_api_registration_4.6.xml' file, so you CAN'T just copy in the files from 'pre_edit' directory as you could for 3.0.8
I hope this helps.
|
|

Pattux
|
Posted - 2011.09.01 16:29:00 -
[281]
Doesn't work with the new API (Incarna 1.1) system. The old API system does still work, but is deprecated.
|

Cyerus
Galactic Dominion Eternal Strife
|
Posted - 2011.09.01 16:59:00 -
[282]
Originally by: Pattux Doesn't work with the new API (Incarna 1.1) system. The old API system does still work, but is deprecated.
Working on it, release will be tomorrow.
|

Primus Doom
|
Posted - 2011.09.06 19:38:00 -
[283]
/poke the dev.
just standing by :D id be willing to test any beta release =)
*starting up new forums for alliance and we wanted to implement this.
|
|
|
|
Pages: 1 2 3 4 5 6 7 8 9 10 :: [one page] |