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

Two levels for groups of users

$
0
0

@adopilot wrote:

Since groups getting more and more tuned and riched whit features.
Please consider making groups for groups of users.
Something like categories for groups.
This cloud be useful .
Something like this

Category of groups: Cities
And inside that there is each city: NY, Sarajevo, Tokyo etc.

Other Category of groups can be: Teams
And there is groups of users inside IT, Managmet, etc.

Grouping groups of users can be useful for users to easier navigate over groups, also it will be easier to self join in groups if we can display aggregates of groups to users.

Posts: 1

Participants: 1

Read full topic


When does the Plugin.rb run?

$
0
0

@Alavi1412 wrote:

sorry for my question but it is annoying me for long time.
in plugins I use JS. in javascript we our code run in special event for example when we use outlets we now our code will run when the outlet is shown.
but for plugin.rb I think this code will run just at the beginning of the app.
can anyone one help me when else this code will run?

Posts: 2

Participants: 2

Read full topic

Unable to use formatting on mobile

Adsense approval and Discourse

$
0
0

@TheAdmin2 wrote:

I signed up for Adsense. Only problem is I have waited for a while and I am not sure I did it the right way.
I have pasted the code I got from Adsense (so they can review it) in the "Top" (this is in CSS/HTML settings) and I added the Adsense code as well in settings.

It says this on Adsense:
Reviewing your site will take up to 3 days. We'll email you when we're done.
Paste it into the HTML of http://www.xxxxxxxxxx.se, right after the tag.

I can't make any ads as they have not approved it yet, what should I do?


It says I have to add the code to a place on the site that have a lot of traffic, how do I insert the code in for example a forum post? Or should I post it on the main page and if so how do I do it so it creates an ad that is empty (right now there is no ad box what so ever)?

Posts: 4

Participants: 2

Read full topic

Native app install banner for Android and iOS

$
0
0

@Falco wrote:

Continuing the discussion from Add to homescreen banner on Android:

Just created a PR to promote the native app with push notification for your recurring visitors:

If it gets merged, you can enable the site setting native_app_install_banner to get it working for your site. Remember that you must have the requirements from the Web App banner, like running with HTTPS.

Workflow for Android (Mobile | Tablet)

iOS

Posts: 1

Participants: 1

Read full topic

Problem adding custom emojis

$
0
0

@Lutz wrote:

We use custom emojis. Some of them are bigger than standard. We use the following CSS hack to display it nicely:

    /* Emoji Style */
    body img.emoji[title^=":_"] {
        width: initial !important;
        height: initial !important;
    }

This one, as example: (named :_bigboss:)

