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

IceBlade Rage
Immortalis Silens Slightly Inappropriate.
|
Posted - 2009.09.01 01:16:00 -
[181]
Originally by: Xeross155 Edited by: Xeross155 on 31/08/2009 20:56:48 I keep getting value entered is too short when I try to enter my api key and user id :S
Update: Think it's fixed. New problem though if someone tried to register with an invalid api key it gives no errors, Any idea ?
Regards, Xeross
Will forward this to Valek.
|

xc0n
|
Posted - 2009.09.01 08:07:00 -
[182]
Originally by: Xeross155 Edited by: Xeross155 on 31/08/2009 18:28:19 Patch generated. http://files.x3tech.com/102/EVE-API.patch
You sir are my hero.
|

IceBlade Rage
Immortalis Silens Slightly Inappropriate.
|
Posted - 2009.09.11 05:32:00 -
[183]
Per Valek, this project now needs a new maintainer. Any volunteers? All Valek asks is credit to him for prior versions is retained.
|

Rauderberg
Gallente ETG Holdings Elite Trade Group
|
Posted - 2009.09.15 16:40:00 -
[184]
Hi all, I can see that this is no longer in production, but I am hoping someone can help me anyway. i installed this mod onto our forums and had no troubles at all. I told all current members to add thier API Keys and then ran the charid.php file. I believe there are some that have still not entered thier API Keys, but I ran the cron anyway. I simply ran it in my browser with debug on. As soon as I run it the message Validation process completed successfully! comes up instantly, but it does not check any accounts at all, that message is all that displays. I have tried a few different settings but the cron still only runs instantly and displays this message straight away. Any ideas.
|

Rauder
|
Posted - 2009.09.16 04:01:00 -
[185]
Edited by: Rauder on 16/09/2009 04:02:50 All fixed, I found the problem so no need to reply. Will check ingame for Valek and donate iskies. Great Mod.
[EDIT] 0OOps wrong char, was meant to be Rauderberg :)
|

DaReaper
Net 7 The Last Brigade
|
Posted - 2009.09.16 17:41:00 -
[186]
I know that development has stopped but maybe someone else had this issue and they have an answer:
I finally updated the api_cron with the fixed file, and ran it today to try and clear out a member i know has left my corp. Was trying to verify that all worked. However, it removed the members of the other corps in the alliance that has a different user group and kept the guy who is no longer in my corp.... yea odd. Any ideas?
|

