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
Eagles Beak
Eagles United
#1161 - 2015-02-05 11:38:50 UTC  |  Edited by: Eagles Beak
First off... What a nice mod you made.

I use the mod to manage my teamspeak aswell.

However after I installed this I start getting these "error" in my TeamSpeak log

2015-01-18 17:43:42.980951|ERROR   |ParamParser   |   | Protocol mismatch, old client or old server?
2015-01-18 17:44:25.629774|ERROR   |ParamParser   |   | Protocol mismatch, old client or old server?
2015-01-18 18:30:59.089119|ERROR   |ParamParser   |   | Protocol mismatch, old client or old server?


Anyone experiance the same and/or have a solution for this? I only had this error 3 time but have used the mod to handle my teamspeak since 2014-12-15

I'm running TeamSpeak on a Linux Debian 64 bit server.

Also. I use this string to update the cron job each hour.. Do anybody else have a better way to do that?

@hourly /usr/bin/wget --quiet --output-document=/dev/null /path/to/scriptname
Eagles Beak
Eagles United
#1162 - 2015-02-06 06:44:54 UTC  |  Edited by: Eagles Beak
Eagles Beak wrote:


Also. I use this string to update the cron job each hour.. Do anybody else have a better way to do that?

@hourly /usr/bin/wget --quiet --output-document=/dev/null /path/to/scriptname


I did found a better way to run this cronjob by useing this command instead
@daily php /path/to/scriptname.php
Brian Harrelstein
Science and Trade Institute
Caldari State
#1163 - 2015-02-08 06:32:10 UTC  |  Edited by: Brian Harrelstein
(Don't mind the rambling, it's 1:30am here)

Hi, I installed the MOD and it seems to be working, but I had a few questions...

In my ACP, I don't have the section for configuring the cron stuff, and when I ran eveapi_cron.php it wound up removing my test account from my usergroup. When I registered with my API key, it put me in the right usergroup, not sure why it moved me when I ran the script manually. I also have a page called AccessMask that doesn't appear in your videos. Did I do something wrong?

Do I have to add this script to the system's crontab, or do I need to make one for the apache user?

I'm not using any of the teamspeak or jabber features, I'm just looking to ensure that people who don't have an active API key or people who left the corp get disallowed access.

Also, is there a way to make registration pull the main character name from IGB or API and use that instead of the username input box? (or force them to use IGB to register?)

Thanks for your hard work, I know first-hand how hard it can be to edit core functionality of phpBB.
Eagles Beak
Eagles United
#1164 - 2015-02-08 07:07:55 UTC  |  Edited by: Eagles Beak
Brian Harrelstein wrote:

In my ACP, I don't have the section for configuring the cron stuff, and when I ran eveapi_cron.php it wound up removing my test account from my usergroup. When I registered with my API key, it put me in the right usergroup, not sure why it moved me when I ran the script manually..


You can add the test user to a new group that you make immune to the API Check. When creating a new group or editing a existing group you have a box you can check to make it immune.

Brian Harrelstein wrote:
I also have a page called AccessMask that doesn't appear in your videos. Did I do something wrong?

You use this to select which access mask the API you board member must have to bee allowed on you board. Check every thing to make it a full api.

Brian Harrelstein wrote:
Do I have to add this script to the system's crontab, or do I need to make one for the apache user?

You must add it to you crontab.. You can run it from any user on you server. I use this command in my crontab on the user that also have all the forum files.
@hourly /usr/bin/wget --quiet --output-document=/dev/null /path/to/scriptname
Brian Harrelstein
Science and Trade Institute
Caldari State
#1165 - 2015-02-08 07:37:21 UTC
Thanks, I think that clears it up a little.

So I made the test group immune and ran the cron again. For some reason it added the user back to registered users (and set it to default, and deleted my avatar) as well as the group it's supposed to be running the check on. It didn't remove it from the immune group, so I seem to have that part right. I normally create my own groups and ditch the registered users group. How do I keep it from adding groups to immune users/groups?
Eagles Beak
Eagles United
#1166 - 2015-02-08 08:19:51 UTC
Hmm i see that... just run a test on my own forum and got the same result.

Maybe you could mark the tester user as founder, but thats just ruin the idear of a test user..
Brian Harrelstein
Science and Trade Institute
Caldari State
#1167 - 2015-02-08 14:39:29 UTC
(Gah, EVEO forum ate my post)

I had another go at it, if I leave the member in all three groups and run the cron, it doesn't change the default or anything else wacky. It's a little cluttered, and I'm bound to eventually run into group permission inheritance issues, but I'll see how things go.

Thanks
sheeteeter
University of Caille
Gallente Federation
#1168 - 2015-02-10 12:46:47 UTC
tomd741 wrote:
Absolutely love this mod!

Running into 1 hiccup using a custom skin based off of Prosilver.

When using the [evefit] tags all the info is there but the pictures don't make all together.

http://imgur.com/dIYJNph is an example.

I ran the automod update which put the missing evefit/eveitem/etc in there but the fit's picture itself isn't showing up correctly.

Is there any sort of list or place with skins that are compatible with all the features?



