open All Channels
seplocked EVE Technology Lab
blankseplocked phpBB3 API Registration Mod v3+
 
This thread is older than 90 days and has been locked due to inactivity.


 
Pages: first : previous : ... 2 3 4 5 6 7 [8] 9 10 : last (10)

Author Topic

Saxxon Baru
Gallente
Menelaus Corp
Posted - 2011.03.08 12:27:00 - [211]
 

Nice but not working for me Confused

When i do add my API into my account setting and get error message:

Fatal error: Call to undefined function curl_init() in D:\EasyPHP\www\menelaus\includes\functions.php on line 27

Here line 27:
Quote:
$ch = curl_init();


P.s. just test on my localhost

Saxxon Baru
Gallente
Menelaus Corp
Posted - 2011.03.08 23:46:00 - [212]
 

nvm , just solved..

find a php.ini file:

;extension=php_curl.dll

remove ; and save it Very Happy

Drake Draconis
Minmatar
Shadow Cadre
Shadow Confederation
Posted - 2011.03.09 18:45:00 - [213]
 

OK...update took.

But I suspect something is funny funny with the API checking script.
The system is booting accounts known to be valid and OK.

Any way to verify that everything is ok?

Some sort of test or manual start to see if the system is successfully working?

FASTTRACKS0
Caldari
Aeon Illuminati
Posted - 2011.03.12 03:00:00 - [214]
 

Getting a blank page after api info entered and submitted at either initial registration or an update to the user profile in the ACP.

Fresh install of phpbb3 3.0.8 mod ver 4.4 downloaded yesterday. Followed all instructions.

Steps taken
*installed phpbb3 board.
*created test user (non-admin)
*verified users can create accounts and login
*no errors on the forum at all.
-
*Copied all from the pre_edit folder and merged with phpbb3 files.
*Copied all from new_files to phpbb3 directory.
*Logged into phpmyadmin and imported each sql file successfully; all (3).
*cleared phpbb3 cache files.

Issue: When a new user registers (entering api info) and submitting a blank page is displayed. The user also isn't registered nor are errors generated.

This is also the case for existing accounts when the api info is added to the user info in the acp.

Any ideas? Thanks.

Kerark
Posted - 2011.03.14 20:20:00 - [215]
 

Edited by: Kerark on 14/03/2011 20:20:02
Was there ever found a solution for subsilver2 based themes?

Or do I have to go get a prosilver based one? (Damn, I just tweaked this one to look nice)

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2011.03.15 18:18:00 - [216]
 

Edited by: Cyerus on 15/03/2011 18:18:26
Originally by: Drake Draconis
OK...update took.

But I suspect something is funny funny with the API checking script.
The system is booting accounts known to be valid and OK.

Any way to verify that everything is ok?

Some sort of test or manual start to see if the system is successfully working?


There is no manual testing. The only thing to do is to wait for user's input and have the cronjob output logged. You could on the other hand set up a test alt and add / remove him from corp to check if that works correctly, although that requires much patience.


Originally by: FASTTRACKS0
Getting a blank page after api info entered and submitted at either initial registration or an update to the user profile in the ACP.

Fresh install of phpbb3 3.0.8 mod ver 4.4 downloaded yesterday. Followed all instructions.

Steps taken
*installed phpbb3 board.
*created test user (non-admin)
*verified users can create accounts and login
*no errors on the forum at all.
-
*Copied all from the pre_edit folder and merged with phpbb3 files.
*Copied all from new_files to phpbb3 directory.
*Logged into phpmyadmin and imported each sql file successfully; all (3).
*cleared phpbb3 cache files.

Issue: When a new user registers (entering api info) and submitting a blank page is displayed. The user also isn't registered nor are errors generated.

This is also the case for existing accounts when the api info is added to the user info in the acp.

Any ideas? Thanks.


Have you set all the settings yet (user registration settings, avatar settings and server settings)? Did you delete all cache? Are you using the default prosilver theme?


Originally by: Kerark
Edited by: Kerark on 14/03/2011 20:20:02
Was there ever found a solution for subsilver2 based themes?

Or do I have to go get a prosilver based one? (Damn, I just tweaked this one to look nice)


Subsilver2 based themes work correctly, altho they need a bit more work compared to the prosilver ones. By that I mean that the Subsilver2 uses different html tags than Prosilver and hence need to be changed to match that.
Other then that, any subsilver2 / prosilver based template should work correctly.

