Ulysses Stuff > Ulysses Release Archives

PUDS v0.2.7 - PayPal-ULX Donation System

<< < (19/41) > >>

Wully616:

--- Quote from: TheSabreSlicer on January 13, 2014, 03:25:16 PM ---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

--- End quote ---

admin.php should have your steam64 ID. The current version on github is broken. Well fixed now..hopefully :)
I've fixed the donate button too :P must of got corrupted haha.


I've uploaded a new version: https://github.com/Wully616/PUDS/archive/master.zip please test it.
I have fixed the install.php and configs save properly and the /donate/index.php is displaying donation options correctly again.

Instructions:
Upload as normal to your web directory.
edit login.php and put your steam dev key at the top of the file.
Navigate to yoursite.com/donate/install.php
It will ask you to login through steam to add you as an admin, so login.
You will be redirected to a page that says your are not admin and to log in - this is a minor bug I need to fix. Just log out and log in again.
The config page will now be displayed.
Configure your settings for your server.
Click save at the bottom of the page.
Click logout near the top when you're finished.

I'd recommend testing with the paypal sandbox when testing yoursite.com/donate/index.php

Log files are stored in yoursite.com/donate/log/

Its just after midnight so I'll be going to bed now but please post your results in the thread :P

TheSabreSlicer:
I completely deleted everything off my webserver, and reinstalled PUDS. I can get to the login screen, but when I login with Steam, it redirects me right back to the login screen again with no success. An infinite loop :P

Neku:
Did you mess with the PUDS files?
Did you install ULX + ULib?

Did you try restarting it?

Wully616:

--- Quote from: TheSabreSlicer on January 13, 2014, 04:55:46 PM ---I completely deleted everything off my webserver, and reinstalled PUDS. I can get to the login screen, but when I login with Steam, it redirects me right back to the login screen again with no success. An infinite loop :P

--- End quote ---

When you log in for the first time, it should redirect you and say "Hello, $friendlyName You are not admin! Please login as admin."
You then need to click logout and log in again so it updates and lets you view the install page.

The other issue could be permissions, what permissions have you set the files to on your web server. admin.php and config.php should be 644 everything else 755

TheSabreSlicer:

--- Quote from: Wully616 on January 14, 2014, 05:02:52 AM ---When you log in for the first time, it should redirect you and say "Hello, $friendlyName You are not admin! Please login as admin."
You then need to click logout and log in again so it updates and lets you view the install page.

The other issue could be permissions, what permissions have you set the files to on your web server. admin.php and config.php should be 644 everything else 755

--- End quote ---

I get what you mean, but it doesn't do that. It just redirects back to the login screen with the same message, and no "Hello." I have tested it on 2 webservers.

Here is mine: www.piedmontmc.net/gmod/donate/install.php
And the other one my friend is hosting: http://lugservo.no-ip.biz/testdonate/install.php

I will double check the file perms, but I think they are correct.

EDIT: Yes, the file perms are correct, everything except for admin and config are 755, admin and config are 644. Still not working.

EDIT 2: My host is a piece of ****, so today I will try and see if I get different results using some free hosts. I plan to switch hosts anyways soon, we'll see when I do that as well. This is so annoying (and I don't think it's your fault, Wully).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version