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

How to hide link in the post if user not login


[Paid] Onebox plugin

Nginx Error at testing stage

$
0
0

@Irwin_Binamungu wrote:

[kirizagroup00001@localhost nginx]$ nginx -t
nginx: [alert] could not open error log file: open() “/var/log/nginx/error.log” failed (13: Permission denied)
2018/03/04 14:29:21 [warn] 2495#0: the “user” directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:5
2018/03/04 14:29:21 [emerg] 2495#0: unknown directive “erver” in /etc/nginx/conf.d/discourse.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed

Am I getting this error because I haven’t yet obtained a domain name for my discourse or is it an internal error?

Posts: 7

Participants: 3

Read full topic

Could someone direct me to instructions on the right way to delete a member account please?

$
0
0

@McBlu wrote:

Could someone direct me to instructions on the right way to delete a member account please? Thanks in advance.

Posts: 5

Participants: 2

Read full topic

Dark Admin Editor Component

$
0
0

@lll wrote:

A very simple theme to make the admin code editor dark.

Github repo link

https://github.com/hnb-ku/discourse-dark-admin-editor

Before:

After:

Especially handy if the rest of your theme is dark :sweat_smile:

How do I install this?

You install this component just like any other theme. Follow the instructions in the official guide:

Once you’re done, simply add the component to your current theme.


For the curious

This is actually an official theme for the ace editor. You find / try the rest of the themes here:

And then you can grab whatever theme you like here

Let me know if you need help.

Posts: 1

Participants: 1

Read full topic

Newly registered users don't appear in the user list

Invalid Interpolation Keys/ Broken by update

$
0
0

@_fuchs wrote:

We want to modify user_notifications.reply_by_email to acheve something similar to this: Email notification footer with links for Reply Privately, Sender Profile, and User Profile

While this worked fine editing the text is now impossible because topic_title_url_encoded and username are invalid now:

The following interpolation key(s) are invalid: “username, topic_title_url_encoded”

I suppose that this has to do with the validation (see Bulk Invite from File resets the Invite Forum Mailer customized text). However i am not shure why username and the title url should not be in the e-mail response

additionally, topic_title_url_encoded should be Whitelisted but is still “invalid”

By the way: Is there a list of (valid?) Interpolation keys?

Thank you verry much

Posts: 1

Participants: 1

Read full topic

Cant add tags to my topics

$
0
0

@parisa wrote:

Adding tags to my topics are giving the following error:

