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

How to disable the mini profiler?

$
0
0

@BlackKnob wrote:

I’m on v2.0.0.beta5 +193 and the mini profiler is visible on my admin account.
Am I supposed to see it? Is it a bug? How to disable it permanently?

I’ve already asked about this in another topic, but my posts have been deleted without explanation.

Posts: 7

Participants: 2

Read full topic


Group Banner/Flair image upload, and Publicly Created Groups

$
0
0

@subtenko wrote:

So Ive been looking into groups for about a week and think Ive come to the realization its not what I thought it was for. It also seems from past post I searched that either the devs dont want to make groups into discussion hubs or either just not right now, not sure. ( I come from Buddypress, or a least trying to do away with it)

Group Customization

  • Group Banner (like Profile Banner)
    That feature alone at least will allow me and anyone else to do CSS work on the backened to customize group page layouts a tad bit.

  • Group Flair/image representation upload from group owner

Publicly Created Groups

  • Allow groups to be created by anyone. (For those tight niches and group discussions ie “R/C boat racers”)

This is what I did in Inspect element with sloppy CSS work:

Because Im trying to move from Buddypress: (these are inspect element tweaks too, my former changes didnt save and I’d be using two social systems instead of just one)

But like I kinda mentioned before, if this is not how Discourse is planning to use groups, thats fine Id just at least like to know. What do ya think community & devs?

Posts: 1

Participants: 1

Read full topic

Using the API to retrive the value of a custom user field from a user

$
0
0

@Jake_Green wrote:

I’ve search the API documentation but I can’t find a way to get the value of a customer user field of a specified user. Is this possible? Thanks.

Posts: 1

Participants: 1

Read full topic

Recover_from_tombstone insanely slow

$
0
0

@pfaffman wrote:

I’ve got a big import that’s got a bunch of tombstoned images. This happens from time to time and I’m not sure why, but that’s not why I’m here.

I’m running rake uploads:recover_from_tombstone and it’s taking well over a minute per upload (I think that’s what those 45471 things that it needs to process are). So, I’m looking at a month for it to finish. :-1:

And the 25 that it processed appeared not to have done anything (the most recent one did reported that it was restoring an image to its proper place).

It’s a standard install on an 8GB Digital Ocean “optimized” droplet.

I’ve set

  db_shared_buffers: "2048MB"
  db_work_mem: "80MB"
  UNICORN_WORKERS: 4

At one point I tried increasing num_connections up to 200 (a new trick I learned recently), but that didn’t seem to help either.

              total        used        free      shared  buff/cache   available
Mem:           7.8G        1.7G        133M        1.0G        6.0G        4.8G
Swap:          2.0G        691M        1.3G

I’m pretty stumped.

EDIT: I think it’s just that the database is not on SSD, but whatever DO calls their extra space and it’s a huge community with a couple million posts.

Posts: 8

Participants: 3

Read full topic

Android+Chrome not registering service workers

$
0
0

@featheredtoast wrote:

Noticed today that new service worker registration isn’t firing on Android Chrome, tested on a Pixel XL - Chrome 65.0.3325.109

It appears like the event listener isn’t firing here:

@tgxworld It seemed pretty deliberate to have that event listener, but can we do without it?

Posts: 1

Participants: 1

Read full topic

Is this a sane idea to setup discourse on App Engine flexible environment?

$
0
0

@ballistic wrote:

There is a community post about how to set up discourse on App Engine Flexible environment:

I have difficulty to deploy it, it fails to connect to postgres/redis and the whole instance/version is removed, so there is no easy way to debug.

Is this a sane idea to setup discourse on App Engine flexible environment? Or there are fundamental problems?

Posts: 3

Participants: 3

Read full topic

Unnecessary space on top bar

Invalid Format: Uncaught SyntaxError

$
0
0

@bekircem wrote:

Hi,

I’ve error at the bottom of the page. I have not resolved for a long time. The reason of this error language files. I use Turkish interface. I did not make any edits on Turkish language files. How i fix that error?

Invalid Format: Uncaught SyntaxError: Expected "{" but "d" found. at undefined:1376:10

Posts: 3

Participants: 2

Read full topic


List of Plugins sorted by number of install

$
0
0

