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

Ability to hide previous revision (after enabling the option in admin)

$
0
0

@watchmanmonitor wrote:

Continuing the discussion from Ability to hide or delete old revisions on selected posts:

I've just pulled the trigger on this option, but existing post revisions are still there.

Will this go back and prevent existing changes from being seen, or does it only effect future posts?

Thanks!

Posts: 3

Participants: 2

Read full topic


Unable to restore my backup

$
0
0

@Steven_Arnott wrote:

Hi, Attempting to migrate to a new instance of discourse that is using an external postgres DB.

[2015-06-12 17:52:30] Switching schemas... try reloading the site in 5 minutes, if successful, then reboot and restore is complete.
[2015-06-12 17:52:31] Migrating the database...
[2015-06-12 17:52:31] EXCEPTION: Error dumping database
[2015-06-12 17:52:31] /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.10/lib/active_record/tasks/postgresql_database_tasks.rb:55:in
structure_dump'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.10/lib/active_record/tasks/database_tasks.rb:150:in structure_dump'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.10/lib/active_record/railties/databases.rake:270:in
block (3 levels) in '
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:240:in call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:240:in
block in execute'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:235:in each'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:235:in
execute'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'

Posts: 1

Participants: 1

Read full topic

StackOverflow answer links not Oneboxing

$
0
0

@DeanMarkTaylor wrote:

Copying a link from a specific StackOverflow answer doesn't seem to onebox.

Link from answer

Example link from answer

http://stackoverflow.com/a/30810322/406712
http://stackoverflow.com/a/30810322/406712

Link from browser address bar

The link from the browsers address bar just link to the Question and don't link to the answer - if you were to click the normal link yourself it goes to a different location to the onebox.

http://stackoverflow.com/questions/400212/how-do-i-copy-to-the-clipboard-in-javascript/30810322#30810322

Onebox

Normal Link

http://stackoverflow.com/questions/400212/how-do-i-copy-to-the-clipboard-in-javascript/30810322#30810322

Posts: 2

Participants: 2

Read full topic

Using link click counter to count YouTube Onebox play?

$
0
0

@DeanMarkTaylor wrote:

It would be nice to see the number of times a YouTube onebox embed had been clicked on ("played").

Considering that YouTube onebox embeds in Discourse are just simple links.

e.g.
https://www.youtube.com/watch?v=siMFORx8uO8

Which embeds as:

Note the title of the video is actually a link and if clicked goes to YouTube.
I believe both of the following should be counted:

  • Clicking the Play button in the centre
  • Clicking the Title link

A simple mock up would be:

Although this wouldn't be the actual count of plays and people might replay etc. it would be a good indicator.

Posts: 2

Participants: 2

Read full topic

Why does Docker say "WARNING: No swap limit support!"

Linked replies showing up again so you have to read them twice - can this be addressed?

$
0
0

@wesyah234 wrote:

I have a question about reading a thread when you expand the replies under another reply... you will still see that reply again below. I did read the thread about this, but the discussion was very technical for a new person to discourse, and it seems to have fizzled out anyway. So I'll start it again.

I'll also attach a screenshot. The arrows show the duplication. This is annoying and time consuming to re read replies. Maybe there could be a user set option to either present the thread in date order, or threaded, but not try to do both. People could set it to their preference.

oh well, I'm not allowed to upload images since I'm a new user.... another nice "feature" I guess smile

here it is:
http://postimg.org/image/cxvm82d5f/

Posts: 5

Participants: 3

Read full topic

Discourse Back Up S3 server version mismatch erro

$
0
0

@Bcsmith wrote:

I'm trying to back up to S3. No backs ups have executed since setting up discourse about a week ago. Below is the report I get while trying to run the backup. Is there an easy way to upgrade postgres to match the Amazon update? Are there other options? Will it mess up the data I already have in my discourse? I'm a novice at this so any help will be appreciated!

AWS hosting
I'm using putty to ssh
Docker install

[2015-06-12 23:07:47] Dumping the public schema of the database...
[2015-06-12 23:07:47] pg_dump: server version: 9.4.1; pg_dump version: 9.3.7
[2015-06-12 23:07:47] pg_dump: aborting because of server version mismatch
[2015-06-12 23:07:47] EXCEPTION: pg_dump failed

