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
Negativestatus
Caldari Provisions
Caldari State
#101 - 2011-12-14 19:46:35 UTC
Does anyone have a good sql query that will display the users corp under their profile in the viewtopic_body.tpl file?
Donsig
Imperial Shipment
Amarr Empire
#102 - 2011-12-27 21:56:07 UTC
Is it possible to add more than 5 groups to the auto purge immune list?

Been looking at the code, but I don't know a lot about php and the few tweaks I did myself didn't seem to do anything.
Mike Pron
Brutor Tribe
Minmatar Republic
#103 - 2011-12-31 00:02:04 UTC
Call me a ****** but, What folder do I place these files in.......
coldbadger
Supply Industries Ltd
#104 - 2012-01-02 14:25:49 UTC
How can i increase the amount of corps that are on the corp list?!?

Any help on this would be amazing!!
Enik Gonz
Thorium.
#105 - 2012-01-03 22:06:26 UTC
I'm having alot of issues with the avatar feature.
I've CHMODDED the images/avatars/upload to 777
Removed "Edit Avatar" and re-added it again under modules and activated it
Changed the general EvE Api settings to Enabled, Allowed, Used the Medium ones, Min. 64x64, Max 256x256, forced resize on and off.

But it returns blank/broken avatars.
on the forum, the Avatars links to /download/file.php?avatar=69_1325627695.jpg where 1325627695 seems to be a random number and 69 seems to be the number of the avatar uploaded. And the files are saved as e8dbf933757aa6f62f3f83e704621b9b_69.jpg in the /images/avatars/upload folder with 69 begin related to the previous avatar number and e8dbf933757aa6f62f3f83e704621b9b a static number on all of the files in the folder
Philderbeast
Native Freshfood
Minmatar Republic
#106 - 2012-01-03 22:54:39 UTC
enik, not sure about your issue as i cant get this working either,

but the other issues here can all be sorted in the config file.
Enik Gonz
Thorium.
#107 - 2012-01-07 21:54:07 UTC  |  Edited by: Enik Gonz
I found a solution on the official phpBB forums for my blank avatar problem
http://www.phpbb.com/community/viewtopic.php?f=46&t=2133399&p=13015861&hilit=blank+avatar#p13015861

It seems to be because there is a blank line either in the top or at the bottom of some of the most used files.
some of the suggested files are config.php common.php, includes/functions.php, or includes/constants.php
i found several blank lines at the buttom in several of the files in my installation. But my main suspect is config.php
To see the change in effect you have to use CTRL+F5 in chrome. And maybe even purge your cache in the phpBB ACP.



I also had the same issue as Zae'dra Xanthe. Where PHP threw out an error whenever it was trying to add permissions to a new user on teamspeak. And his fix helped me aswell with replacing
Quote:
$ts3_VirtualServer = TeamSpeak3::factory("serverquery://" . $config["eveapi_ts_username"] . ":" . $config["eveapi_ts_password"] . "@" . $config["eveapi_ts_ip"] . ":" . $config["eveapi_ts_port_query"] . "/?server_port=" . $config["eveapi_ts_port_server"] . $nickname);

with
Quote:
$ts3_VirtualServer = TeamSpeak3::factory("serverquery://" . $config["eveapi_ts_username"] . ":" . $config["eveapi_ts_password"] . "@" . $config["eveapi_ts_ip"] . ":" . $config["eveapi_ts_port_query"] . "/?server_port=" . $config["eveapi_ts_port_server"]);

in "includes/eveapi/functions_eveapi.php" on line 81.
I assume there are other fixes aswell. Like changing the $nickname to something like $serverquerynickname or $eveapi_ts_nickname both here and where it's set in the ACP. But i might be wrong.
Redragon
Aliastra
Gallente Federation
#108 - 2012-01-14 05:29:58 UTC
Clear new install Version: phpBB 3.0.10