@joshm wrote:

Hi,

This is a feature request.

It would be nice if we have a page that list all the plugins sorted by the number of installs. I’ve checked https://meta.discourse.org/c/plugin/none/l/top but I couldn’t find a way to see which are the most installed.

I want to launch my fist site and I would like to know what plugins are the most needed, and I guess all the newbies like me need to do the same.

Drupal modules page sort all modules by the number of installs: Module project | Drupal.org

Ohh no!

  • Discourse doesn’t send statistics about plugin installs to a master server?
  • Most Discourse plugins are hosted on Github, and maybe there is no way to retrieve the number of downloads (a proxy for the number of installs)

Posts: 1

Participants: 1

Read full topic

Email summary removes bulleted items

Allow grace period editing window for messages to staged users

$
0
0

@tobiaseigen wrote:

I am testing out the ability to send messages to email, thereby creating staged users, and discovered there appears to be no grace period edit window. It sends the email immediately.

I am one of those people who relies heavily on the grace period edit window to quickly make fixes. Could it be possible to make this available? Or possibly to add a modal to warn us that the message is going out by email immediately and will create a staged user?

Posts: 4

Participants: 3

Read full topic

Feature Request: Making 'reserved usernames' check the censored and blocked words list

$
0
0

@ColonelPanik wrote:

It seems redundant to have a set of blocked and censored words, and yet a new user is able to choose a username which contains a word which is on one of those lists.

Posts: 5

Participants: 3

Read full topic

Font Awesome Icon Not Showing

$
0
0

@Zomb wrote:

I’m not sure if I’m doing something wrong, but when editing the font awesome icons for some badges, they don’t show up. I am trying to add the fa-smile for the “First Emoji” and it’s blank/broken. Any ideas?

Posts: 6

Participants: 2

Read full topic

Search stopped working, errors in logs

$
0
0

@allu wrote:

I am working on migrating a site from phpBB to Discourse. Search is not working anymore, I am not quite sure since when. I am seeing following symptoms:

  • Search autocomplete is not showing an results
  • Search times out after 30s, showing no results (get 502 server error)

Logs are showing the following:

postgres\current (showing up every second or so with tail)

2018-04-07 20:55:31.169 UTC [2817] FATAL:  "/shared/postgres_data" is not a valid data directory
2018-04-07 20:55:31.169 UTC [2817] DETAIL:  File "/shared/postgres_data/PG_VERSION" does not contain valid data.
2018-04-07 20:55:31.169 UTC [2817] HINT:  You might need to initdb.

rails/unicorn.stderr.log (shows up after searching times out)

