Pages: 1 2 3 4 5 [6] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Ulthary Chinmay
Imperial Academy Amarr Empire
0
|
Posted - 2011.10.22 16:41:00 -
[151] - Quote
MisterMagotchi wrote: There's a basic program plan, and I may soften on the idea eventually, but I don't feel like implementing the feature, given the things I said above and that I don't like the added complexity.
i hope you pick to make it anyway since im not that good with coding, like i dont know how to do it xD, but would really love you if you made it :) |
Ulthary Chinmay
Imperial Academy Amarr Empire
0
|
Posted - 2011.10.23 14:12:00 -
[152] - Quote
Quote:EDIT 2011-10-22: Apparently corp/MemberTracking.xml.aspx requires a Corporation API key to even work. I didn't notice that. There may be another way to get that info out, though.
If CEO puts in the Corp key then it could cache directors char ID's and auto place them in the 2nd group when they enter a char API i guess |
Sjet Idahon
Lost Souls Continuum United Pod Service
0
|
Posted - 2011.10.24 21:03:00 -
[153] - Quote
Will it be possible to add users to a CHANNELgroup? I will create Corp only Channels on my Server in which the other Corps of my Allianz are not able to join. With the Right System of Teamspeak, this is only able with Channelgroups, not with Servergroups. |
MisterMagotchi
B4D W0LF B4D W01F
10
|
Posted - 2011.10.25 06:59:00 -
[154] - Quote
I don't have any plans to add channel groups, but I will spend some time looking into it, and if it's not very difficult to add, I may just do it. Don't count on it, though. |
Eugene Spencer
Rodents of Unusual Size
11
|
Posted - 2011.10.26 08:40:00 -
[155] - Quote
Hello!
In the next version, would it be possible to remove the styling from index.php and stick it in a seperate CSS file? It'll make modifying the styles easier :)
Thanks!
Eugene I have a specific comb for my beard. |
MisterMagotchi
B4D W0LF B4D W01F
10
|
Posted - 2011.10.26 21:39:00 -
[156] - Quote
In what way would it be easier: upgrading purposes only or for some other reason? As it's just one uninterrupted block of CSS code, and it only relates to that one page/script, it seems logical to me for it to be in the script itself. If it's that you believe it will make upgrades easier, as I don't change the CSS often between different versions, you're right, but copying one block of CSS of your custom CSS into the file every time you upgrade it doesn't seem like a big issue to me, and I believe keeping it simple outweighs the benefit of not having to do that. |
Gaitrie
DPB Corporation
0
|
Posted - 2011.10.26 23:02:00 -
[157] - Quote
Great work on this mod for Eve.
My provider is using an older version of php (yes... I know :-) )
I have followed the guide and installing and changing the config files. I have replaced all items in the config.inc.php. I created the link and then I just get a blank page... so no idea what I am doing wrong.
Also have a question for entries in the config.inc.php file - below are the first couple lines of the TS3 setup.
//Teamspeak 3 connection settings $config['TS Server']['Server'] = 'localhost'; //If not localhost, your TS server will need to whitelist your web server. $config['TS Server']['Port'] = 9987; //Port for the virtual server you want to manage. Default is 9987 $config['TS Server']['SQ Port'] = 10011; //Default is 10011 $config['TS Server']['SQ Username'] = 'serveradmin'; $config['TS Server']['SQ Password'] = 'mytssqpassword'; $config['TS Server']['Script Nickname'] = 'EVE Registration Bot'; //If over 30 characters, TS connection will fail.
As in my case (older php) I need to replace all text in bold with my details and leave the ' ' in place. But why do the ports (9987 and 10011) do not have the ' ' ?
And does anyone have the setup files for a php5.2 so I can compare and see what is changed to get this to work.
|
MisterMagotchi
B4D W0LF B4D W01F
10
|
Posted - 2011.10.26 23:27:00 -
[158] - Quote
If you're getting a blank page when you visit index.php "eg. http://example.com/eve-api-reg/", check your Apache error log (or other places where PHP errors are shown on your host), and see if there are any errors being generated for the script.
The config.inc.php file doesn't need to be edited any differently for those with an older version of PHP than 5.3.
The reason that the config. options composed solely of numbers don't have quotes is because they don't need them. In this case, the script would work identically even if you did put single or double quotes around those port numbers. In more technical terms, I'm assigning them as integers, but PHP is weakly typed, and therefore even though I plan to use the numbers in a string context later in the code, I'm not required to specify them as strings ahead of time. With non-numeric text, though, if I didn't put quotes around it, PHP would assume I was referring to the name of a constant.
If you need some help working through these problems, if you want to give me your TS3 info in a mail, and I can likely help get it figured out. It also helps me to find unexpected bugs or compatibility issues that I wouldn't otherwise notice on my own system. |
Gaitrie
DPB Corporation
0
|
Posted - 2011.10.26 23:44:00 -
[159] - Quote
Got it working - now see the Eve API screen. Problem was database not correct, had an additional space and found that out by chekcing the error text file.
Took me like 3 hours :-)
Now the problem I see now is that I am on a windows hosting setup - so how do I setup a cron job as I googled and do not see an option to set it up in windows environment |
MisterMagotchi
B4D W0LF B4D W01F
10
|
Posted - 2011.10.27 01:28:00 -
[160] - Quote
I don't know what Windows hosts provide as a cron equivalent. Basically you need a scheduled task to run the PHP5 executable with that check-users.php script. Locally, this would probably look something like "php.exe C:\path_to_website_root\eve-api-reg\check-users.php". Alternatively, you could allow web access to it (with the assumption it's even blocked, as you're probably not using Apache as your web server, so the .htaccess file is probably doing nothing), and you could remotely access it via the web from another machine via a Scheduled Task or cron job (there are many cron job services if you Google that sort of thing), probably using cURL, or if you really wanted to, through a web browser. There are actually quite a few ways to do it, but all of them would take some explaining, and I really don't want to take the time to support this on Windows. PHP on Windows is somewhat of an unholy abomination in the first place.
A popup saying, "Error getting API data from EVE server." likely means neither the cURL extension for PHP is loaded nor the allow_url_fopen option is available. |
|
Gaitrie
DPB Corporation
0
|
Posted - 2011.10.27 06:28:00 -
[161] - Quote
Well then need to talk with the hosting provider. Great app and keepup the good work :-) |
Gaitrie
DPB Corporation
0
|
Posted - 2011.10.27 14:24:00 -
[162] - Quote
MisterMagotchi wrote:A popup saying, "Error getting API data from EVE server." likely means neither the cURL extension for PHP is loaded nor the allow_url_fopen option is available.
Have checked with my provider and they have both the cURL and the allow_url_fopen active and enabled. Now do I need to have the cron setup before I can register a user ? |
MisterMagotchi
B4D W0LF B4D W01F
10
|
Posted - 2011.10.27 20:48:00 -
[163] - Quote
No, but you'll need to adjust your path to the PHP5 executable for your system (toward the bottom of the config.inc.php file). This will depend on your provider, and will probably involve "php.exe". |
Gaitrie
DPB Corporation
0
|
Posted - 2011.10.27 21:21:00 -
[164] - Quote
Hmm weird - did not have that part :-) redownloaded the files again and it works now |
venomkid
1 percent Club
0
|
Posted - 2011.11.03 01:36:00 -
[165] - Quote
I'm getting the following when i navigate to the registration page
Error: You are not logged in on the forums. Please do so and then try to register again.
im guessing its not linking to the fourm page correctly or something cause im most definetly logged into the fourm page...also does this have to be in the fourm folder? like /www/fourm/eve-api-reg/
or can it be in its own folder liker /www/eve-api-reg/
not sure what i did wrong..followed the setup guide maby i missed something -.- |
MisterMagotchi
White Powder
10
|
Posted - 2011.11.03 02:14:00 -
[166] - Quote
It has to be served on the same exact domain/hostname as the forums. For example, if your forums are on the hostname "www.example.com", maybe "www.example.com/forums/", the script would need to be somewhere on "www.example.com", maybe "www.example.com/reg-script/". There are no restrictions on its placement other than sharing the same exact hostname.
The error you're seeing means the script properly connected to the phpBB3 database and got the cookie name it uses, but when it checked for that cookie name on your computer for the domain on which it was running, it either didn't find it, or it found it, but upon checking the session timestamp for the cookie in the database, it thought it was expired. I assume it's the first thing: it's likely having trouble finding the cookie with that name.
If you would like, you can send me a mail or email with your TS3 details, and I can help you through it. |
venomkid
1 percent Club
0
|
Posted - 2011.11.03 03:04:00 -
[167] - Quote
Its at the exact same hostname. And could it be because the website is locally hosted?? So while its looking for bassetthosting.us.to its finding 192.168.1.40..... and i Sent you a eve msg. |
MisterMagotchi
White Powder
10
|
Posted - 2011.11.04 03:32:00 -
[168] - Quote
As I've mentioned before to others, it's not easy (without more API requests or periodic caching combined with a corporate key, and therefore a lot of changes to the code and how it works) to make it so Directors/CEOs are treated differently than regular users.
For your situation, the only reason I can see this mattering to you is if you have a specific icon for, say, ACME corp and another icon for ACME-Officers, or if you show the group names in front of each person's name. For the icons, it shouldn't be a big deal to have both. For the names, that's a limitation of how this works, I agree, but I don't care. You'll have to not show the name for the officers, shorten one or both names, or live with it. Regarding permissions, it should be no problem to grant everyone in ACME a certain set of common permissions and then grant everyone in ACME-Officers an extra set of permissions to add to or replace the others. |
crashchick
Perkone Caldari State
0
|
Posted - 2011.11.09 08:49:00 -
[169] - Quote
Hey all, I installed the scripted and modified the config what i wish but cant get it to run
When i log into the admin site i get
Warning: session_start() [function.session-start]: open(/home/users/web/b1298/ipg.eveowgcom/cgi-bin/tmp/sess_be0264c4b287ca8d34fe847721f5f789, O_RDWR) failed: No such file or directory (2) in /hermes/bosweb/web129/b1298/ipg.eveowgcom/eve-api-reg/admin/index.php on line 5
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /hermes/bosweb/web129/b1298/ipg.eveowgcom/eve-api-reg/admin/index.php:5) in /hermes/bosweb/web129/b1298/ipg.eveowgcom/eve-api-reg/admin/index.php on line 5
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hermes/bosweb/web129/b1298/ipg.eveowgcom/eve-api-reg/admin/index.php:5) in /hermes/bosweb/web129/b1298/ipg.eveowgcom/eve-api-reg/admin/index.php on line 5
Password:
Warning: Unknown: open(/home/users/web/b1298/ipg.eveowgcom/cgi-bin/tmp/sess_be0264c4b287ca8d34fe847721f5f789, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/home/users/web/b1298/ipg.eveowgcom/cgi-bin/tmp) in Unknown on line 0
any idea? |
crashchick
Perkone Caldari State
0
|
Posted - 2011.11.09 20:39:00 -
[170] - Quote
crashchick wrote:Hey all, I installed the scripted and modified the config what i wish but cant get it to run
When i log into the admin site i get
Warning: session_start() [function.session-start]: open(/home/users/web/b1298/ipg.eveowgcom/cgi-bin/tmp/sess_be0264c4b287ca8d34fe847721f5f789, O_RDWR) failed: No such file or directory (2) in /hermes/bosweb/web129/b1298/ipg.eveowgcom/eve-api-reg/admin/index.php on line 5
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /hermes/bosweb/web129/b1298/ipg.eveowgcom/eve-api-reg/admin/index.php:5) in /hermes/bosweb/web129/b1298/ipg.eveowgcom/eve-api-reg/admin/index.php on line 5
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hermes/bosweb/web129/b1298/ipg.eveowgcom/eve-api-reg/admin/index.php:5) in /hermes/bosweb/web129/b1298/ipg.eveowgcom/eve-api-reg/admin/index.php on line 5
Password:
Warning: Unknown: open(/home/users/web/b1298/ipg.eveowgcom/cgi-bin/tmp/sess_be0264c4b287ca8d34fe847721f5f789, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/home/users/web/b1298/ipg.eveowgcom/cgi-bin/tmp) in Unknown on line 0
any idea?
nm I got it lol
some how my cgi-bin folder was deleted so created a new one and protect it ^^
epic fail |
|
MisterMagotchi
NUTS AND BOLTS MANUFACTURING F0RCEFUL ENTRY
11
|
Posted - 2011.11.09 21:20:00 -
[171] - Quote
Nice. I'm glad you got it figured out. |
Subsparx
Crimson Serpent Syndicate
0
|
Posted - 2012.01.05 04:42:00 -
[172] - Quote
I'm running in to a couple issues myself. The first was an issue with it loading the characters just like the previous person had. I was able to resolve that issue by commenting out the curl code as follows:
Quote:$api_url = 'https://api.eveonline.com/account/APIKeyInfo.xml.aspx?keyID=' . $_POST['Key_ID'].'&Vcode=' . $_POST['Key_Ver_Code']; //if (extension_loaded('curl')) { // $api_handle = curl_init($api_url); // curl_setopt($api_handle, CURLOPT_RETURNTRANSFER, TRUE); // if (!($api_xml = curl_exec($api_handle)) or curl_getinfo($api_handle, CURLINFO_HTTP_CODE) != 200) { // die(json_encode(array('error' => 'Error getting API data from EVE server.'))); // } // curl_close($api_handle); //} //else { $api_xml = file_get_contents($api_url) or die(json_encode(array('error' => 'Error getting API data from EVE server.'))); //}
Once that was done it correctly pulled up my character list so I'm guessing there was an issue with curl. The next issue occured shortly afterwards. I am getting the error "Error connecting to EVE API server to verify corporation membership. Please try again later." now after hitting register. However if I put in the url manually that it should be generating I can see character info in the XML page including my corporation ID. Any suggestions on how I can modify the code to make this work? I'm guessing it's another curl issue.
EDIT: Confirmed a curl issue. I disabled the module and it started working through the api_xml method. I don't need curl on any other websites so this will work just fine for me. |
Fly
Deep Core Mining Inc. Caldari State
0
|
Posted - 2012.01.22 01:54:00 -
[173] - Quote
I have problems with recieving char lists after entering API Key ID and Verification Code.
Checkbox is disabled with text "Loading. Please wait..."
no errors in errors.txt log :(
Point pls - what have i to check?
TY
P.S. Editing files like posted in previous message didn't help. |
Gary Hagon
Angry Hobos Interstellar Hobos
0
|
Posted - 2012.01.22 21:33:00 -
[174] - Quote
Magotchi, any chance of adding alliance support?
Some of the alliances in our colation have a TON of corps, so you could see the use of that...
Why not make a simple bool.
333333333 => array(13, 15, 0), //ACORP
0 for corp and 1 for alliance? |
MisterMagotchi
NUTS AND BOLTS MANUFACTURING F0RCEFUL ENTRY
13
|
Posted - 2012.01.31 19:56:00 -
[175] - Quote
I'm sorry I haven't been around the forums to help with things lately. Gary: I don't plan to add support for alliances, as that would add an extra HTTP call on each check.
Fly: I don't know if you're still having the problem or if you've moved on, but make sure you check your PHP and web server error logs to see if the problem might be mentioned there. The errors.txt won't show you everything. It's primarily meant for errors in everyday checks once it's up and running.
Again, if people want my attention, they need to email me. I haven't been playing EVE much lately, but I'm still willing to support people on this. |
|
|
|
Pages: 1 2 3 4 5 [6] :: one page |
First page | Previous page | Next page | Last page |