Ulysses Stuff > Ulysses Release Archives

PUDS v0.2.7 - PayPal-ULX Donation System

<< < (18/41) > >>

TheSabreSlicer:
I presume you are talking about the forms not filling out, correct?

Wully616:
I apologise guys, my knowledge of php is limited, I'm still learning. There is a issue with how the web based config interprets the ranks/commands/prices and I'm trying to fix it.

I have implemented sessions so you can actually log in/ log out and it wont make you sign in again whenever you click save/load for the config.

I'm sorry about the quality of PUDS right now, I come home from work and try to fix things people have e-mailed me then end up breaking stuff because I don't have proper time to test. So this time please be patient as I'm working through all the issues. I will get a stable working version up as soon as I can. Then I will go from there.


Edit**
Fixed the issue where the donation choices on the donation page were being put on the one line.

Edit 2**
Setting up a local garrysmod server so I can test this properly. Config writing and the donation page is working. Testing the donation page on PayPals sandbox now, won't get far as I dont have a gmod server to rcon to, however I will be able to see if its posting the ipn.

TheSabreSlicer:
Do you mind posting a list of the current issues being worked on?

I have a friend who is knowledgable in php, we were trying to fix some of the problems I mentioned earlier.

Also, what does exactly go into admin.php?

Wully616:

--- Quote from: TheSabreSlicer on January 13, 2014, 02:41:58 PM ---Do you mind posting a list of the current issues being worked on?

I have a friend who is knowledgable in php, we were trying to fix some of the problems I mentioned earlier.

Also, what does exactly go into admin.php?

--- End quote ---

Tonight i've fixed the majority of the install.php and implemented a proper login/logout system.
There was some issues with how the install script grabbed the form data and saved it to the config and then allowed it to be displayed within the form again for editing. But this appears to be fixed now.

The only other major issue is the e-mail messages cant accept variables within the form, such as $rank/$steamid/$fee, i'll need to just code a parser so it can replace specific strings such as buyer_steamid with the variables when the payment is processed.

Other than that i'm just testing the logging of the process, two logs will be created in /log/ puds.log and ipn.log.
I will need to make the logging a bit more verbose so things can be interpreted easier.

Then i'll need to test the script is still correctly connecting to rcon and adding the user etc - I haven't edited any of that part of the script, so it shouldn't be broke :P. Just the config stuff I've been messing up haha.

I'll upload a commit to a dev branch in a little while and post the link here, you guys can let me know if it is working any better.

TheSabreSlicer:

--- Quote from: Wully616 on January 13, 2014, 03:10:15 PM ---Tonight i've fixed the majority of the install.php and implemented a proper login/logout system.
There was some issues with how the install script grabbed the form data and saved it to the config and then allowed it to be displayed within the form again for editing. But this appears to be fixed now.

The only other major issue is the e-mail messages cant accept variables within the form, such as $rank/$steamid/$fee, i'll need to just code a parser so it can replace specific strings such as buyer_steamid with the variables when the payment is processed.

Other than that i'm just testing the logging of the process, two logs will be created in /log/ puds.log and ipn.log.
I will need to make the logging a bit more verbose so things can be interpreted easier.

Then i'll need to test the script is still correctly connecting to rcon and adding the user etc - I haven't edited any of that part of the script, so it shouldn't be broke :P. Just the config stuff I've been messing up haha.

I'll upload a commit to a dev branch in a little while and post the link here, you guys can let me know if it is working any better.

--- End quote ---

What about admin.php? I haven't been able to get it to work as of now. I have tried putting my steam username, Steam64 ID, and normal Steam ID; none have worked and I still get the "not logged in as admin" error. Also have you confirmed that there is a problem getting Steam details when logging in? As mentioned above, I can login with Steam, and it grabs my info, but it is not inserted into the SteamID and Name text boxes, nor does it appear in PayPal.

Also, on a more "casual" note, I think the image you are using for the PayPal button is corrupted. It gets weird towards the bottom. You can see it on GitHub, so it's not a problem with my individual button. https://raw.github.com/Wully616/PUDS/master/donate/paypal-donate.gif

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version