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

What's the easiest way to change the background of the page borders

0
0

@mbeale wrote:

We'd like to change ONLY the left and right border background, but not the background behind the text. Does anyone have suggestions about what/where/how to make such a change? Thanks in advance for anything anyone can share!

Posts: 3

Participants: 2

Read full topic


Email Working - But not

0
0

@alphaman wrote:

After wasting a week in installing discourse and atlast it works, but the email is not working. It doesn't send the email when a user registers

These are the details for my SMTP

Hostname : srv67.hosting24.com
Password : [Not mentioned]
username : no-reply@smartclashcoc.com
outgoing server : smartclashcoc.com
outgoing server port :  465

Now even thought they are configured in the app.yml, i am not getting the mails. Even the test mails are not working.

Can you please send me the config code with the information provided above? I am a noob and i don't know how to do all these things.

Posts: 6

Participants: 3

Read full topic

Discourse reports user ips as the load balancer

0
0

@nhumrich wrote:

I have an external load balancer (aws ELB) directing traffic to my discourse server. I have verified the X-Forwarded-For headers are being sent, but for some reason all the user ips show up as the load balancer ip?

Is this a bug or is there some setting I am missing?

Posts: 3

Participants: 3

Read full topic

Search AJAX not working

0
0

@CT075 wrote:

Hi -

You may remember me from these shenanigans. We're almost back to normal, but ever since we reinstalled discourse from scratch, we seem to have lost the ability to search from the navbar.

Specifically, when you type into the search bar it typically auto-updates (this behavior is consistent on this site and try.discourse) with results without actually having to hit enter. On our site, however, the search dropdown itself will only display "no results found" until the user presses enter and is taken to the search result screen (which works as expected).

I'm not sure what information would be relevant to include, so please let me know how I can figure out what else I'm doing wrong.

Posts: 6

Participants: 3

Read full topic

Long term whisper posts on topics?

0
0

@DeanMarkTaylor wrote:

There has been a couple of topics stopping me from getting to Unread inbox zero...

There are a couple of topics above which are standing between me and :unicorn:

I just wanted to check it is "whisper" posts at the ends of these topics that causing me to unable to "read" these completely and not a "bug"?

Posts: 5

Participants: 3

Read full topic

Migrate a topic to GitHub

0
0

@mholt wrote:

Is there a plugin to migrate a topic to GitHub as an issue? That could be really useful for technical forums that want to move specific development-related topics to a GitHub issue.

I'm not really sure how exactly it would work; maybe the GitHub issue would be created under the account of a bot or the user who initiated the move, and the original thread would be closed and the issue and the thread would link to each other.

Anyway, just thought I'd throw this out there as a "nice to have"!

Posts: 6

Participants: 3

Read full topic

Stuck at "Compiling css for default"

0
0

@manch wrote:

Hi

During the last two upgrades, one to 1.6.0beta5, another one to beta7, the upgrade process was stuck at the step "compiling css for default". Docker manager says it's still upgrading after 2 days of being stuck there.

Any idea why it's happening, and how to get unstuck?

I am a newbie. Let me know if more information is needed for a diagnosis.

Thanks in advance!

Posts: 4

Participants: 2

Read full topic

Username change wipes post history in user profile

0
0

@eriko wrote:

For various annoying reasons we keep our name change window open much much longer than default. This has led people to make use of it in an interesting manner. Changing your username seems to also clear the post history of a user when you look at their profile. We understood that changing the username would break being tagged in a post but this was unexpected.

I though it was worth mentioning.

Posts: 2

Participants: 2

Read full topic


Required CSS layout tweaks for new vertical timeline in 1.6?

Google Cloud One-Click install issue

Using an existing Laravel Users DB

0
0

@Vinlock wrote:

Hello,

I was wondering if I am able to use an existing Laravel Users DB with discourse.

Thanks!

Posts: 4

Participants: 4

