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
Hatoshi Onohira
Diplomatic Influence
#1081 - 2014-08-05 18:53:28 UTC
Any other site to download the .zip file besides http://eve-it.org/ .. it's not working.

Recruiting – Happening Now!

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

Peter Kwill
Right Hand Of The Legion.
#1082 - 2014-08-25 17:18:39 UTC  |  Edited by: Peter Kwill
Fresh install of phpbb3 and this mod, i went to my username and added the api and i get this error:

http://i.imgur.com/0juM7xx.png

Any ideas?.


Nvm:

https://forums.eveonline.com/default.aspx?g=posts&m=1663575#post1663575
Peter Kwill
Right Hand Of The Legion.
#1083 - 2014-08-26 02:45:09 UTC  |  Edited by: Peter Kwill
@Cyerus The teamspeak3 UID doesn't save when submitted in the profile. Everything looks good on the api_check.
Subsparx
Crimson Serpent Syndicate
#1084 - 2014-08-26 21:21:23 UTC
Has the person trying to add their TS3 UID logged in to the TeamSpeak server already? Unless the server has that persons identity cached it can't assign permissions, thus it will leave it blank.

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com

Peter Kwill
Right Hand Of The Legion.
#1085 - 2014-08-26 22:15:39 UTC  |  Edited by: Peter Kwill
Subsparx wrote:
Has the person trying to add their TS3 UID logged in to the TeamSpeak server already? Unless the server has that persons identity cached it can't assign permissions, thus it will leave it blank.


Yes, i logged in with the identity copied the UID to the TS UID field on the UCP pressed submit and it doesn't save.

Another fresh install of Teamspeak3 fixed this.
Peter Kwill
Right Hand Of The Legion.
#1086 - 2014-08-27 02:34:31 UTC  |  Edited by: Peter Kwill
I also have an issue where if i make a user an administrator and the cron runs it removes that user from the administrators group and only puts them into the group for the corp. A user cannot be both?

Make the group administrators immune to api checks. It does everything else just doesn't remove their group permissions.
Suun Ablehart
Parallax Shift
#1087 - 2014-09-03 15:57:34 UTC
Suun Ablehart wrote:


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?


@Cyerus

Any ideas on this mate?

Parallax SHIFT // @SuunAblehart

Recruiting Pilots // Low-sec Pirate Corp

Subsparx
Crimson Serpent Syndicate
#1088 - 2014-09-03 19:16:24 UTC
I was no longer having this issue when I bumped it to three, but now that I have over 500 people being checked by the cron job it's starting to take exponentially longer amounts of time and the false positives are beginning to occur again.

I would love if CCP could add some kind of system on their end to request white listing for purposes such as this.

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com

Khoas
Aliastra
Gallente Federation
#1089 - 2014-09-03 22:00:57 UTC  |  Edited by: Khoas
Peter Kwill wrote:
I also have an issue where if i make a user an administrator and the cron runs it removes that user from the administrators group and only puts them into the group for the corp. A user cannot be both?

Make the group administrators immune to api checks. It does everything else just doesn't remove their group permissions.


Go into the administers group and select "Immunity" in the "EVE API settings".



I am having an issue on a fresh phpBB install. with the EVE API 6.3.1 for phpBB 3.0.12 version. I have phpBB 3.0.12. The only thing I have installed is AutoMOD and EVE API MOD by Cyerus. When users register the go to a blank page not the confirmation page. This started after EVE API MOD by Cyerus was installed.

Any ideas?
Peter Kwill
Right Hand Of The Legion.
#1090 - 2014-09-04 12:24:24 UTC
Khoas wrote:
Peter Kwill wrote:
I also have an issue where if i make a user an administrator and the cron runs it removes that user from the administrators group and only puts them into the group for the corp. A user cannot be both?

Make the group administrators immune to api checks. It does everything else just doesn't remove their group permissions.


Go into the administers group and select "Immunity" in the "EVE API settings".



