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
Aron Fox
Tranquillian Imperial Navy
#701 - 2013-02-24 23:08:10 UTC
Suggestion: Add a new link (EVE Calendar) in the forum navigation bar (next to members, logout, register) that will only show up if you have enabled your API key to download your personal calendar event in EVE. And the calendar is API key specific meaning it wont dowload events from a admin configured API key but your own personal upcoming EVE clanedar events. so different users wont see the same thing in their calendar when they visit the link they will only see events that is on their personal calendar in game.
Unhold
Arkon Industries
#702 - 2013-02-26 07:02:43 UTC
Unhold wrote:
Hi again!

Since I'm having the mod now working my users started using and loving it.
But since the new EVE Patch, CCP again modified some ships.
Some have now a different slot layout than before.
Do we need to wait for a patch here or is it possible to fix it by my self?

Thanks again for your help!

Regards,

Unhold



? No Comment ?
Troyd23
Repercussus
#703 - 2013-02-28 03:54:29 UTC  |  Edited by: Troyd23
Wonderful mod.

However, I can't seem to get Phpbb3 to assign special groups such as "diplomat" to people in TS. I have taken the following steps. Are there special instructions for obtaining special group permissions on TS?'

I am currently attempting to assign the group by updating the UCP account settings and hitting submit.


  • Created a separate forum group called "leadership"
  • Added integar 9 permissions to the group (corresponds to TS group)
  • Ensure the group isn't affected by API
  • Enabled integar 9 in Teamspeak 3 settings
  • Added leadership as a group under generalsettings with ignore API on.


Weird things I have noticed:


  • ACP would not save any Teamspeak settings from the groups permissions, had to force enable by modifying database.


If I manually add the group, it will revoke the fprum group upon pressing submit in phpbb3 and not assign TS privs. It will not revoke the group when API immunity is enabled but still won't assign TS privs. Meaning the corporation group is overwriting everything.

Corporation / Alliance / TS privileges work like a charm.


Any thoughts / opinions would be greatly appreciated.
Dex Thiesant
Concordiat
#704 - 2013-03-01 17:01:12 UTC
Aron Fox wrote:

i dont know how many times i owerwritten my files with your new ones but it aint helping. it keeps invalidating my users! I did as you last said in doubts of myself but now i know for 100% that i overwrote and im really sure i did it all the other 4 times i resintalled the same dam mod. this is starting to become like those movies when im a "kind" (or considerd as one) whenre i claim i seen somethign un beliveable and all the adults just says "you muate have been mistake, its just your imagination" and later in the movie they get right and nobody belived them but if they did the problemd could have allready been fixed.

in other words, please trust me on this, somethign is wrong with your code, i dont know where but at random times it invalidates my users and on order to spare my users from having to reactivate themsale with the same API they used before (as it still works) i am manually activating them. I have to watch the admin log as a hawk to restore their status.


Hey Aron,

I had this issue when I first started using the mod. It will deactivate users if it encounters an error fetching the API data. So if CCP is having a problem with their API and you poll during that time you're probably going to end up with deactivated users. Also, I found that this was happening a lot as my user base started to grow. I was running the job every 30 minutes, but I was having a lot of issues with user deactivating (due to invalid API and not the mod). I had to drop it back to an hour, and eventually even another hour. Currently I'm running the poll every two hours and since I dropped it back I haven't had any false positives when it came to users being deactivated. I'm also running this for an alliance, currently my user base is approx 170 users and growing.

Hope this helps.

Dex
Carrol Flynn
Pheonix Biotech
#705 - 2013-03-03 15:22:01 UTC
does it support install with automod?
Wafou Ka'Djo
Yellow Box Ltd.
#706 - 2013-03-03 19:47:13 UTC
Carrol Flynn wrote:
does it support install with automod?


Yes and it's also the suggested method to install it.
viewtifuljoe
Anti Corp Corporation
#707 - 2013-03-09 17:07:44 UTC
Hey mate!

First of all,

wanted to say thanks for the awesome mod you made !

I was wondering if it was normal that when a user fails the api check that he does not loses his ts roles.

Thanks
cynobirduk
Call For IT
#708 - 2013-03-10 14:11:48 UTC
What cron job do u have to run?

Is it auto built in?

What's the recommended time period to run it?

Thanks
viewtifuljoe
Anti Corp Corporation
#709 - 2013-03-10 17:49:30 UTC
cynobirduk wrote:
What cron job do u have to run?

Is it auto built in?

What's the recommended time period to run it?

Thanks



No, you manually need to go into your cpanel to make that cron job work.

i run mine every 15 min.
Andy Tibs
Ministry of War
#710 - 2013-03-11 17:47:55 UTC
Andy Tibs wrote:
I tried to setup the cron job to run nightly a few nights ago but am getting errors each night when it tries to run. My other cron jobs for my killboard are still working properly but not quite sure what the issue is. I can run the eveapi_cron.php file manually and it will work fine just not through the cron job.

Here is the error message I am getting:

Quote:
Warning: include(./common.php): failed to open stream: No such file or directory in /home/user/website.net/forums/eveapi_cron.php on line 29

Warning: include(): Failed opening './common.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/user/website.net/forums/eveapi_cron.php on line 29

