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
#1061 - 2014-07-16 21:41:27 UTC  |  Edited by: Cyerus
Backbone666 wrote:
Is there a way to add Virtual Server ID to the TS3 intergration or am I missing something?
I keep getting Error code: 110 - Error message: Connection timed out when running eveapi_check.php with all the settings being correct (Serverquery username and all that)

The TeamSpeak PHP Framework automatically translates the client-port of the virtual server into the virtual server id.
If the connection is timing out, it means that no connection can be made to the TeamSpeak serverquery section at all, which has nothing to do with virtual server id.


Laurent Jay wrote:
hey !

thx for this module ! Big smile

primary, sorry for my English ^^

I have a question:

What sort of API KEY i need for "standing" in module and accesmask ?

(Character's keyID (Corporation level) - Character's vCode (Corporation level) )

I test with a full api key of my director and cron say :

EVE API Key error: 106 -> Must provide userID or keyID parameter for authentication.
Wrong accessMask


thx for ur answer^:)

Laurent

It's probably failing because the character itself needs to have an account with valid character-level API details.
That character requires the accessMask you set in the ACP AccessMask section, as well as the StandingsList options.


Go0fBall wrote:
Managed to install the forum update just fine, but ran into issues with getting OpenFire to work. Is there any chance of a simple write-up to help us newbs get Jabber integration to work with OpenFire?

Edit: I forgot to mention that I am running this on a Windows 2008 machine. Any help getting the configuration file/OpenFire server to work on Windows is greatly appreciated.

Here's a small list;


  1. Install Java
  2. Install OpenFire
  3. Open required OpenFire ports to allow outside Jabber-client access
  4. Using the OpenFire plugin manager, install and configure the UserService plugin
  5. Use the same password as set in the UserService plugin on your forum and add url
  6. Should be working now :)



Carlito Erquilenne wrote:
Hey,

Is there a way to use this mod without the whole API verification part and rather just for use with TS3, PHPBB and the Jabber integration?

Yes, you could use Lynx (work in progress) at https://github.com/Cyerus/phpBB-mod-Lynx



ZANARIAN wrote:
Can you add the ability to link characters,corporations and alliances?

I could, but its very risky. Each linked character/corporation/alliance requires an API call to determine its ID to be able to be linkable using the IGB. That means that if an /unfriendly person/ wants to ban you from using the EVE Online API, he/she could create a post with a lot of none-existing char/corp/alliance names.

I decided against implementing it for this reason.
Cyerus
University of Caille
Gallente Federation
#1062 - 2014-07-16 21:51:10 UTC
Sharker2k3 wrote:
As a note to people, if you integrated this with an openfire server the passwords for the openfire accounts are emailed to the users.

Had a quick question. I have this integrated with an openfire server, working fine. My concern is that when I enabled integration it created a jabber account for EVERY user in phpbb. Is there a way to configure it so that only accounts which belong to a certain group are created?

Thanks!

Go to each forum group (including the default groups liek Registered Users) and remove ANY input from the OpenFire group inputbox and save that group. For some reason phpBB sometimes decides to input values that shouldn't be there.
Rerun the cron script after making those changes and it should remove those /extra/ users.


Der Pinator wrote:
Hi all!

It`s only for me items with dot in itemname like [eveitem]Eifyr and Co. 'Rogue' Evasive Maneuvering EM-701[/eveitem] don`t working well?

error

I'll check it out.



Khaleesi Izia wrote:
Im having an issue with the TS UID, whenever myself or my members enter it and press submit it will dissapear and nothing will have happened, no erorr message or anything, it just says profile changes updated then when you go back to the profile the ts uid IS GONE.

Rather Annoying and ive been trying to figure out all day, some help would be much appreciated

Running the eveapi_check.php will give you an error message (as its meant to debug errors).


Jack Pritchard wrote:
When I am adding a new group to my forum and it ask what Teamspeak group it wants to be part of:

adm cntrl pnl -> users and groups -> manage groups -> new group

It only allows me to have 4 digits for the teamspeak 3 GroupID, meanwhile my ID is 5 digits, any way to sort that?

I'll make sure it'll allow more digits in the next version.


Over the Top wrote:
How do you use this with Open Fire?