I am having an issue on a fresh phpBB install. with the EVE API 6.3.1 for phpBB 3.0.12 version. I have phpBB 3.0.12. The only thing I have installed is AutoMOD and EVE API MOD by Cyerus. When users register the go to a blank page not the confirmation page. This started after EVE API MOD by Cyerus was installed.

Any ideas?



If you use immunity and the corp members leave then this will not check their api and disable them.

Are you using a different template?

Also i made sure it made all the correct edits to the files, which is didn't.
Khoas
Aliastra
Gallente Federation
#1091 - 2014-09-04 14:32:40 UTC  |  Edited by: Khoas
Peter Kwill wrote:
Khoas wrote:
Peter Kwill wrote:
I also have an issue where if i make a user an administrator and the cron runs it removes that user from the administrators group and only puts them into the group for the corp. A user cannot be both?

Make the group administrators immune to api checks. It does everything else just doesn't remove their group permissions.


Go into the administers group and select "Immunity" in the "EVE API settings".



I am having an issue on a fresh phpBB install. with the EVE API 6.3.1 for phpBB 3.0.12 version. I have phpBB 3.0.12. The only thing I have installed is AutoMOD and EVE API MOD by Cyerus. When users register the go to a blank page not the confirmation page. This started after EVE API MOD by Cyerus was installed.

Any ideas?



If you use immunity and the corp members leave then this will not check their api and disable them.

Are you using a different template?

Also i made sure it made all the correct edits to the files, which is didn't.


You are correct if they leave the corp it will not remove them from your board, but since you should only have a couple of folks as admin then it should be easy to monitor and handle manually.

When I initially found this issue I was using the default template. The template I am using now is just a re-skinned version of prosilver ( the only changes are in the css.)

I'll trudge through the install files and see if I can find if anything didn't take.

With error reporting turned on I get:
Fatal error: Call to undefined function curl_init() in /var/www/html/forums/includes/eveapi/functions_eveapi.php on line 1042
Peter Kwill
Right Hand Of The Legion.
#1092 - 2014-09-07 23:45:55 UTC
Khoas wrote:
[quote=Peter Kwill]
With error reporting turned on I get:
Fatal error: Call to undefined function curl_init() in /var/www/html/forums/includes/eveapi/functions_eveapi.php on line 1042


Do you have curl installed?

Norjia Blacksteel
Blacksteel Mining and Manufacturing
Renaissance Federation
#1093 - 2014-09-13 14:48:53 UTC
Hi!

I just upgraded to phpbb 3.0.12. Then I uninstalled the API mod, V6.0.3 (I think). AutoMod said it had one error, which said it couldn't find

'USER_EMAIL' => $user_row['user_email'],
'USER_WARNINGS' => $user_row['user_warnings'],
'USER_POSTS' => $user_row['user_posts'],
'USER_HAS_POSTS' => $user_row['user_has_posts'],
'USER_INACTIVE_REASON' => $inactive_reason,

So I found it and did the code removal myself. Board seemed fine.

