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

./discourse-setup should ask for notification email

$
0
0

@streaps wrote:

I think it would be nice, if ./discourse-setup asks for the notification email address, like

Hostname for your Discourse? [discourse.example.com]: forum.example.net
Email address for admin account? [me@example.com,you@example.com]: jane@example.org
Notification email? [noreply@forum.example.net]: discourse-forum@example.com
SMTP server address? [smtp.example.com]: smtp.example.com
SMTP port? [587]:
SMTP user name? [postmaster@discourse.example.com]: discourse-forum
SMTP password? []: xxxxx
Let's Encrypt account email? (ENTER to skip) [me@example.com]:

Does this look right?

Hostname           : forum.example.net
Email              : jane@example.org
Notification Email : discourse-forum@example.com
SMTP address       : smtp.example.com
SMTP port          : 587
SMTP username      : discourse-forum
SMTP password      : xxxxx

I figured out that a could set SiteSetting.notification_email in app.yaml, but I guess I'm not the only person who wondered why she didn't receive a notification email after creating the admin account.

Posts: 4

Participants: 3

Read full topic


How to open a tag page with tag ID?

$
0
0

@veer wrote:

I recently imported a very big BBpress forum, there are tags like -ny, -ar, -al these are causing error 502 when opened their page by an admin, i want to remove thsese characters - . etc. But when i open these tags page with admin account they giver error 502, there is not a way to open these tags based on tags ID urls ?

Posts: 1

Participants: 1

Read full topic

Some way to show the username in the Messages list?

$
0
0

@skozz wrote:

I did a search before creating the topic but I don't found any related topic.

I want to show the username of the user in the Message list besides its avatar, exists some way to do that?

Thank you,
Angel

Posts: 6

Participants: 2

Read full topic

Is it possible to prevent moderators to see ip's and emails?

$
0
0

@Rojoss wrote:

It seems like moderators can access the admin page of any users.
The admin page displays their IP and email address.
It doesn't even have a button with show email or show IP which means it's not logged either.
Basically I just wanna have forum moderators that can help organizing the forum they shouldn't have access to private data of users.
So my question is if there's any way to prevent moderators from seeing this data.

Posts: 12

Participants: 4

Read full topic

TL3 & TL4 can't quick edit topics in the title bar

$
0
0

@Rojoss wrote:

This quick edit button is not visible for TL3 and TL4 users even though they are able to to edit the title and category.
It makes moderating a lot easier having this edit button if they have to change categories often.

Posts: 3

Participants: 2

Read full topic

Raspberry pi 3 hosting

$
0
0

@frju365 wrote:

Hi,
I want to host a forum on my rpi 3 but I don't know how I can do that if it's possible. I found this : https://meta.discourse.org/t/hosting-discourse-on-a-raspberry-pi-3/54891
But this hasn't help on how can I get a custom docker image.
Moreover, the Raspberry pi is very good to host sites, forums... so it can be a good thing to do an image for ARM (and compatible with DEBIAN :slight_smile: , the most used Distro on server side ).

Thanks for your answer... Discourse is a good software but I really need help to install it
frju365

Posts: 2

Participants: 2

Read full topic

User page with custom data from external DB

$
0
0

@Rojoss wrote:

We use Discourse as a forum for our game and I'd like to create custom user pages with data from the game.
Such as rankings, stats, achievements etc.

I've followed the setup tutorials and managed to setup the development environment and I've started the plugin.
Since there isn't really a good place with documentation I already have several questions.
And in general I'd like to know if this is even possible or if it's too ambitious.


What I have is a forum with SSO login and a MySQL database for where I need to get the data from.
If it's not possible to get it directly from the DB in ruby I could write a REST API or something to fetch the data of users by external ID.

What I'd like to make is a page on the profile with custom data.
And maybe display some values on other places too such as league icons etc but I'm sure I'll be able to figure this all out once I get the basics.

  1. Is it possible to fetch user data from our MySQL DB?
    If so, should I just follow a tutorial such as http://zetcode.com/db/mysqlrubytutorial/ or is there an alternative way?

  2. I couldn't find any handle to add a new user page is there support for this?
    The plugin that shows handles doesn't really show any on the user pages.

  3. General question if it's possible to override stuff in Discourse through plugins or is it only possible to add extra functionality with handles and JS etc?

(4) Also, is it really necessary to exit and start the bundle for each change?
I've done some experimenting already of course but none of my changes were on the forum after a refresh.
I had to restart the bundle for each change.
Restarting it isn't so bad but the first load takes like 15 seconds.

(5) Finally, in general I'd like to know if there is any documentation I might have missed because it's quite hard to get started on this even though I have quite a lot of experience as developer.
All the documentation I could find was the http://learndiscourse.org and some posts on here but they only explain the basics how to set the plugin up but then don't go in any depth how to actually make stuff.
Of course I'm also looking in the soure code of already made plugins but to get started it'd be pretty nice to have some basic documenation.