Posts: 8

Participants: 3

Read full topic

Category labels are just a bit too high

$
0
0

@watchmanmonitor wrote:

When there's nothing left for discourse to suggest in a category, it looks like the title of the Category needs to come down a few pixels.

(red line added by me for clarity)

Here in my hosted forum

and here on meta

Posts: 3

Participants: 3

Read full topic


Is there a way to save all the posts in a topic as an html file?

$
0
0

@Simon_Cossar wrote:

I am exploring the idea of using Discourse as a tool for peer to peer learning between students in Afghanistan and students in the west. Internet access in Afghanistan is very expensive relative to people's incomes. For this reason, it would be helpful if a topic could be downloaded as an html file to be accessed off-line. Is there a way to force all the posts in a topic to load so that they can be saved?

Posts: 3

Participants: 2

Read full topic

Is there a "hosepipe" endpoint for all public activity?

Original Poster Headshot on Category Pages

$
0
0

@youderian wrote:

Apologies if this has been asked / posted elsewhere. On the category pages, is it possible on the Discourse Hosted version to have a picture/head shot of whoever originally posted the discussion appear to the left of the discussion title?

It's nice seeing what users are participating (under "Users" tab), but having the original poster headshot is something I'd love to be able to show.

Thanks!

Posts: 1

Participants: 1

Read full topic

How to use textarea instead of text input for user fields?

$
0
0

@Akuta wrote:

I'm trying to setup a restricted forum where users have to be activated. I'd like for users to have to submit a lot of information so admins can verify it, but I don't see a textarea option to allow these applicants to enter much information.

Any built-in solution to what I'm getting at?

Hope that's clear.

Thanks.

Posts: 2

Participants: 2

Read full topic

Use Mandrill or own mail server?

$
0
0

@joao_pimentel_ferrei wrote:

Mandrill seems to be a nice service, but their payment method is driving us crazy. We cannot use paypal, with-which we get our donations and we tried with a temporary credit card and it also didn't work. I wanted to recharge with a lump sum using my own credit card, but it seems according to the form, that they keep the data of my credit card, and they use it again to recharge the account if the number of emails goes beyond a certain amount.

Sorry guys, I know this is a bit off-topic because Discourse just uses by default Mandrill as an external email server, and it's something I should ask Mandrill support, but I'd like to know your opinion of what to do in our discourse forum. We're growing!

Would you recommend us to install our own mail server on our VPS?

Posts: 3

Participants: 3

Read full topic

Hidden content/posts

$
0
0

@Webinsane wrote:

I searched for answer and no luck. Is there possibility to have option for regular user to mark the post as hidden from public or viewable only by admins. We have few clients that want to leave credential and to avoid opening new private message they could just tick the box to make the post hidden from public view. The only problem is that some might use this option in more cases than expected.

Thanks.

Posts: 2

Participants: 2

Read full topic

Likes! Are they satisfing your forum craving?

$
0
0

@Webinsane wrote:

Should likes be expanded? Are they really enough to mark the post content quality? Are we that closed-minded to have everything based on liking system. Should posts have alternative options next to the likes for example:

Dislike
Agree
Do not agree
Irrelevant Content
Funny
Useful
Helpful
Inappropriate

What is the value of the post author based on the "custom likes" above?

Posts: 2

Participants: 2

Read full topic


Censor Words are working in the Preview, but not the cooked version

How to customize categories page like this example

$
0
0

@aarjay wrote:

Would like to know how can i customize my discourse forum to make categories page look like this. I feel this is better than having a linear display of all categories. My amateurish developer side is also curious to learn some hacks to the amazing discourse forum smile

http://forum.playtown-game.com/categories

Posts: 1

Participants: 1

Read full topic

DiscoursePlugins.org status?

WIP: Customize topic list per category

$
0
0

@rewphus wrote:

I know my particular use case goes against some fundamentals of Discourse, so I don't feel entitled to any help, but since I don't have the programming chops to pull this off on my own, I had to throw this out there.

I'm trying to create a custom look and feel for my Games category. I have started by adding thumbnails to the topic list. By modifying Sam's personal "minimal" topic list design and using an example from @JSey I was able to customize it just for that category (which I know is very risky and highly dependent on version changes).