Kerark
Posted - 2011.03.16 08:55:00 - [217]
 

Originally by: Cyerus

Subsilver2 based themes work correctly, altho they need a bit more work compared to the prosilver ones. By that I mean that the Subsilver2 uses different html tags than Prosilver and hence need to be changed to match that.
Other then that, any subsilver2 / prosilver based template should work correctly.


Could you (or anyone) please leave a guide for this? I can't seem to get my head wrapped around this.

So far I've managed to get the API boxes into the UCP, but they still don't show up during the registration process, thus disallowing new members.


Alucard Strat
Paragon Fury
Posted - 2011.03.16 09:46:00 - [218]
 

First of all good job. Package is almost perfect, tho it takes some level skill's to understand how it works and where what should be. (Thank god to good ERROR reporting)

I adapted this mod to our site g0ons.info/forum , it took me some time to get work but I still experience some problems. As I use custom theme I had to manually do the 4 file programming and move 2 new files via manual upload/copy to custom theme to get cron run perfectly. How ever I have few questions and maybe you can help me out.
  1. How often I should program cron run on: api_cron.php file?
  2. I experience follwoing error while trying to get Character avatar via ticking "Use Character Portrait:"

    Please visit your user settings to re-enable images.

Thank you for your time and reply at advance.

Tobe Confirmed
Minmatar
Sublime Geek Enterprises
Posted - 2011.03.21 04:15:00 - [219]
 

Originally by: Alucard Strat
First of all good job. Package is almost perfect, tho it takes some level skill's to understand how it works and where what should be. (Thank god to good ERROR reporting)

I adapted this mod to our site g0ons.info/forum , it took me some time to get work but I still experience some problems. As I use custom theme I had to manually do the 4 file programming and move 2 new files via manual upload/copy to custom theme to get cron run perfectly. How ever I have few questions and maybe you can help me out.
  1. How often I should program cron run on: api_cron.php file?
  2. I experience follwoing error while trying to get Character avatar via ticking "Use Character Portrait:"

    Please visit your user settings to re-enable images.

Thank you for your time and reply at advance.


Oddly enough, I get the same error. It seems that when the script is downloading jpg files for the avatars, it isn't properly forming them. Too tired to look into it so I will muck with it tomorrow.

Hopefully the creator has a fix :)

Tobe Confirmed
Minmatar
Sublime Geek Enterprises
Posted - 2011.03.22 10:19:00 - [220]
 

Edited by: Tobe Confirmed on 22/03/2011 10:20:42
btw Cyerus, do you have your source code sitting in a repo somewhere for people who want to test the bleeding edge?
And possibly even submit patches?

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2011.03.22 23:23:00 - [221]
 

Originally by: Tobe Confirmed
Originally by: Alucard Strat
First of all good job. Package is almost perfect, tho it takes some level skill's to understand how it works and where what should be. (Thank god to good ERROR reporting)

I adapted this mod to our site g0ons.info/forum , it took me some time to get work but I still experience some problems. As I use custom theme I had to manually do the 4 file programming and move 2 new files via manual upload/copy to custom theme to get cron run perfectly. How ever I have few questions and maybe you can help me out.
  1. How often I should program cron run on: api_cron.php file?
  2. I experience follwoing error while trying to get Character avatar via ticking "Use Character Portrait:"

    Please visit your user settings to re-enable images.

Thank you for your time and reply at advance.


Oddly enough, I get the same error. It seems that when the script is downloading jpg files for the avatars, it isn't properly forming them. Too tired to look into it so I will muck with it tomorrow.

Hopefully the creator has a fix :)


Avatars are fixed in version 4.5. Thought I already uploaded it, seems I was mistaken **sorry!!**.


Originally by: Tobe Confirmed
Edited by: Tobe Confirmed on 22/03/2011 10:20:42
btw Cyerus, do you have your source code sitting in a repo somewhere for people who want to test the bleeding edge?
And possibly even submit patches?


I haven't got any SVN up, I'm working from a local directory. After the changes are stable and working, I tag the differences using ExamDiff Pro (compare directories, newly bought license) and add them to the XML. I'm planning to work on options for standings- / faction warfare checking aswell, although put on a hold because of upcoming API changes.


