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
Cyerus
Eternal Strife
#661 - 2013-02-07 23:46:31 UTC  |  Edited by: Cyerus
You get that error when you either;

  • Have the EVE API mod already installed (in which case you have not seen the videos yet, and you should!)
  • The AutoMOD version you are using is outdated, and should be updated to at least 1.0.2 (which is also explained in the video!)


So in short; Go watch the 6.2.0 Installation and Configuration video. A link can be found in the first post of the topic.
Aron Fox
Tranquillian Imperial Navy
#662 - 2013-02-07 23:48:41 UTC  |  Edited by: Aron Fox
Cyerus wrote:
Aron Fox wrote:
Cyerus are you planning on removing the corp/allience/standing/faction date form the config table? If you havent considerd that I think you could easy remove "Amount of 'Special' forumgroups shown below." as you could gather all the needed details in a separate table making updating, and uninstalling the mod proably alot easier.

I have thought about doing that, but it takes a lot more work (and time). Currently I'm using phpBB's own build in system to save my data, each based on their own tables. It might make the automated (un)installation a bit more technical, but I think I those problems have been solved, as I haven't had any problems with my (un)installation lately.

In the end a seperate solution might be best, but for now I'll stick with phpBB's functionality.

I was having myself a look in the config table of my forum and it was just so clutterd (no offence), as a forum host/admin if you wanna go in a manually change values in the DB i think it could be better if they were in a separate forum for structure and using the filters in PHPmyadmin. its just a minor thing but, im no pro coder in PHP or mysql i just was thinking it could in the end be easier but i never wrapped my head around how to mod for PHPBB so i may be out of my league here.
Aron Fox
Tranquillian Imperial Navy
#663 - 2013-02-08 00:05:44 UTC
Cyerus wrote:


Last but not least; Thoughts?

refering to the style design to have allready in the mod package? yes it looks good, i can consider to change my forums style to it if you include it.
Aron Fox
Tranquillian Imperial Navy
#664 - 2013-02-08 01:38:04 UTC
Cyerus wrote:
You get that error when you either;

  • Have the EVE API mod already installed (in which case you have not seen the videos yet, and you should!)
  • The AutoMOD version you are using is outdated, and should be updated to at least 1.0.2 (which is also explained in the video!)


So in short; Go watch the 6.2.0 Installation and Configuration video. A link can be found in the first post of the topic.


isnt the Update youtube video outdated? dont you just hit uninstall in AutoMOD now? and yes it had to do with the first point that i wa suploading the file once it was allready installed so.. i uninstalled it all and reinstalled it instead. as what the video did but i had to do it different. it should be fixed now. running on 6.2.1 now, thank you for the fast hotfix release.
Aron Fox
Tranquillian Imperial Navy
#665 - 2013-02-08 01:52:50 UTC  |  Edited by: Aron Fox
Suggestion 1: Could you make the [eveitem][evesystem][evefit] to link to EVElopedia when the forum is used in a any webbrowser but the ingame one?

Suggestion 2: could you make it so that CEOs of a corp and/or allience executor can also be assigned to a special group?
Aron Fox
Tranquillian Imperial Navy
#666 - 2013-02-09 07:11:31 UTC  |  Edited by: Aron Fox
The forum keep invalidating my forum users. I manually checked all their APIs and they are authentic. they manage to re-activate their accounts on the forum using the eveapi_update.php and can use the forum instantly after activating. i dont know if its when the cronjob is run that they get kicked out but this seams to only happend with a few of my users but not all of them.

I have installed your latest 2.1.0, i am using phpbb 3.0.11 their API's is stored in the database sucessfully.

could this have anything to do with API keys with multiple characters in it or that maybe the API server lags at occasions an dont return correct values? like this https://forums.eveonline.com/default.aspx?g=posts&t=169138
Unhold
Arkon Industries
P O L A R I S
#667 - 2013-02-11 16:30:03 UTC  |  Edited by: Unhold
Cyerus wrote:

Triple check if all the files are being loaded. If installed correctly and using the default prosilver style, it should work flawlessly.
If not, try to set up a test forum to see how and why it doesn't work for you.