I ran into this issue as well, but it turned out to be a permissions issue. I noticed in Chrome's debugger when inspecting element that I was getting 403 and 404 on the CSS and javascript files. All I had to do was add permissions to the various template folders and all is resolved now.
Garr Khan
Grey Area Operations
#1169 - 2015-02-12 22:05:08 UTC  |  Edited by: Garr Khan
I'm having an issue with eveapi_update.php redirecting to the forum index page. Anyone know what the deal is with that? It was working fine before, I haven't updated phpBB or messed with the api mod installation.

edit: Migrating webhosts (for an unrelated reason) fixed it.
Subsparx
Crimson Serpent Syndicate
#1170 - 2015-02-12 22:38:22 UTC
EDIT: Nevermind, was thinking the cron job.

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com

Lars Jansen
Center for Advanced Studies
Gallente Federation
#1171 - 2015-02-13 05:03:32 UTC
Go0fBall wrote:
Does anyone know if this is compatible with the phpBB 3.0.13 Release update?


I can confirm that it works fine with 3.0.13.
Garr Khan
Grey Area Operations
#1172 - 2015-02-14 19:15:11 UTC  |  Edited by: Garr Khan
I'm slowly inching my way towards having all this stuff working correctly. Anyone know why I get this error message when I run eveapi_cron.php?

http://pastebin.com/AePhBW8i

It repeats those lines for every forum user. phpBB seems to connect to Openfire in some manner, as it's no longer giving me a big long error message when I set the jabber connection settings in the phpbb admin panel.

edit: Fixed it by removing the "allowed IPs" in the User Service plugin. I didn't realize that you could leave it blank to allow all by default, and apparently localhost/127.0.0.1 wasn't allowing phpBB and openfire to connect.




edit #2: aaaand I've got a new question. What passwords do the Openfire accounts use? As far as I can tell it's not using users' phpbb forum passwords.

edit #3: alright it emails you the passwords. I'm leaving this all here in the hope it helps some poor soul setting this up in the future.
Snitch Ashor
Republic Military School
Minmatar Republic
#1173 - 2015-02-17 21:00:24 UTC
DB Update for Tiamat:

eveapi_tiamat.sql

Enjoy!
Suun Ablehart
Parallax Shift
#1174 - 2015-02-24 21:18:28 UTC
We're looking to update our forum install to phpBB 3.1.3. Would this mod still work with that?

Also, would anyone happen to know how to re-update everyone's user avatars from their EVE Portrait without asking each user to go into their UCP and do it manually? I was toying around with group Avatars, which apparently overwrites personal avatars, and when you put the setting back, everyone's avatar is now blank.

Parallax SHIFT // @SuunAblehart

Recruiting Pilots // Low-sec Pirate Corp

Annexe
I N E X T R E M I S
Tactical Narcotics Team
#1175 - 2015-02-25 07:52:27 UTC
Setting up a forum for our corp. Using phpBB 3.0.12

Installed EVE API 6.3.1 which is made for phpBB 3.0.12, however watching (outdated) youtube tutorial, says you need UMIL? but the latest version 1.0.5 is only supported in phpBB 3.0.11, is UMIL still required for EVE API 6.3.1?

I have it installed, but no automatic side panel module, so i created a new tab for EVE API Settings. All seems to work ok.

I'd like to know;

Can I get the side panel module in phpBB 3.0.12?
How can I change which Predefined API settings are used for user registration?
How can I get Teamspeak3 registration/login?

Thanks in advance.

Annexe

ITAI - VIP

"i will pop your wreck with faction loot"

Annexe
I N E X T R E M I S
Tactical Narcotics Team
#1176 - 2015-02-25 09:56:33 UTC
**Update** I have worked out how to manually solve issues listed above.


New problem;

in the myphpadmin page, I am not seeing any eve.php files. do these files need to be manually added or is there a pack to install/upload databases?

when going to my /eveapi_cron.php directory is get this error;

General Error
SQL ERROR [ mysqli ]

Table 'onethree_bb2.eveapi_jabber' doesn't exist [1146]

SQL

DELETE FROM eveapi_jabber WHERE userID > 0

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]/eveapi_cron.php
LINE: 265
CALL: dbal_mysqli->sql_query()


can someone please explain this and help with a fix.


Cheers.

Annexe

ITAI - VIP

"i will pop your wreck with faction loot"

Annexe
I N E X T R E M I S
Tactical Narcotics Team
#1177 - 2015-02-25 13:03:41 UTC
^^ Mostly fixed :D

Annexe

ITAI - VIP

"i will pop your wreck with faction loot"

Guhl Duchatt
I N E X T R E M I S
Tactical Narcotics Team
#1178 - 2015-02-25 14:05:38 UTC
So... I'm trying to integrate the teamspeak user authentication. The teamspeak server is reachable and i can connect manually.
But the eve teamspeak api mod doesn't seem to do anything. There's no connection attempt in the ts server log.

Is there any kind of logging mechanism so i can check the forum side of this system?

Regards,
Guhl
ChiefTech
Center for Advanced Studies
Gallente Federation
#1179 - 2015-02-28 17:41:32 UTC
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
Subsparx
Crimson Serpent Syndicate
#1180 - 2015-03-01 01:21:59 UTC
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.

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com