Version 4.5 just released.
Changed files compared to 4.4;
includes\auth.php
includes\function_user.php

* Avatars are working correctly now
* api_update.php now correctly enables disabled accounts.

Tobe Confirmed
Minmatar
Sublime Geek Enterprises
Posted - 2011.03.22 23:31:00 - [222]
 

Originally by: Cyerus
Originally by: Tobe Confirmed
Originally by: Alucard Strat
First of all good job. Package is almost perfect, tho it takes some level skill's to understand how it works and where what should be. (Thank god to good ERROR reporting)

I adapted this mod to our site g0ons.info/forum , it took me some time to get work but I still experience some problems. As I use custom theme I had to manually do the 4 file programming and move 2 new files via manual upload/copy to custom theme to get cron run perfectly. How ever I have few questions and maybe you can help me out.
  1. How often I should program cron run on: api_cron.php file?
  2. I experience follwoing error while trying to get Character avatar via ticking "Use Character Portrait:"

    Please visit your user settings to re-enable images.

Thank you for your time and reply at advance.


Oddly enough, I get the same error. It seems that when the script is downloading jpg files for the avatars, it isn't properly forming them. Too tired to look into it so I will muck with it tomorrow.

Hopefully the creator has a fix :)


Avatars are fixed in version 4.5. Thought I already uploaded it, seems I was mistaken **sorry!!**.


Originally by: Tobe Confirmed
Edited by: Tobe Confirmed on 22/03/2011 10:20:42
btw Cyerus, do you have your source code sitting in a repo somewhere for people who want to test the bleeding edge?
And possibly even submit patches?


I haven't got any SVN up, I'm working from a local directory. After the changes are stable and working, I tag the differences using ExamDiff Pro (compare directories, newly bought license) and add them to the XML. I'm planning to work on options for standings- / faction warfare checking aswell, although put on a hold because of upcoming API changes.


Version 4.5 just released.
Changed files compared to 4.4;
includes\auth.php
includes\function_user.php

* Avatars are working correctly now
* api_update.php now correctly enables disabled accounts.


Cool. I'd like to set you up with Git. It'll make your life a lot easier.

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2011.03.22 23:46:00 - [223]
 

Never used GIT before, don't seem to be any Windows clients for it.
SVN is central based, so no local version control and hard to understand for the less-technical people.

So that brings us back to the current system we are using; pre-editted files and an XML for people with custom mods installed.

With this information, why change?

Dvorak Telemnar
Griffin Capsuleers
Ad-Astra
Posted - 2011.03.23 20:11:00 - [224]
 

Request/Suggestion

Have you considered making a "lite" version? Essentially only does the portrait and changes group membership depending on the characters corp/alliance with the option to disable accounts based on API calls that do not require a valid API such as https://api.eve-online.com/eve/CharacterInfo.xml.aspx?characterID=<CHAR_ID> ?

Also using "custom profile fields" and not changing any of the forum code or database? (I have a bastardised version of this on my forum for registration using the IGB which works well).

The 3 custom profile fields I use are "char_id", "char_corp" & "char_alliance" and the registration script adds a link to the character portrait from https://image.eveonline.com/Character/<char_id>_128.jpg which means any user portrait changes (CCP feature coming soon) are automagic :)

As I said, just an idea for a "lite" version for those who don't want/need all the bells & whistles :)

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2011.03.27 03:44:00 - [225]
 

Originally by: Dvorak Telemnar
Request/Suggestion

Have you considered making a "lite" version? Essentially only does the portrait and changes group membership depending on the characters corp/alliance with the option to disable accounts based on API calls that do not require a valid API such as https://api.eve-online.com/eve/CharacterInfo.xml.aspx?characterID=<CHAR_ID> ?

Also using "custom profile fields" and not changing any of the forum code or database? (I have a bastardised version of this on my forum for registration using the IGB which works well).

The 3 custom profile fields I use are "char_id", "char_corp" & "char_alliance" and the registration script adds a link to the character portrait from https://image.eveonline.com/Character/<char_id>_128.jpg which means any user portrait changes (CCP feature coming soon) are automagic :)

As I said, just an idea for a "lite" version for those who don't want/need all the bells & whistles :)


