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
0mni Ca
Brutor Tribe
Minmatar Republic
#1141 - 2015-01-15 12:32:07 UTC
Snitch Ashor wrote:

Very nice work!

Just a few questions...

Do you use Steves conversion?

as fas as i see the only tables required are mapSolarSystems, dgmTypeAttributes and invTypes. And where exactly do you include your CSS? just for the Theme? As you also place all icons using CSS is the original Javascript still required?

Thanks, Snitch

No idea who Steves is, who is he?

List of tables I have, not all are required, some are used for other things and testing.
http://puu.sh/ey1wJ/ee119682b0.png

CSS replaces exiting CSS from the phpBB mod.

No idea what you mean by "just for the theme"

Original Javascript/icons needed. There is a new background, simple because I like the background I use more :), can be modified for the original, but I have not used it.
Snitch Ashor
Republic Military School
Minmatar Republic
#1142 - 2015-01-15 14:41:09 UTC
I meant Steve Ronuken (fuzzwork).
When writing just the theme i thought you added the css to the phpbb theme... i just figured out the api mod brings its own css file...

Thanks anyway I'll try to modify it to fit the original background, guess its just a matter of taste though.
Demetri Slavic
Mind Games.
Suddenly Spaceships.
#1143 - 2015-01-17 18:32:31 UTC
Is there a version of this that will work with a 3.1 forum?

EVE_NT London Organiser

https://www.facebook.com/EVELondonMeets

@EVELondonMeets

Next Meet: November 18th 2017

0mni Ca
Brutor Tribe
Minmatar Republic
#1144 - 2015-01-17 20:58:33 UTC
Demetri Slavic wrote:
Is there a version of this that will work with a 3.1 forum?

No, I believe the author is/was working one one, but haven't seen much progress on github.
Ziirn
Questionable Ethics.
Ministry of Inappropriate Footwork
#1145 - 2015-01-17 23:23:16 UTC
0mni Ca wrote:
Demetri Slavic wrote:
Is there a version of this that will work with a 3.1 forum?

No, I believe the author is/was working one one, but haven't seen much progress on github.


Yes pls on 3.1.X support!
0mni Ca
Brutor Tribe
Minmatar Republic
#1146 - 2015-01-21 05:16:41 UTC  |  Edited by: 0mni Ca
I have begun to modify the code for phpBB3.1 for our alliance usage, I have not decided if I want to release what I have when I am done. Despite phpBB 3.1 using extensions, unfortunately there are some code changes that need to be made to the core of phpBB, not a lot, but there are some. This is simply due to the fact that, we need more control over registration and other features than are possible with the limitations of extensions, at least my understanding of how they work.

I have been able to do away with the code changes required for avatars. It is now based entirely off of phpBB's new avatar driver system, and allows the users to simply hit a button to retrieve the avatar from the EVE server, and cache it on the server.
http://puu.sh/eOnSn/6730861de6.png

I have migrated the user options, to a seperate control page under the UCP as well as the ACP. So basically, no code changes required to update your api, register on teamspeak, or jabber.

Bottom left side of screen.
http://puu.sh/eOomv/a09c4610a3.png
Updating API
http://puu.sh/eOoCL/a1e62599ed.png
Registering on Jabber (Openfire, I removed ejabber, simply because our alliance doesn't use it, if I do release it, I won't readd it.)
http://puu.sh/eOoKn/c522397746.png
Registering on Teamspeak, I intergrated from how it worked on my Drupal site, you now connect to teamspeak, and just hit the button as long as your nickname matches it will grab your unique id automatically.
http://puu.sh/eOoUR/8a7f9e4f82.png
Not posting UCP, as its the same structure, a new menu specifically for EVE API, no longer hidden in profile.

Registration works, as well as the core code from before, but I am going to rewrite it to be a little more friendly.

Also our openfire server is the latest, which is based off of the user service module 2.0+ which has a different way to add/remove/update users than before, so I removed the old openfire method.

I have to basically rewrite the code to update to the new phpBB standard, as well as my own personal style. I am OCD when it comes to code. I am also going to migrate all the "language" into language files, to allow for easier translation, we have Russian allies ;)

Oh yah, uses the latest Pheal-NG instead of the depreciated Pheal ;)

Going to be adding the bbCodes tomorrow night, shouldn't require any file edits as there is a way to do it.
Apocil Munar
Shadovar Inc.
#1147 - 2015-01-21 21:56:10 UTC
0mni Ca, I hope you do decide to share your changes. As a webhost for EVE Online Players these changes would be very usefull to allow me to run the latest PHPBB with eveAPI. or if you don't post for all to use, perhaps we can work something out privately?