Read full topic

The "useless" feature, "Who's Online" simplified?

0
0

@Druid42 wrote:

My members are talking, on a forum that's been up and running for over a year, HERE, and they really want a green dot to show who is online. I've scoured the Meta, and yeah, I get it. It's a plugin.

But I say, no green dot, a plugin that will break with new updates, and I've asked if they would be happy if their user name was green, to denote being online.

They were ecstatic. Anyway to denote who's online when they are online. I came up with the non-invasive solution. A simple color change to the username when online, colors customizable from the dashboard, It seems doable from CSS, but I haven't figured out how to poll the message bus for just connection status. We don't care about lurkers, we have our stats in the dash, so no need to replicate anything. This should be a simple plugin for if you are connected, your UN glows green. Well, the glowing would just be a nice touch....

Any thoughts on how to further this plugin?

Posts: 3

Participants: 3

Read full topic

API - Can you add a user to a group?

0
0

@jefflau wrote:

I'm trying to use the Discourse API to update a group with a particular user. In the docs that I have found, there wasn't any information on this, only the ability to create a group.

I also tried to watch the XHR request when I'm actually updating a group on discourse with another user. The API seems to be calling this URL: groups/[group_name]/members.json, which I can call with a GET and get back the group info, but I get an error when I tried to PUT with the usernames parameter.

{
  "errors": [
    "You are not permitted to view the requested resource."
  ],
  "error_type": "invalid_access"
}

Any advice on how I can get around this? I have put my API key and username as a query as per the API documentation instructions.

Thanks.

Posts: 5

Participants: 3

Read full topic

Subforum with different language (help wanted)

0
0

@tntbombom wrote:

i want to ask if its possible to solve this problem that im facing with discourse when i use 2 languages inside it (multi-support section with different languages)

now the default forum language is English. now when i open the subforum or another section with different language lets say Arabic for example , the problem is this:-

the visitors to that section cant read the subjects because the forum is in english language but the subjects there r in arabic language so writing style going to be Right to Left (which is in english) instead of Left to Right (which is in arabic).

the only way to solve this (which i found) , that the visitor must register in the forum and then go to his settings and change the default language to arabic and enter that arabic section again in order to read the arabic topics.

well is there away that if the visitor can open the arabic section link , then it will show the arabic language style only instead of the default forum language style ?

this is the main forum:-

https://forums.whonix.org/

this is the arabic subforum

https://forums.whonix.org/c/arabic

Posts: 2

Participants: 2

Read full topic

Allow users request access to private categories: rendering custom template on exception

0
0

@rilla wrote:

Hi all,

I'm working on this plugin which adds a setting to allow showing read-restricted categories in the category list.

This is already working (you can check the code in the Github repo), but now, as a next step, I want to show a custom view when a user with no access clicks on a restricted category.

My intention is to add a message to that view explaining that the category is private and encourage the user to register and request access to the category.

The way I'm doing this is adding a new NoAccessToCategory exception that is thrown whenever a user tries to access the restricted category, and now I'm trying to rescue from this category and show a custom template.

This is what I've done so far:

  1. Declare the new exception:

    # lib/discourse.rb
    class NoAccessToCategory < StandardError; end
  2. Tweak CategoryGuardian so it throws NoAccessToCategory instead of NotFound:

    # lib/guardian/category_guardian.rb
    def ensure_can_see!(obj)
     raise Discourse::NoAccessToCategory.new("Can't see #{obj}") unless can_see?(obj)
    end
  3. Rescue in ApplicationController:

    # app/controllers/application_controller.rb
    rescue_from Discourse::NoAccessToCategory do
      if (request.format && request.format.json?) || (request.xhr?)
        # No idea what to do here
      else
        render_to_string status: 200, layout: 'no_ember', formats: [:html], template: '/exceptions/no_access_to_category'
      end
    end
  4. Build the view:

    # app/views/exceptions/no_access_to_category.html.erb
    <h1>No access to this category</h1>
    <div>
       You don't have access to this category
    </div>

