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

MJ Maverick
IronPig
Sev3rance
Posted - 2011.05.23 03:11:00 - [241]
 

Just curious, is there a demo of this anywhere? Or can someone provide some screenies or a link so I can see what it looks like? I don't surrently use PHPBB3

Faridi Dem
Brothers of Destiny
Phobia.
Posted - 2011.05.23 19:10:00 - [242]
 

Edited by: Faridi Dem on 23/05/2011 19:12:50
Edited by: Faridi Dem on 23/05/2011 19:10:16
ive updated to the newest version and i am getting the following error when i try to open the api_cron.php

Quote:
Fatal error: Call to a member function attributes() on a non-object in /www/htdocs/w006cac8/testing2/forum/includes/functions_user.php on line 3505


any ideas? rest is working

Awarga
Posted - 2011.05.25 19:33:00 - [243]
 

The download link isn't working? Crying or Very sad

Ayumikata
Posted - 2011.05.26 17:24:00 - [244]
 

Edited by: Ayumikata on 26/05/2011 21:05:12
Edited by: Ayumikata on 26/05/2011 17:43:54
I get that error when I tried logging off after installing this mod.

Something is up with the xml object in functions_user.php at line 3505.

$xml = simplexml_load_string(curl_file_get_contents($url));
$id = (string) $xml->result->rowset->row[0]->attributes()->characterID;


Bad structure access, bad types, or $xml isn't returned in the proper format.

EDIT: Ok ok! My bad, website was running on php 4, switched to php5 and the simplexml_load_string method worked (simplexml_load_string is only available in php5.2+), so who ever has a problem this, make sure you are using php 5.2+, which should be standard on every webhost. Call phpinfo(); to check the version and see if the simplexml module is loaded.

Nice plugin!

Is it possible to have a run-down of what happens in case the users either has not supplied a key (registered before validation) and what happens when a user has left the corporation/alliance.

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2011.05.27 23:42:00 - [245]
 

Originally by: MJ Maverick
Just curious, is there a demo of this anywhere? Or can someone provide some screenies or a link so I can see what it looks like? I don't surrently use PHPBB3


At this point no. I can make some screenshots of what it lookes like if you want -> send me an ingame mail.


Originally by: Faridi Dem
Edited by: Faridi Dem on 23/05/2011 19:12:50
Edited by: Faridi Dem on 23/05/2011 19:10:16
ive updated to the newest version and i am getting the following error when i try to open the api_cron.php

Quote:
Fatal error: Call to a member function attributes() on a non-object in /www/htdocs/w006cac8/testing2/forum/includes/functions_user.php on line 3505


any ideas? rest is working


I tried to contact you ingame, but for some reason it keeps saying "You are not allowed to contact this person.". Look at the previous post, perhaps this applies to you aswell.


Originally by: Awarga
The download link isn't working? Crying or Very sad


I have no problems with the link.


Originally by: Ayumikata
...

Nice plugin!

Is it possible to have a run-down of what happens in case the users either has not supplied a key (registered before validation) and what happens when a user has left the corporation/alliance.



It depends on what your settings are. I can give you a rundown if you can tell me what settings your are using (either here or per evemail).

I'm planning on updating my blog to include changes and fixes on this mod. Hopefully, I will be able to create a simple grid (like Excel) to compare settings with outcome. It's on the to-do list, but can't give an estimate.

Awarga
Posted - 2011.05.28 23:48:00 - [246]
 

The link doesn't work in chrome as it points too http://eve-it.org/phpBB+API+MOD+4.6.zip as opposed to http://eve-it.org/phpBB%20API%20MOD%204.6.zip which is the actual location. Not sure if its particular to the version I am using or what but for reference thats why I couldn't get too it.

Nathan WAKE
Caldari
Osiris Entreprises
Posted - 2011.05.29 11:05:00 - [247]
 

Hello there,

I've installed this mod many many times, over the previous versions, both local and live sites, and I always got it to work, thanks to you all and this thread.

This time it's for real, and I set-it up on a brand new forum for my corp.

Everything went smooth, no problem at all but...

When accessing the "user control panel -> profile -> edit avatar -> ticked the download buton -> submit" I get this message :

Quote:
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 3538: file_put_contents(images/avatars/upload/263c3b34b1a9508e833f9c3c470860b0_2.jpg) [function.file-put-contents]: failed to open stream: No such file or directory