Hi Cyerus,

could you please help me with this styles?
I'm using a different style and the evefit is not showing the icons in the display.
They are listed below.
With the prosilver everything works fine.
What do I need to put where to modify my style?

Thanks for your help!

Unhold
Cyerus
Eternal Strife
#668 - 2013-02-11 22:32:15 UTC  |  Edited by: Cyerus
Aron Fox wrote:
Suggestion 1: Could you make the [eveitem][evesystem][evefit] to link to EVElopedia when the forum is used in a any webbrowser but the ingame one?

Suggestion 2: could you make it so that CEOs of a corp and/or allience executor can also be assigned to a special group?

1; Good idea, I'll check if I can add something like that.

2; Quite hard to do, but it's on my list. I need to add / fix some other stuff first though, so it could take a while.


Aron Fox wrote:
The forum keep invalidating my forum users. I manually checked all their APIs and they are authentic. they manage to re-activate their accounts on the forum using the eveapi_update.php and can use the forum instantly after activating. i dont know if its when the cronjob is run that they get kicked out but this seams to only happend with a few of my users but not all of them.

I have installed your latest 2.1.0, i am using phpbb 3.0.11 their API's is stored in the database sucessfully.

could this have anything to do with API keys with multiple characters in it or that maybe the API server lags at occasions an dont return correct values? like this https://forums.eveonline.com/default.aspx?g=posts&t=169138

That problem was solved in 6.2.0 and should not exist in 6.2.1.

Perhaps in your case the new version didn't update all the files.
What you can try to do is update all the new files manually by following the steps below.

  1. Back it up, up, up, UP!
  2. Make sure you have version 6.2.1 installed and running
  3. Manually unpackage the zipfile and browse to the unpackaged directory.
  4. With exception of the install-folder, upload all the files and directories to the webhost.
  5. If asked to overwrite, choose Yes.
  6. Once uploaded, head to the AdminCP and clear cache.
  7. Run the cronjob script to verify it is working correctly now. If not, you probably have an error in your settings somewhere.



Unhold wrote:
Cyerus wrote:

Triple check if all the files are being loaded. If installed correctly and using the default prosilver style, it should work flawlessly.
If not, try to set up a test forum to see how and why it doesn't work for you.


Hi Cyerus,

could you please help me with this styles?
I'm using a different style and the evefit is not showing the icons in the display.
They are listed below.
With the prosilver everything works fine.
What do I need to put where to modify my style?

Thanks for your help!

Unhold

I suggest you to watch the 6.2.0 Installation and Configuration video(s) I made.
You can find a Youtube link in the first post of this topic.
Dex Thiesant
Concordiat
Pandemic Horde
#669 - 2013-02-12 01:10:23 UTC
Hey Cyerus,

In your new installation video you mentioned creating a new video to go into detail regarding setting up ejabberd. Have you had a chance to do this yet or do you have a set of instructions on how to do it? I just set up ejabberd and just wanted to know where to put the jabber side script and if there were any additional configuration details.

If you don't have it, no worries. I really just need to know where to put that script and I can take care of the rest.

Dex
Cyerus
Eternal Strife
#670 - 2013-02-12 01:20:45 UTC  |  Edited by: Cyerus
Dex Thiesant wrote:
Hey Cyerus,

In your new installation video you mentioned creating a new video to go into detail regarding setting up ejabberd. Have you had a chance to do this yet or do you have a set of instructions on how to do it? I just set up ejabberd and just wanted to know where to put the jabber side script and if there were any additional configuration details.

If you don't have it, no worries. I really just need to know where to put that script and I can take care of the rest.

Dex

I haven't had the time to create a video on the ejabberd stuff yet, no.

I created a special directory on my VPS (running Ubuntu server) for that file; /opt/ejabberd/ejabberd_side.php
With whatever user you run ejabberd with, you need to give that user execute rights for the file and folder.
Last but not least you'll need to edit the ejabberd configuration file to use external auth with the path to the ejabberd_side.php script ( /opt/ejabberd/ejabberd_side.php in my case ).