Topics such as controllers, widgets, database, custom locale, models, services, views etc.
I see a lot of plugins with folder structures with things mentioned above but nowhere is really explained what it's all about.

Posts: 5

Participants: 2

Read full topic

Changing `system` account email

$
0
0

@David_Collantes wrote:

The system account on my play install had the email no_email. As an admin, I tried changing it, but misspell it. When I tried to change it again, it tells me "We've sent an email to that address. Please follow the confirmation instructions." What now?

Is it a bug? Shouldn't the system (or whatever one decides to rename it to) be exempt of email confirmations/verifications?

Posts: 3

Participants: 2

Read full topic


Reordering posts inside a topic

$
0
0

@hnaseri wrote:

Is there any way to reorder posts inside a topic? or at least put a post above all other posts?

Posts: 2

Participants: 2

Read full topic

Can we create two forums with the same users but different user permissions?

$
0
0

@jhanna1024 wrote:

I am looking into solutions for creating two distinct Discourse forums each with their own separate content and design, however we would like both forums to share the same user base. Ideally we could put our users into certain groups and then give each group specific permissions for both spaces.

For example User Group A is our regular users with permissions to access Forum 1 but not Forum 2. User Group B is for VIP users and they will have full access to both forums.

Is something like this possible?

Posts: 6

Participants: 3

Read full topic

Dont Get Activation Email When Signing Up

$
0
0

@hifromjarrod wrote:

When I put my smtp email information in the app.yml rebuild the app.yml then try to sign up for my forum i never get an activation email. I tried everything on this list:

If anyone has any ideas I would love the help.

Posts: 2

Participants: 1

Read full topic

Forcing Discourse through SSL in Bitnami Stack

$
0
0

@EducatorWaji wrote:

I am starting a forum. And for that I bought a VPS, which is a LXC container. Since, Install a container(Docker) Inside a docker isn't viable I had to choose Bitnami Stack for Discourse. Bitnami's installer is simple to use. But, there are a lot of limitations. One such limitation is the incomplete or errorneous documentation.

To Force SSL, in their documentation for discourse they have told us to add some lines of code to /apache2/conf/httpd-vhosts.conf . But, when you search for that file, you will be surprised to see it in the /apache2/conf/extra/httpd-vhosts.conf . Even after I added the lines of code they have suggested, It didn't work. So I had to follow the below steps.

1) Add the below code on the block:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L]

After adding the above Rule snippet. You have configure whatever information there exists, with the one matching your installation settings.

2) Open /apache/conf/httpd.conf :
Then scroll down to find the below snippet and uncomment the line starting with Include.
# Virtual hosts
Include conf/extra/httpd-vhosts.conf

3) Restart the stack by moving back to the /discourse-1.5.3-1/ folder and restart the apache server using

./ctlscript.sh restart apache

After completing the steps, your discourse will automatically redirect from http to https

Posts: 2

Participants: 2

Read full topic

Email preview of following category

$
0
0

@charleswalter wrote:

Never realized this before, but when you are following a category, the topics that get sent via email will show on iOS mail, the image source of the avatar instead of the beginning copy of the topic. I wonder if there's a way this can be improved. Havent seen how this looks on Android.

Posts: 1

Participants: 1

Read full topic

Postgres error when running import_scripts/mbox.rb in Docker

$
0
0

@jtbandes wrote:

I'm attempting to set up a minimal Discourse instance to test how well import_scripts/mbox.rb works for importing Mailman data.

