Author Topic: PUDS v0.2.7 - PayPal-ULX Donation System  (Read 331966 times)

0 Members and 2 Guests are viewing this topic.

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: PUDS v0.2.6 - PayPal-ULX Donation System
« Reply #105 on: January 14, 2014, 12:04:03 PM »
Decicus -  I can do that tomorrow, I don't have access to my computer tonight, I'm on my phone.
No problem. Take your time.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline Wully616

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 10
    • WullysGamers
Re: PUDS v0.2.6 - PayPal-ULX Donation System
« Reply #106 on: January 14, 2014, 12:06:27 PM »
Ok, tested on your site, and it works, so I am assuming this is a problem with my host. Don't worry about making that version, my friend wants a challenge. I will try a different host and see how it goes.

Ah cool thanks for letting me know, is there anything in error_log, might point to why your host isn't supporting it, php may have something disabled in its configuration. Then I could code in some compability


[/url]

Offline TheSabreSlicer

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: PUDS v0.2.6 - PayPal-ULX Donation System
« Reply #107 on: January 14, 2014, 12:19:57 PM »
No, it's not that, I just have a really ****ty host. I just tried doing it on a free host (x10), and it worked like a charm. I am looking forward to getting a better host  :P Thanks for the help  :D

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: PUDS v0.2.6 - PayPal-ULX Donation System
« Reply #108 on: January 14, 2014, 12:23:29 PM »
No, it's not that, I just have a really ****ty host. I just tried doing it on a free host (x10), and it worked like a charm. I am looking forward to getting a better host  :P Thanks for the help  :D
What's your gameserver host? I know a few gameserver hosts have free web hosting for one domain too.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline benjanmin112

  • Newbie
  • *
  • Posts: 16
  • Karma: -4
Re: PUDS v0.2.6 - PayPal-ULX Donation System
« Reply #109 on: January 14, 2014, 12:25:52 PM »
Benjamin -  have you put your steamapi key into login.php
Sabre -  I can certainly make a version without steam login.
Decicus -  I can do that tomorrow, I don't have access to my computer tonight, I'm on my phone.

My site is set up at Wullysgamers.co.uk/donate Sabre, it certainly works for me.

Yes I did I have the code here and it is my api key I got from steam:

<?php
ob_start();
session_start();
/////////////////////////////////////////
////////PUDS Config Installer////////////
//////Configuration//////////////////////
//Steam API Key//////////////////////////
$_STEAMAPI = "EDF2DDB85F9C275C2E1C6BFABDF3EDDB";
/////////////////////////////////////////

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: PUDS v0.2.6 - PayPal-ULX Donation System
« Reply #110 on: January 14, 2014, 12:35:47 PM »
You should probably not show the API key to the public eye, by the way. Even though it's not really that big of a deal on these forums, I don't think.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline benjanmin112

  • Newbie
  • *
  • Posts: 16
  • Karma: -4
Re: PUDS v0.2.6 - PayPal-ULX Donation System
« Reply #111 on: January 14, 2014, 12:39:52 PM »
Well ppl cant really use it to anything plus I can just get a new one easily.

Offline TheSabreSlicer

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: PUDS v0.2.6 - PayPal-ULX Donation System
« Reply #112 on: January 14, 2014, 01:00:14 PM »
What's your gameserver host? I know a few gameserver hosts have free web hosting for one domain too.

I don't use a GSP, I host my server on a VPS. It's much more cost effective ($12/mo with unlimited slots vs $20+/mo for ~25? Slots)

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: PUDS v0.2.6 - PayPal-ULX Donation System
« Reply #113 on: January 14, 2014, 01:08:12 PM »
I don't use a GSP, I host my server on a VPS. It's much more cost effective ($12/mo with unlimited slots vs $20+/mo for ~25? Slots)
Since you host it on a VPS, it might be better for you to dedicate your time to figure out how to host your own web server.
I can probably help you out if it's running on Windows (preferably Windows Server 2008), since I have some experience with that. Let's take that over PMs or something like that (if you want to do that), I feel like we've derailed this thread enough.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline benjanmin112

  • Newbie
  • *
  • Posts: 16
  • Karma: -4
Re: PUDS v0.2.6 - PayPal-ULX Donation System
« Reply #114 on: January 14, 2014, 01:11:06 PM »
@Wully616  I got one of my coders to look at these errors in one of the files and he thinks you are doing drugs

Offline benjanmin112

  • Newbie
  • *
  • Posts: 16
  • Karma: -4
Re: PUDS v0.2.6 - PayPal-ULX Donation System
« Reply #115 on: January 14, 2014, 01:19:08 PM »
Btw where did you even use this piece of code.

    function __construct($host)
    {
        $this->trustRoot = (strpos($host, '://') ? $host : 'http://' . $host);
        if ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off')
            || (isset($_SERVER['HTTP_X_FORWARDED_PROTO'])
            && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
        ) {
            $this->trustRoot = (strpos($host, '://') ? $host : 'https://' . $host);
        }

        if(($host_end = strpos($this->trustRoot, '/', 8 )) !== false) {
            $this->trustRoot = substr($this->trustRoot, 0, $host_end);
        }

        $uri = rtrim(preg_replace('#((?<=\?)|&)openid\.[^&]+#', '', $_SERVER['REQUEST_URI']), '?');
        $this->returnUrl = $this->trustRoot . $uri;

        $this->data = ($_SERVER['REQUEST_METHOD'] === 'POST') ? $_POST : $_GET;

        if(!function_exists('curl_init') && !in_array('https', stream_get_wrappers())) {
            throw new ErrorException('You must have either https wrappers or curl enabled.');
        }
    }
« Last Edit: January 14, 2014, 01:24:02 PM by benjanmin112 »

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: PUDS v0.2.6 - PayPal-ULX Donation System
« Reply #116 on: January 14, 2014, 02:58:57 PM »
@Wully616  I got one of my coders to look at these errors in one of the files and he thinks you are doing drugs

Nice way to tick off major contributors.

And anyway, if you have coders, tell then to fix it.
It's their job, isn't it?
« Last Edit: January 14, 2014, 03:04:02 PM by Neku »
Out of the Garry's Mod business.

Offline benjanmin112

  • Newbie
  • *
  • Posts: 16
  • Karma: -4
Re: PUDS v0.2.6 - PayPal-ULX Donation System
« Reply #117 on: January 14, 2014, 03:13:04 PM »
Well yes I have one coder I got for free so he is not the best he can on repair some and stuff so yeah

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: PUDS v0.2.6 - PayPal-ULX Donation System
« Reply #118 on: January 14, 2014, 03:15:46 PM »
Well yes I have one coder I got for free so he is not the best he can on repair some and stuff so yeah

In that case, he has no right to judge code.
Out of the Garry's Mod business.

Offline TheSabreSlicer

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: PUDS v0.2.6 - PayPal-ULX Donation System
« Reply #119 on: January 14, 2014, 09:11:12 PM »
Just a few suggestions:

Pointshop integration, so that it can add points.

Add a space between price and currency, I haven't been able to do that by editing code.

That's it for now. Maybe a simple webpage that can grab details from the MySQL database and display them in a list?