E, [2018-04-07T21:03:35.717696 #77] ERROR -- : worker=1 PID:8885 timeout (31s > 30s), killing
I, [2018-04-07T21:03:40.293032 #11715]  INFO -- : worker=1 ready
E, [2018-04-07T21:05:45.855128 #77] ERROR -- : worker=1 PID:11715 timeout (31s > 30s), killing
E, [2018-04-07T21:05:47.884398 #77] ERROR -- : worker=0 PID:6114 timeout (32s > 30s), killing
I, [2018-04-07T21:05:50.699456 #12502]  INFO -- : worker=1 ready
I, [2018-04-07T21:05:53.009950 #12566]  INFO -- : worker=0 ready
D, [2018-04-07T21:06:17.953056 #77] DEBUG -- : waiting 16.0s after suspend/hibernation

Browsing the forum seems to be working normally (except for errors in logs). Since I am not in production yet, I could re-run my migration script. But I would like to know how to resolve this issue in case it occurs in production. Of further note, I resized my DO droplets a few times, checking out various configurations. Often the app stopped working after such a resize, and I had to rebuild. Once Docker even stopped working and I had to restore my base image. Maybe the resizes had something to do with it. Btw, I always adjusted my workers according to the available cpu’s (one worker per cpu).

I documented the following after one of those flukes:

Upgrade Complete
----------------
Optimizer statistics are not transferred by pg_upgrade so,
once you start the new server, consider running:
    ./analyze_new_cluster.sh

Running this script will delete the old cluster's data files:
    ./delete_old_cluster.sh
-------------------------------------------------------------------------------------
UPGRADE OF POSTGRES COMPLETE

Old 9.5 database is stored at /shared/postgres_data_old

To complete the upgrade, rebuild again using:

./launcher rebuild app

Can anyone make any sense of this, and tell me how I can recover from this situation (short of a restore)?

Posts: 5

Participants: 2

Read full topic

Function to link to the Discourse topic from a WordPress template?

$
0
0

@quimgil wrote:

Hi, in order to show the number of Discourse comments in a WordPress article without showing the comments themselves, we have added this simple code to single.php in our child theme:

<?php echo get_comments_number(); ?> comments

This will show the number of comments just fine, but how to make that this string links to the corresponding Discourse topic? I could not find a function, and I could not make {topic_url} work there either.

Posts: 2

Participants: 2

Read full topic


Twig Anything – Show any data from Discourse in Wordpress – an Open Source WordPress plugin

$
0
0

@meglio wrote:

Open-sourcing Twig Anything – a comprehensive WordPress plugin to retrieve and display JSON, CSV or MySQL data – from anywhere, including from Discourse Data Explorer.

Source Code

Fork me; PRs welcome:

Home website with demos, documentation and specifications: https://twiganything.com/

Related topics here at Meta (disregard pricing info, it’s now FREE and OPEN SOURCE):

WordPress install

  1. Git clone the repository
  2. Copy folder plugin_src to your WordPress plugin directory
  3. Rename plugin_src to twig-anything
  4. Activate the plugin in your WordPress dahsboard

Features

  • Understands JSON of any complexity
  • Fetches JSON from URLs (demo) or any data from your blog’s MySQL database (demo, tutorial)
  • Configurable CSV (comma-separated values) reader
  • Caches retrieved data locally for better performance
  • Uses expired values from cache as a fallback if data source is not available
  • Simple Twig syntax to output data (with syntax highlighting)
  • Embed it anywhere in WordPress with using shortcodes
  • Compatible with visual_composer Visual Composer (demo)
  • Integrates with discourse Discourse (demo, tutorial 1, tutorial 2)

Donate

Any donations to PayPal a.andriievskyi@gmail.com will be spent on:

Posts: 1

Participants: 1

Read full topic

Move category description to right in mobile view

(Dev environment) ActionView::Template::Error (broken theme)

$
0
0

@lll wrote:

In a theme, I was trying to inject a button using a plugin outlet,

I accidentally left out a > like so:

<button id="myb" class="mybutton toggler btn-flat"
//------------------------------------------------^ Right here
  <i class="fa fa-expand d-icon d-icon-expand"></i>
</button>

I guess that since this was in a handlebars template, it validated ok and the theme saved without throwing an error in the editor. Ever since then all pages give the same error:

ActionView::Template::Error at /
Pre compilation failed for: 
    <button id="myb" class="mybutton toggler btn-flat"<i class="fa fa-expand d-icon d-icon-expand"></i></button>

. Compiler said: Error: Syntax error at line 2 col 54: < is not a valid character within attribute names

Or this:

I tried safe-mode and I guess that does not exist in dev environment

I have a backup from yesterday that I can restore no problem, but I wanted to check if there’s any way to address this without restoring a backup, like maybe manually edit the theme files?

All of this is in a Dev environment.

Posts: 6

Participants: 4

Read full topic

Do the session cookies expire? Is there a setting for that?

$
0
0

@McBlu wrote:

Do the session cookies expire? My cohort was still logged on after a couple of days, and also with his browser closing. He’d like to know if there is a policy about having to re-authenticate at least once every 24 hours? Apparently, it is good to have them “expire” for security reasons. If we ban someone, we know that for sure in 24 hours they will be logged out and their permissions reset. We know if somoene leaves a session open on a computer somewhere in public that it will log out in 24 hours so people can’t just post randomly.

Are there settings for this and what should I search for in settings to bring them up?

Thanks in advance,
Blu

Posts: 12

Participants: 4

Read full topic

Changing the default System account user name

$
0
0

@BlackKnob wrote:

Each time the Discourse container is rebuilt the System account user name reverts to “system”. Is it possible to change it permanently to something else?

Posts: 4

Participants: 3

Read full topic

Viewing all 60599 articles
Browse latest View live




Latest Images