Oh, and don't forget to edit the fields in the ejabberd_side.php file that I showed in the video.

And for some reason I also keep forgetting to mention that characters with a space in their names should change that to an underscore ( _ ) as Jabber doesn't support spaces in usernames.
Monkey Pie username on forums becoming Monkey_Pie username on Jabber.
Does not apply to passwords!
Dex Thiesant
Concordiat
Pandemic Horde
#671 - 2013-02-12 02:17:18 UTC
Cyerus wrote:

I haven't had the time to create a video on the ejabberd stuff yet, no.

I created a special directory on my VPS (running Ubuntu server) for that file; /opt/ejabberd/ejabberd_side.php
With whatever user you run ejabberd with, you need to give that user execute rights for the file and folder.
Last but not least you'll need to edit the ejabberd configuration file to use external auth with the path to the ejabberd_side.php script ( /opt/ejabberd/ejabberd_side.php in my case ).

Oh, and don't forget to edit the fields in the ejabberd_side.php file that I showed in the video.

And for some reason I also keep forgetting to mention that characters with a space in their names should change that to an underscore ( _ ) as Jabber doesn't support spaces in usernames.
Monkey Pie username on forums becoming Monkey_Pie username on Jabber.
Does not apply to passwords!


Perfect. The only thing I'd like to add is that there is apparently a limitation on your secret key. I tried using a 36 char GUID as the key but it apparently didn't save it all.

As always, awesome work! Thanks so much for making my life soooo much easier lol.
Unhold
Arkon Industries
P O L A R I S
#672 - 2013-02-12 06:53:20 UTC
Cyerus wrote:

I suggest you to watch the 6.2.0 Installation and Configuration video(s) I made.
You can find a Youtube link in the first post of this topic.

I already watched the installation video.
Is there something special you think I missed?
If so please tell me!

Thanks!
Dex Thiesant
Concordiat
Pandemic Horde
#673 - 2013-02-12 07:42:56 UTC
Unhold wrote:
Hi Cyerus,

could you please help me with this styles?
I'm using a different style and the evefit is not showing the icons in the display.
They are listed below.
With the prosilver everything works fine.
What do I need to put where to modify my style?

Thanks for your help!

Unhold


I had this same problem when trying to use a style that did not inherit from pro-silver. Theoretically my changes should work for you, but there is a chance your theme was not set up the same as mine.

Copy 'eveapi_fitting.css' from the prosilver 'theme' directory into the 'theme' directory of your theme. Inside that same theme directory should be a file called 'stylesheet.css' . Mine has a bunch of import statements like so:

Quote:
@import url("common.css");
@import url("links.css");
@import url("content.css");
@import url("buttons.css");
@import url("cp.css");
@import url("forms.css");
@import url("tweaks.css");
@import url("colours.css");


All you need to do is add one for the eveapi_fitting.css file like so:

Quote:
@import url("eveapi_fitting.css");


Essentially, all this is doing is adding the eveapi_fitting.css styles into your existing theme. You'll want to make sure you have the import after all the others so that it is the last stylesheet to be applied. Otherwise one of the others may override it.
Unhold
Arkon Industries
P O L A R I S
#674 - 2013-02-12 14:41:04 UTC
Thanks Dex Thiesant!