My code so far is this:

<script type='text/x-handlebars' data-template-name='list/topic-list-item.raw'>


{{#if isGame}} //check to see if you are viewing the Games category
<td class='main-link clearfix'>
   {{raw "topic-status" topic=topic}}
    {{#if topic.image_url}}
    <a href="{{topic.url}}" class=topic-thumbnail style="background-image: url({{topic.image_url}});"></a>
     {{topic-link topic}}
    {{else}}
    {{topic-link topic}}
    {{/if}}

  {{#if controller.showTopicPostBadges}}
    {{raw "topic-post-badges" unread=topic.unread newPosts=topic.displayNewPosts unseen=topic.unseen url=topic.lastUnreadUrl}}
  {{/if}}

  {{raw "list/topic-excerpt" topic=model}}
  <div class='creator'>
  {{#if showCategory}}
     {{category-link topic.category}}
   {{/if}}

   {{raw "list/action-list" topic=topic postNumbers=topic.liked_post_numbers className="likes" icon="heart"}}
   </div>
</td>



{{#if controller.showLikes}}
<td class="num likes">
  {{number topic.like_count}} <i class='fa fa-heart'></i>
</td>
{{/if}}

{{#if controller.showOpLikes}}
<td class="num likes">
  {{number topic.op_like_count}} <i class='fa fa-heart'></i>
</td>
{{/if}}


{{raw "list/posts-count-column" topic=topic}}

<td class="last-post">
<div class='poster-avatar'>
<a href="{{topic.lastPostUr}}" data-user-card="{{topic.last_poster_username}}">{{avatar topic.lastPoster usernamePath="username" imageSize="medium"}}</a>
</div>

</td>

{{else}}


{{#if controller.bulkSelectEnabled}}
<td class='star'>
  <input type="checkbox" class="bulk-select">
</td>
{{/if}}

<td class='main-link clearfix' 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}}
  {{#if expandPinned}}
    {{raw "list/topic-excerpt" topic=topic}}
  {{/if}}
  {{raw "list/action-list" topic=topic postNumbers=topic.liked_post_numbers className="likes" icon="heart"}}
</td>

{{#unless controller.hideCategory}}
  {{#unless topic.isPinnedUncategorized}}
    {{raw "list/category-column" category=topic.category}}
  {{/unless}}
{{/unless}}

{{#if controller.showPosters}}
  {{raw "list/posters-column" posters=topic.posters}}
{{/if}}

{{raw "list/posts-count-column" topic=topic}}

{{#if controller.showParticipants}}
  {{raw "list/posters-column" posters=topic.participants}}
{{/if}}

<td class="num views {{topic.viewsHeat}}">{{number topic.views numberKey="views_long"}}</td>

{{raw "list/activity-column" topic=topic class="num" tagName="td"}}
{{/if}}
</script>

<script type='text/x-handlebars' data-template-name='topic-list-header.raw'>

{{#if showLikes}}
  {{raw "topic-list-header-column" order='posts' name='topic.title'}}

  {{#if showLikes}}
     {{raw "topic-list-header-column" sortable='true' order='likes' number='true' forceName='Likes'}}
  {{/if}}
  {{#if showOpLikes}}
     {{raw "topic-list-header-column" sortable='true' order='op_likes' number='true' forceName='Likes'}}
  {{/if}}
  {{raw "topic-list-header-column" sortable='true' number='true' order='posts' forceName='Replies'}}
  {{raw "topic-list-header-column" sortable='true' order='activity' forceName='Last Post'}}

{{else}}  //use standard topic-list-header view

{{#if bulkSelectEnabled}}
<th class='star'>
  <button class='btn bulk-select' title='{{i18n "topics.bulk.toggle"}}'><i class='fa fa-list'></i></button>
</th>
{{/if}}
{{raw "topic-list-header-column" order='default' name='topic.title' showBulkToggle=toggleInTitle}}
{{#unless hideCategory}}
  {{raw "topic-list-header-column" sortable=sortable order='category' name='category_title'}}
{{/unless}}
{{#if showPosters}}
  {{raw "topic-list-header-column" order='posters' name='users'}}
{{/if}}
{{raw "topic-list-header-column" sortable=sortable number='true' order='posts' name='replies'}}
{{#if showParticipants}}
  {{raw "topic-list-header-column" order='participants' name='users'}}
{{/if}}

{{raw "topic-list-header-column" sortable=sortable number='true' order='views' name='views'}}
{{raw "topic-list-header-column" sortable=sortable number='true' order='activity' name='activity'}}
{{/if}}
</script>

<script>

Discourse.TopicListItemView.reopen({

    showCategory: function(){
        return !this.get('controller.hideCategory') &&
                this.get('topic.creator') &&
                this.get('topic.category.name') !== 'uncategorized';

    }.property(),

    isGame: function(){
        showOpLikes: true;
        return (window.location.pathname == '/c/games' || window.location.pathname == '/c/games/l/latest' || window.location.pathname == '/c/games/l/new' || window.location.pathname == '/c/games/l/unread' || window.location.pathname == '/c/games/l/top');
    }.property()

});

   Discourse.Topic.reopen({

       creator: function(){
           var poster = this.get('posters.firstObject');
           if(poster){
             return poster.user;
           }
       }.property(),
       lastPoster: function() {
           var poster = this.get('posters.lastObject');
           if(poster){
             if (this.last_poster_username === poster.user.username){
                 return poster.user;
             } else {
                 return this.get('creator');
             }
           }
       }.property('posters'),
       replyCount: function(){
           return this.get('posts_count') - 1;
       }.property(),
       hasReplies: function(){
           return this.get('posts_count') > 1;
       }.property()
   });

</script>

Essentially all I am doing is checking if you are viewing the Games category in a very sloppy way:

Discourse.TopicListItemView.reopen({

    isGame: function(){
        return (window.location.pathname == '/c/games' || window.location.pathname == '/c/games/l/latest' || window.location.pathname == '/c/games/l/new' || window.location.pathname == '/c/games/l/unread' || window.location.pathname == '/c/games/l/top');
    }.property()

});

Problem #1: I know there is a cleaner way to do this, but my attempts failed.

I tried to use a similar check to load a different topic list header:

{{#if isGame}}
  {{raw "topic-list-header-column" order='posts' name='topic.title'}}

  {{#if showLikes}}
     {{raw "topic-list-header-column" sortable='true' order='likes' number='true' forceName='Likes'}}
  {{/if}}
  {{#if showOpLikes}}
     {{raw "topic-list-header-column" sortable='true' order='op_likes' number='true' forceName='Likes'}}
  {{/if}}
  {{raw "topic-list-header-column" sortable='true' number='true' order='posts' forceName='Replies'}}
  {{raw "topic-list-header-column" sortable='true' order='activity' forceName='Last Post'}}

{{else}}
...

Problem #2: I don't have a working check to change the header view

Once that check is done I essentially load a modified version of Sam's code, with likes turned on using:

  Discourse.TopicListComponent.reopen({
        showLikes: true
 });

Problem #3: I really would like showOpLikes, but whenever I tried that, the results were always 0, even if original post had a like (if I'm understanding how that is supposed to work).

You can see the end result of this here:

There are three more things that I would like to add to this if possible.

Problem 4: I want to change the like column to be interactive so a user can click to like the game without having to enter the topic.

Problem 5: I want to put a comment icon next to the reply count, but as usual, my attempts failed.

Problem 6: I want to change "+ New Topic" label to "+ Add Game"

Once again, I don't feel entitled to receive any help with this since this is very specific to me. I will hopefully be able to solve many of these problems on my own, and I will update my findings as I work on them. I just have been able to learn so much from this community, I didn't think it would hurt to put this out there in the meantime.

Posts: 2

Participants: 2

Read full topic

Set category notification state historically

$
0
0

@AmiAthena wrote:

Currently, when you change the watching/tracking status of a category, it only applies that status to topics created from that point on.

If you watch a category and then a week later realize that's too much noise and decide to unwatch it, you are still watching each individual topic that was created during that week. Manually unwatching each one individually is unintuitive and time-consuming.
There should be an option to apply the status to the entire category, not just new topics.

Posts: 4

Participants: 4

Read full topic

Viewing all 60642 articles
Browse latest View live


Latest Images