These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

phpBB 3.x API Registration Mod v6+

Author
Cyerus
University of Caille
Gallente Federation
#581 - 2012-12-08 13:16:22 UTC  |  Edited by: Cyerus
MrBubbles V wrote:
I've set up a new forum and installed this mod.
when ever i try to register a new user or add the api key to an exisiting account i get a red message saying "Invalid characterID.". the api key is working tho.
any ideas?

The user which API information you are trying to add cannot be found as an EVE Character. Most likely reason is that the username on the forum does not match any character he has on the account; Forum username should be an EVE Charactername.


ISuper wrote:
Cyerus, great job!

I think you need to renew your update manual for 6.xx to 6.xx. I didn't understand what i have to do with the old automod for example.

I haven't tested the new AutoMOD version yet, but I'll see what I can do.
Updating the EVE API MOD is pretty straight-forward, as you just have to uninstall / remove the old one in AutoMOD and install the new one, while using the install/index.php script to update the database.


James Auscent wrote:
Just downloaded and installed everything following the instructions in the video. I seem to be missing a file though. It didn't seem to come with the package I downloaded.

[phpBB Debug] PHP Warning: in file [ROOT]/common.php on line 125: require(.//includes/eveapi/functions_eveapi.php) [function.require]: failed to open stream: No such file or directory

Fatal error: require() [function.require]: Failed opening required './/includes/eveapi/functions_eveapi.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/00/10171900/html/imac/common.php on line 125

Woops! Package is updated and the file is included.
Backbone666
The Abyss Watchers
The Charter
#582 - 2012-12-08 13:50:23 UTC
is it me or is the "eveapi_cron.php" missing from the 6.1.2 package as well...

I am the mighty Spoonbone! Condenser of spoons!

Cyerus
University of Caille
Gallente Federation
#583 - 2012-12-08 13:56:26 UTC
Backbone666 wrote:
is it me or is the "eveapi_cron.php" missing from the 6.1.2 package as well...

It was Sad. Fixed now though. Shocked
ISuper
State War Academy
Caldari State
#584 - 2012-12-08 14:02:41 UTC  |  Edited by: ISuper
Cyerus wrote:



ISuper wrote:
Cyerus, great job!

I think you need to renew your update manual for 6.xx to 6.xx. I didn't understand what i have to do with the old automod for example.

I haven't tested the new AutoMOD version yet, but I'll see what I can do.
Updating the EVE API MOD is pretty straight-forward, as you just have to uninstall / remove the old one in AutoMOD and install the new one, while using the install/index.php script to update the database.





Nice, but your update manual is different Pirate And when i try to uninstall/install AutoMod package it always go to `force` mode.
Also i don't have this features after update:

~ Added API Key creation hyperlink to the register page.
~ Added hyperlink for eveapi_update.php to the loginpage.
Backbone666
The Abyss Watchers
The Charter
#585 - 2012-12-08 14:15:53 UTC
Fatal error: Cannot redeclare cronlog() (previously declared in [ROOT]/forums/includes/eveapi/functions_eveapi.php:25) in [ROOT]/forums/includes/eveapi/functions_eveapi.php on line 34

Don't think your going to catch a break today Cyerus Oops

I am the mighty Spoonbone! Condenser of spoons!

James Auscent
The Sneezy Syndicate
#586 - 2012-12-08 17:04:42 UTC
Cyerus wrote:
James Auscent wrote:
Just downloaded and installed everything following the instructions in the video. I seem to be missing a file though. It didn't seem to come with the package I downloaded.

[phpBB Debug] PHP Warning: in file [ROOT]/common.php on line 125: require(.//includes/eveapi/functions_eveapi.php) [function.require]: failed to open stream: No such file or directory

Fatal error: require() [function.require]: Failed opening required './/includes/eveapi/functions_eveapi.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/00/10171900/html/imac/common.php on line 125

Woops! Package is updated and the file is included.



Thanks for the quick fix. Keep up the good work.
deathmane sunwalker
Caldari Provisions
Caldari State
#587 - 2012-12-08 21:14:49 UTC
Hi, I'm trying to install this mod using automod, but once it is installed via automod, the eve api settings are not showing. Any help?
Cyerus
University of Caille
Gallente Federation
#588 - 2012-12-08 23:19:23 UTC  |  Edited by: Cyerus
ISuper wrote:
Nice, but your update manual is different Pirate And when i try to uninstall/install AutoMod package it always go to `force` mode.
Also i don't have this features after update:

~ Added API Key creation hyperlink to the register page.
~ Added hyperlink for eveapi_update.php to the loginpage.

Forcemode? That's probably a setting on your forum, normal mode works fine for me.

As for the missing links; that's probably because you haven't updated your template with the new changes yet.
Default template (Prosilver) should show them.


Backbone666 wrote:
Fatal error: Cannot redeclare cronlog() (previously declared in [ROOT]/forums/includes/eveapi/functions_eveapi.php:25) in [ROOT]/forums/includes/eveapi/functions_eveapi.php on line 34

Don't think your going to catch a break today Cyerus Oops

Managed to get him sorted after a short chat session.


James Auscent wrote:
Thanks for the quick fix. Keep up the good work.

No problem. Sometimes I seem to be using move instead of copy...


deathmane sunwalker wrote:
Hi, I'm trying to install this mod using automod, but once it is installed via automod, the eve api settings are not showing. Any help?

Watch the Youtube videos I made explaining the installation and configuration of this mod in detail.
Link can be found in the second post of this thread.




I'll release an update next week containing the database update for all the new and updated EVE stuff.
If lucky, the update will contain some updates for Jabber aswell.
Faldal Dartan
Sebiestor Tribe
Minmatar Republic
#589 - 2012-12-09 14:16:45 UTC  |  Edited by: Faldal Dartan
Cyerus wrote:

Faldal Dartan wrote:
When I open the "eveapi_cron.php" I am getting these error messages on the top of the window:

Quote:
[phpBB Debug] PHP Warning: in file [ROOT]/includes/eveapi/functions_eveapi.php on line 93: in_array() expects parameter 2 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/eveapi/functions_eveapi.php on line 118: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/eveapi/functions_eveapi.php on line 93: in_array() expects parameter 2 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/eveapi/functions_eveapi.php on line 118: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/eveapi/functions_eveapi.php on line 93: in_array() expects parameter 2 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/eveapi/functions_eveapi.php on line 118: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/eveapi/functions_eveapi.php on line 93: in_array() expects parameter 2 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/eveapi/functions_eveapi.php on line 118: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/eveapi/functions_eveapi.php on line 93: in_array() expects parameter 2 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/eveapi/functions_eveapi.php on line 118: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/eveapi/functions_eveapi.php on line 93: in_array() expects parameter 2 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/eveapi/functions_eveapi.php on line 118: Invalid argument supplied for foreach()


Everything is working fine but I am still wondering where this comes from as it just appeared out of nowhere.

I think I've fixed that bug in version 6.1.2, let me know if it still persists.
I happened when you have enabled TeamSpeak integration while the user isn't allowed to join any TeamSpeak group, resulting in a null value.



Yep I noticed that it has something to do with members which don't have any access but are registered (after they left the corp for example)...and yes it's not fixed in the new version. :)
(But it isn't a big deal though)
TimeWatcher
Brutor Tribe
Minmatar Republic
#590 - 2012-12-09 15:52:50 UTC
add please new evefit module and fit slot in new and rebalanced ships bbcode :P
Dremir Talron
Tranquility Quality Control
#591 - 2012-12-10 03:53:53 UTC
Hi. I am having a bit of trouble setting up the EVE API on my phpBB forum.
Everything works fantastic, except for teamspeak 3 witch doesn't seem to communicate with the forum.

I have the website hosted at one.com (a webhotel) and TS is hosted at www.multiplay.co.uk.

Using the www.multiplay.co.uk control panel i have the server query port and username and pasword i have generated in TS.

But when i try to post the TS UID on my profile it just goes blank.
And i can't connect to TS.

(When i try to connecto to TS i still use the same IP adress/port, but forum username/password) right?
Varrun
The Scope
Gallente Federation
#592 - 2012-12-10 19:20:40 UTC
I'm having issues with the cron, I was running 3.0.10 and and I believe it was api mod 6.0.1, and the cron was working as normal, occasionally unassigned everyone when on a script but was working never the less, but the API in the last few days does not run at all and gives me a error 500.

Before making this post I update the mod and board to the latest version and I'm still getting the same white screen error 500.

Any ideas, if you need any more info from me to help diagnose please let me know?

P.S. love the You Tube Video really easy to follow.
Evrus
#593 - 2012-12-10 23:59:05 UTC  |  Edited by: Evrus
Dear Cyerus! Hi and sorry for my English.

Can you upload just .sql with data

eveapi_items.sql
eveapi_ships.sql

Уou done it in this thread or other. I remember it.
My phpBB is so modification and i can't update DB.
Please and many many many thanks and Happy holidays.

I hope you understood my poor English.
Wolverine Chosen
Sodium Chloride Mining Institute
Domain Research and Mining Inst.
#594 - 2012-12-11 15:57:12 UTC  |  Edited by: Wolverine Chosen
Followed the vids but can't seem to add my api data to my own account as shown in the video :(

got prosilver as standard
tried it now for 4 times also according to pages 24-26
tried to install it through ftp
still nothing

http://img850.imageshack.us/img850/128/imgnyt.jpg

got it, needed to upload the install files manually before it worked
Evrus
#595 - 2012-12-14 16:20:09 UTC  |  Edited by: Evrus
Hm, i generate eveapi_ships, but the majority of values ​​for slots is zero. As a result, items are not shown in slots.
I took the required tables from this dump http://evedump.icyone.net/retribution-1.0.2_82708/bzip2/ and all columns "Low" "Medium" "High" etc was '0'

Cry
Evrus
#596 - 2012-12-15 09:36:50 UTC  |  Edited by: Evrus
Only T3 is normal.
Something wrong with the table 'dgmTypeAttributes'
I tested it by taking it from inferno-1.2_76477
Snitch Ashor
Republic Military School
Minmatar Republic
#597 - 2012-12-16 14:18:01 UTC
Hi,

first of all great work. I just installed 6.1.2. but figured the database is really outdated. Anyone got a recent ships.sql?

Cheers,
Snitch
Evrus
#598 - 2012-12-16 23:20:24 UTC
I collected with last inderno dsts and finished the values ​​manually.

no data for
Сorax
Dragoon
Algos
Talwar

Venture

I set values for this ships manualy.

http://filebin.ca/QG1BGET1Zez/eveapi_ships.sql

JustSharkbait
University of Caille
Gallente Federation
#599 - 2012-12-17 01:48:31 UTC
I am getting an error when i run the cron:

"Fatal error: Class 'TeamSpeak3' not found in /home/jwj87/public_html/forums/includes/eveapi/functions_eveapi.php on line 84"

I do not use the ts3 option, but i did at one time and have recently disabled it. Could that be causing an issue?

Hoo Ha Ha!!

Snitch Ashor
Republic Military School
Minmatar Republic
#600 - 2012-12-17 06:53:48 UTC  |  Edited by: Snitch Ashor
Evrus wrote:
I collected with last inderno dsts and finished the values ​​manually.

no data for
Сorax
Dragoon
Algos
Talwar

Venture

I set values for this ships manualy.

http://filebin.ca/QG1BGET1Zez/eveapi_ships.sql



Thanks a lot worked like a charm! Any chance you have already done the same for the few missing items?

o/ Snitch