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

User Title Field / Badges?

$
0
0

@RobMeade wrote:

Hi all,

Just a query.

I have noticed that as a moderator I can edit a member's title field and I am presented with a text box to do so.

I am pretty confident this was the default behaviour some time ago when you updated your own title field as a user. However, it would seem that the title field is mapped to badges for users, e.g. they can only select what appears to be a trust level they have earned, or, blank.

Can you confirm, is this by design? If so, what does the purpose of being able to change it with the text box serve?

I may not be able to see the whole picture as a moderator, not an admin, so if there are admin options which do this mapping a heads up would be great. I have had a couple of people query it with me so I was just curious.

Thanks in advance :slight_smile:

Posts: 3

Participants: 2

Read full topic


Error when upgrading discourse from 1.7

$
0
0

@wil93 wrote:

Since I encountered encoding issues I skipped upgrading the DB so I used "templates/postgres.9.3.template.yml" instead of "templates/postgres.template.yml". Now when I try to rebuild I get this:

The following packages will be REMOVED:
  postgresql-9.5 postgresql-client-9.5 postgresql-contrib-9.5
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 26.1 MB disk space will be freed.
(Reading database ... 34533 files and directories currently installed.)
Removing postgresql-contrib-9.5 (9.5.5-1.pgdg16.04+1) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/share/postgresql/9.5/man/man1/postmaster.1.gz because link group postmaster.1.gz is broken
update-alternatives: error: error creating symbolic link '/usr/share/man/man1/postmaster.1.gz.dpkg-tmp': No such file or directory
dpkg: error processing package postgresql-contrib-9.5 (--remove):
 subprocess installed pre-removal script returned error exit status 2
dpkg: postgresql-9.5: dependency problems, but removing anyway as you requested:
 postgresql-contrib-9.5 depends on postgresql-9.5 (= 9.5.5-1.pgdg16.04+1).