Mark Galean
Mercurialis Inc. Wildly Inappropriate.
|
Posted - 2009.09.26 14:18:00 -
[187]
Edited by: Mark Galean on 26/09/2009 14:25:40
Originally by: Rauderberg Hi all, I can see that this is no longer in production, but I am hoping someone can help me anyway. i installed this mod onto our forums and had no troubles at all. I told all current members to add thier API Keys and then ran the charid.php file. I believe there are some that have still not entered thier API Keys, but I ran the cron anyway. I simply ran it in my browser with debug on. As soon as I run it the message Validation process completed successfully! comes up instantly, but it does not check any accounts at all, that message is all that displays. I have tried a few different settings but the cron still only runs instantly and displays this message straight away. Any ideas.
Check the cron_api.php file, it contains a few arrays that you WILL need to fill out (use phpMyAdmin or any other tool that you can do lookups with) and add those into the array - ONLY those tagged there will be checked. The default is group 7, which may or may not exist on your forum.
In short, you need to read a bit further down in the api_cron.php file to find out what it really does, not just blindly running it.
Example:
Quote:
// Array of names to be excluded from validation cycle. $names = Array('Mark Galean');
// Verbose / debug mode toggle. Turn on if you're running it manually and want to watch it work, or if something's incorrect and you're looking for errors. $verbose = true;
// Group type // 0 = Identified by group ID // 1 = Identified by group name $group_type = 0;
// Array containing groups to validate. $groups = Array(349,352,362,364,366);
The above would ignore "Mark Galean" as a user, then do verifications on groups with ID 349, 352, 362, 364 and 366 (found in the phpbb_users table (or similar). The groups checked above for me is specific registered usergroups, so do not just copy/paste. If you set $group_type = 1 you will need to type the full name of the group(s) you want to verify users in. --
Mark Galean, Mercurial Inc. Wildly Inappropriate. (WI.) |

DaReaper
Net 7 The Last Brigade
|
Posted - 2009.09.29 22:15:00 -
[188]
well i screwed up, i accidentally inactivated my admin account with the api script. Anyone know an easy way to reactive an inactivated account?
|

Jim diGriz
Caldari Lollipops for Rancors REIGN Alliance
|
Posted - 2009.10.07 10:00:00 -
[189]
Originally by: DaReaper well i screwed up, i accidentally inactivated my admin account with the api script. Anyone know an easy way to reactive an inactivated account?
The Support Tool Kit for PHPBB 3.0.x should help
|

Sealy
|
Posted - 2009.11.03 15:10:00 -
[190]
Ok this is working great for me. Im sending so iskies to you. thanks.. IF you are still modifying this I would like to have multiple corps as API-Entity For example
Alliance "The Mobs" Corp 1 - Blam Gams - PHPBB3 Group - Blam Gams Corp 2 - Purs strings - PHPBB3 Group - Purs strings Corp 3 - Simple simon - PHPBB3 Group - Simple simon Corp 4 - Cran Cerry - PHPBB3 Group - Cran Cerry Corp 5 - mincers - PHPBB3 Group - mincers
No Corp - All others and people who have left - PHPBB3 Group - Registered Public
This means with an alliance board then all corps can have their own private area on the forms where they can only see.
|
|

Agent Known
|
Posted - 2009.11.03 21:58:00 -
[191]
Originally by: Sealy Ok this is working great for me. Im sending so iskies to you. thanks.. IF you are still modifying this I would like to have multiple corps as API-Entity For example
Alliance "The Mobs" Corp 1 - Blam Gams - PHPBB3 Group - Blam Gams Corp 2 - Purs strings - PHPBB3 Group - Purs strings Corp 3 - Simple simon - PHPBB3 Group - Simple simon Corp 4 - Cran Cerry - PHPBB3 Group - Cran Cerry Corp 5 - mincers - PHPBB3 Group - mincers
No Corp - All others and people who have left - PHPBB3 Group - Registered Public
This means with an alliance board then all corps can have their own private area on the forms where they can only see.
I started doing this manually...it's a pain in the ass, but it works.  On another note, I also have an annoying sig.
inaftertimeflux |

Altair Mogwa
Amok. Minor Threat.
|
Posted - 2009.11.04 21:01:00 -
[192]
anyone seen this error?
Quote: [phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 154: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration [phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 154: file_get_contents(http://api.eve-online.com/eve/CharacterID.xml.aspx?names=Altair+Mogwa) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found
Fatal error: Call to a member function attributes() on a non-object in /home/minor/public_html/forum/includes/functions_user.php on line 155
I researched it to be related to the php.ini not having allow_url_fopen on. The host provider said this can't be changed. Is there a work around or am i boned?
This was 2.1.1 installed onto a fresh phpbb 3.0.5
|

Angela Ripper
|
Posted - 2009.11.09 19:49:00 -
[193]
Edited by: Angela Ripper on 09/11/2009 19:49:58 Got error:
Fatal error: Call to a member function attributes() on a non-object in /***/includes/functions_user.php on line 155
when try to register new user. functions_users.php and all parts of file is same as xml, and yes, i read all pages of this topic. Can somebody help me please!?
|

Foxxy Lady
Minmatar Dark-Rising IT Alliance
|
Posted - 2009.11.16 09:20:00 -
[194]
Edited by: Foxxy Lady on 16/11/2009 09:20:28 I am getting the error:
Quote: General Error SQL ERROR [ mysql4 ]
MySQL server has gone away [2006]
An sql error occurred while fetching this page. Please contact an administrator if this problem persists.
And it is only checking like 1/10th of our corp (member group) during api_cron.php or characterid.php.
Also can this upgrade people from 'guest' to 'member' once they join corporation?
|

Miraki Alsento
Nutz N Boltz
|
Posted - 2009.11.25 18:23:00 -
[195]
Originally by: Altair Mogwa Edited by: Altair Mogwa on 06/11/2009 04:35:40 anyone seen this error? (I know this isn't being actively supported anymore)
Quote: [phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 154: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration [phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 154: file_get_contents(http://api.eve-online.com/eve/CharacterID.xml.aspx?names=Altair+Mogwa) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found
Fatal error: Call to a member function attributes() on a non-object in /home/minor/public_html/forum/includes/functions_user.php on line 155
I researched it to be related to the php.ini not having allow_url_fopen on. The host provider said this can't be changed. Is there a work around or am i boned?
This was 2.1.1 installed onto a fresh phpbb 3.0.5
EDIT: Things i've read is to usea cURL function. Programming noob I am i have not figured this out yet.
To use the cURL do the following: In includes/function_users.php find
/** * 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(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; } Add before
/** * Fetches filecontent from the interwebz */ function curl_get_file_contents($request) { $c = curl_init(); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); curl_setopt($c, CURLOPT_URL, $request); return curl_exec($c); curl_close($c); }
After you've done this replace all occurrences of "file_get_contents" with "curl_get_file_contents". This works with 3.0.5. However on 3.0.6 there's something that messing things up, can't get the API info to download properly any longer. Came here looking for a solution heh.
|

Miraki Alsento
Nutz N Boltz
|
Posted - 2009.11.25 20:35:00 -
[196]
Edited by: Miraki Alsento on 25/11/2009 20:36:53 To fix above error: Open: includes/function_user.php Find:
case 2: $xml = file_get_contents("http://api.eve-online.com/char/CharacterSheet.xml.aspx?userID={$user_row['api_userid']}&apikey={$user_row['api_limitedkey']}&characterID={$charid}"); preg_match("/<corporationID>([0-9]+)<\/corporationID>/",$xml,$corpid); $corpid = $corpid[1]; $xml = file_get_contents("http://api.eve-online.com/corp/CorporationSheet.xml.aspx?corporationID={$corpid}"); preg_match("/<allianceName>(.+)<\/allianceName>/",$xml,$allname); $allname = $allname[1]; if($allname == NULL) { return $user->lang['INVALID_API_CREDENTIALS']; } if($allname != $config['api_entity']) { if($config['api_nm_register']) { return 0; } return sprintf($user->lang['INVALID_API_ALLMEMBER'],$config['api_entity']); } return 1; break;
Replace with:
case 2: $xml = file_get_contents("http://api.eve-online.com/char/CharacterSheet.xml.aspx?userID={$user_row['api_userid']}&apikey={$user_row['api_limitedkey']}&characterID={$charid}"); preg_match("/<corporationID>([0-9]+)<\/corporationID>/",$xml,$corpid); $corpid = $corpid[1]; $xml = file_get_contents("http://api.eve-online.com/corp/CorporationSheet.xml.aspx?corporationID={$corpid}"); preg_match("/<allianceName>(.+)<\/allianceName>/",$xml,$allname); $allname = $allname[1]; if($allname == NULL) { if($config['api_nm_register']) { return 0; } return $user->lang['INVALID_API_CREDENTIALS']; } if($allname != $config['api_entity']) { if($config['api_nm_register']) { return 0; } return sprintf($user->lang['INVALID_API_ALLMEMBER'],$config['api_entity']); } return 1; break;
This code is in "function validatechar($user_row, $charid)". This probably isn't the prettiest or best way to fix this code-wise, but it seems like it's working and thats what matters to me. Thought I'd share in case someone else ran into this problem as well.
EDIT: If anyone from CCP sees this. Find whomever is in charge of programming the forums, give em a whack behind the head and tell em to fix the code tag, the letters are way to big!!!
|

InUreCan StealinUreBike
Gallente Federal Navy Academy
|
Posted - 2009.11.28 03:09:00 -
[197]
Question about the cronjob.
Currently when i test it anyone not in the corp is set to inactive. I would rather have it just remove them from the special group for members. We have users not in the corp that post on our forums.
So if someone could help me edit the cronjob to just remove the member from the private member group, an isk donation is in store.
I know the group numbers, i'm just a rookie at setting up cron jobs and having it run query's on stuff.
If it helps, non member groups are 7 and member group is 8.
Thanks again!
|

Adahy Eagleton
Caldari Duke Technologies
|
Posted - 2009.12.28 19:34:00 -
[198]
Hey Everyone,
I'm not sure if support on this mod still exists but I'll ask anyways.
I applied the above fixes to the functions_user.php which made some of my errors go away. But anytime I put an API key in and hit submit I end up at a blank page with nothing on it. "http://website.com/ucp.php?mode=register"
I'm not really sure what I'm doing but if someone could help that would be awesome.
Thanks, Adahy
|

Adahy Eagleton
Caldari Duke Technologies
|
Posted - 2009.12.28 20:40:00 -
[199]
I think the issue is somewhere in root/ucp.php
in case 'register':
But everything looks good to me and there haven't been any changes to this file (stock)
Thanks for any help in advance.
|

MWGemini
|
Posted - 2009.12.31 21:01:00 -
[200]
I recently tried adding this mod to my own forums, and the only thing I have not been able to get working so far is the new user registration. If I attempt to register a new user (at the ForumRoot/ucp.php?mode=register url), the terms of use shows correctly (with the extra info about the API use at the bottom), but clicking on the "I agree" button brings me to the next page (same url), with nowhere to enter the API data. The user can fill all fields, but when attempting to create the account, it fails because the API data is blank.
I copied over all files from the archive to the board (v3.0.5), which formerly had no mods installed. I'll throw some isk at whoever can help me find a solution to this issue (it should be pretty simple, I think). Also, if anyone is interested in adding features to this, I'll compensate you for your time.
Thanks,
MWGemini
|
|

SlidW
Extreme Solutions Black Star Alliance
|
Posted - 2010.01.06 01:52:00 -
[201]
I've seen phpbb3 now reached the V3.0.6, will this hack still work with it? ty
|

Caxs
Sector 5 FREGE
|
Posted - 2010.01.12 19:36:00 -
[202]
Originally by: Miraki Alsento Edited by: Miraki Alsento on 25/11/2009 20:27:10 Edited by: Miraki Alsento on 25/11/2009 19:42:18
Originally by: Altair Mogwa Edited by: Altair Mogwa on 06/11/2009 04:35:40 anyone seen this error? (I know this isn't being actively supported anymore)
Quote: [phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 154: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration [phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 154: file_get_contents(http://api.eve-online.com/eve/CharacterID.xml.aspx?names=Altair+Mogwa) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found
Fatal error: Call to a member function attributes() on a non-object in /home/minor/public_html/forum/includes/functions_user.php on line 155
I researched it to be related to the php.ini not having allow_url_fopen on. The host provider said this can't be changed. Is there a work around or am i boned?
This was 2.1.1 installed onto a fresh phpbb 3.0.5
EDIT: Things i've read is to usea cURL function. Programming noob I am i have not figured this out yet.
To use the cURL do the following: In includes/function_users.php find
/** * 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(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; } Add before
/** * Fetches filecontent from the interwebz */ function curl_get_file_contents($request) { $c = curl_init(); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); curl_setopt($c, CURLOPT_URL, $request); return curl_exec($c); curl_close($c); }
After you've done this replace all occurrences of "file_get_contents" with "curl_get_file_contents". This works with 3.0.5. However on 3.0.6 there's something that messing things up, can't get the API info to download properly any longer. Came here looking for a solution heh.
EDIT: The bug with 3.0.6 is seems to be that nonmember characters can't register. I'm messing around with this trying to figure out why.
EDIT 2: Figured it out :) The error was that if you had the mod set to Alliance as Validation Method and had non-member registration on, characters not in an alliance would not be able to register. This probably apply if it's running on phpBB 3.0.5 aswell. The fix is quite simple.
Fix in next post!
I have tried this fix on a fresh 3.05 install, and i now get this error "Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/evolution/public_html/forum/includes/functions_user.php on line 165"
|

Elemiah
Caldari Pirates of Dark Water
|
Posted - 2010.01.17 19:57:00 -
[203]
i am getting this error
Fatal error: Call to undefined function get_unread_topics() in /home/content/07/5479507/html/forums/includes/functions_display.php on line 110
any suggestions?
|

Darius Skywalker
|
Posted - 2010.01.22 15:42:00 -
[204]
I'm not sure if this is allready fixed, but i see in acp_users.php you forgot to get character id before validating charater, so api allways fails when you try to edit user profile, just add this before validation:
$charid = ($data['username']) ? getID($data['username']) : getID($user->data['username']); if(!$charid) { $error[] = $user->lang['INVALID_CHAR_NAME']; } if (!sizeof($error)) { //validation goes here }
|

Agent Unknown
Caldari
|
Posted - 2010.01.27 20:01:00 -
[205]
Originally by: Elemiah i am getting this error
Fatal error: Call to undefined function get_unread_topics() in /home/content/07/5479507/html/forums/includes/functions_display.php on line 110
any suggestions?
Same here. The mod wasn't updated to support 3.0.6, so I'd imagine that would be the problem.
In any case, I cannot seem to open the XML file whatsoever. IE 8 spits out this:
Quote:
The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
An invalid character was found in text content. Error processing resource 'file:///D:/Downloads/phpBB API Mod 2.1.1/install...
< Also, I now have one of those annoying sigs.
Originally by: CCP Fallout
And yelling is bad. It makes the baby Jesus cry and when the baby Jesus cries I'm forced to lock threads
|

Psycer
|
Posted - 2010.01.28 18:23:00 -
[206]
Originally by: Agent Unknown Edited by: Agent Unknown on 27/01/2010 20:23:56
Originally by: Elemiah i am getting this error
Fatal error: Call to undefined function get_unread_topics() in /home/content/07/5479507/html/forums/includes/functions_display.php on line 110
any suggestions?
Same here. The mod wasn't updated to support 3.0.6, so I'd imagine that would be the problem.
In any case, I cannot seem to open the XML file whatsoever. IE 8 spits out this:
Quote:
The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
An invalid character was found in text content. Error processing resource 'file:///D:/Downloads/phpBB API Mod 2.1.1/install...
<
Works perfectly for my on 3.0.6, check if you have any other mods installed.. and if you do, don't just copy api mod files over yours.. follow instal.xml rules, modify files by hand.
|

Freeholder Joe
|
Posted - 2010.01.29 19:34:00 -
[207]
Edited by: Freeholder Joe on 29/01/2010 19:37:33 Ok so I didn't read all of this to see if this has already been explained, but sinec this guy just asked...
The problem with getting the mod xml to load has nothing to do with internet explorer. It's because the xml file is encoded as UTF-8 with BOM instead of just UTF-8.. The rest are encoded in ANSI.... Using notepad++ I opened all files and saved as UTF-8. Everything works fine, regardless of browsers.
Cheers!
|

Zendoren
Aktaeon Industries United Star Federation
|
Posted - 2010.02.10 22:31:00 -
[208]
We need to start a GoogleCode or sourceforge repository so that this will have some structure.
Thanks, Zen
|

Scipio Ceaser
Gallente White Star Line 2010 Saints Amongst Sinners
|
Posted - 2010.02.16 02:47:00 -
[209]
Edited by: Scipio Ceaser on 16/02/2010 02:48:08 I have the server space and the needed resources to host this file at my website eve-corps.com I am not sure who is in charge of this project at the moment but if you eve mail me I will respond or you can email me at webmaster {at} eve-corps.com I will also be happy do donate a subdomain for testing this mod. as well as enabling further development.
|

Ryu Icewing
|
Posted - 2010.02.24 02:46:00 -
[210]
Edited by: Ryu Icewing on 24/02/2010 02:51:08 I have php 3.0.6 and the one for 3.0.5 witch 2.1.1 dose not work for it as well id like it to work on the eve stile
the stille can be retrived at
http://www.dragon-services.net/forum/download/EveStyle for phpbb Forum.zip
I alsow get the Fatal error: Call to undefined function get_unread_topics() in /home/content/07/5479507/html/forums/includes/functions_display.php on line 110 error
only difrance on mine is i am using a difrent stilesheet
|
|
|
|
|
Pages: 1 2 3 4 5 6 [7] 8 :: one page |
First page | Previous page | Next page | Last page |