That's the first time I encounter this one, and I'm a bit lost.

I saw that message in one of the previous post, but don't remember finding a solution to it.

Here are details about the forum
- phpbb 3.08
- api mod 4.6
- avatar enabled / eve avatar enabled / avatar uploading enabled
- no problem when registering user ID and limited API Key
- untouched groups in phpbb settings
- images/avatars/upload and images/avatars/gallery folders set to CHMOD 777 (just in case)
- EvE avatar size set to medium 128x128
- maximum avatar size set to largely enough
- all groups avatar size set to max 256x256 (don't remember where, but saw in this thread i was needed)

and I can't get it to work.

I anyone has a clue, it would be very much appreciated.

And thank's for the awsome work Cyerus.

Nathan Wake / Osiris Entreprises

Nathan WAKE
Caldari
Osiris Entreprises
Posted - 2011.05.29 11:08:00 - [248]
 

forgot to had the message On the avatar page :

Quote:
It was not possible to determine the dimensions of the image.
The submitted avatar is 0 pixels wide and 0 pixels high.
Avatars must be at least 128 pixels wide and 128 pixels high, but no larger than 256 pixels wide and 256 pixels high.

Faridi Dem
Brothers of Destiny
Phobia.
Posted - 2011.05.30 11:44:00 - [249]
 

nope, i couldnt fix the problem...it still shows the same error...i had the "blocked all unkwon contancts" on a few days ago. i will also try to get you ingame

Kisame Hirashi
Posted - 2011.06.03 11:04:00 - [250]
 

Hi there,

installed a fresh version of PHPBB 3.08 and installed your mod as per the instructions. All seemed to install fine, activated the mod and set it to alliance, but when a new user tries to register or I try and add my own api key, all we're getting is 'API key is invalid'.

Any suggestions?

StyphonUK
Caldari
Fearless Bandits
Fearless Bears
Posted - 2011.06.03 23:20:00 - [251]
 

Hi, I've just done a fresh install of this, copied all the files over in the new files and pre edit folders and imported the three sql files but when importing the first 1 I get the following error:
SQL query:

# EVE API start
ALTER TABLE phpbb_users ADD COLUMN api_userid VARCHAR( 10 ) NOT NULL DEFAULT '' AFTER user_form_salt;

MySQL said: Documentation
#1060 - Duplicate column name 'api_userid'


What's up?

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2011.06.04 02:05:00 - [252]
 

Originally by: Nathan WAKE
...


Can you tell me if line 3525 in file 'includes/function_user.php' equals

$input = 'http://image.eveonline.com/Character/' . $id . '_256.jpg';


Also, can you doublecheck that the character you are trying to get the portrait on has filled in correct and working API settings?


Originally by: Faridi Dem
nope, i couldnt fix the problem...it still shows the same error...i had the "blocked all unkwon contancts" on a few days ago. i will also try to get you ingame


I'm not sure what problem you have on the forum, to figure it out I would have to see it for myself. Perhaps we can schedule a TeamViewer session?


Originally by: Kisame Hirashi
Hi there,

installed a fresh version of PHPBB 3.08 and installed your mod as per the instructions. All seemed to install fine, activated the mod and set it to alliance, but when a new user tries to register or I try and add my own api key, all we're getting is 'API key is invalid'.

Any suggestions?


There are two possible outcomes;
1 - The API are indeed invalid
2 - The user is not authorised to create an account using the settings you have set. Be sure to have entered the exact corporation / alliance name (capitals, punctuations).


Originally by: StyphonUK
Hi, I've just done a fresh install of this, copied all the files over in the new files and pre edit folders and imported the three sql files but when importing the first 1 I get the following error:
SQL query:

# EVE API start
ALTER TABLE phpbb_users ADD COLUMN api_userid VARCHAR( 10 ) NOT NULL DEFAULT '' AFTER user_form_salt;

MySQL said: Documentation
#1060 - Duplicate column name 'api_userid'


What's up?


It appears you have either executed the SQL file twice, or you used a database which was already filled with data.

StyphonUK
Caldari
Fearless Bandits
Fearless Bears
Posted - 2011.06.04 09:37:00 - [253]
 

Edited by: StyphonUK on 04/06/2011 10:51:45
Originally by: StyphonUK
Hi, I've just done a fresh install of this, copied all the files over in the new files and pre edit folders and imported the three sql files but when importing the first 1 I get the following error:
SQL query:

# EVE API start
ALTER TABLE phpbb_users ADD COLUMN api_userid VARCHAR( 10 ) NOT NULL DEFAULT '' AFTER user_form_salt;

MySQL said: Documentation
#1060 - Duplicate column name 'api_userid'


What's up?


It appears you have either executed the SQL file twice, or you used a database which was already filled with data.


Ah, yea. It's a different error to the first time I ran it. The first three columns the file asks to be created are created fine. If you remove those from the SQL file and try to run the rest I get this error:

SQL query:

# EVE API start
INSERT INTO phpbb_config( config_name, config_value )
VALUES (
'eve_avatars', '0'
);

MySQL said: Documentation
#1062 - Duplicate entry 'eve_avatars' for key 1


OK, I've managed to get all the SQL information in (I deleted the table, restored the backup and did it again, worked first time). However now when I try and register a character when you click submit it just reloads the registration page without the captcha but with the form still filled in. Clicking submit again just keeps reloading that page.

StyphonUK
Caldari
Fearless Bandits
Fearless Bears
Posted - 2011.06.04 11:17:00 - [254]
 

Originally by: StyphonUK

OK, I've managed to get all the SQL information in (I deleted the table, restored the backup and did it again, worked first time). However now when I try and register a character when you click submit it just reloads the registration page without the captcha but with the form still filled in. Clicking submit again just keeps reloading that page.


The problem was the name didn't match any of the account names, so the mod is working, however it needs to throw an error instead of just returning to the page with no instructions as to why the account isn't being created.

Nathan WAKE
Caldari
Osiris Entreprises
Posted - 2011.06.05 09:15:00 - [255]
 

Originally by: Cyerus


Can you tell me if line 3525 in file 'includes/function_user.php' equals

$input = 'http://image.eveonline.com/Character/' . $id . '_256.jpg';


Also, can you doublecheck that the character you are trying to get the portrait on has filled in correct and working API settings?



Hello Cyerus,

Thank you for your answer.

Yes, the line is exactlly as you stated, and the character has typed-in correct credentials, because everything else is working properly - members have the correct access and visitors have their own.

The only thing is (and it might be nothing) :

$input = 'http://image.eveonline.com/Character/' . $id . '_256.jpg';

is on line 3523 and not 3525. I think I am using the latest version (downloaded on the first topic of this thread v4.6)

How could I help you more investigate that problem ?

Nathan

StyphonUK
Caldari
Fearless Bandits
Fearless Bears
Posted - 2011.06.05 18:09:00 - [256]
 

Edited by: StyphonUK on 05/06/2011 21:05:37
Edited by: StyphonUK on 05/06/2011 19:34:24
Not sure whether the mod is causing this or not but never seen this happen on a forum before. Users have the correct permissions (checked the masks for the user groups and everything) to edit and delete posts yet they cannot. The buttons don't appear and if you manually browse to the page it says they don't have permission. I have no idea what is happening to stop the masks from being applied properly and just want to cover all the bases. Does this mod edit the users permissions in any way?

EDIT: It's the mod. Setup a test forum, copied everything over then removed the mod and the edit/delete buttons started working. Why would the mod stop people editing their posts?

Nathan WAKE
Caldari
Osiris Entreprises
Posted - 2011.06.08 20:04:00 - [257]
 

Never mind Cyerus, my mistake on that one :

The message :

Quote:
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 3538: file_put_contents(images/avatars/upload/263c3b34b1a9508e833f9c3c470860b0_2.jpg) [function.file-put-contents]: failed to open stream: No such file or directory


was my fault : I installed Joomla and PHPBB and bridged them with the rockettheme bridge.

When installed, this bridge creates a "forum" folder (hosting the bridge files), and a "distribution" folder (where the actual folder is located).

Your mod was looking for images/avatars/upload in the wrong directory. But you couldn't guess that.

That being solved, I still have the

Quote:
It was not possible to determine the dimensions of the image.
The submitted avatar is 0 pixels wide and 0 pixels high.
Avatars must be at least 128 pixels wide and 128 pixels high, but no larger than 256 pixels wide and 256 pixels high.


problem.

Any clue or part of this thread I'd missed ?

Thanks

Nathan

Pardus Aeon
Gallente
Galnet Genesis
Posted - 2011.06.10 17:18:00 - [258]
 

Hey, sorry if this was already asked up further in the thread but I've been playing around with setting this up and have an issue. All was good until I tried to actually register with some API info. A always get the message The API information you entered was invalid. This happens even with valid creds.
Any suggestions on where to start with the troubleshooting? It would be cool to be able to get this working soon, I'm going to be talking about setting up forums in my next podcast and would really like to mention this mod along with it if I get it running.



StyphonUK
Caldari
Fearless Bandits
Fearless Bears
Posted - 2011.06.13 17:14:00 - [259]
 

Originally by: Pardus Aeon
Hey, sorry if this was already asked up further in the thread but I've been playing around with setting this up and have an issue. All was good until I tried to actually register with some API info. A always get the message The API information you entered was invalid. This happens even with valid creds.
Any suggestions on where to start with the troubleshooting? It would be cool to be able to get this working soon, I'm going to be talking about setting up forums in my next podcast and would really like to mention this mod along with it if I get it running.




First thing make sure the name they sign up with matches their in game name exactly.

Pardus Aeon
Gallente
Galnet Genesis
Posted - 2011.06.14 00:44:00 - [260]
 

I knew it had to be something simple. The names didn't match. Thanks for the tip, the mod works nicely now.

Ryans Revenge
Gallente
Drunken Wookies
BricK sQuAD.
Posted - 2011.06.14 16:30:00 - [261]
 

How do I apply this to a different style? Tried copying the files over the other style and doesn't work. IDLaunch Black style

Nathan WAKE
Caldari
Osiris Entreprises
Posted - 2011.06.18 09:29:00 - [262]
 

Originally by: Ryans Revenge
How do I apply this to a different style? Tried copying the files over the other style and doesn't work. IDLaunch Black style


When beginning your installation, you'll see a list o files to edit.

There are common files to have nothing to do with your styles / templates :

  • adm/...

  • include/...

  • language/...



These files can be simply edited (or replaced if you do not have installed other mods)


For the files contained in :
  • style/prosilver/template/...


Some of these files are overridden by your specific style / template.


  • If you find some of the stated files in your style/IDLaunchBlack/... modify them

  • If you can not find these files in your specific template folder, it means the prosilver default files apply, and then has to be modified



After you have done that :

  • go to ACP -> Styles -> Templates and refresh

  • go to ACP -> Styles -> Themes and refresh

  • go to ACP -> General and purge your cache



If, in any case you find the stated files to be modified in both your template folder AND in the prosilver folder, I'd say try to modify both and that should do it (worked for me when I had a doubt - not very clean but...)

Hope it helps

Nathan

PS : When installing this mod, I always install it on a "blank" forum, without any mod or style / template, to make sure it works. Then, step by step, I install all the other things I need and modify only the overridden default files.

Nathan WAKE
Caldari
Osiris Entreprises
Posted - 2011.06.18 09:31:00 - [263]
 

To Cyerus

Forgot to mention publicly that your intervention helped me solve all my problems. It works like a charm !!

Thanks again.

Chears

Nathan

Nuramori
Amarr
Drama Llamas
Posted - 2011.06.19 05:11:00 - [264]
 

Perhaps a bit tangential, but I was wondering if you could assist/add some functionality. What you have now works superbly and I thank and applaud you for your efforts.

I was wondering if you knew of, or could/would add to this validator the ability to also modify rights to teamspeak. While I know it's not directly relevant to phbb3, many of us that play eve use either TS2/3 or vent, and want to also manage access there.

Your validator is excellent and well done - and forums tend to be the FIRST step in gaining membership to a corp and alliance, so having one check point makes not only sense but eases the burden of managing things. So what would be great is if once your validator authenticates a member it not only sets rights on the forum, but also runs thru the client ID on the teamspeak DB and registers them there. Basically an addition of the teamspeak API thing that MJ Maverick has put out.

Just a thought since forums and comms go hand in hand with Eve gaming.

Vevalius Kion
Posted - 2011.06.22 20:29:00 - [265]
 

Edited by: Vevalius Kion on 22/06/2011 21:11:26
Edited by: Vevalius Kion on 22/06/2011 20:51:07
bit of a problem...

would be good if you could edit your API info somewhere... or add it if the account doesn't have it already!

Important: The mod blocks admins from changing their username (even though they don't have their API on their account... and that is because there is nowhere to add it to a current account).
Users also inform me they are unable to create an account at all due to "invalid api information".

Also a feature request:

Having pepole sign up from the corp would be put in one usergroup and if people sign up from the alliance they get put in another usergroup.

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2011.06.23 00:45:00 - [266]
 

Originally by: StyphonUK
The problem was the name didn't match any of the account names, so the mod is working, however it needs to throw an error instead of just returning to the page with no instructions as to why the account isn't being created.


Will be fixed in the next verison, thanks for the TeamViewer session.


Originally by: Nathan WAKE
To Cyerus

Forgot to mention publicly that your intervention helped me solve all my problems. It works like a charm !!

Thanks again.

Chears

Nathan


No problem Nathan. Both of his problems were fixed, had to do with his hybrid Joomla / phpBB setup.


Originally by: Nuramori
Perhaps a bit tangential, but I was wondering if you could assist/add some functionality. What you have now works superbly and I thank and applaud you for your efforts.

I was wondering if you knew of, or could/would add to this validator the ability to also modify rights to teamspeak. While I know it's not directly relevant to phbb3, many of us that play eve use either TS2/3 or vent, and want to also manage access there.

Your validator is excellent and well done - and forums tend to be the FIRST step in gaining membership to a corp and alliance, so having one check point makes not only sense but eases the burden of managing things. So what would be great is if once your validator authenticates a member it not only sets rights on the forum, but also runs thru the client ID on the teamspeak DB and registers them there. Basically an addition of the teamspeak API thing that MJ Maverick has put out.

Just a thought since forums and comms go hand in hand with Eve gaming.


I can't say anything more then that it will be implemented in the soon future. However, this will be limited to TS 3 and Mumble, since TS 2 and Ventrilo don't support API scripted calls.
Version 5 of the MOD will be the best one yet!


Originally by: Vevalius Kion
bit of a problem...

would be good if you could edit your API info somewhere... or add it if the account doesn't have it already!

Important: The mod blocks admins from changing their username (even though they don't have their API on their account... and that is because there is nowhere to add it to a current account).
Users also inform me they are unable to create an account at all due to "invalid api information".

Also a feature request:

Having pepole sign up from the corp would be put in one usergroup and if people sign up from the alliance they get put in another usergroup.


The ability to change (or add) API details on accounts is build it. "User Control Panel" -> "Profile" -> "Edit account settings". Adminwise, you can find it at the users profile using the Admin Control Panel.

Users should be able to change their usernames, if you have that option enabled in phpBB.

Opiboble Inte
Hard Rock Mining Co.
The Jagged Alliance
Posted - 2011.06.24 05:37:00 - [267]
 

thanks!

TheBooky
Posted - 2011.06.24 15:32:00 - [268]
 

Might I suggest that you change the comparisons to ID's rather than names since differences in spelling could take a few days of pain for new users. The only reason I realized that it was wrong is I had it echo the 2 values and it saw Of != of.

Cyerus
Galactic Dominion
Eternal Strife
Posted - 2011.06.28 17:40:00 - [269]
 

Originally by: TheBooky
Might I suggest that you change the comparisons to ID's rather than names since differences in spelling could take a few days of pain for new users. The only reason I realized that it was wrong is I had it echo the 2 values and it saw Of != of.


I will not be using the IDs (don't feel like implementing unnecessary steps), but I will change the checks to be lower case. In other words; Both the API gathered Corp/Alliance Name and the one filled in on the AdminCP will be transformed to lowercase, then checked against eachother.

Hope that will suffice.

TheBooky
Posted - 2011.06.29 22:34:00 - [270]
 

Edited by: TheBooky on 29/06/2011 23:26:04
I hope you don't mind but on mine I just went ahead and changed it to ID's anyways as well as removing curl requirements as it annoyed me as my php said I could use it but it never worked. Another thing I would want is the cron to actually save the log rather than echo it.

as far as bugs, my admin panel does not allow me to change api information for any users and since they can't login unless they have a activated account then its impossible to change it


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