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

Invite system automatically joining people

$
0
0

@Mischief wrote:

Using the invite system, I've invited someone using their old email address. The invite bounced - however, they have been joined up seemingly automatically.

The bounce message says: #550 5.1.1 RESOLVER.ADR.RecipNotFound; not found ##

I'm using mandrill to send the emails and there it shows the link has been clicked on, however the subsequent email sent out also bounces and doesn't get clicked on.

The invite was received at a server which uses messagelabs.com. I'm not sure if this is relevant.

While I can't put my finger on what is causing the automatic joining, it's clear that something isn't quite right.

Posts: 2

Participants: 2

Read full topic


Non-admin group owners can't edit members of non-visible groups

$
0
0

@downey wrote:

Continuing the discussion from Group owners for managing group membership:

Reproduce:

  1. Create a group GroupName and do not select "Group is visible to all users".
  2. Add a group owner who is not otherwise a privileged Discourse user (not an admin)
  3. As that user, navigate to /groups/GroupName to edit the group membership.

Expected Result:

  • The non-admin group owner should be able to see & edit group members.

Actual Result:

  • The non-admin group owner gets an error page and can't see the group.

Posts: 5

Participants: 2

Read full topic

Does discourse have template/style conditionals?

$
0
0

@AstonJ wrote:

That you can use to show/hide stuff from guests or members?

I want to show a message for guests only in the header - is this possible?

Posts: 3

Participants: 2

Read full topic

Making an entire td link while having a different link within (JQuery)

$
0
0

@charleswalter wrote:

Has anyone else tried this?

I wanted to make the call to action a bit more active so users would be inclined to click on a topic, so I added a hover/link on the entire TD. One complication is that we had moved the category link just underneath in the same cell.

Here's the code I'm using..

For the topic area...