Warning: include(.//includes/functions_user.php): failed to open stream: No such file or directory in /home/user/website.net/forums/eveapi_cron.php on line 30

Warning: include(): Failed opening './/includes/functions_user.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/user/website.net/forums/eveapi_cron.php on line 30

Fatal error: Call to a member function session_begin() on a non-object in /home/user/website.net/forums/eveapi_cron.php on line 33


I am running the latest release of mod also. Any ideas?


Anyone else run into this or similar issues with the cron job? Any ideas on what could be the issue here?
viewtifuljoe
Anti Corp Corporation
#711 - 2013-03-11 18:48:59 UTC
Andy Tibs wrote:
Andy Tibs wrote:
I tried to setup the cron job to run nightly a few nights ago but am getting errors each night when it tries to run. My other cron jobs for my killboard are still working properly but not quite sure what the issue is. I can run the eveapi_cron.php file manually and it will work fine just not through the cron job.

Here is the error message I am getting:

Quote:
Warning: include(./common.php): failed to open stream: No such file or directory in /home/user/website.net/forums/eveapi_cron.php on line 29

Warning: include(): Failed opening './common.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/user/website.net/forums/eveapi_cron.php on line 29

Warning: include(.//includes/functions_user.php): failed to open stream: No such file or directory in /home/user/website.net/forums/eveapi_cron.php on line 30

Warning: include(): Failed opening './/includes/functions_user.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/user/website.net/forums/eveapi_cron.php on line 30

Fatal error: Call to a member function session_begin() on a non-object in /home/user/website.net/forums/eveapi_cron.php on line 33


I am running the latest release of mod also. Any ideas?


Anyone else run into this or similar issues with the cron job? Any ideas on what could be the issue here?



is the file still at that location ?
Andy Tibs
Ministry of War
#712 - 2013-03-11 18:52:47 UTC
viewtifuljoe wrote:
Andy Tibs wrote:
Andy Tibs wrote:
I tried to setup the cron job to run nightly a few nights ago but am getting errors each night when it tries to run. My other cron jobs for my killboard are still working properly but not quite sure what the issue is. I can run the eveapi_cron.php file manually and it will work fine just not through the cron job.

Here is the error message I am getting:

Quote:
Warning: include(./common.php): failed to open stream: No such file or directory in /home/user/website.net/forums/eveapi_cron.php on line 29

Warning: include(): Failed opening './common.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/user/website.net/forums/eveapi_cron.php on line 29

Warning: include(.//includes/functions_user.php): failed to open stream: No such file or directory in /home/user/website.net/forums/eveapi_cron.php on line 30

Warning: include(): Failed opening './/includes/functions_user.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/user/website.net/forums/eveapi_cron.php on line 30

Fatal error: Call to a member function session_begin() on a non-object in /home/user/website.net/forums/eveapi_cron.php on line 33


I am running the latest release of mod also. Any ideas?


Anyone else run into this or similar issues with the cron job? Any ideas on what could be the issue here?



is the file still at that location ?


Yea, I forgot to mention I checked that all the files are indeed in their default locations that they cronjob is pointing to.
Ravik Scrits
The Scope
Gallente Federation
#713 - 2013-03-13 10:38:05 UTC
Just a random question. I'm running this on a random theme and can't seem to see any reference to the fitting tool.

Please can you give me a push in the right direction to find it and how to use it?

[insert ridicule here]

Many thanks
Ravik Scrits
The Scope
Gallente Federation
#714 - 2013-03-13 10:43:41 UTC
Ravik Scrits wrote:
Just a random question. I'm running this on a random theme and can't seem to see any reference to the fitting tool.

Please can you give me a push in the right direction to find it and how to use it?

[insert ridicule here]

Many thanks



I've kinda worked it out but....

When I use the [evefit] it puts the fitting image but all the mods below it and not in the image.

How can I get this to work?
Thassel Shaile
The Sacred Order of the Space Weasels
#715 - 2013-03-13 15:51:32 UTC  |  Edited by: Thassel Shaile
Anyone have a copy of this? The link on the op doesn't work.
Andy Tibs
Ministry of War
#716 - 2013-03-13 16:06:01 UTC
Ravik Scrits wrote:
Ravik Scrits wrote:
Just a random question. I'm running this on a random theme and can't seem to see any reference to the fitting tool.

Please can you give me a push in the right direction to find it and how to use it?

[insert ridicule here]

Many thanks



I've kinda worked it out but....

When I use the [evefit] it puts the fitting image but all the mods below it and not in the image.

How can I get this to work?


If I remember correctly I ran into the same issue with our theme... the way I was able to fix it was to just make sure you copy the eveapi_fitting.css and eveapi_fitting.js into your template folder.
Troy Aihaken
Quekz
#717 - 2013-03-13 21:55:47 UTC
Andy Tibs wrote:
Ravik Scrits wrote:
Ravik Scrits wrote:
Just a random question. I'm running this on a random theme and can't seem to see any reference to the fitting tool.

Please can you give me a push in the right direction to find it and how to use it?

[insert ridicule here]

Many thanks



I've kinda worked it out but....

When I use the [evefit] it puts the fitting image but all the mods below it and not in the image.

How can I get this to work?


If I remember correctly I ran into the same issue with our theme... the way I was able to fix it was to just make sure you copy the eveapi_fitting.css and eveapi_fitting.js into your template folder.


Yes this is how you fix this, as it does not get copied into your custom themes folder.

NodeJS Developer | Frontend Development | Programming Enthusiast

Ravik Scrits
The Scope
Gallente Federation
#718 - 2013-03-14 14:41:53 UTC
They are in there but the the image is not filling how it should do.

The fitting window is there but all the mods are below and not in the space they should be. Any ideas?
Troy Aihaken
Quekz
#719 - 2013-03-14 15:31:20 UTC
Make sure you purge your cache aswell as the websites which is done in the admin control pane.

If the problem persists please contact me or cyerus on here :)

NodeJS Developer | Frontend Development | Programming Enthusiast

Ravik Scrits
The Scope
Gallente Federation
#720 - 2013-03-14 17:48:52 UTC
cool, i have just purged the cache and the issues are still there. Ill take a screen shot when i get home and who you what is happening.

Thanks for your help on this

Ravik