All the information we need is hidden behind the API keys. With the upcoming changes you mind be able to select which things fall under a key, removing the somewhat security issue of sharing more information then you want.
The IGB is very unsafe and cannot be trusted whatsoever. The extra information fields that the IGB has can easily be duplicated by a few lines of code.

I'm against hotlinking of images, and so is CCP. The image needs to be cached on your webserver for an X amount of days, so you might as well save the image and let the user update the character picture whenever changes are made to his/her character.

The fields I use in the database are pretty much the same as those you mention as being custom profile fields. Problem with phpBB's update script is that it doesn't like database mods, although I'm already working on a solution to that..

The current featureset of the MOD I already call "lite". ugh

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2011.03.27 03:56:00 - [226]
 

*** SECURITY RELEASE ***

Fixed a few security flaws consisting in the api_update.php process.
I urge you to update to v4.6 as soon as possible.

Changed files:
* includes/auth.php

Due to the nature of this bug, the "Anonymous" user *can* have API information attached to it, which can only be removed manually from the database. Also, update the groups of the "Anonymous" account, which should consist *only* of a group named "guests".

If you have any questions about this, send me an ingame mail.

Omnimushu Hirashi
Posted - 2011.03.27 17:27:00 - [227]
 

Edited by: Omnimushu Hirashi on 27/03/2011 18:54:42
Hi,

Installed a fresh install of PHPBB3.0.7 and installed this mod. Want to update to the latest phpbb but thought I'd test the mod first.

Tried adding the Admins api details and got the following error:

Fatal error: Call to a member function attributes() on a non-object in imperium-alliance.co.uk/beta/includes/functions_user.php on line 3505

Refreshed the page a couple of times and it worked. Got the exact same error trying to download the user avatar. And then the exact same error when a new member tries to register.

Line 3505 is as follows:

Quote:
$id = (string) $xml->result->rowset->row[0]->attributes()->characterID;


Any suggestions welcome.

Thanks

Edit: Fixed, was a cache problem. clearing the cache on the forums and on my PC resolved the issue.

Varrun
2plus2isfive
BricK sQuAD.
Posted - 2011.03.29 20:30:00 - [228]
 

Excellent mod it work perfectly.

Any plans on allowing more than one corp (not in allaince) to be able to register to different groups?

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2011.03.29 22:16:00 - [229]
 

Originally by: Varrun
Excellent mod it work perfectly.

Any plans on allowing more than one corp (not in allaince) to be able to register to different groups?


Yes, I plan to, but that's the only information I can currently give you.
With the upcoming changes to the API, I'll have to rethink whether or not using a framework to deal with the API details. On the other hand we have phpBB, I'm still waiting for some feedback on how to make certain features work.
When I have more information I'll let you know.

On another note; I can set up some kind of hard-coded multi-corp setup for a small fee. This will work just the same way, except for having to change the source code to change the corps rather than changing it in the control panel. Ofcourse you'll have to manually do this mod everytime I release a change to the files used.

Squizz Caphinator
Woopatang
Posted - 2011.03.30 13:43:00 - [230]
 

Edited by: Squizz Caphinator on 30/03/2011 13:43:20
wow.. the pain you guys are going through...

save yourself the hassle and use http://evechatter.com or just download SMF and use ESAM

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2011.03.30 23:44:00 - [231]
 

Originally by: Squizz Caphinator
Edited by: Squizz Caphinator on 30/03/2011 13:43:20
wow.. the pain you guys are going through...

save yourself the hassle and use http://evechatter.com or just download SMF and use ESAM


It is always fun to see troll replies like these.

P3k1
Posted - 2011.04.11 22:56:00 - [232]
 

Hello,

Just finished moving phpBB forum to new hosting and I'm having problems with avatars.
I only got the DB dump, so avatars were not moved from old forum.

Is there some php script or function that I can call to get all the users avatars?

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2011.04.12 00:18:00 - [233]
 

Originally by: P3k1
Hello,

Just finished moving phpBB forum to new hosting and I'm having problems with avatars.
I only got the DB dump, so avatars were not moved from old forum.

Is there some php script or function that I can call to get all the users avatars?


Each user can go to their respective User Control Panels and update their own avatars. There is no way to do that from the Admin Control Panel.

Kyle Cook
Posted - 2011.04.15 12:38:00 - [234]
 

Edited by: Kyle Cook on 15/04/2011 12:38:39
Hi,