0mni Ca wrote:
I have begun to modify the code for phpBB3.1 for our alliance usage, I have not decided if I want to release what I have when I am done. Despite phpBB 3.1 using extensions, unfortunately there are some code changes that need to be made to the core of phpBB, not a lot, but there are some. This is simply due to the fact that, we need more control over registration and other features than are possible with the limitations of extensions, at least my understanding of how they work.

I have been able to do away with the code changes required for avatars. It is now based entirely off of phpBB's new avatar driver system, and allows the users to simply hit a button to retrieve the avatar from the EVE server, and cache it on the server.
http://puu.sh/eOnSn/6730861de6.png

I have migrated the user options, to a seperate control page under the UCP as well as the ACP. So basically, no code changes required to update your api, register on teamspeak, or jabber.

Bottom left side of screen.
http://puu.sh/eOomv/a09c4610a3.png
Updating API
http://puu.sh/eOoCL/a1e62599ed.png
Registering on Jabber (Openfire, I removed ejabber, simply because our alliance doesn't use it, if I do release it, I won't readd it.)
http://puu.sh/eOoKn/c522397746.png
Registering on Teamspeak, I intergrated from how it worked on my Drupal site, you now connect to teamspeak, and just hit the button as long as your nickname matches it will grab your unique id automatically.
http://puu.sh/eOoUR/8a7f9e4f82.png
Not posting UCP, as its the same structure, a new menu specifically for EVE API, no longer hidden in profile.

Registration works, as well as the core code from before, but I am going to rewrite it to be a little more friendly.

Also our openfire server is the latest, which is based off of the user service module 2.0+ which has a different way to add/remove/update users than before, so I removed the old openfire method.

I have to basically rewrite the code to update to the new phpBB standard, as well as my own personal style. I am OCD when it comes to code. I am also going to migrate all the "language" into language files, to allow for easier translation, we have Russian allies ;)

Oh yah, uses the latest Pheal-NG instead of the depreciated Pheal ;)

Going to be adding the bbCodes tomorrow night, shouldn't require any file edits as there is a way to do it.

0mni Ca
Brutor Tribe
Minmatar Republic
#1148 - 2015-01-22 01:22:41 UTC  |  Edited by: 0mni Ca
Okay some more progress, I have been able, in theory, to be able to remove ALL code edits, except for 4 file edits, can't be helped as we want to know why a user is inactive, and well it doesn't help if its an api key issue, and all u see is unknown reason.

3 of the file edits are simple and easy, and really don't even matter if you don't do them, except it gives you more info to debug why they are inactive.

The 4th file edit is to the template login_body.html

Thats it!

I will let you know how far I progress :)

My notes, if your curious and/or want to be helpful.

http://pastebin.com/raw.php?i=Pvy4zwih
0mni Ca
Brutor Tribe
Minmatar Republic
#1149 - 2015-01-23 02:09:55 UTC
If there is something before alpha, the following would be an example of it :)

https://github.com/0mni/eve_api_phpbb
Garr Khan
Grey Area Operations
#1150 - 2015-01-29 16:34:19 UTC
Is there a Teamspeak 3 host that this will work with? No hosts seems to support whitelists, which is required for the Teamspeak module to connect.
Go0fBall
State War Academy
Caldari State
#1151 - 2015-01-29 20:50:29 UTC
Does anyone know if this is compatible with the phpBB 3.0.13 Release update?
Subsparx
Crimson Serpent Syndicate
#1152 - 2015-01-29 20:58:42 UTC
Garr Khan wrote:
Is there a Teamspeak 3 host that this will work with? No hosts seems to support whitelists, which is required for the Teamspeak module to connect.


Gameservers did just fine, as did a couple other TeamSpeak hosts I used. They all were unreliable though overall, so I ended up just hosting my own server. It's cheaper anyways if you are willing to deal with the IT side of it. Get a basic Rackspace server for $20/mo and pay for a TeamSpeak license yearly and you're set.

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com

Garr Khan
Grey Area Operations
#1153 - 2015-01-29 22:39:16 UTC  |  Edited by: Garr Khan
Subsparx wrote:
Garr Khan wrote:
Is there a Teamspeak 3 host that this will work with? No hosts seems to support whitelists, which is required for the Teamspeak module to connect.


Gameservers did just fine, as did a couple other TeamSpeak hosts I used. They all were unreliable though overall, so I ended up just hosting my own server. It's cheaper anyways if you are willing to deal with the IT side of it. Get a basic Rackspace server for $20/mo and pay for a TeamSpeak license yearly and you're set.


I ended up going with the VPS option, but I'm getting this error from the cronjob: "TeamSpeak error: 110 -> Connection timed out"

I'm using the serverquery admin username/password TS3 gave me when the server was first set up, port 10011 is open on the TS3 server, and the IP for my phpbb host is whitelisted; not sure what the issue could be here.

