|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Demitrios
Di-Tron Heavy Industries BricK sQuAD.
|
Posted - 2010.10.12 08:06:00 -
[1]
I'm getting that problem when trying to change someone's api, IE, they change their api, so i go to change it in the acp and it tells me its invalid, even though when i run it through evemon, its fine.
i end up having to manually edit the DB in order to change it, after that its fine.
|
Demitrios
Di-Tron Heavy Industries
|
Posted - 2010.12.22 18:14:00 -
[2]
How do you stop this message from coming up when doing an api_cron, "Succesful -> Non-Member override".
The person its showing up on is someone thats left, and it isnt making them inactive.
Any ideas?
Thanks,
Demi
|
Demitrios
Di-Tron Heavy Industries
|
Posted - 2010.12.24 00:46:00 -
[3]
http://eve-it.org/phpBB%20API%20MOD%204.2.zip
Same one thats in the first post of the thread.
|
Demitrios
Di-Tron Heavy Industries
|
Posted - 2010.12.25 01:47:00 -
[4]
Edited by: Demitrios on 25/12/2010 01:50:59 Fixed my problem, needed to disable "Allow non-member registration", this then puts non corpies into the non corp group.
Going to check how this affects people that join the fourm to post in the recruitment section.
EDIT:
Character is not a member of the corporation "Di-Tron Heavy Industries"
So i'd say this is a bug, as it overrides putting the person in the non member group, and the only fix is to disable non corp registerations.
Thanks for the mod :).
Demi
|
Demitrios
Di-Tron Heavy Industries
|
Posted - 2010.12.25 02:41:00 -
[5]
Edited by: Demitrios on 25/12/2010 02:45:35 DEMI HAX!
In /includes/functions_user.php
Quote: switch($config['api_validation']) { case 1: $corp = (string) $xml->result->corporationName; if($corp == $config['api_entity']) { cronlog("Succesful", $row['username']); eveapi_accountmgt($row, true, 0); return true; } else { if(!$config['api_nm_register']) { cronlog("User not part of correct corporation", $row['username']); eveapi_accountmgt($row, false, 6); return false; } else { cronlog("Succesful -> Non-Member override", $row['username']); eveapi_accountmgt($row, false, 0); return true; // original line eveapi_accountmgt($row, true, 0);
} }
Quote:
if($nr == 5) { //disabling account //cronlog("Disabling account", $row['username']); //$sql = "UPDATE " . USERS_TABLE . " //SET user_type = '1', user_inactive_reason = '" . $nr . "', user_inactive_time = '" . time() . "' //WHERE user_id = '" . $row['user_id'] . "'"; //$db->sql_query($sql); //cronlog("Account disabled", $row['username']); }
I also quoted out the disable account part, as i want to keep people on the forum in the "peon" area, this now allows me to allow non corp registrations AND move people into the non members group that have left.
|
Demitrios
Di-Tron Heavy Industries
|
Posted - 2010.12.25 04:46:00 -
[6]
Edited by: Demitrios on 25/12/2010 04:49:25
Originally by: Cyerus
Originally by: Demitrios Edited by: Demitrios on 25/12/2010 01:50:59 Fixed my problem, needed to disable "Allow non-member registration", this then puts non corpies into the non corp group.
Going to check how this affects people that join the fourm to post in the recruitment section.
EDIT:
Character is not a member of the corporation "Di-Tron Heavy Industries"
So i'd say this is a bug, as it overrides putting the person in the non member group, and the only fix is to disable non corp registerations.
Thanks for the mod :).
Demi
I don't understand what you mean exactly. The whole concept of the non-members registration is to allow everybody who has working API information to register on the forums. People without an EVE account, basicly without valid API information, will still not be able to create an account if the API mod is enabled. On the other hand, who of that group would ever use this mod.
So that brings us back. I've scatched different situations and on what the current outcome should be. Please tell me which situation you use(d) and if the outcome you got matches the one on my list.
Situations scatch -> http://eve-it.org/situations.png
The problem i was getting was that people that have left the corp, were still being kept in the member group, when i would prefer them to be moved into the non member group as the person may have left corp to move stuff in hisec during a wardec. It use to make them inactive, which was fine, but now theres more wiggle room in the code, it might as well dump non corp people into the public group. The only way i was able to get the mod to downgrade an account was disabling non member registrations, which means people who wanted to join the corp via the forums couldnt join as they arent in the corp.
So in the picture you linked, none of them would be right for what i've hacked together, as i would like either option 6 or 7, but with user A.
Thanks for replying on xmas day :),
Demi
|
Demitrios
Di-Tron Heavy Industries
|
Posted - 2010.12.28 20:05:00 -
[7]
Also, when running the api cron, it seems to dump some people who have valid api's and who are in corp into the non member group.
Not sure why, ill try and get it to do it some how.
Demi
|
Demitrios
Di-Tron Heavy Industries
|
Posted - 2010.12.29 11:11:00 -
[8]
Think i figured out what it was, i was running the api check on the hour, every hour, so the API check saw the server running, then half way through, the api server shutdown, failing the rest of the api checks.
Now onto the next oddity, if you have a member that registered while out of corp, and then joined the corp, on my board it is not adding the members group. All it says on the API CRON page is Sucsessful and does nothing else, trying to see where in the code it does this, but all i can see is removing groups, not adding.
Any Ideas?
Demi
|
Demitrios
Di-Tron Heavy Industries Atlas.
|
Posted - 2011.01.12 19:25:00 -
[9]
Edited by: Demitrios on 12/01/2011 19:27:55
Originally by: Drake Draconis Still cannot update my forums DB or files or the Mod due to a paradox with the update itself. I would appreciate help because this patch closes some security holes. Reinstalling the DB would be unacceptable. I got 170 Members + who would not like having to re-do the whole damn account business.
Go through with the update, telling it to trash all the modifications, then re-add them after its installed.
Was the only way i could make sure i was getting the new version of phpbb.
You can thank the lazy guys at phpbb for not making a propper modding system like EDK for this. (editing core core = pants on head ******ed)
Plus i spoke to him on Sunday, and he was busy at looking at the code to fix the bugs, so he hasnt gone mia, just afk :).
|
Demitrios
Di-Tron Heavy Industries Atlas.
|
Posted - 2011.01.12 19:30:00 -
[10]
Originally by: Steph Wing Is this mod not compatible with some themes? I can't get it to work with any except the default Prosilver.
You need to read up (1st or 2nd page iirc), it tells you what theme files you need to edit, as the API text box's aren't in the theme you are trying to use (phpbb's modding system ftw...).
|
|
Demitrios
Di-Tron Heavy Industries Atlas.
|
Posted - 2011.01.15 05:58:00 -
[11]
Edited by: Demitrios on 15/01/2011 05:58:52 I'm sorry, i have re-read my post 5 times, and at no point do the words "skip that" come up, not even by them selves scattered around the place.
What i said was, when you are given the option to merge, scrap/overwrite or ignore/dont update, you tell it to scrap the changes, ie, delete your edited files and put the new ones in.
THEN, you have to re-add all the mods. it might moan about the fact there are 2 extra things in the user db (api data), but you deal with that the best way you see fit.
Thats the way i updated the forum while keeping all the data intact without having a "db crash".
Also, if you want help with updating phpbb, i suggest going to their support forum, and while you are there, join what ever threadnaughts you can find about the lack of a modding engine :)
|
Demitrios
Di-Tron Heavy Industries Atlas.
|
Posted - 2011.01.15 23:01:00 -
[12]
Do a backup, and try the script.
|
Demitrios
Di-Tron Heavy Industries Atlas.
|
Posted - 2011.01.16 17:38:00 -
[13]
Is anyone else having fun with the api server recently?
Just logged on after seeing the ts3 checker failed to run, checked the forum and it booted everyone to the non member group.
Its not a problem with the mod, but it looks like the api server is timing out on me.
Anyway, im taking the cron job off till after the patch :)
|
Demitrios
Di-Tron Heavy Industries Atlas.
|
Posted - 2011.01.22 18:03:00 -
[14]
Did you import the SQL file into the database?
|
Demitrios
Di-Tron Heavy Industries Atlas.
|
Posted - 2011.01.31 11:04:00 -
[15]
Try it in the eve browser and it will/should work.
In a normal browser, it has nothing to link to.
|
Demitrios
Di-Tron Heavy Industries Atlas.
|
Posted - 2011.02.04 17:58:00 -
[16]
Originally by: Carl Rannseier Edited by: Carl Rannseier on 17/07/2010 03:13:30 Edited by: Carl Rannseier on 17/07/2010 03:02:08 @ Gerin Tell: I can't help ya here, i think for this you have to ask Cyerus. I actually think that you have to do all the work again cos he has rewritten pretty much all of the code so it might be easier setting it up from scratch again.
@DiLantius: You have to update your board template if you want those functions to work properly. The mod ships with the prosilver template only so this is the only one that actually works when you initially install it. The files that need to be modified are:
- prosilver based templates
- posting_buttons.html
- ucp_avatar_options.html
- ucp_profile_reg_details.html
- ucp_register.html
- subsilver2 based templates
- posting_buttons.html
- ucp_profile_avatar.html
- ucp_profile_reg_details.html
- ucp_register.html
You can tell what style was used to create the one you are using by looking up those files in the "phpbb/styles/<your_style>/template" folder. check if there is either ucp_avatar_options.html (prosilver) or ucp_profile_avatar.html (subsilver2). To check this you can simply use the acp, go to the styles tab -> templates -> edit the style you are using. there you get a dropdown box that offers you all files within that template. you can also modify it there althouh a proper editor would perform better.
If it is prosilver based then simply follow the steps that can be found in the install_api_registration_4.0.xml file. it's well structured and easy to read. For a subsilver based style i don't have any instructions ready but you can contact me ingame and we can figure out how to get your board running correctly with this mod.
|
|
|
|