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
Sharker2k3
Collapsed Out
Pandemic Legion
#861 - 2013-08-01 07:15:07 UTC
Hey Cyerus,

First off, great mod. Using it and loving it.

A feature suggestion would be to place users into jabber groups based on their corp/alliance. For example, our jabber is structure so that everyone is in an alliance group and also in a group for their corp.

Thanks,
Sharker
Yugo Reventlov
Keeping Up Appearances
#862 - 2013-08-01 09:23:55 UTC  |  Edited by: Yugo Reventlov
Sharker2k3 wrote:
Hey Cyerus,

First off, great mod. Using it and loving it.

A feature suggestion would be to place users into jabber groups based on their corp/alliance. For example, our jabber is structure so that everyone is in an alliance group and also in a group for their corp.

Thanks,
Sharker


You won't be able to do that with ejabberd External Authentication.

You would probably need to use a wrapper around the ejabberdctl command. There is a guy that wrote a PHP library to do this kind of thing: https://github.com/tomlancaster/Ejabberd-Wrapper-PHP

EDIT: some more info: http://lists.jabber.ru/pipermail/ejabberd/2012-January/007338.html and http://comments.gmane.org/gmane.network.jabber.ejabberd/7337

EDIT 2: Another interesting possible solution: http://www.ejabberd.im/ejabberd_xmlrpc (found at https://fs.fsinf.at/wiki/Ejabberd).
Yugo Reventlov
Keeping Up Appearances
#863 - 2013-08-01 09:31:12 UTC  |  Edited by: Yugo Reventlov
Indeed, this fixes the drones with tech 3 ships. I was just copy-pasting fits from EFT. It seems to export Tech 3 fits with 2 empty lines between subsystems and drones, while Zkillboard for example only puts 1 empty line. Bug in EFT then?

Cyerus wrote:
Yugo Reventlov wrote:
I think there's a problem with the [evefit] BBcode, I can't get any drones to appear in Tech 3 cruiser fits. Is this a known thing?

It's probably caused by the amount of empty lines between the fitting groups. In other words, each group (low, mid, high, rig, subsystem, drone) should have 1 empty line between them.
As we all know non-tech 3 ships don't use subsystems, meaning that you'd have 2 empty lines between rig and drone.

Examples;

Tech 3 wrote:
Medium Trimark Armor Pump II

Loki Defensive - Adaptive Augmenter
Loki Electronics - Immobility Drivers
Loki Propulsion - Fuel Catalyst
Loki Offensive - Projectile Scoping Array
Loki Engineering - Capacitor Regeneration Matrix

Hobgoblin II x5


Normal wrote:
Medium Trimark Armor Pump II


Hobgoblin II x5

Kentaro Fukuta
Doomheim
#864 - 2013-08-01 19:29:50 UTC  |  Edited by: Kentaro Fukuta
Thanks for providing this great mod!

Everything works like a charm, except.... for EVE Systems (e.g. Jita), the "Information" and "Show on Map" buttons work, but the "Set Destination" and "Add Waypoint" buttons don't work - they're there, but nothing happens when you click on them in the Ingame Broswer.... did I miss anything?



Another topic ... in your videos, you asked for good EVE-compatible phpBB styles. I am now using this one:

http://www.artodia.com/phpbb-styles/black/

You can customize its colors. If you set the upper color to grey, and the lower color to orange, it gets quite close to the EVE look & feel. I manually edited the colors.css afterwards to make hyperlinks always orange, not just when hovered over.
Kentaro Fukuta
Doomheim
#865 - 2013-08-05 15:54:50 UTC
The more I work with the mod, the more I like it Big smile

Two feature proposals:

  • Can you provide a version of eveapi_cron.php that doesn't create a fully styled and formatted HTML page, but the same contents as plain text? The reason is that when I run this as a cronjob on my domain, my hosting providers supports providing any cronjob output as email. With the current setup, in the email I see the entire HTML code of the created page. Of course it is feasible to extract the desired information, but it's cumbersome. Thus, having the output as plain text would be great!
  • In the same way as you can add links to items, systems and fittings, could you provide a mechanism (bbcode) to create links to pilots?
ILLADEN
T.R.I.A.D
Ushra'Khan
#866 - 2013-08-05 17:12:55 UTC
Please update teamspeak handling and the order (previous pages) first before adding new stuff :)
Kashada Kumato
Red Phoenix Rising
#867 - 2013-08-08 15:37:54 UTC
I am having a problem when trying to enable teamspeak 3 integration,

i have the correct settings i am certain but i keep getting

TeamSpeak error: 111 -> Connection refused

any idea why?
ILLADEN
T.R.I.A.D
Ushra'Khan
#868 - 2013-08-08 15:43:51 UTC
Check your teamspeak logs
Kashada Kumato
Red Phoenix Rising
#869 - 2013-08-08 16:19:30 UTC  |  Edited by: Kashada Kumato
found the logs and nothing is showing relating to the server

Where are the settings for TS stored?

I have tried manually editing some settings in the DB in the config section but it doesnt change the values on the forum page, i have searched the database and the files for any trace of where it is reading the info from but cant find anything.

