Jump to content

mrrsm

Members
  • Posts

    179
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by mrrsm

  1. I did some brief searching and could find any threads even though I thought this was talked about before.

     

    There should be a way to print out a current statement for a customer.  For example if they have 2 invoices, 1 is partially paid, I should be able to print out a statement that shows the total from both invoices minus the amount paid and the total they owe.

     

    I looked in reporting and couldn't find anything either although I would figure I would find this on the clients page in the admin section.

  2. I think that there are good ideas here, it seems like the main issue may be in support as you may want to hire support people to manage all the companies at once.

    If the support manager could combine all of the relevant customer data for the companies they have permission to see they could manage everything in one place. 

     

    Personally I would want to have billing, transactions, etc separate but having the combined support would be useful.

    Edit: maybe even a special support plugin for multi-brand installs to do this

  3. I think is better to change in file like we do right now than retriving all from the registrar :)

     

    Maybe we just need an extra option on the Registrar Module to easy add/remove TLD's :)

     

    We will add that option to InternetBS, Enom and LogicBoxes Modules in one or two weeks from now :)

    What benefit does manually adding them rather than using the api to get the current list that they offer have?

    If you use the api you know they are valid, if you do them manually they may not be valid (or you still should validate them with the api).

  4. You do realize this can't work using your PGP key-ring, right? You would have to give Blesta the full server path to the SSH private key that exists on your Blesta server. That means the private key can't be encrypted...

     

    So... still want to +1 this? :ph34r:

    In theory you could store the private key in the database and that would be just as secure as storing the password there. (Assuming it is encrypted) 

    My ssh is already locked down to known ip's via firewall and my backup user is very locked down as to what they can do anyways.

  5. This is my full nginx conf on my dev install

    server {
            listen 80;
            server_name DOMAIN;
    
            access_log PATH;
            error_log PATH;
    
            root PATH;
    
            index index.php;
    
            # serve static files directly
            location ~* \.(jpg|jpeg|gif|css|png|js|ico|html)$ {
                   access_log off;
                   expires max;
            }
    
            # enforce NO www
            if ($host ~* ^www\.(.*))
            {
                    set $host_without_www $1;
                    rewrite ^/(.*)$ $scheme://$host_without_www/$1 permanent;
            }
    
            # catch all
            error_page 404 /index.php;
    
            location ~ \.php$ {
                    fastcgi_index   index.php;
                    fastcgi_pass    php;
                    include         fastcgi_params;
                    fastcgi_param   SCRIPT_FILENAME     $document_root$fastcgi_script_name;
                    fastcgi_param   SCRIPT_NAME         $fastcgi_script_name;
            }
    
            location / {
                    server_tokens off;
                    client_max_body_size 20m;
                    client_body_buffer_size 128k;
                    try_files $uri $uri/ /index.php?$args;
            }
    
    }
    
    

    My fastcgi_params had a small change as well

    fastcgi_param  QUERY_STRING       $query_string;
    fastcgi_param  REQUEST_METHOD     $request_method;
    fastcgi_param  CONTENT_TYPE       $content_type;
    fastcgi_param  CONTENT_LENGTH     $content_length;
    fastcgi_param  HOSTNAME           $hostname;
    
    fastcgi_param  SCRIPT_NAME        $fastcgi_script_name;
    fastcgi_param  REQUEST_URI        $request_uri;
    fastcgi_param  DOCUMENT_URI       $document_uri;
    fastcgi_param  DOCUMENT_ROOT      $document_root;
    fastcgi_param  SERVER_PROTOCOL    $server_protocol;
    fastcgi_param  HTTPS              $https if_not_empty;
    
    fastcgi_param  GATEWAY_INTERFACE  CGI/1.1;
    fastcgi_param  SERVER_SOFTWARE    nginx/$nginx_version;
    
    fastcgi_param  REMOTE_ADDR        $remote_addr;
    fastcgi_param  REMOTE_PORT        $remote_port;
    fastcgi_param  SERVER_ADDR        $server_addr;
    fastcgi_param  SERVER_PORT        $server_port;
    #fastcgi_param  SERVER_NAME        $server_name;
    fastcgi_param  SERVER_NAME        $host;
    
    

    I don't see any other changes I may have made.

  6. Here is my \.php section  and basic rewrite section.  These are working for me.  I would post my entire config but it is huge right now as I have a lot of other directives for other things as well.  If this doesn't help I can look a bit more after lunch and make a basic nginx config.

        location ~ \.php$ {
            try_files $uri =404;
            # Tweak for Nginx to work with PHP from vendors
            fastcgi_split_path_info ^(.+\.php)(/.+)$;
            # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
            fastcgi_connect_timeout 60;
            fastcgi_send_timeout 180;
            fastcgi_read_timeout 180;
            # Buffer settings increase to compensate for increased time/size due to SSL
            fastcgi_buffer_size 128k;
            fastcgi_buffers 4 256k; #
            fastcgi_busy_buffers_size 256k;
            fastcgi_temp_file_write_size 256k;
            fastcgi_intercept_errors on;
            fastcgi_pass php;
            fastcgi_index index.php;
            include fastcgi_params;
        }
    
        location / {
            error_page     404 = @blesta; #IF file doesn't exist
            log_not_found  off;
        }
    
        #Core rewrite
        location @blesta {
            rewrite ^(.*)$ /index.php last;
        }
    
  7. (Partial) payments after invoice has been issued

     

    If customers have problems paying their bills in full, make partial payments, and have problems keeping track of how much is left to pay, the proper way would be to send them a separate account statement listing transactions and outstanding balance.

    Not append later information to an invoice issued previously.

     

    I really like this idea and believe you should open this as a separate feature request. (Otherwise I may do it next week).  Being able to email/print an account statement as a customer or for a customer would be very useful.

×
×
  • Create New...