<td class='main-link clickable-cell clearfix' data-href='{{topic.lastUnreadUrl}}' colspan="{{titleColSpan}}">
  {{raw "topic-status" topic=topic}}
  {{topic-link topic}}
  {{#if controller.showTopicPostBadges}}
    {{raw "topic-post-badges" unread=topic.unread newPosts=topic.displayNewPosts unseen=topic.unseen url=topic.lastUnreadUrl}}
  {{/if}}
  {{plugin-outlet "topic-list-tags"}}
  {{#if expandPinned}}
    {{raw "list/topic-excerpt" topic=topic}}
  {{/if}}
  {{raw "list/action-list" topic=topic postNumbers=topic.liked_post_numbers className="likes" icon="heart"}}

  {{#unless controller.hideCategory}}
  {{#unless topic.isPinnedUncategorized}}
  <div class="foro">{{category-link content.category}}</div>
    {{/unless}}
{{/unless}}
</td>

Jquery. the event.stopPropagation was key so that the TD click did not interfere.

<script>
jQuery(document).ready(function($) {
    $(".clickable-cell").click(function() {
        window.document.location = $(this).data("href");
    });
    $(".clickable-cell a").click(function (event) {
        event.stopPropagation();
    });
});
</script>

And some CSS to ensure that the cell still acted like a link, with some emphasis that the category link is its own link

.clickable-cell:hover {background-color: gold; cursor: pointer;}
.clickable-cell a:hover {text-decoration: none;}
.foro a.badge-wrapper.bullet span.badge-category:hover {font-weight: bold;}

Curious to see how it performs and feedback is always welcome.
https://www.helloforos.com/

Posts: 2

Participants: 1

Read full topic

Sorry, we couldn't load that topic

$
0
0

@Oscar wrote:

Hello, I'm one of the admins at 3DPrinterOS's Discourse Forum and I have an issue a user is reporting.
''once you log in you can not view topics, you can view topics while not logged in. But apparently you can post new topics! This is not a browser cache issue, it happens even if the cache has been cleared.
I'm running win7 and have tried both Chrome and FireFox. I get this message OR a blank white page every time.''

I went to his account and I got the same thing, although it didn't occur on my account.

Any ideas?

Posts: 3

Participants: 2

Read full topic

Send unhandled flag emails to all moderators

$
0
0

@jomaxro wrote:

Continuing the discussion from Does anyone get notified when something is flagged?:

I would like to suggest that the email regarding unhandled flags should go to the moderators group, thus emailing all moderators and admins. Sometimes the contact email might be an admin who only handles the back end of the site, or someone who works 9-5, and thus is of no help when a flag is unhandled at outside of those hours.

Posts: 2

Participants: 2

Read full topic

Registration tied to specific domains

$
0
0

@PabloC wrote:

There are some use cases where you want to use Discourse and validate users "only for a particular or a group of domains".

For example, I work at Telefónica, and I would like to accept registrations only for @telefonica.com emails on my internal Discourse install.

Is this possible to implement? Is anyone interested in this?

I've seen this scenario in many SaaS apps lately, in particular, B2B apps, and it works great, and it's simpler to implement than SSO, for example. It's a more agile SSO integration.

Posts: 3

Participants: 2

Read full topic

Building a white box: Should focus be on single core performance?

$
0
0

@webeindustry wrote:

I'm going to be spending some time learning rails. From what I've gathered a lot of the wait time and performance in general comes down to single thread speed. Does it make sense to build out a white box and go for a high clockspeed vs more cores?

For instance the G3258 is unlocked, but has no hyperthreading and is a dual core. You can pick them up locally for $50+tax. Throwing in another $30 for a decent air cooler should guarantee 4ghz+ for about 1/4 the price of a similar frequency quad core with hyper threading.

Save the monies and go for the higher clock speed or dish it out for more cores?

Posts: 1

Participants: 1

Read full topic


Advanced User Preferences

$
0
0

@jomaxro wrote:

So this statement and similar ones are made frequently by the Discourse @team. Before I go into my request, let me say that I very much respect the devs for keeping the user Preferences clean, short, and easy to use. I would say that for a very large majority of users the currently exposed settings are all they will ever need.

That being said, there are a number of users who would appreciate more control over how Discourse works for them. These user might be mods/admins on a site, and want more granularity in the way they get emails, or the types of notifications that they see. They might be "power users" who have been using Discourse for years and have strong opinions on how they want it to work for them. As Discourse (the software) continues to grow and mature, and be used by an ever growing number of companies, organizations, groups, and end users, I think the number of people who want more control over their interactions on the site will continue to grow as well.

Currently there are 3 systems in place that control how Discourse works for a user. Some functions are hard coded. Other than writing a plugin, or forking Discourse for yourself these will not be changed. Some functions are site settings. These are controlled by the sites admins, and are applied to all users. Finally, a few functions are user controllable. I would like to see more functions be available for the end user to control. Things like granular control over email, notifications, mentions, etc. However, I would like to avoid cluttering the UI while adding these controls. I would like to propose some sort of "Advanced User Preferences" UI, that allows users who want to get into the nitty gritty of how Discourse works for them, while staying out of the way of the average user.

I'll be honest and say I am not sure how to expose this UI. It could be as simple as a button on the current User Preferences pane, that exposes the options when clicked. Many current pieces of software do similar things, keeping the advanced options hidden unless explicitly opened. You also see this in many installers - do a "complete install", or customize the instal to your liking. If a button in the UI is too dangerous, what about a a URL (something like meta.discourse.org/my/preferences/advanced) that must be manually typed into the address bar to reach the page. Another option would be to require the user to do something in the current UI to expose the advanced preferences. (Think developer options in Android - user must click the build number 7 times in a row to expose the menu in settings). Those are what I can think of off the top of my head.

Thoughts on Advanced User Preferences? Thoughts on how to prevent UI overload?

Posts: 3

Participants: 2

Read full topic

Please lose the divs in the lists

$
0
0

@Mittineague wrote:

Because of my experimenting with plugin outlets. I found two cases of div tags having a list as a parent.

The "breadcrumb" and the "menu links"

<ol class="ember-view category-breadcrumb" id="ember4770">
  <li class="ember-view no-category has-drop bullet" id="ember4772">
    <a aria-expanded="false" aria-label="Display category list" style="background-color: #eee; color: #333" data-ember-action="4774" class="badge-category home" href="">all categories</a>
  <a style="background-color: #eee; color: #333" class="badge-category category-dropdown-button home" data-ember-action="4776" href=""><i class="fa fa-caret-right"></i></a>
  <section class="hidden category-dropdown-menu chooser">
      <div class="cat"><a href="/" class="badge-category home" data-drop-close="true">all categories</a></div>
    </section>
  </li>

  <div class="ember-view bread-crumbs-right-outlet tag-selector" id="ember4773">

    <li class="ember-view tag-drop no-category bullet tag_all" id="ember4778"><!----></li>

  </div>

<div class="clear"></div>

</ol>

.

<ul class="menu-links columned">
  <li><a href="/" class="ember-view d-link latest-topics-link" id="ember4830">Latest</a></li>
  <li><a href="/new" class="ember-view d-link new-topics-link" id="ember4837">New</a></li>
  <li><a href="/unread" class="ember-view d-link unread-topics-link" id="ember4845">Unread (2)</a></li>
  <li><a href="/top" class="ember-view d-link top-topics-link" id="ember4831">Top</a></li>
  <li><a href="/badges" class="ember-view d-link badge-link" id="ember4860">Badges</a></li>
  <li><a href="/users" class="ember-view d-link user-directory-link" id="ember4876">Users</a></li>

  <div class="ember-view site-map-links-outlet tag-cloud-link" id="ember4836">

    <li><a href="/tags" class="ember-view" id="ember4885">Tags</a></li>

  </div>

  <div class="clearfix"></div>

</ul>

I guess it doesn't break anything, perhaps because browsers do well at "guessing" what the mark-up should be.

Unlike misplaced tags inside of tables, they don't show up "outside"

    <ol>
      <li>ol list item</li>
      <li>ol list item</li>
    <div>div in an ol</div>
      <li>ol list item</li>
    <div><div>div in a div in an ol</div></div>
      <li>ol list item</li>
    <div><li>list item in a div in an ol</li></div>
      <li>ol list item</li>
    </ol>
    <ul>
      <li>ul list item</li>
      <li>ul list item</li>
    <div>div in a ul</div>
      <li>ul list item</li>
    <div><div>div in a div in a ul</div></div>
      <li>ul list item</li>
    <div><li>list item in a div in a ul</li></div>
      <li>ul list item</li>
    </ul>

I don't know what would be better, having the divs outside of the lists, or changing the divs to list items, (other?).

But I think even if it hasn't bitten anyone yet there's a chance it will eventually.

Posts: 3

Participants: 2

Read full topic

Google Slides for Discourse

$
0
0

@ccdw wrote:

For those of you who are not aware, Google Slides can be embedded directly into the 'top' of Discourse, making a very effective, animated, rotating banner. Very useful for adding a little eye candy, or inserting your own paid ads, or perhaps info about your site.

They are very easy to 'make' - simpler even than PowerPoint and.. are free (at least in low volume usage).

Here's 2 slides from one of my test sites, with each element on the page being timed to arrive in sequence using various effects. Transitions between slides can be chosen too. Although for most of us, simpler will probably be less annoying after a while.

Worth taking a look in my view. Very reliable. Simple. Effective and did I mention FREE.




`




And below is some of the promo blurb from the Google Slides site.

Posts: 2

Participants: 1

Read full topic

In a top category page, show only its own topics below subcategories

$
0
0

@meglio wrote:

So, in our community people have been refused to understand and get used to the way categories work in Discourse. They get confused again and again. Nobody can understand the following Discourse's concept:

  • A top category can have topics
  • A subcategory can have topics
  • A top category can mix its own topics with topics of its subcategories and show in a single list

I don't know why, but people just don't understand it. They are used to a structure book alike:

  • Category can have sub-categories
  • Categories can have topics

I was thinking about a way to improve user experience for our use-case.

Thing 1. On a top category page, show two things only:

  1. The list of subcategories
  2. Topics found in the main category only; show it under the list of subcategories

Thing 2. Hide 2 items in the subcategories dropdown list:

So that only subcategories are shown, no "all subcategories" nor "none of subcategories" items.

Is it possible to configure Discourse as outlined above?

We really struggle to structure our categories well: we don't want to create a lot of subcategories as I've read a lot here on Meta that it's not recommended and will eventually fail. Yet we still need some subcategories, and we fail teaching our users how it works as it is now.

Posts: 2

Participants: 2

Read full topic

Starting a new message while browsing a topic

$
0
0

@Ossama wrote:

Hi there,

We ran a contest in our community, and i wanted to contact several participants regarding their entries, so i came across this process which i think might be improved a bit.

How to send a message to a user while browsing a topic?

  1. Click on a user image/name then
  2. Click on "Message" button

So what i was expecting that the new message box will pop up without changing the current page. But It does change it to the user profile.

What are your thoughts about this behavior? In my opinion I'd rather have the same page without changing it.

Posts: 17

Participants: 7

Read full topic

Invite link should not auto-accept invitation if user is already logged in

$
0
0

@mcwumbly wrote:

I've been using the Copy Invite Link features for invites primarily because I find it a lot more natural to personally craft a message to people who I am inviting to a topic (especially people who are not yet users).

Recently, I was typing up an email and when I added the link, I was kindly prompted by Gmail to test the URL:

The dialog in Discourse states that the "Invite link is only valid for this email address":

Unfortunately, after clicking it, even though I was already logged in as myself, it appeared to immediately accept the invitation.

If a user is already logged in who is not the one who created the invite it could instead display a warning dialog saying something to the effect of "oops, looks like you are attempting to accept an invitation for another user. If you are not [logged in user], please log out and try again?"

Posts: 2

Participants: 2

Read full topic

One Pager for mygabar.org on Discourse

$
0
0

@scombs wrote:

I work with various non-profit organizations who have internal email, mailing lists, and social media, but no communities. Discourse is an incredible tool for building a community. Thank you.

Many solutions will let you build a community on their platform (Facebook, LinkedIn, Meetup.com, etc.)--good for their platform. I like Discourse because organizations can build their own communities.

I created a one-pager to use for presentations. It includes some quotes that summarizes things nicely. (I like this presentation too.)

Why Use Discourse?

Intention to Action

"If we can use technology to shorten the path between intention and action, that excites me." -Gerry Lopez (from AMC Theaters, not Mr. Pipeline)

Collaboration

"...standardizing and automating manual processes, improving workflows, improving knowledge-sharing and collaboration, and gaining visibility into the information we have, so that we can leverage the data to make stronger business decisions." -Mary O'Carroll, Head of Legal Operations, Technology and Strategy, Google, Inc. (article)

Principles

"It's super easy to build a small thing for a few people, anybody can do that, for 10,000 people say; it's much harder to build networks and platforms and systems that work for 10 million people," said Chris Fabian, who co-leads the innovation unit at the United Nations Children's Fund and spoke to USA TODAY on the sidelines of the summit. (Article)

  • Design with the user
  • Understand the existing ecosystem
  • Design for scale
  • Build for sustainability
  • Be data driven
  • Use open standards, open data, open source and open innovation
  • Reuse and improve
  • Do no harm
  • Be collaborative

Or you can play the Tron intro :slightly_smiling:

Posts: 1

Participants: 1

Read full topic


How to setup Discourse to use SendGrid?

$
0
0

@ljpp wrote:

SendGrid offers the largest volume freemium deal out of email providers: 12k. I have also heard rumors that has the best email server reputation, ie. is least likely to be tagged as spam. Spotify, Uber and Booking.com use SendGrid, to mention a few high profile clients.

Unlike MailGun, SendGrid does not offer powerful incoming email routing and forwarding features. For receiving email they offer a webhook API, which is not nativley supported by Discourse.

Anyone here using SendGrid and whats your setup? Could I use SendGrid for outbound and Mailgun for inbound?

Posts: 2

Participants: 2

Read full topic

Adding internal links in header to preserve SPA?

$
0
0

@AstonJ wrote:

Is it possible to add links in the header (which I have already done) while also preserving the SPA so that clicking on them doesn't reload the whole site like it does on the first visit?

For example, I might want to link to the settings page (https://meta.discourse.org/users/astonj/preferences), terms, contact us pages etc.

Posts: 1

Participants: 1

Read full topic

Connectivity/Configuration issue with separate data container

$
0
0

@dlynch158 wrote:

I'm trying to use a separate data container and I'm running into an error message:

PG::ConnectionBad: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

Which is confusing because it shouldn't be looking for a connection on a domain socket, it should be trying to connect via the network!

Here is my web_only.yml file:

# IMPORTANT: SET A SECRET PASSWORD in Postgres for the Discourse User
# TODO: change SOME_SECRET in this template

templates:
  - "templates/web.template.yml"
  - "templates/web.ratelimited.template.yml"

expose:
  - "80:80"
  - "2222:22"

# Use 'links' key to link containers together, aka use Docker --link flag.
links:
  - link:
      name: data
      alias: data

# any extra arguments for Docker?
# docker_args:

params:
  ## Which Git revision should this container use? (default: tests-passed)
  #version: tests-passed

env:
  LANG: en_US.UTF-8
  ## TODO: How many concurrent web requests are supported?
  ## With 2GB we recommend 3-4 workers, with 1GB only 2
  ## If you have lots of memory, use one or two workers per logical CPU core
  #UNICORN_WORKERS: 3

  ## TODO: configure connectivity to the databases
  #DISCOURSE_DB_SOCKET: ''
  #DISCOURSE_DB_USERNAME: discourse
  DISCOURSE_DB_PASSWORD: REDACTED
  DISCOURSE_DB_HOST: data
  DISCOURSE_REDIS_HOST: data
  ##
  ## 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: 'REDACTED'
  ##
  ## TODO: The domain name this Discourse instance will respond to
  DISCOURSE_HOSTNAME: 'despicable.squadwars.org'
  ##
  ## TODO: The mailserver this Discourse instance will use
  DISCOURSE_SMTP_ADDRESS: smtp.mailgun.com         # (mandatory)
  #DISCOURSE_SMTP_PORT: 587                        # (optional)
  DISCOURSE_SMTP_USER_NAME: discourse@mg.squadwars.org      # (optional)
  DISCOURSE_SMTP_PASSWORD: REDACTED              # (optional)
  ##
  ## The CDN address for this Discourse instance (configured to pull)
  #DISCOURSE_CDN_URL: //discourse-cdn.example.com

volumes:
  - volume:
      host: /var/discourse/shared/web-only
      guest: /shared
  - volume:
      host: /var/discourse/shared/web-only/log/var-log
      guest: /var/log

## The docker manager plugin allows you to one-click upgrade Discouse
## http://discourse.example.com/admin/docker
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - mkdir -p plugins
          - git clone https://github.com/discourse/docker_manager.git
  before_bundle_exec:
    - file:
        path: $home/config/multisite.yml
        contents: |
         squadwars:
           adapter: postgresql
           database: squadwars
           pool: 25
           timeout: 5000
           db_id: 2
           host_names:
             - discourse.squadwars.org

  after_bundle_exec:
    - exec: cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate
## Remember, this is YAML syntax - you can only have one block with a name
run:
  - exec: echo "Beginning of custom commands"

  ## If you want to configure password login for root, uncomment and change:
  ## Use only one of the following lines:
  #- exec: /usr/sbin/usermod -p 'PASSWORD_HASH' root
  #- exec: /usr/sbin/usermod -p "$(mkpasswd -m sha-256 'RAW_PASSWORD')" root

  ## If you want to authorized additional users, uncomment and change:
  #- exec: ssh-import-id username
  #- exec: ssh-import-id anotherusername

  - exec: echo "End of custom commands"
  - exec: awk -F\# '{print $1;}' ~/.ssh/authorized_keys | awk 'BEGIN { print "Authorized SSH keys for this container:"; } NF>=2 {print $NF;}'

The data container itself starts up just fine, and I have verified that I can ping it (using the IP 172.17.0.2) from a busybox container.

Posts: 8

Participants: 4

Read full topic

Allow Slack to unfurl/expand links to "login-required" Discourse instance

$
0
0

@mcwumbly wrote:

I reached out to the Slack folks with this request and got the following reply.

My request:

We have private Slack and Discourse instances and I'm looking for ways to better integrate the two. We also use Google Apps extensively.

It'd be awesome if there were a way to configure Slack with credentials to retrieve content from these other applications and unfurl/expand them accordingly.

I searched and haven't found any way to do this yet. Is it already possible? If not, is this a request that could be considered in the future?

Thanks!

Their reply:

Thanks for taking the time to write in! A better standard for custom unfurling of private content is something we're indeed looking to offer further down the road.

For now, we'd recommend you start by creating a Slack app, since we already have features that will get you close to what you're looking for:

https://api.slack.com/slack-apps

OAuth would allow teams who've added your app to send an authenticated request from Slack to your service (triggered by the posting of your private links).

You can use a outgoing webhook or bot to listen for these links, retrieve the relevant content, then send it back in a payload to the team as a workaround to offer this content.

I hope this suggestion helps you get started, and please let us know if there's anything else we can help with!

Regards,
Tuan

Posts: 1

Participants: 1

Read full topic

Find previously suspended users

$
0
0

@jomaxro wrote:

Is it possible to get a list of users who were suspended at one time or another (not neccessarily actively suspended)?

Posts: 5

Participants: 2

Read full topic

Viewing all 60613 articles
Browse latest View live




Latest Images