Have to say amazing work, love it! I am having trouble putting the api_cron.php script into good use via the crontab though.

I installed a blank phpbb 3.0.8 forum, the latest mod and it all works, api validation etc and avatar linking ... the only thing is the cron script, which works just fine via a web browser but in cron I get this:

Quote:
Warning: include(./common.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 7

Warning: include(./common.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 7

Warning: include(): Failed opening './common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 7

Warning: include(.//includes/functions_messenger.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 8

Warning: include(.//includes/functions_messenger.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 8

Warning: include(): Failed opening './/includes/functions_messenger.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 8

Warning: include(.//includes/functions_user.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 9

Warning: include(.//includes/functions_user.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 9

Warning: include(): Failed opening './/includes/functions_user.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 9

Fatal error: Call to a member function session_begin() on a non-object in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 12



Any ideas/pointers? my webhost is clueless.

Cronabus
Cowboys and Beach Bums
Posted - 2011.04.15 15:29:00 - [235]
 

I have just installed the mod and it is wonderful, thank you for you dedication to this project. When I add an item or system with the tags, they show up like they are a link and have the information button. When I mouse over or click on either, nothing happens, is this working as intended? If it is, could it be made to link the item/system on the Wiki(http://wiki.eveonline.com/en/)?

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2011.04.15 17:10:00 - [236]
 

Originally by: Cronabus
I have just installed the mod and it is wonderful, thank you for you dedication to this project. When I add an item or system with the tags, they show up like they are a link and have the information button. When I mouse over or click on either, nothing happens, is this working as intended? If it is, could it be made to link the item/system on the Wiki(http://wiki.eveonline.com/en/)?


Use the ingame browser ugh

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2011.04.15 18:14:00 - [237]
 

Originally by: Kyle Cook
Edited by: Kyle Cook on 15/04/2011 12:38:39
Hi,

Have to say amazing work, love it! I am having trouble putting the api_cron.php script into good use via the crontab though.

I installed a blank phpbb 3.0.8 forum, the latest mod and it all works, api validation etc and avatar linking ... the only thing is the cron script, which works just fine via a web browser but in cron I get this:

Quote:
Warning: include(./common.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 7

Warning: include(./common.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 7

Warning: include(): Failed opening './common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 7

Warning: include(.//includes/functions_messenger.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 8

Warning: include(.//includes/functions_messenger.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 8

Warning: include(): Failed opening './/includes/functions_messenger.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 8

Warning: include(.//includes/functions_user.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 9

Warning: include(.//includes/functions_user.php): failed to open stream: No such file or directory in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 9

Warning: include(): Failed opening './/includes/functions_user.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 9

Fatal error: Call to a member function session_begin() on a non-object in /home/vtec/domains/vt-ec.co/public_html/forum/api_cron.php on line 12



Any ideas/pointers? my webhost is clueless.


The script is not meant to be a cronscript itself, it's meant to be run from browser.
You can circumvent this by making the cronjob run the script by using php binary.
In other words, to run the script every 12 hours by cronjob, use this;


00 00 * * * /usr/bin/php5 -q webdirectory/forum/api_cron.php
00 12 * * * /usr/bin/php5 -q webdirectory/forum/api_cron.php


Paths need to be changed to your situation ofc.

InSaNe ViRuS
Trojan Legion
Rogue Empire.
Posted - 2011.04.27 08:09:00 - [238]
 

I am having a problem with this mod. I have it downloaded but I have no clue how to upload the files into the forum.

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2011.04.28 16:50:00 - [239]
 

Originally by: InSaNe ViRuS
I am having a problem with this mod. I have it downloaded but I have no clue how to upload the files into the forum.


The same way you uploaded the phpBB files -> via ftp.

InSaNe ViRuS
Trojan Legion
Rogue Empire.
Posted - 2011.05.22 16:45:00 - [240]
 

Yup, I figured out the fact that I literally have to upload those files to the server. I was unaware of that fact. So it is installed now and works just fine. There was an issue of a member registering and getting an error saying the valid entry is to short but I fixed that. It works perfect, outstanding job!


Pages: first : previous : ... 2 3 4 5 6 7 [8] 9 10 : last (10)

This thread is older than 90 days and has been locked due to inactivity.


 


The new forums are live

Please adjust your bookmarks to https://forums.eveonline.com

These forums are archived and read-only