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

Onboarding process for new member

$
0
0

@Seanny123 wrote:

I’m considering migrating from Facebook Groups to a semi-private Discourse instance for an event series I help run. I have read the previous blog posts and Discourse posts about migrating from Facebook groups. However, I have some questions about the on-boarding process of new users, which might be mostly due to my unfamiliarity with the API.

Filtering incoming users

Probably the biggest advantage to Facebook is it’s ability to use a Facebook profile as a proxy of trust. Basically, you can gague how likely a person is to be a spammy jerk by:

  • How many friends they have
  • The other groups they’re a part of
  • Their geographical location
  • (hardcore mode) Getting them to fill out a form with basic questions

Is filling out a form as part of new user joining possible to implement in Discourse to accomplish the same thing? I think this might be possible by customizing the profile creation form?

Making users set up their email settings once accepted

Given I want people to get email notifications based off their geographical location, is it possible to make this part of their account creation process? For example, so that a person who lives in Waterloo isn’t subscribed to the event notifications from Tokyo and Taipei. I’m afraid of users being unable to figure out the category-specific email settings on their own. Also, I’d rather not have to make a how-to and make them read it.

Posts: 4

Participants: 3

Read full topic


How to fix my SEO?

Database Queries / Data Explorer / Source Control / Non-Live Instance?

$
0
0

@RobMeade wrote:

Hi,

We have a hosted Discourse solution, and recently I’ve had a little experiment with the Data Explorer plugin to run some queries.

This has led to a discussion regarding source control for the queries, which lead to a discussion regarding having access to a non-live instance. Below are some hypothetical thoughts, there isn’t a specific reason for needing any of the below at this time - just putting it out there for feedback etc.

So far, the queries have only been written using the plugin, whilst I assume these are also included in the backup that is taken, I am not entirely familiar with the process of a recovery from this backup. I have personally come from an MS background, we used SQL Server’s Management Studio, RedGate Tools etc and setup repositories for each database (on both live/dev environments).

By only using the Data Explorer plugin, and not accessing the database directly, any PostreSQL client tools are presumably of little use to us. This would leave us perhaps writing the scripts in the Plugin, then copying them out to a separate file and committing them to a repository.

Additionally, as a bit of a PostreSQL noob, trying to brush the dust off of his SQL writing skills, must queries via the plugin in go through a series of iterations before a) they work at all b) they return anything close to what I wanted. It dawns on me that firing these against the live environment is perhaps less than ideal.

This brings us to the point regarding a non-live instance. I have often thought it was a bit risky making our HTML/CSS changes on our only copy, as anything we did was reflected straight away and as such it was/is quite easy to screw things up for live users. In the same vein, whilst my little SQL scripts are fairly light weight, and in comparison to the work being done by the forum itself I’m sure amount to very little, it would be nice to perhaps develop/test/play on a non-live environment for putting the queries together, but perhaps one that is routinely populated from our backup data.

Any thoughts/feedback on this would be really appreciated. :slight_smile:

Posts: 2

Participants: 2

Read full topic

Podcast episodes about Discourse

$
0
0

@meglio wrote:

Sometimes I listen to podcast episodes talking about Discourse in one way or another. I thought it might be interesting for others to build a topic linking to all such episodes.

Jeff Atwood — Sharing the House

Developer on Fire, 7 Aug 2017, Episode 258

How to build communities with Jeff Atwood

Dorm Room Tycoon — 19 Nov 2017

Posts: 1

Participants: 1

Read full topic

Christmas hats theme

$
0
0

@barryvan wrote:

As Christmas approaches, you may want to add a bit of festive flair to your forum. So I present a (very simple) Christmas hats theme:

image image

christmas-hats.dcstyle.json (7.2 KB)


A couple of notes:

  • This theme assumes list avatars are 25x25 with a 2px border all round; you may need to tweak some of the positioning in the CSS for your avatars.
  • It also assumes that thread avatars are 64x64 with a 2px border all round; again, tweak the positioning as you see fit.
  • To avoid excessive festiveness, not all avatars in lists will be bedecked with Christmas cheer, but once you open up a thread, everyone is part of the fun.