Since Beta 10 or 11 (we are on latest: v1.7.0.beta11 +38) adding new oversized emoji, generates this error:

    /var/www/discourse/app/models/optimized_image.rb:110:in `block in ensure_safe_paths!'
    /var/www/discourse/app/models/optimized_image.rb:109:in `each'
    /var/www/discourse/app/models/optimized_image.rb:109:in `ensure_safe_paths!'
    /var/www/discourse/app/models/optimized_image.rb:135:in `resize_instructions_animated'
    /var/www/discourse/app/models/optimized_image.rb:192:in `downsize_instructions_animated'
    /var/www/discourse/app/models/optimized_image.rb:213:in `optimize'
    /var/www/discourse/app/models/optimized_image.rb:205:in `downsize'
    /var/www/discourse/app/jobs/regular/resize_emoji.rb:14:in `execute'
    /var/www/discourse/app/jobs/base.rb:154:in `block (2 levels) in perform'



hostname	dragon-app
process_id	110
application_version	[a481bf048facd5e0c9a896d52f210b450c5a3d08, d8be3e8bb10f02912107803b28a1aa08080c9f81]
current_db	default
job	Jobs::ResizeEmoji
problem_db	default
opts
path	public/uploads/default/_emoji/_bigboss.gif
current_site_id	default

Other emjoi we added before, are still working without any problems.

Posts: 8

Participants: 3

Read full topic

ERR_INVALID_RESPONSE trying to get push_service_worker.js

$
0
0

@dani14_96 wrote:

I'm running Discourse in a docker container behind a reverse proxy with Apache, so my app.yml config file is
expose:
- "8080:80" # http
- "4443:443" # https
The reverse proxy works for http connections. I installed a ssl certificate with letsencrypt as explained here, and it works too.
Chrome Developer Tools show that if fails to GET push-service-worker.js


Browsing https://foro.soybiotec.es/push-service-worker.js in Chrome gives Discourse custom error 404 page. What could be the problem here?

Posts: 5

Participants: 2

Read full topic

Email Confirmation Not Working

$
0
0

@hifromjarrod wrote:

When I try to finish setup I never get a confirmation email. Below is my app.yml.

   # How many concurrent web requests are supported? Depends on memory and CPU cores.
  ## will be set automatically by bootstrap based on detected CPUs, or you can override
  UNICORN_WORKERS: 4

  ## TODO: The domain name this Discourse instance will respond to
  DISCOURSE_HOSTNAME: creativethoughts.us

  ## Uncomment if you want the container to be started with the same
  ## hostname (-h option) as specified above (default "$hostname-$config")
  #DOCKER_USE_HOSTNAME: true

  ## TODO: List of comma delimited emails that will be made admin and developer
  ## on initial signup example 'user1@example.com,user2@example.com'
  DISCOURSE_DEVELOPER_EMAILS: 'jarrods.businesses@gmail.com'

  ## TODO: The SMTP mail server used to validate new accounts and send notifications
  DISCOURSE_SMTP_ADDRESS: smtp.mailgun.org
  DISCOURSE_SMTP_PORT: 587
  DISCOURSE_SMTP_USER_NAME: postmaster@creativethoughts.us
  DISCOURSE_SMTP_PASSWORD: "i will not show this"
  #DISCOURSE_SMTP_ENABLE_START_TLS: true           # (optional, default true)

  ## If you added the Lets Encrypt template, uncomment below to get a free SSL certificate
  #LETSENCRYPT_ACCOUNT_EMAIL: me@example.com

  ## The CDN address for this Discourse instance (configured to pull)
  ## see https://meta.discourse.org/t/14857 for details
  #DISCOURSE_CDN_URL: //discourse-cdn.example.com

## The Docker container is stateless; all data is stored in /shared
volumes:
  - volume:
      host: /var/discourse/shared/standalone
      guest: /shared
  - volume:
      host: /var/discourse/shared/standalone/log/var-log
      guest: /var/log

## Plugins go here
## see https://meta.discourse.org/t/19157 for details
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git

## Any custom commands to run after building
run:
  - exec: echo "Beginning of custom commands"
  ## If you want to set the 'From' email address for your first registration, uncomment and change:
  ## After getting the first signup email, re-comment the line. It only needs to run once.
  - exec: rails r "SiteSetting.notification_email='jarrods.businesses@gmail.com'"
  - exec: echo "End of custom commands"

If anyone can help me I would really appreciate it.

Posts: 3

Participants: 3

Read full topic


What is the rule for Invite User feature?

How to turn off a checker for "Title seems unclear, is it a complete sentence?"

$
0
0

@Sung_Kim wrote:

Even ehought I put a title, I am getting this message:

Perhaps, it's because I am using Korean in the title. How can I turn off the checker? I set "title min entropy" to 0, but I still get this error message.

FYI, the title I used is "r0.12 리비전 작업 진행 사항을 잠시 공유해봅니다." (in Korean).

Posts: 1

Participants: 1

Read full topic

Site randomly stops working blank page CGI-BIN

Manually Clear DistributedCache

$
0
0

@will_io wrote:

Here is my current problem:

I rebuilt my discourse install using "stable" in app.yml but I did not wish to upgrade to the latest stable. So I rebuilt again using the intended older version. The current problem is that the site customizations are rendering require('discourse-common/lib/raw-handlebars').template() in the production source code when there is no such file in my install. This leads me to believe that the DistributedCache needs to be cleared. However, that is only an assumption. I would need to do this through the rails console I believe.

Currently getting a white screen due to the Uncaught Error: Could not find module discourse-common/lib/raw-handlebars error and I, of course, cannot log in through the interface to get to the admin interface.

Help and or suggestions? Thank you.

Posts: 1

Participants: 1

Read full topic

How to upload svg file for custom fonts

$
0
0

@Arta_S wrote:

Hey guys,

My head is exploding.
I want to upload a few files for custom fonts.

I want the file to be accessible like domain.com/filename.svg or domain.com/folder/filename.svg
or whatever!

Problem is that the discourse uploader doesn't upload svg files and I get an error even though I selected the svg from files setting.

I Have full access via filezilla, how can I upload a file somewhere that can be publicly accessed via direct domain.com/somefile.format

I am giving up on this if I dont get any answer here.

Posts: 10

Participants: 3

Read full topic

How can I edit a language

$
0
0

@Arta_S wrote:

Hey guys,

I am using Persian (farsi) language for discourse.
there are so many wrong translations.

How can I edit these translates?
Is there a file or something that I can edit?

Posts: 5

Participants: 4

Read full topic

Installation on DigitalOcean with 1GB RAM complaining

$
0
0

@adam_beers wrote:

Using the guide at https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md, I'm trying to install discourse on a DigitalOcean droplet with 1GB RAM. the discourse-setup script says I need to configure a swap file. DigitalOcean does not want me to use a swap file. At the top of the Discourse install guide, it says that a 1GB server is sufficient. How do I continue without using a swap file? The only option is to continue or exit the discourse-setup script.

Posts: 2

Participants: 2

Read full topic


Uploading Multiple Images at Once - Mobile Web

$
0
0

@fahadullah wrote:

The current flow of uploading multiple images on mobile is a bit odd. If I select a single image from mobile and upload it, everything works perfectly. However, when I try to select multiple images on the phone and then upload them, it doesn't work as expected. The images remain in Uploading... Uploading... and nothing happens.

I am not sure, if this is how it is supposed to work or I am doing anything wrong. Tested it with multiple devices and the problem is same.

P.S. Our users are facing this problem as well as we have recently migrated away from vBulletin after using it for more than a decade.

Posts: 18

Participants: 4

Read full topic

Discourse High Availability

$
0
0

@jakimfett wrote:

Has anyone played with a HAProxy/nginx/etc?

I could have sworn there was a how-to guide for a way to do distributed hosting, either via Docker or via multiple instances of Discourse all hitting a single high availability database server, but I can't seem to find a guide for it.

Any thoughts? I'm currently serving a small single Discourse site, but am interested in learning as much as I can about scaling and load balancing of Discourse.

Posts: 4

Participants: 1

Read full topic

User card and profile page of staged users

$
0
0

@Pad_Pors wrote:

Hi,

In our forum if one click on the avatar of a staged user, he is directed to "you don't have access to this page".

Is there any setting to resolve this?

Posts: 1

Participants: 1

Read full topic

Add Tag Group Issue Version v1.7.0.beta10 +81

"Next topic" keyboard shortcut

$
0
0

@Ernest_Oppetit wrote:

Hi

In the currently available keyboard shortcuts, it doesnt seem possible to navigate to the next topic within the category. J/K navigates through posts within a topic and shift+j/shift+k doesnt seem to do anything

I'd love to be able to go through all topics from a single category without having to go back to the list of all topics. Any advice?

Cheers

Posts: 6

Participants: 3

Read full topic

Viewing all 67773 articles
Browse latest View live


Latest Images