Then I installed V1.0.0 from Github. It came up with one error (html removed so this forum won't complain):


Find

div class="copyright"{CREDIT_LINE}

Replace With

div class="copyright"{CREDIT_LINE} ¦ Powered by a href="https://forums.eveonline.com/default.aspx?g=posts&m=184934">EVE API v6.3.1 for phpBB 3.0.x/a - a href="#" onclick="CCPEVE.showInfo(1377, 1934722728)"Cyerus/a

The Find specified by the MOD could not be found


Which just looks like a simple display thing, so I went ahead with the install.

Now I get

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

When trying to access the forum. I kept a backup of the forum database, so I don't think I'm completely out
Norjia Blacksteel
Blacksteel Mining and Manufacturing
Renaissance Federation
#1094 - 2014-09-14 21:24:52 UTC
I think I figured it out. Uninstall the old version of the mod BEFORE upgrading to the new phpbb. Will try that.
Norjia Blacksteel
Blacksteel Mining and Manufacturing
Renaissance Federation
#1095 - 2014-09-15 23:37:01 UTC
Ok, no luck. I can't uninstall the mod version 6.0.3 from phpbb version 3.0.11. I get this:


Find

'USER_WARNINGS' => $user_row['user_warnings'],
'USER_POSTS' => $user_row['user_posts'],
'USER_INACTIVE_REASON' => $inactive_reason,
'S_EVEAPI_VALIDATE' => ($config['eveapi_validation']) ? true : false,
'EVEAPI_KEYID' => $user_row['eveapi_keyid'],
'EVEAPI_VCODE' => $user_row['eveapi_vcode'],
'EVEAPI_TS' => $user_row['eveapi_ts'],

Replace With

'USER_WARNINGS' => $user_row['user_warnings'],
'USER_POSTS' => $user_row['user_posts'],
'USER_INACTIVE_REASON' => $inactive_reason,

The Find specified by the MOD could not be found
Norjia Blacksteel
Blacksteel Mining and Manufacturing
Renaissance Federation
#1096 - 2014-09-16 01:35:33 UTC  |  Edited by: Norjia Blacksteel
Ok, I was trying to install the wrong package. The one at GitHub.

Anyway, now I have it working, but there are two sets of EVE Api Module settings panels in the forum ACP. Seems odd..

One is called "EVE Api Module" the other is called "EVE Api Modules".
Critical Mind
Foundation Cutting-Edge
Tau Ceti Federation
#1097 - 2014-09-19 11:16:19 UTC
Hello guys,

Some time using phpbb mod and actually got a problem where I'm stuck after migrating my forum to another server.

Since files / db migrated I got tow problems :

- White page when creating a new user (ucp.php used here) (the new user is added correctly with api details anyway)
- Do not add that new user in the corporation group
- Can't set avatar, get white page too, no changes done when trying to download avatar (using ucp.php too)

I suspect here permission problem, then I set the correct phpbb folders permissions using ftp client (recursive files inside folders) and correct nothing.

-> files are set to 664
-> folders to 755
-> files, cache, store, and image/avatars/upload to 777

Thanks for help.
Khoas
Aliastra
Gallente Federation
#1098 - 2014-09-22 14:45:41 UTC
Critical Mind wrote:
Hello guys,

Some time using phpbb mod and actually got a problem where I'm stuck after migrating my forum to another server.

Since files / db migrated I got tow problems :

- White page when creating a new user (ucp.php used here) (the new user is added correctly with api details anyway)
- Do not add that new user in the corporation group
- Can't set avatar, get white page too, no changes done when trying to download avatar (using ucp.php too)

I suspect here permission problem, then I set the correct phpbb folders permissions using ftp client (recursive files inside folders) and correct nothing.

-> files are set to 664
-> folders to 755
-> files, cache, store, and image/avatars/upload to 777

Thanks for help.


The white page when creating a new user issue when I had is was from not having curl installed on the server, may also be the white page issue with the avatars also I didn't try that before I installed curl. Check that and then see if you are still having the same issues.

-K
K3ll
Slow Match
#1099 - 2014-09-30 16:41:52 UTC
Hi everyone,

I was wondering how you guys keep your database for this mod up to date? Since CCP is still renaming, rebalancing and introducing new stuff, waiting for a new version of eve-api seems to be a bit of nonsense. Is there any easy way of upgrading item and ship DB, instead of parsing the CCP SQL file myself so it fits to Cyrus' format?

Thanks a lot!
-K
Snitch Ashor
Black Rise Guerilla Forces
#1100 - 2014-10-06 13:24:39 UTC
The last couple of releases, I have added/changed manually, skipping most of the stuff like blueprints. It starts to get annoying these days, so I guess one would need to do a full conversion starting from a database dump. However, updating all posted fits (renaming modules) would be nice as well, but might be a bit more tricky, maybe adding aliases would be easier...