I copyed all the files form the zip in the first post:
"new_files"
"pre_edit"

and ran the SQL on the phpbb DB from "sql"

I was able to add all the mods but now when I try to go to the Administration Control Panel I get this error:

Fatal error: Call to undefined function phpbb_version_compare() in /home/eveamp/public_html/forum/includes/acp/acp_main.php on line 419

Line 419 of forum/includes/acp/acp_main.php is: 'S_VERSION_UP_TO_DATE' => phpbb_version_compare(trim($latest_version_info[0]), $config['version'], '<='),

Please help
Enik Gonz
Thorium.
#109 - 2012-01-14 06:32:35 UTC  |  Edited by: Enik Gonz
Redragon wrote:
Clear new install Version: phpBB 3.0.10

I copyed all the files form the zip in the first post:
"new_files"
"pre_edit"

and ran the SQL on the phpbb DB from "sql"

I was able to add all the mods but now when I try to go to the Administration Control Panel I get this error:

Fatal error: Call to undefined function phpbb_version_compare() in /home/eveamp/public_html/forum/includes/acp/acp_main.php on line 419

Line 419 of forum/includes/acp/acp_main.php is: 'S_VERSION_UP_TO_DATE' => phpbb_version_compare(trim($latest_version_info[0]), $config['version'], '<='),

Please help


Stick with 3.0.9 for now if you want to use this Mod. And wait for him to update for 3.0.10.
Hopefully he will make it possible to use AutoMOD to ease the process of installion this.

If you really insist on using 3.0.10 try removing the line. If that doesn't work, upload the file to pastebin and i'll take a look at it.
okcerg
Deafside
#110 - 2012-01-16 22:53:24 UTC
Great mod gratz to you Cyerus

Redragon wrote:
Clear new install Version: phpBB 3.0.10

I copyed all the files form the zip in the first post:
"new_files"
"pre_edit"

and ran the SQL on the phpbb DB from "sql"

I was able to add all the mods but now when I try to go to the Administration Control Panel I get this error:

Fatal error: Call to undefined function phpbb_version_compare() in /home/eveamp/public_html/forum/includes/acp/acp_main.php on line 419

Line 419 of forum/includes/acp/acp_main.php is: 'S_VERSION_UP_TO_DATE' => phpbb_version_compare(trim($latest_version_info[0]), $config['version'], '<='),

Please help


Problem doesn't come from the mod but from the bz2 package of phpBB. Download the 3.0.10 full package on zip format. Get the 2 files from that package and replace the old files from your server and it should work
Yar'vak
Infinite Improbable Industry Inc
Pandemic Horde
#111 - 2012-01-19 20:48:36 UTC
Would be great to see an update of this for phpBB3.0.10!
okcerg
Deafside
#112 - 2012-01-22 11:51:35 UTC  |  Edited by: okcerg
I have a problem with the Teamspeak functionnality. I get this error:
FastCGI sent in stderr: "PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 523800 bytes)"

I managed to find the line of code causing the problem:
$tsClientDbId = $ts3_VirtualServer->clientFindDb($tsUserUid, true); (functions_eveapi.php::eveapi_setTeamSpeakGroups)

I find it odd I'd have to setup a php_memory limit > 256M


EDIT: problem solved. I needed to grant permissions to admin query user
okcerg
Deafside
#113 - 2012-01-22 20:26:43 UTC
Is there a way to affect a teamspeak group to each forum group? I'd love to be able to do that but can't find how
Odysseus76
Deep Core Mining Inc.
Caldari State
#114 - 2012-01-25 14:44:14 UTC
Maybe I'm looking at this wrong, but I could swear this mod used to have the functionality that would allow you to have API calls for various things, such as if someone was a director, if so, move them to a usergroup defined for directors, same for other varying calls. Am I just overlooking something in the mod?
Norjia Blacksteel
Blacksteel Mining and Manufacturing
Renaissance Federation
#115 - 2012-01-28 18:54:38 UTC  |  Edited by: Norjia Blacksteel
okcerg wrote:
Great mod gratz to you Cyerus