I tried what you suggested but it didn't work.
I also created a copy of the css files in the template folder but it did not help.
I have no idea if the .css file is loaded or not. I also flushed all caches but no result.
Maybe I need another style for my forum :(
To bad!
Unhold
Arkon Industries
P O L A R I S
#675 - 2013-02-12 15:19:03 UTC
I tired some other styles which defiantly base on the prosilver style but it doesn't work for any style except prosilver.
There must be something missing but I have no idea where.
Would be nice if some has an idea for me.
Aron Fox
Tranquillian Imperial Navy
#676 - 2013-02-12 18:01:00 UTC
Cyerus wrote:
Aron Fox wrote:
Suggestion 1: Could you make the [eveitem][evesystem][evefit] to link to EVElopedia when the forum is used in a any webbrowser but the ingame one?

Suggestion 2: could you make it so that CEOs of a corp and/or allience executor can also be assigned to a special group?

1; Good idea, I'll check if I can add something like that.

2; Quite hard to do, but it's on my list. I need to add / fix some other stuff first though, so it could take a while.


Aron Fox wrote:
The forum keep invalidating my forum users. I manually checked all their APIs and they are authentic. they manage to re-activate their accounts on the forum using the eveapi_update.php and can use the forum instantly after activating. i dont know if its when the cronjob is run that they get kicked out but this seams to only happend with a few of my users but not all of them.

I have installed your latest 2.1.0, i am using phpbb 3.0.11 their API's is stored in the database sucessfully.

could this have anything to do with API keys with multiple characters in it or that maybe the API server lags at occasions an dont return correct values? like this https://forums.eveonline.com/default.aspx?g=posts&t=169138

That problem was solved in 6.2.0 and should not exist in 6.2.1.

Perhaps in your case the new version didn't update all the files.
What you can try to do is update all the new files manually by following the steps below.

  1. Back it up, up, up, UP!
  2. Make sure you have version 6.2.1 installed and running
  3. Manually unpackage the zipfile and browse to the unpackaged directory.
  4. With exception of the install-folder, upload all the files and directories to the webhost.
  5. If asked to overwrite, choose Yes.
  6. Once uploaded, head to the AdminCP and clear cache.
  7. Run the cronjob script to verify it is working correctly now. If not, you probably have an error in your settings somewhere.




as i said before this error occurse at random times and i can just run the cron and instantly see if it works or not. do you want to see my adminlog? it shows how the cronjob script at one time activates the account and how it later deactivates it. And i have uploaded those files multiple times before, owervritten them all those times, purged the cach multiple times, and if this has to dow ith settings which settings do i need to do to set it up correct? and why does this only happen at random occasions if its settings and why does it only seam to affect only a few of my users? and no their API have not exired as i manually checked their API keys. ill send a sample of my admin log in a mail.
Unhold
Arkon Industries
P O L A R I S
#677 - 2013-02-12 20:21:52 UTC
Ok, I solved my problem.
The style sheet modifications where different than in the original prosilver style. My posting buttons are in the overall_header.html not in the footer.
I adapted now the lines which gave me the automod to my style and now it works perfectly.
I hope this may helps someone ;)
Unhold
Arkon Industries
P O L A R I S
#678 - 2013-02-13 09:12:25 UTC
One problem solved a new one arises.
I can now see the fittings in the post but the icons seemes to be small. When I click on them they become bigger.
On some browsers is a magnifier shown over the icons.
Is it somehow possible to show the bigger icons as default?
Cyerus
Eternal Strife
#679 - 2013-02-13 11:41:03 UTC
Dex Thiesant wrote:
Cyerus wrote:
*snip*


Perfect. The only thing I'd like to add is that there is apparently a limitation on your secret key. I tried using a 36 char GUID as the key but it apparently didn't save it all.

As always, awesome work! Thanks so much for making my life soooo much easier lol.

I think I've put a limitation on the amount of characters you can fill the Jabber secret key field with, if I'm not mistaken it's either 13 or 15 characters.


Unhold wrote:
One problem solved a new one arises.
I can now see the fittings in the post but the icons seemes to be small. When I click on them they become bigger.
On some browsers is a magnifier shown over the icons.
Is it somehow possible to show the bigger icons as default?

It sounds like you are manually editing the changes into your theme, instead of using AutoMOD to do it for you.
I've not heard of the image zoom bug, but I assume such bug could exist if not all the changes were implemented.

I suggest you to watch the video again, as it shows in great detail on how to automaticly modify your theme with the EVE API changes, without the need to do anything manually.

I think it's best if you start over with a clean verison of the theme, and try the automated modification of it, as bugs like the one described above are hard to find.
Unhold
Arkon Industries
P O L A R I S
#680 - 2013-02-13 13:49:15 UTC
Watching the video will not solve my problem.
Automod is not able to implement the changes into my style.
And I don't think a clean installation would solve any of my problems.
So I'm on my own now.