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

Private message via URL doesn't work for automatic groups

0
0

@Martyn wrote:

I'm trying to use the message URL feature to create a button to easily message the automatic @staff group but even though messaging and mentions for that group is enabled, using the URL results in a "Sorry, you can't send a message to staff". Using it for the @moderators group doesn't work either so it seems it's broken for automatic groups.

Posts: 1

Participants: 1

Read full topic


Adding links to Discourse header

0
0

@jamesmarkcook wrote:

I noticed that the Sitepoint forums have links within the Discourse header itself.

How was this achieved? I came across a post that suggested adding links above the header and then using CSS to position them so it looks like they're part of the Discourse header. I'd prefer not to do it this way but to add markup directly in the normal header if possible.

I was thinking a plugin, but I can only add markup where a plugin outlet exists right?

Posts: 13

Participants: 4

Read full topic

Does this software allow admin to put Adsense ads in?

0
0

@Gavin_Pedley wrote:

As the title suggests really. I am looking at discourse as an option to transfer or xenforo forum too. I need to know though if admin can simply add ads into the forum. Also is there a migration script or anything?

Posts: 6

Participants: 2

Read full topic

Should I set up a masked redirect to my Disclosure VPS? Is there an alternative?

0
0

@JustJasper wrote:

First of all, I should preface this with the fact that I am a newby when it comes to SSH and VPSs. That said, I have managed to get a Disclosure instance up and running on a OVH VPS over the course of the afternoon (including the e-mail sending! yay me!).

My question is how best to integrate the forum with my existing site? My website is hosted by Webflow, and therefore I have limited ability to edit or modify the native files. The domain where the website resides is managed by Hover (with a simple 'A' record map to the Webflow DNS. All working fine so far.

The issue, and resulting question, arises from how best to integrate the Disclosure forum, hosted on a VPS (with an obscure IP address), into that website?

Ideally, I'd want my visitors to be able to access the forum through 'forum.mywebsite.com', and (I think) I can accomplish this through a masked forward within Hover - however, I understand that masked-forwarding is considered SEO-unfriendly, and feels like a bit of a fudge? Is there a better alternative?

Posts: 3

Participants: 2

Read full topic

A question on user filters in a topic

0
0

@laughingriver wrote:

Hi, I have a question on filtering users within a topic. I'm on a forum where there is a pretty troublesome poster and I noticed that when I am in a topic I can click on the users in that topic and filter to just those users that I click on.

The question I have is what would it take to reverse that logic, i.e. clicking on a user filters their content out instead of in?

Would that require a code change?

Posts: 3

Participants: 2

Read full topic

Cannot access or rebuild Discourse container; Redis refuses connections

0
0

@logomancer wrote:

Hi. I was trying to restart a Discourse container to renew a Let's Encrypt certificate -- this was a manual process, before Discourse had support for it -- and after I restarted the container, the site was down. I looked in the logs, and I found that Redis was refusing connections. Restarting the container did nothing. I tried rebuilding the container, and this is what I got:

I, [2016-07-27T02:36:46.769834 #15]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
Failed to report error: Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED) 2 Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED) subscribe failed, reconnecting in 1 second. Call stack ["/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/redis-3.3.0/lib/redis/client.rb:345:in `rescue in establish_connection'", "/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/redis-3.3.0/lib/redis/client.rb:331:in `establish_connection'", "/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/redis-3.3.0/lib/redis/client.rb:101:in `block in connect'", "/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/redis-3.3.0/lib/redis/client.rb:293:in `with_reconnect'", "/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/redis-3.3.0/lib/redis/client.rb:100:in `connect'", "/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/redis-3.3.0/lib/redis/client.rb:276:in `with_socket_timeout'", "/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/redis-3.3.0/lib/redis/client.rb:133:in `call_loop'", "/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/redis-3.3.0/lib/redis/subscribe.rb:43:in `subscription'", "/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/redis-3.3.0/lib/redis/subscribe.rb:12:in `subscribe'", "/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/redis-3.3.0/lib/redis.rb:2760:in `_subscription'", "/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/redis-3.3.0/lib/redis.rb:2138:in `block in subscribe'", "/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/redis-3.3.0/lib/redis.rb:58:in `block in synchronize'", "/usr/local/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'", "/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/redis-3.3.0/lib/redis.rb:58:in `synchronize'", "/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/redis-3.3.0/lib/redis.rb:2137:in `subscribe'", "/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/message_bus-2.0.1/lib/message_bus/backends/redis.rb:304:in `global_subscribe'", "/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/message_bus-2.0.1/lib/message_bus.rb:508:in `global_subscribe_thread'", "/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/message_bus-2.0.1/lib/message_bus.rb:456:in `block in new_subscriber_thread'"]