Enjoy!


(Aside: it looks like I wasn’t the first to think of this!)

Posts: 1

Participants: 1

Read full topic

How do you force a script to refire on every page load in Discourse?

$
0
0

@lll wrote:

One the most amazing things about Discourse is that it is a Single Page Application. The page is loaded once and the content is swapped on demand - This is my understanding.

I was trying to integrate Masonry with Discourse and ran into a small problem.

I got Masonry to load great on first page load and everything works great:

However, if I navigate to another topic-list page or select a category then it does not work anymore and I get this:

The method I use to call Masonry is to add the script below to the </head>

<script>
$(".topic-list").imagesLoaded(function() {
    $(".topic-list").masonry({
      itemSelector: ".topic-list-item"
    });
  });
</script>

I understand why the issue occurs - I think. It occurs because the script is only loaded and fired on initial page load.

This means that the <head> element is not reloaded on every page load.

So, logically, my next step was to see if I can add the script somewhere where it will get run again when new content loads.

So I tried

  • </body>
  • <footer>

Without luck. For some reason the script never fires again after initial page load.

So, my question is how can I make sure this script runs on every page load? (for now… selective logic will come in later)

<script>
$(".topic-list").imagesLoaded(function() {
    $(".topic-list").masonry({
      itemSelector: ".topic-list-item"
    });
  });
</script>

Posts: 6

Participants: 4

Read full topic

Service email not woking

Best Practices for Disk Space Management in Community w/ lots of Images

$
0
0

@keith1 wrote:

I’m running a very visual oriented community (www.realtimevfx.com) and have watched my disk space creep up over the past year (obviously). I’m about to do some cleanup (per this discussion “Low on disk space, cleaning up old Docker containers”), but I wanted to start a general conversation to get people’s thoughts on the best way to approach this - If I can avoid it, I’d rather not have exponential disk space growth as the community grows.

Are there best practices / standards that I should implement regarding user uploads? Should I disable uploads entirely and have people only host through imgur, etc?

Posts: 9

Participants: 5

Read full topic


Hosting podcast(s) in Discourse

$
0
0

@meglio wrote:

I can see two different ways on how a Discourse instance can be used for podcast hosting:

  1. One topic = podcast channel
    Have a topic setting that activates the “podcast” mode for the topic.
    Every post authored by the topic author and containing an audio attachment = one episode
    other posts in the topic are just the podcast / episode discussion
    The Summarize button shows episode posts only

  2. One category = podcast channel
    Have a category setting that activates the “podcast” mode for the category.
    First topic post with an audio attachment = one episode.
    Following posts in the topic = episode discussion.
    Have a “play” icon in front of each episode-topic.
    Latests / Top view naturally shows the episodes list.

In both cases:

  • Make the topic/category RSS with episode posts only, and make it compatible with most podcast platforms, like iTunes (Apple Podcast), Google Play etc.

Benefits of using Discourse for podcast hosting:

  • free = save money
  • one less thing for site owners to setup and configure in order to run a podcast = save time
  • people can host their own podcasts on your Discourse instance = help attracts more people to your community
  • episode list with “play” button embedded into the main community website as a topic; this is not always possible with 3rd party solutions, e.g. if there is no oEmbed support like in this case;
  • natural way for the community to engage in discussion straight away and write comments as they listen.
  • as with Discourse, you own your files
  • naturally consumes Discourse’s backup = less things to worry about
  • integrates well with the community by consuming Discourse features like Search, Advanced Search, topic pinning and interlinking, user mention (who’s featured in that episode?)

Might be a plugin territory?
Anyone likes the idea?

Alternatives:

Posts: 6

Participants: 4

Read full topic

Schedule a topic for auto-closing

How to check if there is a user in the group or not?

$
0
0

@Stranik wrote:

At the moment I’m using the API (180ms time).

 $.ajax({
  url: "/u/"+ username +".json" ,
  dataType: 'json',
  async: false,
  success: function(data) {
...
 for (var t = 0; t < groups.length; t++) {
 g_id = groups[t].id;
 if (g_id === 57) { ...

Maybe there is some other way to get this data? Through the API, other data unnecessary for the plugin is requested. I would like to get only one value. The user belongs to a particular group or not.

Posts: 1

Participants: 1

Read full topic

Upstream prematurely closed connection

$
0
0

@vulkanino wrote:

Hello,

in the last few days I am experiencing connection problems to my droplet where I run a Discourse instance. I don’t know where to look at, but if I go in /var/discourse/shared/standalone/log/var-log/nginx and inpect the error logs I find several lines like:

2017/11/27 08:43:57 [error] 53#53: *19563 upstream prematurely closed connection
while reading response header from upstream, client: 79.46.121.53, server: _, r
equest: “GET /user_avatar/www.rasando.it/giancarlo_49/45/583_1.png HTTP/1.1”, up
stream: “http://127.0.0.1:3000/user_avatar/www.rasando.it/giancarlo_49/45/583_1.
png”, host: "www.rasando.it"
2017/11/27 09:42:47 [error] 52#52: *20263 upstream prematurely closed connection
while reading response header from upstream, client: 185.30.176.26, server: _,
request: “GET /user_avatar/www.rasando.it/the_ripper/45/3827_1.png HTTP/1.1”, up
stream: “http://127.0.0.1:3000/user_avatar/www.rasando.it/the_ripper/45/3827_1.p
ng”, host: "www.rasando.it"
2017/11/27 09:42:57 [error] 53#53: *20273 upstream prematurely closed connection
while reading response header from upstream, client: 185.30.176.27, server: _,
request: “GET /user_avatar/www.rasando.it/bilos2511/45/2068_1.png HTTP/1.1”, ups
tream: “http://127.0.0.1:3000/user_avatar/www.rasando.it/bilos2511/45/2068_1.png
”, host: “www.rasando.it” …

The only thing that I can do to recover is to reboot the machine. Please help!

Posts: 2

Participants: 2

Read full topic

Weekly Discourse Summary?

$
0
0

@outofthebox wrote:

Hi, it is exciting to see all the developments in Discourse each day. I wonder if anyone else feels overwhelmed by the challenge of keeping up with all that is changing? If so, I wonder if the team might consider - now or in the next six months or so (?) - releasing a weekly/bi-weekly newsletter with the most important updates that have taken place to the Discourse software? This could have multiple benefits:

  1. Make it easier for people to focus on using Discourse rather than keeping up with the Discourse project.
  2. Have an authorized history of the development of Discourse. Good reference documents to point people to who have questions about can Discourse do xyz.
  3. Give the Discourse team a regular opportunity to celebrate and promote the rapid pace of Discourse itself getting even more magical. :unicorn: :boom:
  4. Give the Discourse team a regular opportunity to celebrate the Discourse ecosystem - plugin authors, successful launches, milestones, etc.

Thanks for considering this!

Posts: 2

Participants: 2

Read full topic

Bug in security tab

$
0
0

@schungx wrote:

Repo:

  1. Open category
  2. Edit-Security
  3. Assuming everyone: Create/Reply/See
  4. Press Edit permissions
  5. DELETE everyone leaving permission blank
  6. Bug #1: Notice that everyone does not show up in the drop-down box
  7. Select admin in drop-down box and Create/Reply/See
  8. Press Add permission
  9. Bug #2: Notice that it is admin: [en.permission_types.]
  10. If you check now, everyone is back in the drop-down box

Posts: 5

Participants: 3

Read full topic

Add category: 500 error


Wrong account avatar after upgrade

$
0
0

@Fouad_Farah wrote:

Hello,

I just upgraded to 1.9.0.beta14 (I had to rebuild app)
After upgrading I enabled https by editing the app.yaml and rebuilt app again (Let’s Encrypt)

Now I have this weird bug, one of the account’s avatar’s is showing that of another, constantly.

user A has the avatar of user B
user B however still has their correct avatar.

How to solve this?

Posts: 2

Participants: 2

Read full topic

Error 500 on new Digital Ocean install

$
0
0

@benr wrote:

Hi,

I have a new install on a Digital Ocean 1GB droplet with 2GB swap. It has been working fine while I kicked the tires, but this morning the site stopped responding with Error 500. I tried restarting with ./launcher stop app and ./launcher start app, but that resulted in “Bad Gateway” errors. I had to run ./launcher rebuild app to get it working again.

While the site was Error 500, I ran the following commands per another thread on this subject.

df -h
df -i
free -m
top
docker info
docker version

The results follow. Can anyone offer any suggestions?

root@xyz:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            490M     0  490M   0% /dev
tmpfs           100M   11M   89M  11% /run
/dev/vda1        29G  7.7G   22G  27% /
tmpfs           497M     0  497M   0% /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
overlay          29G  7.7G   22G  27% /var/lib/docker/overlay2/623bc91bcd3125cef3b1f2985aa2c3aa78624180c55b69e22ffc35bac6710cf2/merged
shm              64M  4.0K   64M   1% /var/lib/docker/containers/7a0c0f331c30b7a3e900f52e193b9f2c14622e7d80433b28f48a5d7933ff2c14/shm
tmpfs           100M     0  100M   0% /run/user/0

root@xyz:~# df -i
Filesystem      Inodes  IUsed   IFree IUse% Mounted on
udev            125249    381  124868    1% /dev
tmpfs           127015    531  126484    1% /run
/dev/vda1      3870720 302144 3568576    8% /
tmpfs           127015      1  127014    1% /dev/shm
tmpfs           127015      3  127012    1% /run/lock
tmpfs           127015     16  126999    1% /sys/fs/cgroup
/dev/vda15           0      0       0     - /boot/efi
overlay        3870720 302144 3568576    8% /var/lib/docker/overlay2/623bc91bcd3125cef3b1f2985aa2c3aa78624180c55b69e22ffc35bac6710cf2/merged
shm             127015      2  127013    1% /var/lib/docker/containers/7a0c0f331c30b7a3e900f52e193b9f2c14622e7d80433b28f48a5d7933ff2c14/shm
tmpfs           127015      4  127011    1% /run/user/0

root@xyz:~# free -m
          total        used        free      shared  buff/cache   available
Mem:            992         647         119          29         224         157
Swap:          2047         381        1666

top - 15:31:43 up 5 days, 18:36,  1 user,  load average: 0.09, 0.09, 0.09
Tasks: 133 total,   2 running, 131 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.3 us,  1.0 sy,  0.0 ni, 98.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :  1016120 total,   121000 free,   664256 used,   230864 buff/cache
KiB Swap:  2097148 total,  1706932 free,   390216 used.   160148 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
12765 1000      20   0   29904   3184    924 S  0.3  0.3   0:57.71 unicorn_lau+
1 root      20   0   37856   4536   3072 S  0.0  0.4   0:23.39 systemd
2 root      20   0       0      0      0 S  0.0  0.0   0:00.00 kthreadd
3 root      20   0       0      0      0 R  0.0  0.0   0:11.03 ksoftirqd/0
5 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 kworker/0:0H
7 root      20   0       0      0      0 S  0.0  0.0   3:59.52 rcu_sched
8 root      20   0       0      0      0 S  0.0  0.0   0:00.00 rcu_bh
9 root      rt   0       0      0      0 S  0.0  0.0   0:00.00 migration/0
   10 root      rt   0       0      0      0 S  0.0  0.0   0:04.07 watchdog/0
   11 root      20   0       0      0      0 S  0.0  0.0   0:00.00 kdevtmpfs
   12 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 netns
   13 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 perf
   14 root      20   0       0      0      0 S  0.0  0.0   0:02.61 khungtaskd
   15 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 writeback
   16 root      25   5       0      0      0 S  0.0  0.0   0:00.00 ksmd
   17 root      39  19       0      0      0 S  0.0  0.0   0:31.54 khugepaged
   18 root       0 -20       0      0      0 S  0.0  0.0   0:00.00 crypto

root@xyz:~# docker info
Containers: 1
 Running: 1
 Paused: 0
 Stopped: 0
Images: 3
Server Version: 17.11.0-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 992280e8e265f491f7a624ab82f3e238be086e49
runc version: 0351df1c5a66838d0c392b4ac4cf9450de844e2d
init version: 949e6fa
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.4.0-98-generic
Operating System: Ubuntu 16.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 992.3MiB
Name: xyz
ID: EMVF:JIMY:7DQ3:CVMB:ODWR:R74W:XJ53:TFWD:6L7N:SIKR:N4MT:GZCE
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
WARNING: No swap limit support

root@xyz:~# docker version
Client:
 Version:      17.11.0-ce
 API version:  1.34
 Go version:   go1.8.3
 Git commit:   1caf76c
 Built:        Mon Nov 20 18:37:39 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.11.0-ce
 API version:  1.34 (minimum version 1.12)
 Go version:   go1.8.3
 Git commit:   1caf76c
 Built:        Mon Nov 20 18:36:09 2017
 OS/Arch:      linux/amd64
 Experimental: false

Thanks!

Posts: 1

Participants: 1

Read full topic

Sitemap plugin issue 502 Bad Gateway - in /sitemap.xml page

$
0
0

@Pramvir_Rathee wrote:

I have a big site, based on discourse. pages more than 0.1 million. 16 gb ram and 4 core CPU in linode, But when i acess www.___________.com/sitemap.xml
gives 502 Bad Gateway nginx page error.

Posts: 5

Participants: 2

Read full topic

Discourse smtp server email per hour set?

$
0
0

@Tumi wrote:

Hello guys . I want to use my private email service. Can i use a limit to send email max 400 per hour ? How to do it ?

Posts: 2

Participants: 2

Read full topic

Contributor Interviews – Daniela "Trash"

$
0
0

@erlend_sh wrote:

Every week (supposedly), we’ll be posting an interview with one of our many beloved contributors here on Meta. This week:

Daniela @Trash

Please state your name & location, and tell us a bit about yourself

  • Name: Daniela Bogazzi (and yes, in spite of my username I’m female :rofl:)

  • Location: Salerno, Italy

Well, at the moment I am looking for work (Editor’s note: Daniela just got hired as a Community Advocate for Discourse! :tada: ) , so I spend a lot of time searching for a new one. I devote the rest of my time

  • to my community where we are developing a new torrent client from the scratch,
  • to my forum where I am the only administrator and where I have to coordinate the various teams in their work and help new users who have problems with our existing softwares (emule mod for Windows, Linux and Mac),
  • and because I’m not a developer I’m learning at least the basic web languages (Html and CSS), then who knows?
  • with my partner, who is a developer

How did you first find out about Discourse?

I met Discourse when we were looking for another platform to migrate our community (we used V-bulletin for 10 years, but the founder of our project was tired of all the bugs of that platform). We tested a couple of platforms before deciding to go to Discourse, one was Diaspora, the other I did not even remember. We installed Discourse in November 2013, we tested it for a week, then we finally closed the old forum and opened the current one to the public.

What are you using Discourse for?

Our is a public forum focused on P2P technology. Since the official emule did not work with the Fastweb isp because of the private IP assignment to the users, our founder, 15 years ago, decided to develop a custom mod that worked only within the Fastweb network. In a short time we have become the most used mod in Italy, and today many users testify of having signed a contract with Fastweb only to use eMule AdunanzA. As I said above we use Discourse to coordinate groups in our work, to help users, and even to give news or comment on articles about the world of technology, politics, economics, and everything they want to discuss.
Discourse gives me all the right tools to do what we do.

How did you get so involved in the Meta community?

I’m so involved with Discourse initially to learn how our forum worked, what functions were there, what could be changed and what could not be done (at that time I was a member of the team, I was neither moderator nor administrator). Then I started asking our founder to add a function, edit a button, change a layout, and so on, because I had seen similar things in other forums here on Meta. After a month our founder promoted me moderator and said “well, now make all the changes you want”. After six months I was an administrator together with my founder. At that time I started to go even further with Meta to learn the administrative functions, to see if there were any reported issues before updating our forum, checking what functions had been added, what plugins were released that could serve us etc… When I felt a little safer than my knowledge about Discourse, I started interacting on the forum not only to ask for support but also to give it (sometimes even giving wrong or inaccurate suggestions :stuck_out_tongue_closed_eyes:). When unfortunately our founder got sick, he had to leave our community and charged me to handle everything. At that point I became an even more active here on Meta, practically Discourse has become my second community I frequent every day.

What compels you to contribute to Discourse?

Compels??? I like to help who has problems if I can do it and I like to contribute to the community with my (few) knowledge when I can. Here I learned a lot, I return what I learned to others.

Tell us about a non-Discourse community that you’re involved in!

Well, I’ve been living in Salerno for about 2 years, many of my current friends are passionate about Dungeons and Dragons since they were 12 or 13 years old. Since my boyfriend is from the company, they have convinced me to play.

What to say? Become a Balor demon for 7 rounds, to save my party from a Japanese Oni and 200 samurai who want to kill you, have no price :smile: (at least until next week, when the master - university professor of medieval philosophy with a lot of fantasy - decides which curse I will have :disappointed:).

Occasionally I also play with League of Legends with other friends, just for fun. We are a quiet team and we do not like discussing with other players for a game.

What kind of significance does the open source movement have to you?

I think it’s great to create open source projects, even ours are open source.
Personally, I believe open source philosophy is one of the most important resources to help new developers to evaluate and increase their skills and to learn new languages. I like when a developer, a web designer, or even a translator adhere to an open source project, because they do it mostly for passion. And it also helps them expand their portfolio.

For example, the latest public version of our project was developed by an 18-year-old boy (at the time) along with our founder. The one currently in development has 4 developers, 1 is a well-established professional who works for a multinational company, 1 has just graduated from computer engineering, 1 is a neo-graduate, 1 is a very good developer but has decided to do another job orientated to bio-engineering and develop programs only for passion … All of these different people joined together because of an open source project!

What has been the greatest challenge in learning about Discourse and its community?

Well, for a non-technical user like me, it was to understand the structure of Discourse itself. What does docker mean? What do all the services that go after discourse (postgres, redis, etc.)? What is a rails c console? And a SQL query what can do? It took time to understand how everything works and I’m still learning.

At first, I thought I could break anything I was touching… the first time I put my hand on the css/html window I inadvertently deleted a stylesheet that had written my boss and I had a day of total panic :scream: … then I searched in all forum to find the staff action log and reset the stylesheet lost.
At the moment the only difficulty I have is to understand well how api and webhooks work.

Any ideas on how to improve the Meta community?

We encourage respondents to speak candidly on this topic. Even if no sensitive information was discussed, answers will always be presented in a short list.

  • Lack of topics/documentation targeted at new users. Clearer FAQ for recurring questions like server requirements.
  • More exhaustive explanations for Discourse’s main features.

Any advice to future contributors?

Nothing in particular, just read a lot and learn from the documentation already written by others before them, ask for explanations if they do not understand something, do not get angry when a user does not follow your explanations, help when it’s possible even on the least important things, never give up the knowledge of other users (and then explain point to point a solution to a problem, because even if the user you are responding to is a skilled user maybe the user who will read the same topic later is only a basic user), the usual thing in short…

Posts: 1

Participants: 1

Read full topic

Viewing all 60707 articles
Browse latest View live




Latest Images