Removing postgresql-9.5 (9.5.5-1.pgdg16.04+1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of stop.
Removing postgresql-client-9.5 (9.5.5-1.pgdg16.04+1) ...
Processing triggers for postgresql-common (178.pgdg16.04+1) ...
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Removing obsolete dictionary files:
Errors were encountered while processing:
 postgresql-contrib-9.5

FAILED
--------------------
Pups::ExecError: apt-get remove -y postgresql-9.5 postgresql-client-9.5 postgresql-contrib-9.5 failed with return #<Process::Status: pid 17 exit 100>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'

So I tried to change the line back to "templates/postgres.template.yml" and try with that. However I see this error:

Performing Consistency Checks
-----------------------------
Checking cluster versions                                   ok

*failure*
Consult the last few lines of "pg_upgrade_server.log" for
the probable cause of the failure.

connection to database failed: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/lib/postgresql/.s.PGSQL.50432"?


could not connect to old postmaster started with the command:
"/usr/lib/postgresql/9.3/bin/pg_ctl" -w -l "pg_upgrade_server.log" -D "/shared/postgres_data" -o "-p 50432 -b  -c listen_addresses='' -c unix_socket_permissions=0700 -c unix_socket_directories='/var/lib/postgresql'" start
Failure, exiting
-------------------------------------------------------------------------------------
UPGRADE OF POSTGRES FAILED

You are going to need to export your data and import into a clean instance:

In containers/app.yml: Change "templates/postgres.template.yml" TO "templates/postgres.9.3.template.yml"

Run ./launcher rebuild app again
...
...

I tried to enter the docker container to see why the command failed. I run the /usr/lib/postgresql/9.3/bin/pg_ctl ... command manually, and I saw that the command (which, I think, starts up a new postgres 9.3 server) failed because there was already an instance of postgres 9.3 running. So I tried to stop that instance but, everytime I rebuild, postgres is automatically restarted.

So I tried to do systemctl disable postgresql (or update-rc.d postgresql disable) but it doesn't work. It just says:

insserv: warning: current start runlevel(s) (empty) of script `postgresql' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `postgresql' overrides LSB defaults (0 1 6).

but on the next rebuild, postgres is running again.

I can't get postgres to not run at startup... any ideas?

Posts: 4

Participants: 3

Read full topic

Sort topics within category by topic title

$
0
0

@scombs wrote:

Each category now has a sort order setting with ascending / descending.

However, there is no option to sort for Original Post Title. Besides Created, seems like that would be a key use case.

Would be nice for categories that use naming or numbering conventions in the topic title, such as for documentation, policies, FAQs, calendars, changelogs, releases, etc.

Requested previously here and here

Posts: 3

Participants: 2

Read full topic

Strange Outline of Admin Users

Display the cumulative number of likes a user has received

$
0
0

@AndyatFocallocal wrote:

Discourse is recording the number of likes each user gets. is there any way to display this cumulative number when users are logged in, something like Reddit does?

Posts: 6

Participants: 4

Read full topic

Oneboxing media.ccc.de videos

$
0
0

@tobiaseigen wrote:

I'd love to be able to onebox videos like this one on ccc.de. Doesn't currently work or I haven't figured out how.

<iframe width="1024" height="576" src="https://media.ccc.de/v/33c3-8349-hacking_the_world/oembed" frameborder="0" allowfullscreen></iframe>

https://media.ccc.de/v/33c3-8349-hacking_the_world#video&t=1601

Posts: 1

Participants: 1

Read full topic

Using a Discourse component in a plugin

$
0
0

@jgujgu wrote:

I have a question about reusing Discourse "core" Ember components in plugins. More particularly, I ran into trouble today trying to put a "signup" d-button into a plugin template.

Here is where I tried to do:

And this is the console error it created:

I understand (very vaguely?) that showCreateAccount is a controller function passed along to different components that need it:

Moreover, in order to get this modal to pop up in my component, do I need to fundamentally change the structure of my files? I don't think my file structure is necessarily correct either. :sweat:

Posts: 1

Participants: 1

Read full topic

Unable to install Discourse following the official instructions

$
0
0

@pablostarter wrote:

Hi,

I'm trying to install Discourse into a VPS following the provided instructions but after doing everything they say, step by step when I try to visit the site, the server doesn't respond.

I spent the last to day trying to find out what is the problem and until now the only piece of information that I found and I think it's useful is the next error message form the nginx log(shared/standalone/log/var-log/nginx/error.log):

[emerg] 2928#2928: BIO_new_file("/shared/ssl/startups.startuc3m.com.cer") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/shared/ssl/startups.startuc3m.com.cer','r') error:2006D080:BIO routines:BIO_new_file:no such file)

Any idea what could be happening?

The OS I'm using is Ubuntu 16.04

Posts: 1

Participants: 1

Read full topic


Inactive user error for an active user?

Is it possible to update custom user field for current user with PluginAPI client side?

$
0
0

@Denis_Didkovsky wrote:

Is it possible to update custom user field for current user with PluginAPI client side?

We need that to make it easier for user for some basic setup (rather then going into user/preferences and search down the preferences).

thx

Posts: 1

Participants: 1

Read full topic

SparkPost redirects to spam domain?

$
0
0

@dandv wrote:

I use SparkPost to handle outgoing email and today I found that the "Visit topic" link, which used to go to sparkpostmail.com, now goes to http://post.spmailtechn.com, and another user reported seeing spam when clicking the link. Any idea what might be going on?

I followed the link and it does redirect to the complete thread, even without an ad blocker, but still, the domain is dubious.

Posts: 1

Participants: 1

Read full topic

Topic pin title problem

$
0
0

@Ogulcan wrote:

Hello, I have new problem :slight_smile:
I choose topic for pin. But its not pinned.
Why ?
problem : js.topic_statuses.unpinned.title

Posts: 1

Participants: 1

Read full topic

Removing oneself from private messages

$
0
0

@charleswalter wrote:

Our users are unable to remove themselves from private messages. I was under the impression that all users had this option. Is it only available for admins? Is there a related option in the control panel?

Here is a screenshot a user shared with me

Posts: 2

Participants: 2

Read full topic

Red notification on hamburger is misleading

$
0
0

@JagWaugh wrote:

2nd time I've seen this. A red notification appears at the hamburger, when I hover on it, it indicates "total flagged posts", when I click on it it takes me to /admin/flags/active, but there aren't any active flags.

When I click on the hamburger I then see that there is a post that needs approval, and when I click on that, then it takes me to /queued-posts, where there is indeed a queued post awaiting approval.

v1.8.0.beta1 +3

Posts: 4

Participants: 3

Read full topic

Remove Dropbox Onebox For Audio Links

$
0
0

@JamesNorth wrote:

Hi All,

The Dropbox Onebox works great generally - the pretty box with the folder/file name etc .. but with some individual files (like mp3 etc) it attempts to 'play' the file with the inbuilt audio player.

https://www.dropbox.com/s/5n413v2420pgslc/James%20and%20Ric%202017.mp3?dl=0

Becomes

Now, Dropbox kind of doesn't allow that kind of off-site streaming thing - it prefers you to land on their page and play it with their audio player.

  • Is there a way to remove the onebox formatting on a link?
  • Or, can the media player not attempt to play files from the Dropbox (and probably other cloud formats?) domain(s)

Posts: 1

Participants: 1

Read full topic


SSO Configured but Not Working

$
0
0

@Taylor_Johnson wrote:

I configured SSO on my WordPress site for my Discourse site, but when I log into my WordPress site and then navigate to the Discourse site I am not automatically logged in. Is there any detailed documentation on the SSO? Something I am missing?

Posts: 3

Participants: 2

Read full topic

Topic of the week

$
0
0

@Sara_Noel wrote:

I used to have a feature on vb that was topic of the week. Members could nominate their favorite topic each week and then a tally/poll would show the "votes/nominations" and which topic was nominated the most by peers ie. 1st, 2nd, and so on. I liked this because new readers could quickly read the best topics each week that weren't based on post reply count or views. If I remember correctly, the original poster that created the best topic of the week received a badge. It was a separate forum category and each week it would show each member's nomination and tally them up and show the amount of nominations a thread topic received.

Any thoughts on the usefulness or uselessness of this? Is this too similar to upvotes/downvotes? Not entirely sure if there is something already like this and I missed it. Learning daily. Just today I realized the welcome pm still had a discourse link. I never saw it before. oops.

TIA

Posts: 6

Participants: 2

Read full topic

Make it clear to the user what they voted on in poll results

$
0
0

@Drew_Warwick wrote:

Here's a large poll I participated in:

With that many options, it can be difficult to spot the items I voted for to check on how they're doing, and I may even have forgotten a couple of the items I voted for. I could switch back to voting to see what I voted for, but that list's order is different than the order of the results list, so it takes a lot of time to match up list items between views. It'd be great if there was some way to denote what I had voted for on the results view -- highlighting for instance, like in this badly edited image:

Posts: 1

Participants: 1

Read full topic

Change user email without email verification

$
0
0

@Philipp1 wrote:

Hi there.

I know I can impersonate a user and manually change their email address. But then it sends out an email with a confirmation link. Any way I can avoid this last step? Happy to do this in SQL, just not sure what the SQL credentials are and which field I'd need to edit?

Background: I am dealing with a bunch of elderly users. They can't correctly configure their account (particularly around notification settings) so I do it for them. I start with my own email address to be able to do the initial account verification. Then I'd change the account to their email address but half of these guys can't even click on the verification link. So I need to avoid having them to.

Posts: 2

Participants: 2

Read full topic

Unlist a topic using rails console

$
0
0

@shahidh wrote:

We have a use case where we need to close all existing topics and unlist them. I have closed all topics using the rails console by executing

Topic.where(closed: false).find_each do |topic|
  topic.update_status("closed", true, Discourse.system_user)
end

But, when I try to do the same to unlist topics by executing

topic.update_status("unlisted", true, Discourse.system_user)

I get this error:

ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR:  column "unlisted" of relation "topics" does not exist
LINE 1: UPDATE "topics" SET "unlisted" = 't' WHERE "topics"."id" = 1

From which I understand that there is no unlisted column for the topic object.

How can I unlist a topic using console?

Posts: 6

Participants: 3

Read full topic

Viewing all 60690 articles
Browse latest View live




Latest Images