Pursuant to another thread, I tried rebooting the server, then rebuilding. Still nothing. I start and enter the container, and I can see the Redis server running, but it's not accepting connections. I have no clue what to do here. Help?

Posts: 12

Participants: 4

Read full topic

Adding visited class to topic-details instead of just topic-title

0
0

@andrewroth wrote:

Hi all,

The team I'm working with is using the topic previews plugin, and we want to make the plugin text the same as the title's visited style if the topic has been visited. I quickly found out that that plugin caches all the topic previews, so putting the visited class directly on the preview is out of the question.

The general structure I see is

<div class="topic-details">
    <div class="topic-title"><a class="title visited">LINK</a></div></div>
    <div class="topic-excerpt" style="max-height: 80px;">EXCERPT</div>
</div>

So I want to put the visited class on the topic-details instead of the topic-title. Then I can use css on a parent .topic-details.visible to hit the .topic-except.

<div class="topic-details visited">
    <div class="topic-title"><a class="title visited">LINK</a></div></div>
    <div class="topic-excerpt" style="max-height: 80px;">EXCERPT</div>
</div>

When I tried to do this, I traced the code to discourse/routes/build-topic-route this.render('discovery/topics', { controller: 'discovery/topics', outlet: 'list-container' });
and then tojsapp/templates/discovery/topics.hbswhich has{{topic-list ... }}.

Past that, I'm totally stuck figuring out where topic-list is rendered from. Can anyone help? And does this seem like a logical and useful addition? I think other plugins that add content in the topic list would also benefit.

On another note (and maybe this needs its own thread), coming from rails, I feel totally overwhelmed in trying to figure out which file defines which method/helper/controller/template. Add to that the fact that you can't step through templates in javascript like you can in rails, and it's really hard to track down where exactly things I see on the page are coming from. I've also tried the ember chrome plugin, but their view explorer stops drilling down far too early to be useful. The ember js tutorials/explanations are helpful but discourse truly seems order of magnitude more complex. Any suggestions on how to approach this would be very welcome. Thanks!

Posts: 6

Participants: 3

Read full topic

Title tag for the forum

0
0

@victoria wrote:

Hello!

I want to use a title tag for my forum.

The idea is that it shows up in the search bar browsers, is visible in a search engine result and does not show up on all the emails we send out to users.

I haven't found an option for this yet. If I add the tag directly to the title it will be indexed, it will show in the search bar but I have a hard time removing it from all of the emails. This is how I solved it before, but now I have removed it completely as I couldn't really get it to work with e-mails. Does anyone know of a nice way to do this?

I'm also wondering how come there isn't an option for title tag in the admin pages? It would seem like a really simple way to do it for the users instead of adding it in the title and then removing it from the emails.

Posts: 1

Participants: 1

Read full topic


How to import pre-sso discourse users?

0
0

@michaelr524 wrote:

Hi,

I have the admin user which was created before discourse was set to use SSO.
How could I possibly "convert" it to an SSO user?

Thanks,
Michael

Posts: 2

Participants: 2

Read full topic

How to specify a different port (not 80) during installation?

0
0

@brucify wrote:

I am installing this on the production server, which I already have a website running on port 80.

How do I specify a different port to install Discourse?

Currently it won't let me install and says:

# ./discourse-setup
Port 80 appears to already be in use.

If you are trying to run Discourse simultaneously with another web
server like Apache or nginx, you will need to bind to a different port

See https://meta.discourse.org/t/17247

However the above link says "assumes you already have Discourse working", but I don't.

Posts: 3

Participants: 3

Read full topic

Render server response to ember main view

0
0

@EndruK wrote:

Hi,
I retrieve some content from my server and want to render it to the Ember Main View.

Currently I add a div called disraptorView and append via jQuery the Content retrieved from the server controller.
The Problem is: once there is some content in this div it is always displayed when someone is navigating on the page.

I want to render my response to the Ember Main View but I have no idea how to properly do that.

This is my Ember Controller:

export default Ember.Controller.extend({
  init: function() {
    this.send('loadContent');
  },
  actions: {
    loadContent() {
      var pathArray = window.location.pathname.split('/');
      var subpath = pathArray[pathArray.length-1];
      var type;
      type = (subpath == "") ? "main" : "sub";
      Discourse.ajax({
        url: `/disraptor`,
        type: 'GET',
        dataType: 'text',
        data: {"url":subpath,"type":type}
      })
      .then(function(result) {
        $(".disraptorView").empty();
        $(".disraptorView").append($(result));
      })
      .catch(function(error) {
        console.log(error);
      });
    }

  }
});

Here is what it produces:

and when I move to another page on the client:

Posts: 2