This is working when I browse directly to a restricted category url (i.e. no AJAX request), but it's not working when the category is accessed by clicking through the Ember frontend.

I'm completely unfamiliar with Ember (I come from a Rails background), and I would be very grateful if someone could give me some pointers as to how should I implement this.

Once it's done, I will of course release this and hopefully will be of some use for other users – I've seen this requested in a couple of threads: here and here.

Posts: 1

Participants: 1

Read full topic


Wordpress with Discourse in a subfolder

0
0

@Photon wrote:

Hello, I have been reading a few articles here about getting Wordpress to work with Discourse but still having a hard time understanding what with Docker and all.

Here is what I want. I want Wordpress running on the normal url and then discourse on a subfolder all using https from cloudflare, this thread says how to do that.

The main problem I'm seeing is that I have my wordpress website running on apache and Discourse runs on nginx. I have seen a few threads here on how to get around that and still use apache, but seems like a lot of configurations that I don't understand and then I would need to configure more if I run into trouble. It seems the best way is to run them both on nginx. So do I need additional nginx configuration for running both?

Another problem is that some packages don't support nginx for Wordpress, but I can get around that, just need one plugin in particular for 301 redirects.

I'm planning on running everything on a digital ocean droplet of 2GB ram, which I read is good. But is it also okay if I run other software on the same server? I plan to install Mautic in it too, to have everything integrated and maybe even SuiteCRM in the future. Which will be a problem since they both need Apache. Thanks.

Posts: 3

Participants: 3

Read full topic

App.yml file versus all no broken plugin

0
0

@Francois_Eric_King wrote:

I'am curious to know if someone have the app.yml file but with all no broken plugin in it.

Cause i have an issue about the order the plugin be declared in the app.yml

I have a doubt then the order of declaration of plugin is important?! Or some knowing conflict between some plugin we cant use side by side?

When i declare rating plugin before poll-ui is work
But when i invert the order...no

Is it for full including no broken plugin situation

Thanks

Posts: 1

Participants: 1

Read full topic

Duplicate mails when TO: ing two email addresses

0
0

@carlokok wrote:

We have sales@ and shop@ going to the same group mailbox in Discourse which is working great for us. However 1 minor issue that if someone mails both of those addresses, we get two copies of the exact same post. Is there some way discourse could drop duplicates like this?

Posts: 3

Participants: 3

Read full topic

Bundle exec rake fails

0
0

@mikehunterson wrote:

When I am setting up development enviroment with this guide https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-ubuntu-for-development/14727 things get messy when i try to do

bundle exec rake db:migrate db:test:prepare db:seed_fu

This is the error I get:

bundle exec rake db:migrate db:test:prepare db:seed_fu
Please require the stackprof gem falling back to fast_stack
rake aborted!
LoadError: cannot load such file -- memory_profiler
/home/olli/discourse/config/initializers/06-mini_profiler.rb:7:in `<top (required)>'
/home/olli/discourse/config/environment.rb:5:in `<top (required)>'
/home/olli/.rbenv/versions/2.3.0/bin/bundle:22:in `load'
/home/olli/.rbenv/versions/2.3.0/bin/bundle:22:in `<main>'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

I have memory_profiler gem installed and this was done on a clean ubuntu 14.04 64bit. I don't know what else info I could give.

E: Ok I have to make a confession. The version of the discourse is more than half a year old. But it has a lot of modifications and I wonder could I get it working without the nightmare of merging it with the newest one.

Posts: 1

Participants: 1

Read full topic

Facebook, Google+, Twitter login only

0
0

@iamkrishnam wrote:

Can I accept the new registration only through Facebook, Google+ and Twitter?

I just want to get rid of the traditional - Enter your user id and password.

Posts: 2

Participants: 2

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images