Redragon wrote:
Clear new install Version: phpBB 3.0.10

I copyed all the files form the zip in the first post:
"new_files"
"pre_edit"

and ran the SQL on the phpbb DB from "sql"

I was able to add all the mods but now when I try to go to the Administration Control Panel I get this error:

Fatal error: Call to undefined function phpbb_version_compare() in /home/eveamp/public_html/forum/includes/acp/acp_main.php on line 419

Line 419 of forum/includes/acp/acp_main.php is: 'S_VERSION_UP_TO_DATE' => phpbb_version_compare(trim($latest_version_info[0]), $config['version'], '<='),

Please help


Problem doesn't come from the mod but from the bz2 package of phpBB. Download the 3.0.10 full package on zip format. Get the 2 files from that package and replace the old files from your server and it should work


I got the same error. I got the 3.0.10 zip format archive, and replaced acp_main.php and acp_update.php, and I get this error:

Fatal error: Call to undefined function phpbb_gmgetdate() in /www/forum/index.php on line 86

:(

ETA: replacing includes/functions.php seemed to work.
Cyerus
University of Caille
Gallente Federation
#116 - 2012-01-30 20:07:47 UTC
I'm in the process of updating this mod to phpBB 3.0.10.

However, I will release a new version of the mod for phpBB 3.0.9 first, which includes some fixes for TS and the fitting mod made by Nathan. XML will also be included, although I can't promise if it will work with AutoMOD (could use some testers on that front).

Stay tuned..
Dominartus
Viziam
Amarr Empire
#117 - 2012-02-05 15:40:14 UTC  |  Edited by: Dominartus
Hello Awesome MOD, I have managed to get it installed and ready but every time i upload the common.php file i get this error:

Quote:

Warning: require(./includes/startup.php) [function.require]: failed to open stream: No such file or directory in /home/dominant/public_html/mindstar-technology.net/forums/common.php on line 19

Warning: require(./includes/startup.php) [function.require]: failed to open stream: No such file or directory in /home/dominant/public_html/mindstar-technology.net/forums/common.php on line 19

Fatal error: require() [function.require]: Failed opening required './includes/startup.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dominant/public_html/mindstar-technology.net/forums/common.php on line 19


any help would be great and i know there isnt a file called startup.php ?
Cyerus
University of Caille
Gallente Federation
#118 - 2012-02-07 14:48:39 UTC
Donsig wrote:
Is it possible to add more than 5 groups to the auto purge immune list?

Been looking at the code, but I don't know a lot about php and the few tweaks I did myself didn't seem to do anything.


It's a bit hard to do on v5.1, so I've rewritten some code to make it alot easier in v5.2.
Once it's released, you'll have to edit includes/eveapi/functions_eveapi.php and change lines 13 thru 16 to your liking.


Mike Pron wrote:
Call me a ****** but, What folder do I place these files in.......


Place the files from new_files and pre_edit into the root of your forum installation.
The SQL files need to be imported into your forum database.


coldbadger wrote:
How can i increase the amount of corps that are on the corp list?!?

Any help on this would be amazing!!


Look at the top of this post ;)


Dominartus wrote:
Hello Awesome MOD, I have managed to get it installed and ready but every time i upload the common.php file i get this error:

Quote:

Warning: require(./includes/startup.php) [function.require]: failed to open stream: No such file or directory in /home/dominant/public_html/mindstar-technology.net/forums/common.php on line 19

Warning: require(./includes/startup.php) [function.require]: failed to open stream: No such file or directory in /home/dominant/public_html/mindstar-technology.net/forums/common.php on line 19

Fatal error: require() [function.require]: Failed opening required './includes/startup.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dominant/public_html/mindstar-technology.net/forums/common.php on line 19


