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

Act on topics from list view

$
0
0

Bill Ayakatubby wrote:

Continuing the discussion from Broken Front Page:

Below is my original suggestion:

But @codinghorror is right: Mods especially will probably need a way to act on groups of topics, and the concept of hover tools only scales to one. There's always the good old check-box. Even Google uses them in Gmail, right there next to the star. Perhaps, after checking some topics, a new toolbar rolls down from underneath the masthead (<header/>) dock with appropriate actions: favorite and flag for regular users, delete and unflag for mods.

Posts: 3

Participants: 2

Read full topic


Performance Times

$
0
0

Steve Baer wrote:

I just updated discourse to 0.9.7.9 and am now seeing performance times on each page (see image below). It looks like this is only on for admins because I don't see the times on a coworkers computer. That said, I would still be interested in turning this display off. There are several people in our company that are going to be admins for our localized sites and I don't want to field the question of why this is showing up over and over. Is there a setting to toggle the times off?

Posts: 5

Participants: 3

Read full topic

Google search results issue with forums powered by Discourse

$
0
0

Tudor wrote:

I noticed when I search something on Google, most of the results found on Discourse-powered forums start with this message:

Unfortunately, your browser is too old to work on this Discourse forum. Please upgrade your browser.

Is there a way to avoid that?

Posts: 3

Participants: 3

Read full topic

Error after upgrade to 0.9.7.9

$
0
0

Sebastien Rey wrote:

Hi,

I'm using webfaction postgresql specific private instance to run discourse (custom port already configured for discourse 0.9.7.6).

This is not my first update, but this time i have an error.
Impossible to upgrade from 0.9.7.6 i have this error (after gem update) when i try to launch :

[reyman64@xxxx discourse]$ RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production bundle exec rake db:migrate
rake aborted!
FATAL:  no pg_hba.conf entry for host "127.0.0.1", user "discourse", database "discourse", SSL on
FATAL:  no pg_hba.conf entry for host "127.0.0.1", user "discourse", database "discourse", SSL off
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:831:in `initialize'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:831:in `new'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:831:in `connect'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:548:in `initialize'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:41:in `new'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:41:in `postgresql_connection'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:440:in `new_connection'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:450:in `checkout_new_connection'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:421:in `acquire_connection'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:356:in `block in checkout'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `checkout'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block in connection'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in `connection'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:546:in `retrieve_connection'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_handling.rb:79:in `retrieve_connection'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_handling.rb:53:in `connection'
/home/reyman64/webapps/discourse/discourse/lib/site_settings/db_provider.rb:61:in `table_exists?'
/home/reyman64/webapps/discourse/discourse/lib/site_settings/db_provider.rb:10:in `all'
/home/reyman64/webapps/discourse/discourse/lib/site_setting_extension.rb:121:in `block in refresh!'
/home/reyman64/webapps/discourse/discourse/lib/site_setting_extension.rb:117:in `synchronize'
/home/reyman64/webapps/discourse/discourse/lib/site_setting_extension.rb:117:in `refresh!'
/home/reyman64/webapps/discourse/discourse/config/initializers/05-site_settings.rb:3:in `block in <top (required)>'
/home/reyman64/webapps/discourse/discourse/vendor/gems/rails_multisite/lib/rails_multisite/connection_management.rb:45:in `block in each_connection'
/home/reyman64/webapps/discourse/discourse/vendor/gems/rails_multisite/lib/rails_multisite/connection_management.rb:43:in `each'
/home/reyman64/webapps/discourse/discourse/vendor/gems/rails_multisite/lib/rails_multisite/connection_management.rb:43:in `each_connection'
/home/reyman64/webapps/discourse/discourse/config/initializers/05-site_settings.rb:1:in `<top (required)>'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:223:in `load'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:223:in `block in load'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:214:in `load_dependency'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:223:in `load'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/engine.rb:609:in `block (2 levels) in <class:Engine>'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/engine.rb:608:in `each'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/engine.rb:608:in `block in <class:Engine>'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/initializable.rb:30:in `instance_exec'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/initializable.rb:30:in `run'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/initializable.rb:55:in `block in run_initializers'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/initializable.rb:44:in `each'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/initializable.rb:44:in `tsort_each_child'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/initializable.rb:54:in `run_initializers'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/application.rb:215:in `initialize!'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/railtie/configurable.rb:30:in `method_missing'
/home/reyman64/webapps/discourse/discourse/config/environment.rb:5:in `<top (required)>'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `require'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `block in require'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:214:in `load_dependency'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `require'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/application.rb:189:in `require_environment!'
/home/reyman64/webapps/discourse/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.0.2/lib/rails/application.rb:250:in `block in run_tasks_blocks'
Tasks: TOP => db:migrate => environment

