Quantcast
Channel: Discourse Meta - Latest topics
Viewing all 60678 articles
Browse latest View live

Badge for active in last 30, 90, 90-180 days, not active within 180 days

$
0
0

@tobiaseigen wrote:

Continuing the discussion from What would you like to see on your Discourse Admin Dashboard?:

I saw on @alefattorini’s forum that you have figured out the badge query for activity. That’s interesting! Would you be willing to share the badge query you used here, and maybe we can collect the queries required for creating badges we can use to easily keeping an eye on which members fall within each of these 4 activity levels?

It would be nice if these badges could be hidden or not widely promoted, so we can use them as moderators without burdening members with too many badge award notifications. :slight_smile:

Posts: 1

Participants: 1

Read full topic


HipChat Integration

$
0
0

@rohitsden wrote:

Hi,

Just setup Discourse and was working on HipChat integration.

References:

Our HipChat setup uses a URL of the format: hipchat.xyzcompany.com. When setting up the HipChat Channel (Plugins>Chat Integrations>HipChat>Add Channel), the Webhook URL does not support the format: hipchat.xyzcompany.com. It expects hipchat.com and so marks entries like hipchat.xyzcompany.com as invalid.

On looking up the code in:
/var/www/discourse/plugins/discourse-chat-integration/lib/discourse_chat/provider/hipchat

I see that the match is looking for hipchat.com as show below:

module DiscourseChat
  module Provider
    module HipchatProvider
      PROVIDER_NAME = "hipchat".freeze
      PROVIDER_ENABLED_SETTING = :chat_integration_hipchat_enabled
      CHANNEL_PARAMETERS = [
                        { key: "name", regex: '^\S+' },
                        { key: "webhook_url", regex: 'hipchat\.com'', unique: true, hidden: true },
                        { key: "color", regex: '^(yellow|green|red|purple|gray|random)$' }
                       ]

I believe this is a BUG and it should be able to address URLs such as hipchat.xyzcompany.com.

To test this out I went ahead and tried changing the code and restarted the app. On restart I was able to add hipchat.xyzcompany.com successfully.

Do let me know if you need any information.

Posts: 2

Participants: 2

Read full topic

Image links point to Incorrect (Previous) subdomain After Migration

$
0
0

@SouperC wrote:

I migrated my discourse install from one host to another yesterday and I’ve come across a peculiar issue.
During the migration, I created a forums2 subomain, assigned what would be the new IP for the forums to it then moved the DB and files over.

Once that was done and working, I updated forums2 subdomain name to “forums”

It’s been behaving pretty well, but I noticed a strange issue with the images in this topic:

https://forums.kartpulse.com/t/for-fun-alternate-uses-for-kart-motors/830

The images are not visible and the the HTML points to forums2 as being the image source. Yet if I edit the post, the images are visible and only refer to the relative url path.

An ideas how I might have caused this, or how I can resolve it. I rebaked the posts, that didn’t seem to help.
I noticed the domain was incorrect in my app.yml, fixed, rebuilt, but the problem persists.

Posts: 8

Participants: 3

Read full topic

Is it safe to roll Docker from 18.01 back to 17.10?

$
0
0

@Richie wrote:

Hey everyone,

Is it safe to roll Docker from 18.01 back to 17.10?

I have an almost identical issue to this one: Discourse crashed after backup - http 500

Our backups used to work fine, but now they fail every day and shortly after they fail, our entire site just hangs. Rebooting the server does cure it. Until the following backup the next day.

This problem only recently started, perhaps less than one week ago. Around the time I did a apt-get update (we are running Ubuntu 16.04.3 LTS ) and also on the same day I upgraded to Discourse v2.0.0 (currently on beta1 +65).

During the apt-get update the Docker was upgraded. I’m now running:

Docker version 18.01.0-ce, build 03596f5

And having read this post by @mpalmer ( Discourse web interface becomes unresponsive a few minutes after starting ) I think upgrading to Docker 18.01 may be the cause of all my issues. I can’t reply there as that topic is locked.

To give you an idea of the scale, our Discourse is relatively small, perhaps 5,500 posts or so with approx 120 users.

A db-only backup is approx 24MB and a full backup is 124MB - but the backups usually fail now, then the entire site stops working within a few minutes after that. A full reboot does cure it.

We run on a single DO droplet with 1GB/30GB:

Here are some details:

root@greyarro:~# sudo swapon -s
 Filename                                Type            Size    Used    Priority
 /swapfile                               file            2097148 649408  -1

 root@greyarro:~# free -h
               total        used        free      shared  buff/cache   available
 Mem:           992M        778M         72M         42M        141M         42M
 Swap:          2.0G        634M        1.4G

root@greyarro:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            488M     0  488M   0% /dev
tmpfs           100M  4.5M   95M   5% /run
/dev/vda1        29G   13G   17G  45% /
tmpfs           497M  1.3M  495M   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           497M     0  497M   0% /sys/fs/cgroup
/dev/vda15      105M  3.4M  102M   4% /boot/efi
none             29G   13G   17G  45% /var/lib/docker/aufs/mnt/840e6f4d9f2984c1d72ef416b7a64b19395914384de29ad89732b434e0599b5a
shm              64M  4.0K   64M   1% /var/lib/docker/containers/225ed791ef380a3dd272060a6c140d138df139bf696290af3624018633cccc61/shm
tmpfs           100M     0  100M   0% /run/user/0

A couple of days ago I recently uplifted all user-uploaded images to S3 so I’m not sure why that docker is using 13GB (perhaps that’s normal).

Anyway, my question is, while running Discourse 2.0.0 can I safely downgrade Docker from 18.01 back to 17.10 ?

Thanks for reading this far :blush:

Posts: 4

Participants: 3

Read full topic

ServiceWorker thinks I'm offline when I'm not

$
0
0

@supermathie wrote:

Today I visited a PM, deleted it, silenced the user, then after navigating back (back button) through it I got an offline error. It persisted when I tried to continue going back to meta mainpage.

It looks like you are offline! Please check your network connection and try again.

I can duplicate the problem by visiting the topic normally then hitting Ctrl-R to reload:

The error page that I get is coming from Service Worker:

image

I’m on Chrome Version 63.0.3239.132 (Official Build) (64-bit)


This kind of smells like it’s related to “Sorry, we couldn’t load that topic, possibly due to a connection problem”.

Posts: 1

Participants: 1

Read full topic

Accessibility: Semantic labeling

$
0
0

@kevinrobinson wrote:

This is split out from the master accessibility thread: Accessibility audit and shepherd for making improvements.

Accessibility question: Are form fields and links properly labeled?

Not always.
Missing label noted in screen shot of checker tool below.
See Techniques for proper labeling here H91: Using HTML form controls and links | Techniques for WCAG 2.0

I tried gathering more data using IDI Web Accessibility Checker : Web Accessibility Checker, trying to find tools to automate some of these checks. I checked several pages as representative of the user interfaces that make up the bulk of user interactions (home, category, topic pages). There was one class of “known problems” (using <b> tags). There’s some previous conversation here and here about whether the <b> / <strong> distinction is meaningful (from the perspective of the accessibility audit the answer is a definite “yes,” even if this might feel pedantic or like it’s adding cost of bytes over the wire for the longer tag).

I didn’t yet investigate the “potential problems,” but could include that in the next phase of improvements.

Posts: 4

Participants: 2

Read full topic

Accessibility: Header tags on main page

$
0
0

@kevinrobinson wrote:

This is split out from the master accessibility thread: Accessibility audit and shepherd for making improvements.

H2 discussion forum title should be H1
Low priority but checked tool flagged, we should fix.

This isn’t visible on meta.discourse.org since that uses an image in the site header. Looking at the Discourse example sites on https://www.discourse.org/ I found https://twittercommunity.com/ that does show this. Here’s the check I’m doing and the relevant bit on HTML on the page:

> document.querySelectorAll('h2')[0]
=> <h2 id="site-text-logo" class="text-logo">Twitter Developers</h2>

I think this is the relevant code: discourse/home-logo.js.es6 at e87125b63c7e7b5d763317bfcdfdd214f74c7492 · discourse/discourse · GitHub. Maybe there’s a rationale for this being <h2> and not <h1> but I haven’t seen any on the home pages for the handful of Discourse instances I’ve looked at. There are <h1> tags if you grep around the codebase, but at a quick glance many seem for other pages or unrelated features. For this topic, I think it’s best to focus first only on the core parts of the UX that people use regularly to read and write (eg, home page, category, topic, post, etc. pages) rather than all the additional pages involved in the whole product.

Posts: 1

Participants: 1

Read full topic

Accessibility: Category page should have H4 or LI for category names

$
0
0

@kevinrobinson wrote:

This is split out from the master accessibility thread: Accessibility audit and shepherd for making improvements.

These are span tags, they should be LI or H4 tags.

This is the relevant part of the UI on the categories page:

Here’s console code to see the relevant HTML:

> document.querySelectorAll('span.category-name')[0]
=> <span class="category-name">support</span>

These seem like semantically meaningful headers, and visually that’s really clear. Rich’s suggestion is that these should either be headers (perhaps <h4> or to restructure the page to use <li> to indicate that this is a list of categories).

Here’s the relevant code: discourse/category-title-link.hbs at 5b590b96373a8c2f1f211aef63bc8317f1cb776a · discourse/discourse · GitHub

Posts: 1

Participants: 1

Read full topic


New topics notice for annonymous users

$
0
0

@Hector wrote:

When not logged in sometimes there is a link to new available topics, but clicking on the link gives a access denied screen (Access Denied while trying to load [/new.json?order=default] Something went wrong.)

Posts: 1

Participants: 1

Read full topic

Accessibility: Signal changes to screen readers on navigation

$
0
0

@kevinrobinson wrote:

This is split out from the master accessibility thread: Accessibility audit and shepherd for making improvements.

This is some feedback from an accessibility audit for one of our forum instances. The story is specific to that forum (eg, the post titles) but it applies to Discourse overall. I left it in the author’s original words to get the flavor of the feedback :slight_smile:

I started by clicking on the category "cookin on the job" since I like to eat!!

When you do this, the page does not refresh; it is modified on the fly. This is common practice now, however its drawback with respect to accessibility is that screen readers do not get a signal that content on the page has changed; the author is responsible to informing the user of this fact. The way this is done varies with the exact nature of what is being presented…

In this case, the two pieces of information the user must know are:

  • that something has actually happened (i.e. new information has indeed > appeared)

  • the nature of the new info (is this a message sequence, or merely another topic node)

If we click this category name, we indeed land on another topic node, listing the topics in this group (there is only one). So, the user would want to hear something like "1 topic found". This tells the user she has landed on a topic list, and how many items there are.

To implement this, place a div on the page (doesn’t matter where, but most likely at the end of the HTML), move it off-screen so sighted users will not see it, and mark it up as a live region, which tells the screen reader to speak all text changes within it without changing focus. FOr instance:

<div class="screen-reader-only message-area" aria-live="polite"> </div>
.screen-reader-only { position: absolute; overflow: hidden; left: -99999; top: -99999; }

This seems like it might be complicated, but as an initial idea perhaps there’s an Ember routing hook that would let us do something global like “on route change, add in one of these screen reader-only tags to at least tell the screen reader that the data on the page changed.” That wouldn’t get at the need for “tell them what changed,” which seems more complicated and specific to individual features.

Posts: 1

Participants: 1

Read full topic

Accessibility: Latest posts on category page aren't visible to screen reader

$
0
0

@kevinrobinson wrote:

This is split out from the master accessibility thread: Accessibility audit and shepherd for making improvements.

This topic is about the categories page, and the “latest posts” in the righthand column here:

Here’s the report:

This should be in the hierarchy. To be consistent should do it with a heading (another not as good way to solve this could be with a landmark or ARIA tag). This might be different on desktop vs. mobile layouts.

So my understanding here is that the structure of the page after all the headers is “a list of categories” and “a list of latest posts.” The markup here doesn’t indicate that, and so the ways to tackle that are to revise with header tags, to add accessibility landmarks, or to add ARIA tags to communicate that structure to screen readers.

Posts: 1

Participants: 1

Read full topic

Accessibility: Need way to browse between messages quickly

$
0
0

@kevinrobinson wrote:

This is split out from the master accessibility thread: Accessibility audit and shepherd for making improvements.

This issue applies to when you’re looking at a topic with a bunch of replies. A page like this:

The easiest thing to do would be to use a structure similar to the following, and using proper aria landmarks and labels.

Each topic starter is followed by a sequence of replies, each of which may have replies. Tree structures like this are always messy to display. Here I’ll just concern myself with the starter and sequence of first-level responses.

The biggest issue with current implementation is that there is no way, using a screen reader, to quickly browse from message to message efficiently.

One approach would use just div with proper landmarks and labels. Another possibility would be to insert separators (<hr tags for instance) at the start of each message, just before the username. The idea is that there needs to be some sort of target which screen readers can search for via a simple single-key command. For instance, screen readers can search among headings, landmarks, list items, separators (hr tags), buttons, links with a single keystroke. It is also helpful to allow the addition of labels which can help the user keep track of where she is in a chain of replies. The following example structure attempts to do just that.

<div class="topic" role="region"> <h1 class="title">Looking for an ideal job that fits to lifes purpose</h1> <div class="topic-starter message" role="region" aria-label="topic starter"> <p>... sequence of paragraphs ...</p>  <nav class="message-controls" aria-label="message controls"> ... </nav> </div>  <div class="replies" role="region" aria-label="replies"> <header> <!-- this contains all the stats like creator, number of replies, last reply, etc --> </header>  <div class="message" role="region" aria-label="reply 1"> <h2>[user name], 8h, Post is unread</h2> <p>... sequence of paragraphs ...</p>  <nav class="message-controls" aria-label="message controls"> ... </nav> </div>   <div class="message" role="region" aria-label="reply 2"> <h2>[user name], 12h, Post is unread</h2> <p>... sequence of paragraphs ...</p>  <nav class="message-controls" aria-label="message controls"> ... </nav> </div>  ... etc ...  </div><!-- .replies --> </div><!-- .topic -->

As I understand this, without some markup to help the screen reader, it essentially drowns the user in all the incidental details along the way (eg, those stats bars, the text in reply features and things like that). All the things that are less salient visually.

The best first suggestion I have here for a solution is to look at markup that would make some of those statistics not read aloud by the screen reader, or nested at a lower level to allow browsing. We might also need more input from users about what good browsing would look like here (since there aren’t titles to each reply, maybe browsing is just the list of author and date, and then users can drill in more with the screen reader to read the body of the reply).

Posts: 1

Participants: 1

Read full topic

How to have skin selection in the hamburger dropdown like THIS forum?

$
0
0

@dylanh724 wrote:

I have the official dark theme here, but I had to manually add it since I had Discourse for a couple years now (following the official instructions). I’m going to safely assume that those instructions did not include how to add skin selection to this dropdown instead of only in your user profile.

How can I add this?

Posts: 2

Participants: 2

Read full topic

Dynamically set image src based on large logo

$
0
0

@lll wrote:

I am trying to create a footer theme component.

I want to dynamically add the logo of the site and its name to the footer.

Here’s an example of the relevant part of the code:

<div class="df-logo-box">
	<h1 class="df-logo-heading">
		<a href="/" data-auto-route="true" class="df-logo-link">
					    <img class="df-logo-img" src="https://upload.wikimedia.org/wikipedia/commons/a/af/Discourse_logo.png"> <span class="site-name">SiteName</span>
		</a>
	</h1>
</div>

I’d like for the image .df-logo-img and the span .site-name to be set dynamically. The image based on the large logo and the SiteName based on the name of the app.

Where should I be looking?

For starters,

I found this in the repo, but I am unsure what needs to be done to it to work as pasting it raw does’t work. (Amazing I know :upside_down_face: )

Posts: 1

Participants: 1

Read full topic

Redis RIP on new fresh common install

$
0
0

@4a8b40bc1c7d217b6d16 wrote:

I tried to create new installation on new VPS, but get logs below in shared/standalone/log/rails/production.log (and probably this is why i cant send email trough smtp).
So, i checked same on DigitalOcean Ubuntu 16 droplet, same results.
Installation commands i use (like in discourse basic install):

wget -qO- https://get.docker.com/ | sh
mkdir /var/discourse
git clone https://github.com/discourse/discourse_docker.git /var/discourse
cd /var/discourse
./discourse-setup
Wait 5 seconds and setup create 2GB SWAP by himself
Set smtp credentials
Thats all

Logs from shared/standalone/log/rails/production.log:

Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED) subscribe failed, reconnecting in 1 second. Call stack ["/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:345:in `rescue in establish_connection'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:331:in `establish_connection'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:101:in `block in connect'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:293:in `with_reconnect'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:100:in `connect'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:364:in `ensure_connected'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:221:in `block in process'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:306:in `logging'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:220:in `process'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/redis-3.3.5/lib/redis/client.rb:120:in `call'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/redis-3.3.5/lib/redis.rb:862:in `block in get'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/redis-3.3.5/lib/redis.rb:58:in `block in synchronize'", "/usr/local/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/redis-3.3.5/lib/redis.rb:58:in `synchronize'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/redis-3.3.5/lib/redis.rb:861:in `get'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/message_bus-2.1.2/lib/message_bus/backends/redis.rb:284:in `process_global_backlog'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/message_bus-2.1.2/lib/message_bus/backends/redis.rb:320:in `block in global_subscribe'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/message_bus-2.1.2/lib/message_bus/backends/redis.rb:333:in `global_subscribe'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/message_bus-2.1.2/lib/message_bus.rb:525:in `global_subscribe_thread'", "/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/message_bus-2.1.2/lib/message_bus.rb:473:in `block in new_subscriber_thread'"]`

Posts: 3

Participants: 2

Read full topic


Nginx / letsencrypt / docker -- Ubuntu 16.04

$
0
0

@dbm wrote:

Hosting: Digitalocean.
Followed; all guides here also on digitalocean, for installating and configiring the NGINX with Letencrypt together.
Successfully running HTTPS - https://hkh.pm/
ENDED up with 502 Bad Gateway

discourse config in /etc/nginx/sites-enabled/

server {
        listen 80;
        server_name www.hkh.pm;
        return 301 https://hkh.pm$request_uri;
}
server {
        listen 443 ssl http2;
        server_name hkh.pm;

        ssl_certificate /etc/letsencrypt/live/hkh.pm/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/hkh.pm/privkey.pem;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:ECDHE-RSA-DES-CBC3-SHA:ECDHE-ECDSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA';
        ssl_prefer_server_ciphers on;
        location / {
                proxy_pass      http://hkh.pm:25654/;
                proxy_read_timeout      90;
                proxy_redirect  http://hkh.pm:25654/ https://hkh.pm;
        }
}

App.yml config

templates:
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  - "templates/web.template.yml"
  - #"templates/web.ratelimited.template.yml"
## Uncomment these two lines if you wish to add Lets Encrypt (https)
  - #"templates/web.ssl.template.yml"
  - #"templates/web.letsencrypt.ssl.template.yml"

## which TCP/IP ports should this container expose?
## If you want Discourse to share a port with another webserver like Apache or nginx,
## see https://meta.discourse.org/t/17247 for details
expose:
  - "25654:80"   # http
  - "443:443" # https

NGINX Status :

dbm@hkh:~$ systemctl status nginx.service
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2018-01-13 09:48:08 UTC; 16min ago
  Process: 1459 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status
  Process: 1389 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exite
 Main PID: 1484 (nginx)
    Tasks: 3
   Memory: 10.4M
      CPU: 229ms
   CGroup: /system.slice/nginx.service
           ├─1484 nginx: master process /usr/sbin/nginx -g daemon on; master_process on
           ├─1485 nginx: worker process
           └─1486 nginx: worker process

Docker ps -a

dbm@hkh:~$ docker ps -a
CONTAINER ID        IMAGE                 COMMAND             CREATED             STATUS                      PORTS               NAMES
b91fdb1b28df        local_discourse/app   "/sbin/boot"        About an hour ago   Exited (5) 17 minutes ago

So my conclusion that there is some kind of problem with ports that indicates that forwarding is not configured properly and im out of ideas. (tried almost everything that i could find on google and discourse community). Here we can see that problem;

dbm@hkh:~$ sudo netstat -plntu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      1484/nginx -g daemo
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1484/nginx -g daemo
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1417/sshd
tcp6       0      0 :::22                   :::*                    LISTEN      1417/sshd

seems like docker-proxy is not being loaded and not forwarding to port 25654 - Also i had a problem that was saying that port 80 was being used. And after that i’ve rebooted, and ngnix didnt say that we have some errors.

dbm@hkh:~$ sudo nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

Any advices or tips what could i do to sort this out! Thanks in advance

Posts: 2

Participants: 2

Read full topic

Looking for Discourse-Wordpress developer

$
0
0

@gerald wrote:

What would you like done?

  1. Fix problem that comments don’t appear in Wordpress
  2. Fix problem that auto-publish only works for one admin and not others
  3. Modify the affiliate plugin and customize it
  4. (optional) Develop a solution or plugin to allow commenting directly from Wordpress

When do you need it done?
Start now, this is an ongoing job.

What is your budget, in $ USD that you can offer for this task?
30$/hour

Posts: 1

Participants: 1

Read full topic

Flex footer theme component

$
0
0

@lll wrote:

Repo :boom:: GitHub - hnb-ku/discourse-flex-footer-theme-component

Screenshots

Desktop:

Zoomed out:

Zoomed in:

Mobile:

click for full size


:warning: This theme component requires you to actually look at the code and change it to your preferences. :warning:

This is a skeleton. I added placeholders for demo purposes. You still need to add content / links.

I left comments everywhere to guide you through. For example:

	<!--- Start Card B -->

				<div class="df-cards df-card-b">

					<!--- Start  Card content -->

					<h3 class="df-card-b-title">
						Giveaway!
					</h3>
					<p>
						in pro unum atqui splendide, ut eum omittam platonem <a href="#">Giveway!</a>
					</p>
					<a href="#"><img src="//image.ibb.co/eONDmm/100_Amazon_voucher_giveaway.png"></a>

					<!--- End  Card content -->

				</div>

				<!--- End Card B -->

				<!--- Start Card C -->

				<div class="df-cards df-card-c">

					<!--- Start  Card content -->

					<h3 class="df-card-a-title">
						Subscribe
					</h3>
					<p>
						Subscribe to our newsletter to get the latest scoop right to your inbox.
					</p>
					<form>
						<input type="text" name="Name" placeholder="Your name" autofocus>
						<input type="email" name="email" placeholder="Email address" autofocus>
						<button class="btn btn-primary" type="submit">Subscribe</button>
					</form>

					<!--- End Card content -->

				</div>

				<!--- End Card C -->

You can pretty much add anything inside cards, from mailing lists signup forms, ads, or even iframes.

You only need to look for the portion between

<!-- start card content -->
and
<!-- end card content -->

remove the placeholders, and add your content.

Since you will be modifying the code, I cannot update the repo otherwise your modifications will be overwritten.


Colors / backgrounds / font size follow variables at the top of the sheet like so:

$df-top-footer-background: rgb(40, 40, 40);
$df-bottom-footer-background: rgb(17, 17, 17);
$df-top-link-color: inherit;
$df-bottom-link-color: rgb(185, 185, 185);
$df-shared-text-color: rgb(175, 175, 175);
$df-shared-heading-color: rgb(255, 255, 255);
$df-base-font-size: 1em;

You only need to change those variables at the top.


I am happy to help if you post specific problems / questions here.

Posts: 1

Participants: 1

Read full topic

The connection has timed out

$
0
0

@akhil wrote:

Hi,

After installation of discouse, I’m getting “The connection has timed out” message in the browser.

IP: http://159.89.193.78/

I’m on Digital Ocean one click apps.

Note: Before the discourse installation, I was able to see the default page of digital ocean.

Any idea why is this?

Thanks.

Posts: 12

Participants: 3

Read full topic

How to browse discourse database?

$
0
0

@Majed wrote:

Thank you for this wonderful software.
I tried to find the postgreSQL database (Name , Username, password) but I couldn’t find it anywhere.

I’m using this plugin GitHub - discourse/discourse-data-explorer: SQL Queries for admins in Discourse but still dont know what is the database name ? where can I find it ?

What is the best way to browse database tables and import/export tables?

Note: (Discourse installed through on-click install DigitalOcean )

Posts: 3

Participants: 3

Read full topic

Viewing all 60678 articles
Browse latest View live




Latest Images