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
MillerUk
V0LTA
WE FORM V0LTA
#1181 - 2015-03-01 12:08:51 UTC  |  Edited by: MillerUk
Subsparx wrote:
ChiefTech wrote:
Hi Cyerus. There is such question. Is it possible with the help of your mod to add users registering with the director's rights in the corporation into a separate group. I mean, could it happen automatically. Thx


I don't believe there is a way with the EVE API system to pull whether somebody is a Director or not. I could be wrong though.



Look Here... https://neweden-dev.com/Char/CharacterSheet


row roleID="1" roleName="roleDirector" /
ChiefTech
Center for Advanced Studies
Gallente Federation
#1182 - 2015-03-01 14:44:28 UTC  |  Edited by: ChiefTech
Wow have some trouble((( I shut off forum for a while. after including, now when registering new users, there are no fields to enter api. Api validation is on. Corporations and Alliance is configur(((( reinstalling of mod is not help((( pphpbb v3.0.12, umil 1.0.5, api mod v6.3


ITS ALLREADY FIXED. Sorry for flood
P'tank
University of Caille
Gallente Federation
#1183 - 2015-03-01 21:44:52 UTC
Getting SQL errors when a user tries to register using an API:

Any idea how I should get this fixed?

General Error
SQL ERROR [ mysqli ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4 [1064]

SQL

SELECT user_id, group_leader FROM phpbb_user_group WHERE user_id = 48 AND group_id =

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()

FILE: [ROOT]/includes/db/mysqli.php
LINE: 189
CALL: dbal->sql_error()

FILE: [ROOT]/includes/functions_user.php
LINE: 2767
CALL: dbal_mysqli->sql_query()

FILE: [ROOT]/includes/eveapi/functions_eveapi.php
LINE: 434
CALL: group_user_add()

FILE: [ROOT]/includes/acp/acp_users.php
LINE: 844
CALL: eveapi_setForumGroups()

FILE: [ROOT]/includes/functions_module.php
LINE: 507
CALL: acp_users->main()

FILE: [ROOT]/adm/index.php
LINE: 74
CALL: p_master->load_active()
ChiefTech
Center for Advanced Studies
Gallente Federation
#1184 - 2015-03-03 20:57:44 UTC
P'tank wrote:
Getting SQL errors when a user tries to register using an API:

Any idea how I should get this fixed?

General Error
SQL ERROR [ mysqli ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4 [1064]

SQL

SELECT user_id, group_leader FROM phpbb_user_group WHERE user_id = 48 AND group_id =

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()

FILE: [ROOT]/includes/db/mysqli.php
LINE: 189
CALL: dbal->sql_error()

FILE: [ROOT]/includes/functions_user.php
LINE: 2767
CALL: dbal_mysqli->sql_query()

FILE: [ROOT]/includes/eveapi/functions_eveapi.php
LINE: 434
CALL: group_user_add()

FILE: [ROOT]/includes/acp/acp_users.php
LINE: 844
CALL: eveapi_setForumGroups()

FILE: [ROOT]/includes/functions_module.php
LINE: 507
CALL: acp_users->main()

FILE: [ROOT]/adm/index.php
LINE: 74
CALL: p_master->load_active()



I think you must check version of mysql server... but its just guess =]
Subsparx
Crimson Serpent Syndicate
#1185 - 2015-03-03 22:20:46 UTC
MillerUk wrote:
Subsparx wrote:
ChiefTech wrote:
Hi Cyerus. There is such question. Is it possible with the help of your mod to add users registering with the director's rights in the corporation into a separate group. I mean, could it happen automatically. Thx


I don't believe there is a way with the EVE API system to pull whether somebody is a Director or not. I could be wrong though.



Look Here... https://neweden-dev.com/Char/CharacterSheet


row roleID="1" roleName="roleDirector" /


Wow, that is awesome, thank you MillerUK!

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com

VangDo
Center for Advanced Studies
Gallente Federation
#1186 - 2015-03-06 06:26:03 UTC
Hello

I have the problem that my users are always set to inactive after some time. With the reasons that their API key is wrong.

I can understand if 1 or 2 users have the wrong API Key. But I must daily 10 - 20 reactivate users.

I use the following cron job (2Hours)

* */2 * * * root lynx -dump http://xxxx.com/forum/eveapi_cron.php > /dev/null 2>&1


pleas Help
Subsparx
Crimson Serpent Syndicate
#1187 - 2015-03-07 00:56:32 UTC
VangDo wrote:
Hello

I have the problem that my users are always set to inactive after some time. With the reasons that their API key is wrong.

I can understand if 1 or 2 users have the wrong API Key. But I must daily 10 - 20 reactivate users.

I use the following cron job (2Hours)

* */2 * * * root lynx -dump http://xxxx.com/forum/eveapi_cron.php > /dev/null 2>&1


pleas Help


Don't do it every 2 hours. I have 1000 users on my board and had to cut it back to once daily and that eliminated the false positives.

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com

Kashada Kumato
Red Phoenix Rising
#1188 - 2015-03-07 14:05:49 UTC
Hi, don't have time to read ALL the posts since i was last active a year ago...

But i solved the error i had involving teamspeak connection refused.

turns out with most virtual hosting for websites only certain specific ports are accessible. teamspeak is not one of these.
only solution is better hosting or some kind of relay to a page with access to any port.

one feature i would LOVE to see still (and shouldnt be too hard to add in theory) change what group a person is in based on title

eg:
Person A is in charge of fleet ops and needs to be given a specific group in forums

Give person a title ingame [FO] some random title.

When they register on the forums or the cron is run it searches for title codes set by user finds *[FO]* and instead of member group puts them in Fleet Ops group.

This means you dont have to make the code something obvious for example "Mining Officer" could have the title [PVP Specialist]
or whatever. i uses the square brackets here as they are a clear marker but in theory anything could do.

this allows you to manage forum groups using titles ingame.
Tishkalia
Imperial Shipment
Amarr Empire
#1189 - 2015-03-10 10:33:08 UTC
Out of curiousity, since I couldn't seem to find an answer in the threadnaut....do we have any word about 3.1 support?
Fisnar Jejrhald
Ailes Grises
#1190 - 2015-03-15 15:40:44 UTC
Hello, whether modes will support phpbb 3.1.x
Subsparx
Crimson Serpent Syndicate
#1191 - 2015-03-18 19:10:03 UTC
AutoMod, which is required for installation of this mod, does not work on phpBB 3.1.X, and never will.

https://www.phpbb.com/customise/db/official_tool/automod/support/topic/130321

3.1 changed a lot of how the functionality of phpBB works, including how mods are installed. Basically this will require a rather large update to support it, so I would recommend staying on 3.0.X for now, for more reasons than just the API Registration mod but all the other mods available supporting it as well.

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com

ChiefTech
Center for Advanced Studies
Gallente Federation
#1192 - 2015-03-18 20:18:43 UTC  |  Edited by: ChiefTech
Earlier, I spoke with the issue of directors' rights in API key. And MillerUk (thx to him) answered
MillerUk wrote:


Look Here... https://neweden-dev.com/Char/CharacterSheet


row roleID="1" roleName="roleDirector" /


Now I have a problem with access rights.
In my forum users will automatically have access to the main sections if they are a member of the alliance. But there is the director of the alliance which was added to the group with Directors Right manually. This group has its own subforum.

The problem is that if a player leaves the alliance, or a director is changeed , The user loses the right to the main section, but remains in the group of Directors, аnd he sees the director's Forum Section.


Is there a way to check the directors' rights implemented in API Mod, or some other way that you could tell me. Unfortunately I am not a professional expert of PHP and can`t write the code yourself so ask for help knowing.
But I have a basic knowledge of programming and possibly cope with the change of the code if you can help me

Perhaps this idea to be implemented in future updates of API Mod
Go0fBall
State War Academy
Caldari State
#1193 - 2015-03-20 20:14:01 UTC
Is something wrong with the API server? As of yesterday the eveapi_cron.php script runs, but abruptly stops spitting out no errors, deactivating members accounts. I noticed I was getting API errors in EVEMON as well. Can someone confirm if you are experiencing similar issues or not? Thanks.
Go0fBall
State War Academy
Caldari State
#1194 - 2015-03-22 10:40:36 UTC
Go0fBall wrote:
Is something wrong with the API server? As of yesterday the eveapi_cron.php script runs, but abruptly stops spitting out no errors, deactivating members accounts. I noticed I was getting API errors in EVEMON as well. Can someone confirm if you are experiencing similar issues or not? Thanks.


Disregard the above post, seems to have been an API issue. All is working fine now.
Cyerus
University of Caille
Gallente Federation
#1195 - 2015-03-24 00:54:26 UTC
Yes, it's really me, I'm still alive..

Support for phpBB 3.1 is going slower than expected.
It seems that every time I set a date and time to have it finished, something pops up making me overshoot the deadline.

Few months ago I've started uploading semi-finished code to Github (was a populair request) for the seperated phpBB 3.1 extensions.

Unlike the mod, the extensions will be seperated to simplify updates and promote faster development;

  1. EVE Online BBcodes
  2. EVE Online SSO
  3. EVE Online SSO-Buttons
  4. EVE Online Entity-Authentication
  5. TeamSpeak and OpenFire integration

1,2 Working but beta version
3,4 Coded but not uploaded to github yet (requires some formatting Blink)
5 Requires phpBB to add more 'hooks', process to solve this has been started

EVE Online BBcodes
This will add the BBcodes to your forum just like the mod did. The codebase has been updated to avoid weird behaviour, and should now show the correct slot layout for the tech 3 ships based on their subsystems.
At the time of writing it uses EVE's last expansions database information, so it's only outdated by a few weeks.

EVE Online SSO
EVE Online SSO integration is its more basic form. This extension extends the SSO integration phpBB uses by adding EVE SSO functionality to it. This extension only adds the ability to link your EVE account (character + account combination really) to your forum account, allowing you to log in to the forum using your EVE account. That's it, nothing more.

EVE Online SSOButtons
Changes the weird text-based "Sign in with whatever" options with proper images. Downside is that the text for all non-EVE SSO buttons is also removed (as I override some css), it provides suitable buttons to the other 4 default options aswell.

EVE Online Entity-Authentication
This holds the basic functionality as the mod. It checks the users corporation / alliances and does some magic to make grant / revoke his rights on the forum, teamspeak and/or openfire. This is at the time of writing still a private project, as I'm not confident enough in its abilities to release it to the public just yet.

TeamSpeak and OpenFire integration
This extensions holds the basic functionality of connecting to teamspeak and/or openfire. The EVE Online Entity-Authentication-extension will require this extension to work properly. This is at the time of writing still a private project, as I'm not confident enough in its abilities to release it to the public just yet.

Hope this answers some of your questions.
And ofcourse a big thank-you to all those that were able to answer other users questions while I wasn't around.

~Cyerus
Xtrah
Overload This
#1196 - 2015-03-24 15:19:24 UTC  |  Edited by: Xtrah
Love your mod and looking forward to seeing the update. At the moment the BBcodes doesn't give the correct slot layout on any ships (seems like its using an ancient BattleClinic layout) and seems like they can't be removed.

Keep up the good work.
Cymion
Ministry of War
Amarr Empire
#1197 - 2015-03-25 06:34:21 UTC
You have no idea how happy I am to see that you're updating for 3.1

Seriously please don't ever leave us! lol

Wake early if you want another man's life or land. No lamb for the lazy wolf. No battles won in bed.

Michael Mach
Arx One
#1198 - 2015-03-27 01:10:31 UTC
Any ETA as to when the 3.1 extensions are going to be completed and released?
Kashada Kumato
Red Phoenix Rising
#1199 - 2015-03-27 22:54:09 UTC
For the teamspeak etc is there a way to make an optional extra page used for admin only that communicates with the main forum?

The idea being if someone is on virtual dedicated hosting and has limited ports the admin page generates commands then accesses the remote page stored on another dedicated (likely slower) server.

for example:

Main site: mysite.com
extra host: 25.577.234.44/mysite

You want most people going to mysite.com since it is fast, high bandwidth and easy to remember url.

then when a teamspeak command neads to be given

mysite.com/tsadmin.php authenticated with 25.577.234.44/mysite/tsrelay.php

login verified, access rights confirmed

mysite.com asks tsrelay.php to issue X commands and asks for X information

tsrelay passes on commands and returns information to mysite.com/tsadmin.php

assuming both pages can share an sql server it should be easy enough and should all be done on port 80 which needs to be allowed.
Snitch Ashor
Republic Military School
Minmatar Republic
#1200 - 2015-03-30 15:06:41 UTC
Hi all,

here's the sql update for Scylla

http://www.filedropper.com/eveapiscylla

I guess the only change is that Yacht.

As usual, no warranties you'd better have a backup!

btw. Hi Cyerus, glad to see you back!