any help would be great and i know there isnt a file called startup.php ?


I helped you ingame, but will reply here aswell to help other users with the same issue.

It seems that you have deleted includes/startup.php from your forum installation.
You'll have to reinstall a clean version of phpBB and make sure it runs, before attempting to install this MOD.
Cyerus
University of Caille
Gallente Federation
#119 - 2012-02-08 20:09:40 UTC  |  Edited by: Cyerus
Version 5.2 released!


Overall:
* Stability fixes for TS integration
* Ability to easily change the number of immunity groups (includes/eveapi/functions_eveapi.php, lines 13 thru 16)
* EVE fitting mod, including ingame linking (Nathan Wake's version, but updated to comply with BBcode rules)
* XML MOD-file re-added (But not tested with AutoMOD!)
...tons of stuff I always forget to mention!

Updates:
* PHEAL updated (0.0.14-dev -> 0.1.0)
* TeamSpeak 3 PHP Framework update (1.1.8-beta -> 1.1.11)
* SQL updated to Crucible 1.1 databasedump

Fixed:
* When changing another user's settings in the ACP resulted in the admin users permissions being changed. This has been fixed.
* Another user's EVE Avatar can now be set using the ACP.
* Some immunity groups were being ignored. Has been fixed.
* When you have an user on the forum, it shouldn't automaticly give him/her TS permissions aswell. By setting the TS group to 0, TS integration for that entity is disabled.
.....tons moar!


Be aware; This release is still made for phpBB 3.0.9.
An updated version for phpBB 3.0.10 will be released within a few days!

Download links can be found in the startpost.


Don't forget to reïmport the ACP modules, including the UCP -> Avatar one and clear cache!
Cyerus
University of Caille
Gallente Federation
#120 - 2012-02-09 01:37:18 UTC  |  Edited by: Cyerus
Version 5.3 released!


Overall:
* Updated for phpBB 3.0.10



If you have 3.0.7-PL1 or 3.0.8, follow these instructions:

  1. CREATE A BACKUP!
  2. Upload update_to_3_0_10.php to the root of your forum
  3. Browse to your-forum.com/update_to_3_0_10.php
  4. Click start and wait till it says: "DONE! You can now upgrade".
  5. Delete update_to_3_0_10.php from your forum
  6. Go to phpBB.com and download the automatic update package for the version you are using.
  7. Follow the phpBB installers instructions and upgrade your forum to version 3.0.10
  8. Once 3.0.10 is installed, you can go ahead and upload the files from new_files and pre_edit to the root of your forum
  9. Import all 4 sql files into the forums database (yes, that INCLUDES default.sql)
  10. Clear your forums cache
  11. Enabled the EVE API modules and be sure to disable/re-enable the UCP -> Avatar one.
  12. Configure the modules, and you should be good to go!



If you have 3.0.9, then follow these instructions instead:

  1. CREATE A BACKUP!
  2. Upload update_to_3_0_10.php to the root of your forum
  3. Browse to your-forum.com/update_to_3_0_10.php
  4. Click start and wait till it says: "DONE! You can now upgrade".
  5. Go to phpBB.com and download the automatic update package (3.0.9 to 3.0.10).
  6. Follow the phpBB installers instructions and upgrade your forum to version 3.0.10
  7. Once 3.0.10 is installed, browse to your-forum.com/update_to_3_0_10.php again
  8. Click start and wait till it says something like "Congratulations on repopulating your forum with API data."
  9. Delete update_to_3_0_10.php from your forum
  10. Upload the files from new_files and pre_edit to the root of your forum
  11. Import eveapi_items.sql, eveapi_systems.sql and eveapi_ships.sql into the forums database (that DOES NOT include default.sql)
  12. Clear your forums cache
  13. Enable the EVE API modules and be sure to disable/re-enable the UCP -> Avatar one.
  14. Configure the modules, and you should be good to go!




'Likes' are appreciated Cool