Anyone have any ideas?
Subsparx
Crimson Serpent Syndicate
#1154 - 2015-01-29 22:47:23 UTC
Garr Khan wrote:
Subsparx wrote:
Garr Khan wrote:
Is there a Teamspeak 3 host that this will work with? No hosts seems to support whitelists, which is required for the Teamspeak module to connect.


Gameservers did just fine, as did a couple other TeamSpeak hosts I used. They all were unreliable though overall, so I ended up just hosting my own server. It's cheaper anyways if you are willing to deal with the IT side of it. Get a basic Rackspace server for $20/mo and pay for a TeamSpeak license yearly and you're set.


I ended up going with the VPS option, but I'm getting this error from the cronjob: "TeamSpeak error: 110 -> Connection timed out"

I'm using the serverquery admin username/password TS3 gave me when the server was first set up, port 10011 is open on the TS3 server, and the IP for my phpbb host is whitelisted; not sure what the issue could be here.

Anyone have any ideas?


If you use telnet on your machine, can you connect via that port to your teamspeak server? You shouldn't need to whitelist here as you won't be overwhelming the system with commands just trying to connect. If that doesn't work something on the server is blocking it still, be it iptables or something like selinux.

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com

Garr Khan
Grey Area Operations
#1155 - 2015-01-29 23:00:52 UTC
Subsparx wrote:
Garr Khan wrote:
Subsparx wrote:
Garr Khan wrote:
Is there a Teamspeak 3 host that this will work with? No hosts seems to support whitelists, which is required for the Teamspeak module to connect.


Gameservers did just fine, as did a couple other TeamSpeak hosts I used. They all were unreliable though overall, so I ended up just hosting my own server. It's cheaper anyways if you are willing to deal with the IT side of it. Get a basic Rackspace server for $20/mo and pay for a TeamSpeak license yearly and you're set.


I ended up going with the VPS option, but I'm getting this error from the cronjob: "TeamSpeak error: 110 -> Connection timed out"

I'm using the serverquery admin username/password TS3 gave me when the server was first set up, port 10011 is open on the TS3 server, and the IP for my phpbb host is whitelisted; not sure what the issue could be here.

Anyone have any ideas?


If you use telnet on your machine, can you connect via that port to your teamspeak server? You shouldn't need to whitelist here as you won't be overwhelming the system with commands just trying to connect. If that doesn't work something on the server is blocking it still, be it iptables or something like selinux.


I was able to telnet in with putty and run a few commands like 'clientlist', seemed to work fine.
Subsparx
Crimson Serpent Syndicate
#1156 - 2015-01-29 23:45:58 UTC
It's being blocked on the site level then. Is your site also on a VPS? If it's not and you are using shared hosting there is a very high likelihood that your provider blocks all non-standard outgoing ports.

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com

Garr Khan
Grey Area Operations
#1157 - 2015-01-29 23:53:09 UTC  |  Edited by: Garr Khan
Subsparx wrote:
It's being blocked on the site level then. Is your site also on a VPS? If it's not and you are using shared hosting there is a very high likelihood that your provider blocks all non-standard outgoing ports.


That makes sense, the website/phpbb is on shared hosting. This is probably getting outside the realm of what you or the thread can help me with, but is there any way to deal with that besides migrating the website onto a VPS?

I suppose I could change the serverquery port on both ends, to one that my shared hosting has open? I'm not sure if that's something that would work.
Subsparx
Crimson Serpent Syndicate
#1158 - 2015-01-30 00:21:22 UTC
Hmmmm, it might work. I don't know for sure. You could try running it on port 443 or 8080 assuming you aren't using anything SSL encrypted on the server running TeamSpeak. Alternatively, you can *usually* get exceptions for web services like this from shared hosting as long as they have a heads up of what and why the port is needed going outbound. Depends on the company I suppose.

CEO of Crimson Serpent Syndicate - www.crimsonserpent.com

Chairman of Heiian Conglomerate - www.heiian.com

Owner of FWC - www.factionwarfare.com

Orunis Sobek
ACTIVATIONS
#1159 - 2015-02-04 21:22:02 UTC
Orunis Sobek wrote:
Anyone ever run into the following?

Made some changes to our theme but when I try to re-apply the Eve-Mod to the theme, it does not show up in the list of themes that I can apply eve-mod to. Is it possible to update/refresh that list?




Anyone? I'd love to get this sorted out. Currently I'm having to manually apply changes in the code because I can not apply the eve-mod to my themes. Can this be manually refreshed, does anyone know?

Thanks for your time.
Garr Khan
Grey Area Operations
#1160 - 2015-02-04 23:57:57 UTC  |  Edited by: Garr Khan
I'm getting an error when I try to run the jabber module with external authentication enabled; I'm running ejabberd on a custom port (8080) if that matters, so that my shared hosting can connect.

http://pastebin.com/W6VubrKa

edit: just to clarify, this error appears when I hit "submit" on the jabber settings section under Client Communication. It submits fine when I don't have external auth enabled.