In the admin panel for openfire http://serverip:9090 I went to Server -> Server Settings -> External Components and Enabled External Components to connect on the default port 5275, and set a shared secret.

In the PHPBB ACP, I provided this password to the EVE API Jabber page.

What next? I am not sure what I am to expect or how this is to work. I still can't log in with my Forum credentials.

Thanks!

Please read my previous post for a very small guide.
Cyerus
University of Caille
Gallente Federation
#1063 - 2014-07-16 21:59:13 UTC  |  Edited by: Cyerus
Go0fBall wrote:
Hey guys, ran in to a problem I was hoping you could help with. I have a corpie who is having issues with getting connected to Jabber due to having an apostrophe in his name. I've searched this thread for a solution, and came across someones post who mentioned:

"Also, if people have apostrophe's in their character names, you will have to hack /xmlrpc/forum_side.php to translate jabber users to forum names/Eve Character names."


I am an epic nub when it comes to this stuff, and would def appreciate some help in getting the php file setup to accept and allow players with apostrophes in their names to be able to connect to Jabber.

Any help is greatly appreciated.

Next version should automatically translate ' into |


Abbaddona wrote:
http://forum.flame-bridge.ru/viewtopic.php?f=4&t=2
cargo dont work. any idea ? Ugh

I am unable to access that post, so I can't check what's wrong.
My guess would be that you do not have a double empty line between the rigs and cargohold/dronebay


Labrena wrote:
Will this be updated to support the new 3.1 version of extensions?

Looks like release will be in the near future.

I'm working on splitting the mod in 3 different categories. (Lynx for general TS / Jabber integration, BBcode for EVE Online based BBcodes and API for EVE Online API stuff). Once those are properly split and recoded, I'll look into transcoding them to phpBB 3.1 Extension system.

Expect to have it in the future, but not at the initial release of phpBB 3.1 as I prefer 3.1 to have its bugs ironed out first.


netai wrote:
Is the eveapi_cron.php file supposed to be accessible by anyone?
I don't want anyone to be able run it themselves at random.

When I designed the mod years ago it was meant to, yes. However, I'm planning to change this behaviour in the future by coding a proper cronjob script.

For now you can just rename the eveapi_cron.php to any filename you'd like without anything breaking. IlikecookiesandIcannotlie.php for instance.
Suun Ablehart
Parallax Shift
#1064 - 2014-07-17 21:39:03 UTC
Hi guys,

We've got this set up using:
phpBB + Prosody (using custom login script)

However, when eveapi_cron.php runs every 30 minutes, sometimes it deactivates users that have a totally valid API. Over a few days around 10 people were deactivated, if I don't pay attention for a few weeks at least 30-40 people were deactivated and had valid APIs. I verified this by mass-activating all deactivated accounts, and running eveapi_cron.php again manually, which then only deactivated accounts with legitimately incorrect APIs.

FWIW, we're using crontab with curl to run the cron job every 30 minutes.

Parallax SHIFT // @SuunAblehart

Recruiting Pilots // Low-sec Pirate Corp

Cyerus
University of Caille
Gallente Federation
#1065 - 2014-07-17 21:41:55 UTC
Suun Ablehart wrote:
Hi guys,

We've got this set up using:
phpBB + Prosody (using custom login script)

However, when eveapi_cron.php runs every 30 minutes, sometimes it deactivates users that have a totally valid API. Over a few days around 10 people were deactivated, if I don't pay attention for a few weeks at least 30-40 people were deactivated and had valid APIs. I verified this by mass-activating all deactivated accounts, and running eveapi_cron.php again manually, which then only deactivated accounts with legitimately incorrect APIs.

FWIW, we're using crontab with curl to run the cron job every 30 minutes.

Run eveapi_cron.php every 2 hours at minimum.
Suun Ablehart
Parallax Shift
#1066 - 2014-07-17 22:59:20 UTC
Thank you for replying!

Is it deactivating users because the API is being cached by CCP or something? If so I can change it to 2 hours if that will fix it.

Parallax SHIFT // @SuunAblehart

Recruiting Pilots // Low-sec Pirate Corp