ActiveRecord::StatementInvalid (PG::InFailedSqlTransaction: ERROR:  current transaction is aborted, commands ignored until end of transaction block
: INSERT INTO "topic_tags" ("topic_id", "tag_id", "created_at", "updated_at") VALUES (12081, 104, '2018-03-03 11:48:48.475820', '2018-03-03 11:48:48.475820') RETURNING "id")
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rack-mini-profiler-0.10.7/lib/patches/db/pg.rb:93:in `exec'


Posts: 1

Participants: 1

Read full topic


Layout issue when you click on @mention within a user card

$
0
0

@mcwumbly wrote:

Total edge case, but one I came across today. I work closely with one other person, so I added their name to my user card to help folks find them when I’m not available.

But if your user card info includes a @mention of another user, clicking on that username causes their user card to open offscreen. It’s a little worse when the other party doesn’t have a user card background image set.

I updated my profile here to provide an example:

Posts: 3

Participants: 3

Read full topic

Migrating legacy data from other applications

$
0
0

@lxsameer wrote:

Hi. I have a dump from an old forum application which I like to migrate to discourse. What is the best way to do it ? should I create a plugin for it ? Or use the API to create new posts ? I need the date to be exactly the same as the dump file for each post.

Posts: 6

Participants: 3

Read full topic

Migrating support tickets to a Discourse post

$
0
0

@gabrieltonon wrote:

Hi everybody,

Support tickets (from Discourse itself, or Zendesk, Freshdesk, etc) are a great form to build knowledge and awareness about a product.

So, when users are okay with it, migrating a private support ticket to a Discourse discussion can be a great way to spread that knowledge to other users coming across the same issue.

Anyone had any experiences with this, and did you use any specific post format or automations with it?

Posts: 1

Participants: 1

Read full topic

Discourse Tour - do we have such one?

$
0
0

@frold wrote:

Some sites offers a “tour” when you login to a new site first time.

Like this one when I login at hotmails new beta version.

-03-2018%2020-01-06

Does someone have added such feature for discourse?

Posts: 4

Participants: 4

Read full topic

Number Rating Poll - Show on One Line

Registering unregistered users on first email a la mailman?

$
0
0

@mikewse wrote:

We currently have a community using a Mailman mailing list which is open for posting without having subscribed/registered on the list. These posts are held for moderation in Mailman through this setting:

generic_nonmember_action = Hold

and the moderation interface allows granted senders to be automatically added to a “blessed” list to avoid further moderation:

accept_these_nonmembers = ...

You could say that the moderator performs a “light-weight” registration process for the user.

May a similar process be configured in Discourse? The main driver is to have zero setup for users wanting to send their first post. It would assume posting by email and it would be fine with an auto-reply that requires a confirmation link to be clicked before the post is accepted (into moderation or directly to list). Suitable defaults could be set for users that are auto-registered in this way.

Posts: 1

Participants: 1

Read full topic

Showing White Pages

$
0
0

@sulliops wrote:

So, over at the 000webhost forum we’re running into an issue that shows us white pages at random. Like, there’s no way to reproduce it, it just happens and we have to just wait it out.

One of the other moderators checked his js console and it’s throwing a massive jQuery error, pasted below.

TypeError: Attempting to register an unknown factory: 'site-settings:main'
    at i.register (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:13747)
    at s.eval [as register] (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:46609)
    at Object.initialize (_application-b8184170fb6f51b3d3c8cfc66839710cc18d5b118ef5d7e51c538ebffec4dc12.js:47100)
    at Object.n.initialize (_application-b8184170fb6f51b3d3c8cfc66839710cc18d5b118ef5d7e51c538ebffec4dc12.js:1684)
    at eval (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:16418)
    at e.each (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:14530)
    at e.topsort (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:14497)
    at e.topsort (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:14442)
    at s._runInitializer (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:16445)
    at s.runInitializers (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:16413)
    at s._bootSync (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:15639)
    at s.domReady (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:15543)
    at p.run (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:12382)
    at p.join (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:12419)
    at Function.u.join (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:33497)
    at HTMLDocument.eval (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:33560)
    at l (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3186)
    at Object.fireWith [as resolveWith] (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3316)
    at Function.ready (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3535)
    at HTMLDocument.s (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3551)
    at rocket.min.js:2
    at _ (rocket.min.js:2)
    at Object.fireEvent (rocket.min.js:2)
    at Object.ready (rocket.min.js:4)
    at rocket.min.js:5

This only started after we updated the forum to Discourse v2.0.0.beta2, so I figured I’d post here first. Any thoughts?

Posts: 5

Participants: 3

Read full topic


Discobot: trigger phrases

$
0
0

@McBlu wrote:

Assuming members didn’t opt into discobot when signing on…

What are the current phrases you can use with discobot to trigger it and does triggering discobot initiate the one tutorial or are there other functions it does? The tutorial is awesome.

Just typing @discobot triggers a reply telling you to say the phrase “@discobot display help” to get the tutorial. :laughing: Oops … just like you see below.

Where would people post the phrase? In a PM? I imagine random discobot phrases in topic discussions wouldn’t be great.

I see that the tutorial is preserved as a Greetings! PM in the message inbox. I like how you can do the tutorial at your own pace and will definitely be encouraging people to use it.

Posts: 8

Participants: 3

Read full topic

Tagging on mobile isn’t working

Question about the warning messages report

$
0
0

@GuidoD wrote:

Hi,

I do have a question about the report moderator_warning_private_messages.
What does that report count?
Because we noticed that for example for February 18th the report does show 11 warnings but we have only sent 2 warning messages that day.
(warning messages are the ones flagged as warning right after the user name “this is an official warning”?)


grafik

best regards
Guido

Posts: 1

Participants: 1

Read full topic

Disk Space Taken between Postgres and Docker

$
0
0

@Iceman wrote:

Hello guys!

I have a doubt regarding disk space and I hope someone can throw some light into this for me, as I’m not very experienced as a Linux SysAdmin.

My server (40GB) is running out of space, I usually control very extensively our uploads and stuff until I finally do the move of switching everything to AWS S3. The values were always normal until a a week or so ago when it started to go up (that’s when I updated to 2.0)

The Space is being taken between two directories, one is: /var/discourse/shared/standalone (taking 17.1GiB), divided as such:

 7.1GiB [##########] /postgres_data
    5.0GiB [#######   ] /backups
    4.3GiB [######    ] /log
  573.8MiB [          ] /uploads
   93.3MiB [          ] /redis_data

I did some research and found a similar case: Disk space usage by postgres

In my case, however, postgres gives back an error saying that there is no “backup” to drop.

And the other: /var/lib/docker (18.7GiB), divided as such:

11.6GiB [##########] /containers
    7.1GiB [######    ] /aufs

(Where the 11.6GiB of /containers are being taken by a sole container, and “aufs” is divided between 4.2GiBs for /diff and 2.9Gib for /mnt)

With this one I also read around and did the commands recommended by the Team, like “./launcher cleanup” but only cleaned 100 or so MBs.

Is there a way, technique, procedure or something that I’m missing? Inside the Discourse Installation it only marks 219MB for Uploads and 4.15GB for Backups.

Right now I’m at 93% disk usage and I fear that the installation will collapse without disk space at any moment.

Thanks in advance for any help and mostly for your patience

Posts: 6

Participants: 3

Read full topic

Discourse: ./launcher bootstrap app FAILED TO BOOTSTRAP

$
0
0

@pprp wrote:

Hi, I’m trying to install Discourse for first time in Ubuntu 16.04.3 LTS, once I run “/launcher bootstrap app”, then I receive below massage at the end. Could you please help me to solve in this regards. Thank you!

FAILED

Pups::ExecError: cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’ failed with return #<Process::Status: pid 13834 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn’
exec failed with the params {“cd”=>"$home", “hook”=>“bundle_exec”, “cmd”=>[“su discourse -c ‘bundle install --deployment --verbose --without test --without development --retry 3 --jobs 4’”, “su discourse -c ‘bundle exec rake db:migrate’”, “su discourse -c ‘bundle exec rake assets:precompile’”]}
0bc3d1f2c2768921xxxxc5f6f725dexxxx85d82f717a0ab3ee6dxxxxxxxxxx5f
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

Posts: 2

Participants: 2

Read full topic

Viewing all 67614 articles
Browse latest View live


Latest Images