I performed the following steps (the host machine is macOS 10.12):

  1. cloned the discourse_docker repo

  2. copied samples/standalone.yml to containers/my-test.yml and modified the volumes to point to the right places; changed the SMTP server to localhost to avoid errors, although emails won't actually work.

  3. ran ./launcher bootstrap my-test and ./launcher start my-test.

  4. created my account via the web UI.

  5. ran ./launcher enter my-test. Now inside the container...

    1. ran rails c, and using User.find_by_username, called activate and save on the user object (since I didn't have an email server configured to do the verification)

    2. put a .mbox file from mailman in shared/standalone/import/messages/foo.mbox.

    3. in order to make the mbox importer work, ran apt-get install libsqlite3-dev, modified Gemfile and Gemfile.lock to point at the sqlite3 gem, and ran bundle install to install it.

    4. Finally, per instructions from this thread, ran the following:

      export LIST_NAME=my-list
      export DEFAULT_TRUST_LEVEL=1
      export DATA_DIR=/shared/import
      export SPLIT_AT="^From " # or "^From (.*)"
      bundle exec ruby script/import_scripts/mbox.rb

However, I get the following errors:

URGENT: FATAL:  Peer authentication failed for user "discourse"
 Failed to initialize site default
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in `initialize': FATAL:  Peer authentication failed for user "discourse" (PG::ConnectionBad)
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in `new'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in `connect'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/postgresql_adapter.rb:242:in `initialize'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/postgresql_adapter.rb:44:in `new'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/postgresql_adapter.rb:44:in `postgresql_connection'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:438:in `new_connection'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in `checkout_new_connection'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in `acquire_connection'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:in `block in checkout'
	from /usr/local/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in `checkout'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in `block in connection'
	from /usr/local/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:262:in `connection'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:571:in `retrieve_connection'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_handling.rb:113:in `retrieve_connection'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/connection_handling.rb:87:in `connection'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/attributes.rb:93:in `columns'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/attributes.rb:98:in `columns_hash'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/core.rb:173:in `block in find_by'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/core.rb:173:in `each'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/core.rb:173:in `all?'
	from /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/core.rb:173:in `find_by'
	from /var/www/discourse/lib/discourse.rb:302:in `system_user'
	from /var/www/discourse/script/import_scripts/base.rb:492:in `<class:Base>'
	from /var/www/discourse/script/import_scripts/base.rb:20:in `<top (required)>'
	from script/import_scripts/mbox.rb:2:in `require'
	from script/import_scripts/mbox.rb:2:in `<main>'

Am I doing something wrong? How can I resolve this and make the script work?

Posts: 1

Participants: 1

Read full topic

Html with script wont show on TOP and Footer, Help!

$
0
0

@RuxBux wrote:

Hi and sorry if my question is noobish

i have discourse ready, but when i put something in CSS/HTML ---> new ---> TOP and i put my html with script, it just showing white space

yesterday i had a price ticker there, it was working perfect... but this morning i just have white space on it

problem is, if i move my html to HEADER, its working...also on footer, its not working..... but i want it on TOP position near banner

im noob! can anyone point me to right direction :))

Posts: 5

Participants: 3

Read full topic


Finding and eliminating a DatetimeFieldOverflow post

$
0
0

@JagWaugh wrote:

After an import I have this in my log:

Job exception: PG::DatetimeFieldOverflow: ERROR: date/time field value out of range: "273790698683-03-22 15:29:32.618208 BC"

Now... most of my users are retired, but they're not that old.

I tried searching for, and deleting, posts older than 1993, but the error is still there.

How do I go about finding this user/post?

Posts: 1

Participants: 1

Read full topic

[Accepted answer plugin] Add an ability to accept the initial (topmost) post as a solution

$
0
0

@dmitry_fedyuk wrote:

The Accepted answer plugin is very useful when my visitors are looking at a list of topics: it shows which questions are already solved, and which are not:

Sometimes, a question is solved in the initial (topmost) post, e.g.: https://mage2.pro/t/2530
But the Accepted answer plugin does not allow to mark the topmost post as a solution:

It leads to a situation when a question is actually solved, but the visitors do no see it in the list and think that there are a lot of unsolved questions on my forum.
So it would be nice to allow accept the topmost post as a solution in the same way as any other post.

Posts: 2

Participants: 2

Read full topic

SparkPost just suspended the mail account I used with Discourse

$
0
0

@ChrisBeach wrote:

Email received today:

I've replied with the following:

I'll update when I get a response back

Has anyone else had compliance problems with SparkPost and Discourse?

It's possible that "junk" reports have been sent by my competitor whose crummy 10-year-old PHP forum was understandably left for dead when I entered the scene with my shiny Discourse-powered forum. He's been using every trick under the sun (including spuriously reporting the contact details on my whois record) to try to sabotage my forum!

Posts: 1

Participants: 1

Read full topic

Poll results page produces error messages

$
0
0

@ChrisBeach wrote:

Version: v1.8.0.beta2 +90 (very recent)

When browsing to a poll and switching to the results page I got an error message, which re-appeared several times when clicking "ok"

This error occurs for logged-in and non-logged-in users

I can send the production log snippet to anyone that's interested. Can't see anything obviously wrong in it.

The client-side javascript log shows the following:

Posts: 3

Participants: 2

Read full topic

Muting users in 1.7

$
0
0

@charleswalter wrote:

Thought I'd break this into a new topic. Im getting ready to communicate to our users soon about the mute users feature added in 1.7. Sounds very practical

From what I read @zogstrip it sounds like the main benefits are
- blocking users from sending PMs
- avoiding notifications on the user's posts where you are mentioned but not participating
- avoiding notifications if the user likes your posts

Am i missing anything? Does it stop email notifications if the user replies to your topic? (This might be helpful for future to avoid unwanted :fire:)

Would be curious if any other community admins have heard feedback from their users on this feature. My sense is our users will be very pleased

Posts: 1

Participants: 1

Read full topic

Viewing all 60613 articles
Browse latest View live


Latest Images