Siphix Adestur
Doomheim
#1067 - 2014-07-18 13:22:47 UTC
I cannot seem to get the eve fitting tool to work on my forum. When I try posting a fit I get the fitting module picture but all of the modules appear on the bottom of it in a list. Any fix?
Cylin Rath
#1068 - 2014-07-18 14:02:48 UTC
Siphix Adestur wrote:
I cannot seem to get the eve fitting tool to work on my forum. When I try posting a fit I get the fitting module picture but all of the modules appear on the bottom of it in a list. Any fix?


I think your style template is not referencing the proper style sheet and javascript for the fittings.

Edit your overall_header.html in your style template folder and do:

http://i.imgur.com/xCvmK84.png

Clear your cache and I think you'll be all set.
Suun Ablehart
Parallax Shift
#1069 - 2014-07-19 00:10:24 UTC
Suun Ablehart wrote:
Thank you for replying!

Is it deactivating users because the API is being cached by CCP or something? If so I can change it to 2 hours if that will fix it.


The cronjob still appears to be deactivating users that are perfectly valid. This is after I've changed the the entry in crontab to * */2 * * * for every two hours, btw.

Anyone have an idea of what's going on?

Parallax SHIFT // @SuunAblehart

Recruiting Pilots // Low-sec Pirate Corp

Siphix Adestur
Doomheim
#1070 - 2014-07-21 04:39:30 UTC
Cylin Rath wrote:
Siphix Adestur wrote:
I cannot seem to get the eve fitting tool to work on my forum. When I try posting a fit I get the fitting module picture but all of the modules appear on the bottom of it in a list. Any fix?


I think your style template is not referencing the proper style sheet and javascript for the fittings.

Edit your overall_header.html in your style template folder and do:

http://i.imgur.com/xCvmK84.png

Clear your cache and I think you'll be all set.


Thanks for the fix man! Worked like a charm
Abbaddona
Doomheim
#1071 - 2014-07-21 07:24:38 UTC
Cyerus wrote:

Abbaddona wrote:
http://forum.flame-bridge.ru/viewtopic.php?f=4&t=2
cargo dont work. any idea ? Ugh

I am unable to access that post, so I can't check what's wrong.
My guess would be that you do not have a double empty line between the rigs and cargohold/dronebay

http://forum.flame-bridge.ru/viewtopic.php?f=4&t=2&p=6#p6

Quote:
[Thrasher, Thrasher (suicide)]
Gyrostabilizer II
Gyrostabilizer II

Upgraded 1MN Microwarpdrive I
F-90 Positional Sensor Subroutines, Scan Resolution Script
F-90 Positional Sensor Subroutines, Scan Resolution Script

280mm Prototype Siege Cannon, Republic Fleet EMP S
280mm Prototype Siege Cannon, Republic Fleet EMP S
280mm Prototype Siege Cannon, Republic Fleet EMP S
280mm Prototype Siege Cannon, Republic Fleet EMP S
280mm Prototype Siege Cannon, Republic Fleet EMP S
280mm Prototype Siege Cannon, Republic Fleet EMP S
280mm Prototype Siege Cannon, Republic Fleet EMP S

Small Projectile Collision Accelerator I
Small Ancillary Current Router I
Small Ancillary Current Router I

Nanite Repair Paste x100
Republic Fleet EMP S x500


and in http://forum.flame-bridge.ru/viewtopic.php?f=4&t=5
Omnidirectional Tracking Enhancer II - unrecognized item
Snitch Ashor
Republic Military School
Minmatar Republic
#1072 - 2014-07-21 13:43:24 UTC
netai wrote:
Is the eveapi_cron.php file supposed to be accessible by anyone?
I don't want anyone to be able run it themselves at random.


You can easily prevent that by adding the following To the htaccess file in the same folder:

(Files "eveapi_cron.php")
Order Allow,Deny
Deny from all
(/Files)

If you execute it via a cron job that uses wget and not just PHP -f it should look linke this instead:

(Files "eveapi_cron.php")
Order Deny,Allow
Deny from all
Allow from put_your_hostname_here
(/Files)

You have to replace the round brackets by these <> but HTML posting is not allowed.
Hope that helps.
Sharker2k3
Collapsed Out
Pandemic Legion
#1073 - 2014-07-21 15:04:40 UTC  |  Edited by: Sharker2k3
Cyerus wrote:
Sharker2k3 wrote:
As a note to people, if you integrated this with an openfire server the passwords for the openfire accounts are emailed to the users.

