Show Posts


Messages - onyxnz

Pages: [1] 2
1
General Discussion / Re: Code of Conduct Proposal
« on: March 27, 2017, 04:08:07 PM »
You are welcome! Thanks for Abantecart!  8)

2
General Discussion / Re: Code of Conduct Proposal
« on: March 27, 2017, 02:57:24 PM »
Agreed, we don't need to shout...  ;D
Also would be a good idea to have it less hidden, eg Putting a link up beside the top right navigation , along with the link to Forum rules http://forum.abantecart.com/index.php/topic,2717.0.html
And maybe an" Accept Code of Conduct" tick box for new registrations? That way nobody can feign ignorance of the way we should be treating one another here.

4
General Discussion / Code of Conduct Proposal
« on: March 27, 2017, 01:57:11 PM »
Please check out this proposal for a "Code of Conduct" for these forums. Suggestions and alterations of course are welcome.
Quote
Code of Conduct

As Bill and Ted reminded us, “Be excellent to each other!”



Be respectful of all members at all times. This means please use etiquette and politeness. Treat people with kindness and gentleness. If you do this the rest of the code of conduct won't need more than a cursory mention.

By registering and participating in ABANTECART Forum discussions you agree to this Code of Conduct. If you are unable to agree you have the right not to participate in forum discussions at any time.

This is your community. Most people have a common sense feel for what is and what is not appropriate in a forum and you folks generally do a great job of policing yourselves. We do, however, need to have a few set policies for everyone to refer to when the need arises.

While the administrators and moderators of this forum will attempt to remove or edit any generally objectionable material as quickly as possible where acceptable, it is impossible to review every message. Therefore you acknowledge that all posts made to these forums express the views and opinions of the author and not the administrators, moderators or web-master (except for posts by these people) and they will not be held liable.

You agree not to post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated material or any other material that may violate any applicable laws. Doing any of these may lead to you being temporarily or permanently banned from these forums (and your service provider may also be informed). Your IP address is collected, as is your method of connection, including operating system and browser.

No warranty is expressed nor implied regarding this service. It is open sourced community responding to each other. Please join us to help us make this the best place you can for discussing ABANTECART.
[/size]

5
Yes, everyone deserves another chance.

But for the development of community I think a standard of behaviour needs to be laid down, to say what is not acceptable...otherwise chaos reigns.

How about a sticky topic that addresses the behaviour required on the board, so those who are less mature know that they cannot get away with childish behaviour, as it affects others, particularly in FOSS where everything is volunteered!

I volunteer to hack something together if you wish...

6
General Discussion / Re: Forum NOTIFY
« on: March 17, 2017, 01:03:19 PM »
Thanks, didn't see them earlier.

For others to recognise:
Click Profile > Modify Profile > Notifications
Here you can set options as to how POSTS are notified to you.

7
Installation and Configuration / Re: NGINX configuration
« on: March 17, 2017, 07:57:08 AM »
So, with the addition of dev-version's config, we have this:
Code: [Select]
server {

        listen 80;
        server_name mydomain.com;

        access_log /path/to/logs/abantecart.log;
        error_log /path/to/logs/abantecart_error.log ;

        # root is AbanteCart's public_html directory
        root /path/to/htdocs/abantecart;
        index index.php index.html index.htm;

        # Prevent directory listing
        autoindex off;

        # rules applied in root of our config
        location / {

                # include AbanteCart rules
                try_files $uri $uri/ $uri.php @abantecart_rules;

                # php settings (may differ on your server)
                location ~ \.php$ {
                        #fastcgi_pass unix:/var/run/php5-fpm.sock;
                        fastcgi_pass   127.0.0.1:9001;
                        #fastcgi_index index.php;

                        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                        fastcgi_param SCRIPT_NAME     $fastcgi_script_name;

                       

                        include fastcgi_params;
                }

        }

        # rewrites our query strings properly for AbanteCart
        location @abantecart_rules {
                rewrite ^(.*)\?*$ /index.php?_route_=$1 last;
        }

        # No direct access allowed for .tpl files
        location ~ \.tpl {
                deny all;
        }
        ### Abantecart Settings ###
    location = /favicon.ico {
        log_not_found off;
        access_log off;
    }
    location = /robots.txt {
        allow all;
        log_not_found off;
        access_log off;
    }
    # Make sure files with the following extensions do not get loaded by nginx because nginx would
    # display the source code, and these files can contain PASSWORDS!
    location ~* \.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$|\.php_ {
        deny all;
    }
    # Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS_Store (Mac).
    location ~ /\. {
        deny all;
        access_log off;
        log_not_found off;
    }
    ### Retina images handler. Check cookie and looking for file with @2x at the end of name
    location ~* ^(.*)\.(jpg|png|gif)$ {
        set $hidpi_uri $1@2x.png;
        if ($http_cookie !~ 'HTTP_IS_RETINA=1') {
          break;
        }
        try_files $hidpi_uri $uri =404;
    }

    location ~*  \.(jpg|jpeg|png|gif|css|js|ico)$ {
        expires max;
        log_not_found off;
    }
    location ~ /(system/logs|resources/download) {
      deny all;
      return 403;
    }
    location /admin/ {
        location ~ .*\.(php)?$ {
          deny all;
          return 403;
        }
    }
    #rewrite for images for retina-displays
    location ~ / {
        if (!-e $request_filename){
            rewrite ^/(.*)\?*$ /index.php?_route_=$1 last;
        }
    }


### End of AbanteCart settings ###

}