Participants: 2

Read full topic

Tags description

0
0

@Vikas_Dangi wrote:

I just updated my discourse forum and solved the tags canonical url problem. But an another problem is still exist, the meta description of tags is still showing the main forum description.

Posts: 1

Participants: 1

Read full topic

Use API to get mail address for given username

0
0

@rriemann wrote:

Hello,

I want to hack a script that routes incoming mails @association.org from the server to the private mail accounts of the association members. I assume that all members have a forum account and want to reuse the already approved mail address from the forum db.

I checked the data that is returned from the forum API for a given username, but I cannot find the mail address. How do I get it?

Posts: 7

Participants: 2

Read full topic

Can I set a default trust level based on email address host?

Confused about deleting users

0
0

@dlynch158 wrote:

So I have a user whose post count says 0 on the admin page, but it still says: "Can't delete all posts. Some posts are older than 60 days old. (The delete_user_max_post_age setting.)"

And there is no delete button for the user, it says: "Users can't be deleted if they have posts. Delete all posts before trying to delete a user. (Posts older than 60 days old can't be deleted.)"

So, how do I delete this users posts, even though they seem to have 0 posts? And how do I delete the account? Thank you.

Posts: 3

Participants: 2

Read full topic


Adding a new Avatar Size in Admin Settings

0
0

@stevenpslade wrote:

In Admin Settings you can specify different avatar sizes. On our altered Discourse profiles, I set the height and width of the image to be 220px. The image looks a bit pixelated.

If I stick 220 in avatar sizes, will this help? :slight_smile:

Posts: 5

Participants: 2

Read full topic

Suggestion: Add 'Delete topics, delete and block users' to bulk actions menu

0
0

@wityr wrote:

As I'm sure is the case for any install that allows some level of email posting by non-registered users, eg: email support portal, we receive a moderate amount of spam. About 3-5 messages a day in our case. In the morning when I first check our forum and I see there are a few spam posts, the steps to delete the post and then delete and block are:

  1. click title of post
  2. click trashcan
  3. click user's avatar
  4. click user's avatar again to get into the user's profile
  5. click delete
  6. click Delete and block this email and IP address
  7. return to latest topics and repeat for each spam post.

My suggested improvement is to add a button to the bulk actions menu that both deletes the selected topics, as well as deletes the accounts and blocks the email and IP address for whoever made those topics. Maybe call it Delete Spam for short. This would shorten the flow to:

  1. check off all topics that are spam
  2. click wrench icon
  3. click delete spam

Posts: 3

Participants: 2

Read full topic

Invisible timeline buttons are still clickable

0
0

@clay wrote:

When you scroll to the bottom of a thread, the timeline reply and notification buttons disappear. However, they can still be clicked, which causes some confusing behavior. To reproduce, scroll to the bottom of a topic and then move your mouse around where those buttons are. You'll see the cursor change to a hand when you are hovering over them. Clicking the invisible reply button opens the reply pane. Clicking the notification button doesn't appear to do anything.

Posts: 2

Participants: 2

Read full topic

Tags are wonky, a default set seems to have been assigned to each category

0
0

@AlbionsRefuge wrote:

About two weeks ago, tags started acting a bit wonky for us.

For example, I want to tag a topic as "python". I already have a python tag:

Here is what I see when I try to select the tag:

I know I have a python tag already and it normally jumps in there when I start typing but it doesn't now. It looks like it does when you create a new tag

Looks promising:

But after I click the checkbox, the new tag shows up for just a nanosecond and then disappears, no tag:

There isn't anything in the list of tags that can only be used in this category, although if I click in the field it again shows me just the wont-fix tag.

Just now I checked another category and found the following set of allowed tags. These are not a set of tags that anyone would have picked out for this category. I just deleted each one and clicked "Save Category" and when I come back in they are all back. The crazy thing is, it seems to let me delete one at a time, save and go back and it's still gone, UNTIL I delete the last one, when I come back after that they have all returned.

I spot checked a few more categories and they all seem to have that weird set of tags. in fact I just checked Corner Bar again and it has them now too. :eyeglasses: If I hadn't taken the screen shot at the top of this topic I would be questioning my sanity now.

Posts: 12

Participants: 5

Read full topic

Discourse/Wordpress SSO not pulling Twitter avatar

0
0

@stevenpslade wrote:

A user that signs up via Twitter is not granted their twitter profile avatar. Under SSO for that user in the Discourse UI, the information appears to present and correct:

And the link of their Profile Picture URL (http://pbs.twimg.com/profile_images/654649015804432385/2cliRPbF.png) is correct.

But their Discourse profile picture is the default letter image. Anyone else experience this, have any suggestions?

Posts: 2

Participants: 2

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images