There is a new config file to modify in this version ?
Thanks,
SR

Posts: 15

Participants: 8

Read full topic

Script tags break revision history

$
0
0

YOU wrote:

</script> tags could break revision history (another internal server error)

Try to see edit history of this post or following post.

Posts: 3

Participants: 3

Read full topic

How to access the Vagrant VM publically?

$
0
0

Steve Sherrie wrote:

I've configured a bridged interface in Vagrant, and my port forwards works as expected, but the VM for some reason doesn't see any traffic that didn't originate on that internal network. Ideas?

Posts: 1

Participants: 1

Read full topic

Categories drop-down right aligned, UX suggestion

$
0
0

Hrishikesh Thakre wrote:

Categories drop down for smaller forum like mine is nice to have but use of "Latest" is prominent. So I was little uncomfortable with categories drop-down as first clickable element. I customized the categories drop-down to the right side and end result seems less cluttered to me.

So this is just a suggestions for anyone interested and likes it.
Customization: ol.category-breadcrumb { float: right; margin: 0 0px 0 0; }
( Not 100% sure if this is the best way to achieve the same but works well)

Posts: 1

Participants: 1

Read full topic

Loop over each user Ruby console

$
0
0

Matthew Purcell wrote:

Hi All,

I am attempting to write a Ruby script to disable email_digests for all users. So far, I have got a script along the following lines:

me = User.find_by_username_or_email('me@email.com')
me.email_digests = false
me.save

which will select and disable digests for a specific user. However, I am unsure how to get the script to loop over every user in the database. Any help appreciated!

Posts: 4

Participants: 3

Read full topic


Datetime Precision and odd Activity Column Format

$
0
0

Dan Pickett wrote:

We recently upgraded our discourse installation's postgres database and in doing so, it looks like the precision was lost on all timestamps. I investigated and ensured the precision is persisting via psql and it is. It appears the JSON serialization is no longer returning the decimals for times that we're seeing on other installations (as indicated in example: http://discuss.launchacademy.com/t/programming-interview-questions/86.json)

The result (I think) is an odd display of time related information:

screenshot

Can anyone point me in the right direction of what might be happening here?

Posts: 1

Participants: 1

Read full topic

Give groups Full Names and allow mentions

$
0
0

Dan Porter wrote:

One feature which I miss in Discourse is the ability to mention user groups inline in posts, or when sending a private message to insert the group name rather than typing them in individually.

This feature would be greatly enhanced if groups were more than just their id field, and had a field just like users do for Full Name.

What are your thoughts?

Posts: 3

Participants: 3

Read full topic

What software do you use for blog.discourse.org?

iPad: header moves down when keyboard appears on screen

$
0
0

Tudor wrote:

On iPad 4 (iOS 7.0.4, Safari or Chrome), when I click into the search box and the keyboard appears on screen, the whole header moves down. Here is a screenshot: http://imgur.com/0l3k1tm

PS: to trigger the bug, scroll the page up a bit before clicking the search icon.

Posts: 1

Participants: 1

Read full topic

Advertising Roadmap for Near Future

$
0
0

Dev wrote:

@sam, @zogstrip, @codinghorror and the rest of the discourse team.
I have already seen posts related to support for advertising and it looks minimal except for adding HTML at the top and bottom of a page.
I think Discourse is a great software and I am working on launching at least two discussion forums based on this but wanted to know what kind improvements are being planned (if any) for better advertising support over the next 2-3 months.
Thanks,
-Dev

Posts: 7

Participants: 4

Read full topic

Adsense integration and custom post template

$
0
0

Vikhyat Korrapati wrote:

Continuing the discussion from Please visit our Discourse Forum! (Directory):

Both of those will currently require modifying Discourse templates. This is our post template:

https://github.com/vikhyat/discourse/blob/hummingbird/app/assets/javascripts/discourse/templates/post.js.handlebars

{{post-gap post=this postStream=controller.postStream before="true"}}

<div class='row'>
  {{view Discourse.ReplyHistory contentBinding="replyHistory"}}
</div>

<article class='boxed' {{bindAttr id="postElementId"}} {{bindAttr data-post-id="id"}} data-user-id="{{unbound user_id}}">
  <div class='row'>
    {{#if showUserReplyTab}}
      <a href='#' {{action toggleReplyHistory this target="view"}} class='reply-to-tab'>
        {{#if loadingReplyHistory}}
          {{i18n loading}}
        {{else}}
          {{i18n post.in_reply_to}}
          {{avatar reply_to_user imageSize="tiny"}}
          {{reply_to_user.username}}
        {{/if}}
      </a>
    {{/if}}

    <div class='topic-body span14'>
      <div {{bindAttr class=":select-posts controller.multiSelect::hidden"}}>
        <button {{action toggledSelectedPostReplies this}} {{bindAttr class="view.canSelectReplies::hidden"}}>{{i18n topic.multi_select.select_replies}}</button>
        <button {{action toggledSelectedPost this}} class="select-post">{{view.selectPostText}}</button>
      </div>

      <div {{bindAttr class="showUserReplyTab:avoid-tab view.repliesShown::bottom-round :contents :regular view.extraClass"}}>
        {{#unless controller.multiSelect}}
          <div class='topic-meta-data-inside'>
            {{#if hasHistory}}
              <div class='post-info edits'>
                {{#if canViewEditHistory}}
                  <a href='#' class="{{unbound historyHeat}}" {{action showHistory this}} title="{{i18n post.last_edited_on}} {{unboundDate updated_at}}">
                    {{editCount}}
                    <i class='fa fa-pencil'></i>
                  </a>
                {{else}}
                  <span class="{{unbound historyHeat}}" title="{{i18n post.last_edited_on}} {{unboundDate updated_at}}">
                    {{editCount}}
                    <i class='fa fa-pencil'></i>
                  </span>
                {{/if}}
              </div>
            {{/if}}
            <div class='post-info'>
              <a href='#' class='post-date' {{bindAttr data-share-url="shareUrl"}} {{bindAttr data-post-number="post_number"}}>{{unboundAgeWithTooltip created_at}}</a>
            </div>
          </div>
        {{/unless}}
        <div class='cooked'>
          <div class='topic-meta-data span2'>
            {{#unless userDeleted}}
              <div {{bindAttr class=":contents byTopicCreator:topic-creator :trigger-expansion"}}>
                <a href='{{unbound usernameUrl}}' {{action showPosterExpansion this}}>{{avatar this imageSize="large"}}</a>
              </div>
            {{else}}
              <div class="contents">
                <i class="icon icon-trash deleted-user-avatar"></i>
                <h3 class="deleted-username">{{i18n user.deleted}}</h3>
              </div>
            {{/unless}}
          </div>

          <div class="right-side-block">
            <span class="username">
              <h3 {{bindAttr class="staff new_user"}}><a href='{{unbound usernameUrl}}' {{action showPosterExpansion this}}>{{username}}</a></h3>

              {{#if showName}}
              <h3><a href='{{unbound usernameUrl}}' {{action showPosterExpansion this}}>{{breakUp name}}</a></h3>
              {{/if}}
              {{#if user_title}}<span class="user-title" {{action showPosterExpansion this}}>{{user_title}}</span>{{/if}}
            </span>
            {{{cooked}}}
          </div>
        </div>
        {{view Discourse.PostMenuView postBinding="this" postViewBinding="view"}}
      </div>
      {{view Discourse.RepliesView content=replies postView=view}}
      {{discourse-action-history post=this}}
      {{view Discourse.TopicMapContainerView post=this topic=controller.model}}
    </div>

    <div class='span5 gutter'>
      {{collection contentBinding="internalLinks" itemViewClass="Discourse.PostLinkView" tagName="ul" classNames="post-links"}}
      {{#if topic.details.can_reply_as_new_topic}}
        <a href='#' class='reply-new' {{action replyAsNewTopic this}}><i class='fa fa-plus'></i>{{i18n post.reply_as_new_topic}}</a>
      {{/if}}
    </div>
  </div>

</article>

{{post-gap post=this postStream=controller.postStream before="false"}}

If you are using it note that the poster expansion won't work as expected, I haven't had a chance to look into why that is happening yet.

For integrating Adsense, the templates are modified to add an Adsense view like this: https://github.com/vikhyat/discourse/blob/hummingbird/app/assets/javascripts/discourse/templates/list.js.handlebars#L31

This is how the views are defined:

(function() {

  AdsenseViewFactory = function(client, slot, width, height, container) {
    return Ember.View.extend({
      template: function (context) {
        return (container ? "<div class='container'>" : "") + '<div class="banner-ad"><ins class="adsbygoogle" style="display:inline-block;width:' + width + 'px;height:' + height + 'px" data-ad-client="' + client + '" data-ad-slot="' + slot + '"></ins></div>' + (container ? "</div>" : "");
      },
      didInsertElement: function() {
        (adsbygoogle = window.adsbygoogle || []).push({});
      }
    });
  }

  Discourse.TopicListAdsenseView = AdsenseViewFactory("ca-pub-5468143899340143", "7587298923", 728, 90, false)
  Discourse.BelowReplyAdsenseView = AdsenseViewFactory("ca-pub-5468143899340143", "8307152528", 728, 90, false)
  Discourse.UserPageAdsenseView = AdsenseViewFactory("ca-pub-5468143899340143", "4647178929", 728, 90, true)

})();

Posts: 2

Participants: 2

Read full topic

Import users and post from other forums

$
0
0

Eliseo Soto wrote:

Are there any plans to add a feature to migrate an existing forum to Discourse?

I'm currently using myBB and I migrated from phpBB and it wasn't too bad.

Posts: 47

Participants: 28

Read full topic


User metadata hstore field?

$
0
0

Vikhyat Korrapati wrote:

I noticed that the topics table has a meta_data hstore field that can be used by plugins to store data (at least, the blog plugin seems to be using it that way).

Any chance of adding something like that to the users table as well? Our use case is that we need additional data for our customized user pages (example), which I'm currently fetching by making an extra AJAX request to our Rails application, but I would prefer to remove the need for that extra request so that user pages can load faster.

Posts: 1

Participants: 1

Read full topic

Moved posts should link back to the original thread

All topics are visible except one which renders a blank page. But the content is actually in the source of the page

$
0
0

Philip Bradley wrote:

I am not sure whether this is a bug or not, but I've spent time on it and can't figure it out.

In the logs, the page renders fine. It is a thread on my forum that has about 15 posts:

But when I click on it, I get a big blank page:

In the logs, the page seems to render fine:

and actually in the source of the "blank" page, all the content is there:

Does anyone know why this one thread out of all the threads on the forum would do this, and how I can fix it?

thanks

Posts: 5

Participants: 2

Read full topic

jQuery upgrade feedback

$
0
0

Sam Saffron wrote:

I just upgraded jQuery to version 1.9.1

Please let me know if you notice anything broken that is related to this upgrade.

The biggest change is the $.browser has been junked, which makes sense, it was hacky. But broke some of the older bootstrap.js stuff we were using. I upgraded the spots that needed fixes.

Posts: 6

Participants: 4

Read full topic

Looking for a developer for Discourse Customization

$
0
0

Alejandro Lujan wrote:

We are looking to hire someone for a series of customizations for our Discourse installation.

Initially we have a short list of simple needs for our forum's MVP (adding a couple fields to the user model, some UI tweaks, etc). If we choose to continue using Discourse, this can translate into more involved custom features.

We're building a website around a community that has no proper virtual place to gather, and we believe Discourse can be a great fit for the many discussions that will arise around all the collaboration waiting to happen.

Our ideal contractor is be very comfortable with Discourse itself, and has professional experience with the technologies involved.

Ping me if you're interested.

Posts: 2

Participants: 2

Read full topic

Viewing all 60707 articles
Browse latest View live




Latest Images