Had a quick question. I have this integrated with an openfire server, working fine. My concern is that when I enabled integration it created a jabber account for EVERY user in phpbb. Is there a way to configure it so that only accounts which belong to a certain group are created?

Thanks!

Go to each forum group (including the default groups liek Registered Users) and remove ANY input from the OpenFire group inputbox and save that group. For some reason phpBB sometimes decides to input values that shouldn't be there.
Rerun the cron script after making those changes and it should remove those /extra/ users.


Worked like a charm, thanks!

Here's a feature suggestion idea if you ever get bored/have bandwidth: super cap api integration. Plop in an API verifying your in-alliance super toon and automatically get added to forum/ts/jabber groups. Bonus points for any sort of reporting/viewing page for admins to see all registered super toons/ships.
Snitch Ashor
Republic Military School
Minmatar Republic
#1074 - 2014-07-25 13:47:44 UTC  |  Edited by: Snitch Ashor
Abbaddona wrote:


and in http://forum.flame-bridge.ru/viewtopic.php?f=4&t=5
Omnidirectional Tracking Enhancer II - unrecognized item


That Module is not yet in the Database... If you need it you can just add it yourself, e.g. by using phpmyadmin, goto the eveapi_items table and look for any similar module that you can copy, e.g. a regular Tracking Enhancer. Next you change the name to Omnidirectional Tracking Enhancer II, the only thing you need is the item ID, which you can find out easily using the battleclinic item database. Just search for the right item and the url will end with id=i... thats the item ID. e.g. http://eve.battleclinic.com/item_database.php?id=i33824 in your case. Save it and your done. Btw it works for ships pretty much the same way, things like slot layout, drone hangar... are more or less self explaining.

Cheers,
Snitch
Abbaddona
Doomheim
#1075 - 2014-07-27 11:40:54 UTC
Thanks!
Abbaddona
Doomheim
#1076 - 2014-07-29 05:51:48 UTC
Snitch Ashor
Republic Military School
Minmatar Republic
#1077 - 2014-07-29 08:10:01 UTC
Abbaddona wrote:


Check your Database eveapi_ships. the column Icon is the name of the png file that is displayed there. Is this a ship you added yourself to the database? Anyway this is how I added the four new ships for now (maybe do a DB backup before):

INSERT INTO `eveapi_ships` (`typeID`, `typeName`, `Low`, `Medium`, `High`, `Drone`, `Rig`, `Subsystem`, `raceID`, `raceName`, `Tech`, `groupName`, `marketGroupName`, `Icon`) VALUES
(33697, 'Prospect', 4, 3, 3, 0, 2, 0, 128, 'ORE', 'Tech II', 'Expedition Frigate', 'ORE', 'ORE'),
(33816, 'Garmur', 3, 4, 3, 0, 3, 0, 1, 'Caldari', 'Faction', 'Frigate', 'Pirate Faction', 'Mordus_Legion'),
(33818, 'Orthrus', 4, 5, 6, 25, 3, 0, 1, 'Caldari', 'Faction', 'Cruiser', 'Pirate Faction', 'Mordus_Legion'),
(33820, 'Barghest', 6, 6, 8, 75, 3, 0, 1, 'Caldari', 'Faction', 'Battleship', 'Pirate Faction', 'Mordus_Legion');

For any new Faction you add you need to put the right png file in images/eve/races (in this case Mordus_Legion.png), I just used this one: http://e.dotlan.net/images/Faction/500018_64.png
Hatoshi Onohira
Doomheim
#1078 - 2014-07-30 03:56:31 UTC
I'm having a problem connecting to the download link for this mod? "This page can’t be displayed" is what I keep getting.

Is there an alt site? - Thanks

Recruiting – Happening Now!

See our recruitment forum post for more details: - PvP, Industrial and Exploration Corp LF Pilots

Subsparx
Crimson Serpent Syndicate
#1079 - 2014-07-30 21:10:45 UTC
Well I think I've finally done it Cyerus. The cron job can't run anymore. It times out after about 30 minutes of running. When you get a chance hit me up and maybe we can brainstorm a solution. I have too many users on my forum.

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com

Abbaddona
Doomheim
#1080 - 2014-07-31 04:47:04 UTC
Snitch Ashor wrote:

Check your Database eveapi_ships.

Thanks!