8
General Discussion / Forum NOTIFY
« on: March 17, 2017, 06:15:05 AM »
Dear Moderators / Forum Admin
can we please have NOTIFY on by default? I mean, if we are starting a discussion, then we want to know when someone else is talking, and so it should be default instead of remembering to click Notify for each thread.

More discussion about this for SMF (this forum engine) here:
http://www.simplemachines.org/community/index.php?topic=487671.0

9
Installation and Configuration / Re: NGINX configuration
« on: March 17, 2017, 06:03:22 AM »

Thanks, will do!

10
Installation and Configuration / NGINX configuration
« on: March 17, 2017, 05:47:14 AM »
This is not a question, but rather a helper for anyone else out there that may prefer to develop on NGINX in their localhost;
My AC version is 1.2.9, laptop running Mintlinux 18.1 with Nginx 1.10 and PHP-FPM 7 and Mariadb.
Note , because it is in localhost, and I need speed, there is no SSL configuration. Ask if you need help with that.
Also, I have nginx running as me , so it is capable of writing log files to where it easiest for me to get them!

So, my /etc/nginx/sites-available/default has this added to it:

Code: [Select]
server {

        listen 80;
        server_name mydomain.com;

        access_log /home/onyx/logs/abantecart.log;
        error_log /home/onyx/logs/abantecart_error.log ;

        # root is AbanteCart's public_html directory
        root /home/onyx/htdocs/abantecart;
        index index.php index.html index.htm;

        # Prevent directory listing
        autoindex off;

        # rules applied in root of our config
        location / {

                # include AbanteCart rules
                try_files $uri $uri/ $uri.php @abantecart_rules;

                # php settings (may differ on your server)
                location ~ \.php$ {
                        #fastcgi_pass unix:/var/run/php5-fpm.sock;
#change this to suit your setup for fastcgi!!
                        fastcgi_pass   127.0.0.1:9001;
                        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                        fastcgi_param SCRIPT_NAME     $fastcgi_script_name;

                       

                        include fastcgi_params;
                }

        }

        # rewrites our query strings properly for AbanteCart
        location @abantecart_rules {
                rewrite ^(.*)\?*$ /index.php?_route_=$1 last;
        }

        # No direct access allowed for .tpl files
        location ~ \.tpl {
                deny all;
        }

}

Then in /etc/hosts you will need
Code: [Select]
127.0.0.1 mydomain.com
Don't forget you need to edit these as Superuser, and then restart the nginx server with
Code: [Select]
sudo service nginx restart
Questions and comments welcome

11
General Discussion / Forum Smileys
« on: March 17, 2017, 04:35:19 AM »
Dear Moderators,
I want to offer the very helpful folk that run this forum a little light relief in the form of new Smileys that can be used by anyone on the forum...
at http colon slash slash smileys.papashome.com
They are free, there is no advertising, I don't get anything from you using them, so go ahead, copy into the forum engine, or just leave a sticky link.


12
Support / Re: Content pages
« on: March 17, 2017, 03:27:29 AM »

Good to see even my idiocy is not wasted!

13
Support / Re: Content pages [SOLVED]
« on: March 16, 2017, 05:31:17 PM »
@Basara:
Please disregard everything I said above; I am an idiot who cannot read and understand the fact that LINK is a button, not a label. :-[
Sorry for the waste of time!
The code works, but some people need to read it before they understand it...ie me. :-X

14
Support / Re: Content pages
« on: March 16, 2017, 04:19:58 AM »
Oddly, CATEGORIES just started working!
Content still isn't.

15
Support / Re: Content pages
« on: March 16, 2017, 04:14:19 AM »
And in case it makes any difference, I am running PHP7-FPM with NGINX and MariaDB.
Everything else seems to work fine, I am having  fun with this engine - it seems to be very comprehensive and well built!

Pages: [1] 2

Powered by SMFPacks Social Login Mod