I think the reason for the problem is i need to tell the forums to connect to the specific virtual server we are using, but so far i can find nothing
Subsparx
Crimson Serpent Syndicate
#870 - 2013-08-09 18:25:18 UTC
I would love it if at some point there was a config/install guide that wasn't a Youtube video, or at the very least if links were put in the Youtube video to specific sections, mostly because I've just spent the last 30 minutes skipping around in your videos and haven't found an answer to how to set the minimum required access mask yet. Is there a configuration section for this or do I have to manually edit a file?

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com

Aluminy
Stargazer Exploration Company
#871 - 2013-08-09 18:45:13 UTC
the cron is successfully kicking people from forum and disabling account however, not removing them from their TS groups that are attached to their registration?

any ideas?
ILLADEN
T.R.I.A.D
Ushra'Khan
#872 - 2013-08-09 23:14:41 UTC
Aluminy wrote:
the cron is successfully kicking people from forum and disabling account however, not removing them from their TS groups that are attached to their registration?

any ideas?



Lucky you. My cron fails because of TS error handling.
Dex Thiesant
Concordiat
#873 - 2013-08-10 00:56:25 UTC
Aluminy wrote:
the cron is successfully kicking people from forum and disabling account however, not removing them from their TS groups that are attached to their registration?

any ideas?



Do those accounts have valid teamspeak unique id's?

Are any of those TS groups marked as being immune to API checks?
Dex Thiesant
Concordiat
#874 - 2013-08-10 00:59:07 UTC
Subsparx wrote:
I would love it if at some point there was a config/install guide that wasn't a Youtube video, or at the very least if links were put in the Youtube video to specific sections, mostly because I've just spent the last 30 minutes skipping around in your videos and haven't found an answer to how to set the minimum required access mask yet. Is there a configuration section for this or do I have to manually edit a file?


If you need to change it from the default you'll have to find and edit it in the php file. There is not a setting for it.
Sharker2k3
Collapsed Out
Pandemic Legion
#875 - 2013-08-10 02:03:55 UTC
Yugo Reventlov wrote:
Sharker2k3 wrote:
Hey Cyerus,

First off, great mod. Using it and loving it.

A feature suggestion would be to place users into jabber groups based on their corp/alliance. For example, our jabber is structure so that everyone is in an alliance group and also in a group for their corp.

Thanks,
Sharker


You won't be able to do that with ejabberd External Authentication.

You would probably need to use a wrapper around the ejabberdctl command. There is a guy that wrote a PHP library to do this kind of thing: https://github.com/tomlancaster/Ejabberd-Wrapper-PHP

EDIT: some more info: http://lists.jabber.ru/pipermail/ejabberd/2012-January/007338.html and http://comments.gmane.org/gmane.network.jabber.ejabberd/7337

EDIT 2: Another interesting possible solution: http://www.ejabberd.im/ejabberd_xmlrpc (found at https://fs.fsinf.at/wiki/Ejabberd).


Thank you! I'll look into this.
Aluminy
Stargazer Exploration Company
#876 - 2013-08-11 06:29:43 UTC
Dex Thiesant wrote:
Aluminy wrote:
the cron is successfully kicking people from forum and disabling account however, not removing them from their TS groups that are attached to their registration?

any ideas?



Do those accounts have valid teamspeak unique id's?

Are any of those TS groups marked as being immune to API checks?


no immunities -- and yes they have UID's
Gehnster
Blueprint Haus
Blades of Grass
#877 - 2013-08-12 20:05:58 UTC
Is there a step by step guide somewhere on how to setup the ejabberd side? I haven't figured it out yet.

Thanks
Amy Park
Boundless Enterprises
#878 - 2013-08-12 20:53:13 UTC
Any group I add a teamspeak number to doesn't save that number. Any idea why not? Permissions work for the groups added on the alliance and corporation screen but say if I create a FC group in phpBB, then add a number for a TS group to that phpBB group, the TS number doesn't save after hitting submit.
farraguat
Perkone
Caldari State
#879 - 2013-08-12 23:46:31 UTC  |  Edited by: farraguat
I am also having this problem but it doesnt save at all even under corporations but it does work for the corp ones creating fc and officer it doesnt. also teamspeak Unique ID should be on registration page
Sugar Von MurdererTits
Weaponised Vegemite
Flying Dangerous
#880 - 2013-08-14 14:15:03 UTC
Cyerus wrote:
Hereby I'm releasing version 6.2.3

....


The HTTP 403 issue (continued) ;
This has to do with the recent API server update that now sends back an HTTP 403 message if you are not allowed to see the content (API page) with the credentials you are providing.

This is very bad behaviour as you now see a HTTP 403 page without any information as to what has gone wrong. I'm against this change and replied to the thread that I'd like to see it removed (read: reverted back to the old behaviour).
More details (and a bigger explanation of the issue) can be found in this thread.

If you agree with me, please show it by liking that post.


Liked! May I ask how you solved this in the end? Do you purge users whenever the 403 error is returned?