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

Idea: Uncategorized topics go into default category

0
0

Dan Neumann wrote:

Some parts of Discourse source realllllly want there to be an Uncategorized category.

Good example in app/models/category_list.rb (all of this in the #initialize method). I simplified the code to summarize relevant bits.

    # This code is run on the categories page to populate the @categories collection    
    # that's looped through in the template.

    # So first we get all of the categories
    @categories = Category.all

    # and then we get the topics that belong to no category:
    uncategorized_topics = Topic.where(category_id: nil)

    if uncategorized_topics.present?
      # Tally up the years/months/week topic counts as if it's a real category.
      totals = Topic.exec_sql("SELECT SUM(…) …")

      # Initialize a new category so that we can pretend like we have an
      # Uncategorized category.
      uncategorized = Category.new({name: SiteSetting.uncategorized_name,
                                   slug: Slug.for(SiteSetting.uncategorized_name),
                                   featured_topics: uncategorized_topics}.merge(totals))

      # (but we're really just spinning a *web of lies*.)

      # Insert our fake category into the list of real categories
      @categories.insert(insert_at || @categories.size, uncategorized)
    end

There are some places in Discourse source that would benefit considerably from creating an Uncategorized category.

Topics with no target category simply get added to it.

Users can already set the uncategorized "category" name, so an uncategorized category would of course abide by that option.

Posts: 5

Participants: 4

Read full topic


Advertising Specifications - List / Plugin Request

0
0

Briancguy wrote:

Here is a list of the type of advertising options I would like in Discourse. Perhaps others can add to this list. I'm not a software engineer so I don't know how difficult these are - but perhaps they could be implemented via a Plugin.

Banner Ads Options

  • Horizonal Banner ads placed between messages at the "list" view (Admin can specify how frequently ads show up)
  • Horizonal Banner ads placed between messages in the Message view when there are multiple postings (Admin can specify how frequently ads show up)
  • Horizonal Banner ad placed below the horizontal line (and above the "Invite Friends to Reply" button, when in Message view
  • Vertical banner ads on right of screen when in Message view. Some people have expressed the desire to have a floating 300 by 250 ad. Another approach might be periodically placed ads down the right side (repeats of the same or different ads every second or third message or so). It would be nice to be able to vary the frequency of the ads on the pages from 100% of pages to 1% of pages (see research below).
  • Support for Amazon affiliate ads - I'm thinking specifically of books, in the small text or small image type of ads. These could go either on the right side of the messages, or

Email Ads

  • Banner or Text / adwords ads at the top and/or bottom of outgoing emails to users (digest or notification emails)
  • Bulk email ad send to mailing list/subscriber list - with field to paste HTML into, to send. Periodically it would be nice to be able to send out special notifications and/or advertisements to users - directly from Discourse. With reporting on "opens", etc. similar to mailchimp, etc.

If Discourse does get some standard integration of advertising options (i.e. banner or text ads) - it would be very nice if it reflected the current research in this area:

http://www.bps-research-digest.blogspot.co.uk/2011/10/are-we-really-blind-to-internet-banners.html10

The lessons for web advertisers are clear: don't advertise on every page, vary ad location, and make sure the ad topic is congruent with the web-site content.

ResearchBlogging.orgHervet, G., Guérard, K., Tremblay, S., & Chtourou, M. (2011). Is banner blindness genuine? Eye tracking internet text advertising. Applied Cognitive Psychology, 25 (5), 708-716 DOI: 10.1002/acp.1742

Posts: 4

Participants: 3

Read full topic

Topic status and subcategory

0
0

zh99998 wrote:

Continuing the discussion from How should subcategory show its parent category?:
here is what we already have about topic status

  • close
  • auto-close per topic
  • auto-close per category
  • archive
  • invisible

all topic status are changable by moderators and will show change in topic

and

  • categories / subcategories

categories can be changed by topic author and moderators.

============================================================
seems enough? no.

assume some situations:

  • a stackoverflow-like ask/answer platform (discourse meta howto category)
    • auto close when some days inactive, specific by moderators in category settings.
    • topic author can close it manually.
    • actively (get correct answer) and negatively close. once closed, still can reply or re-open
  • an advise、request platform (discourse feature category)

    • topic author can close it manually.
    • actively (request accepted) and negatively (rejected or given up by author) close. once closed, still can reply or re-open
  • a work orders platform (not exactly, discourse bug category. and other business services forum)

    • specific a user to solve this problem by moderator or the one already be specificed ( whom is "duel")
    • waiting for user、 waiting for moderator、closed status. once closed it will be archived.

=============================================================

some advice:

  • merge "close" and "archive" status, it's nearly same. the "close" name may useful in a subcategory
  • Innate invisible categories. once move a topic to this category, all topics in this category will hidden in latest page.
  • Innate archived categories.
  • automaticly category to specificed subcategory after x days.
  • force / automaticly subcategory. e.g. a topic of "issues" category is always "open" or "closed". not only just a "issues".
  • “category as xxx”, "reply and category as xxx" system, predefined in category.



  • force / automaticly reply and category as xxx, useful in "waiting for topic author" and "waiting for reply" categories.

  • show category change history in topic. just like archive、pin、invisible.

specific user or post is useful in some sotuation but complex for a forum.....just ignore it..?

Posts: 2

Participants: 2

Read full topic

Please visit our Discourse Forum! (Directory)

0
0

F. Randall Farmer wrote:

I know I'd like to visit various new Discourse servers once in awhile as they come up. As you'd like a visitor or two, please post your URL here and a description of the purpose of your site and any other notes...

So far, the public Discourse servers I know about are:

Posts: 99

Participants: 73

Read full topic

A new IRC Channel

Quoting selection

0
0

A Zeynel wrote:

Sorry if this is not relevant here, but I noticed that I can select a part of a comment and a window pops up asking if I want to quote it. I thought this was very cool and an innovation that I think does not exist in other forums (at least in the ones that I used).

Posts: 2

Participants: 2

Read full topic

Google AdSense plugin is now available

0
0

Michael wrote:

Yes! Since plugins are now able to override handlebars templates (thanks again, @zogstrip ) we have finally been able to create a clean Google AdSense plugin for Discourse.

It's available at https://github.com/discoursehosting/discourse-adsense

To install:

  • Make sure you're on latest! The changes that made this plugin possible have been committed at December 31.
  • Run rake plugin:install repo=http://github.com/discoursehosting/discourse-adsense in your discourse directory
  • In development mode, run rake assets:clean
  • In production, recompile your assets: rake assets:precompile

This plugin will be automatically made available to DiscourseHosting.com customers by the end of next week.

To use:

  • Go to Admin -> Settings -> AdSense
  • Enter your AdSense publisher ID (ca-pub-xxxxxxxxxxxxxxxx)
  • Create new ad slots within your AdSense account (728x90 for desktop, 320x50 for mobile)
  • Copy the slot id # numbers (ten digits shown in the ID column) in the Discourse settings
  • Enable the slots you want to use

Posts: 3

Participants: 3

Read full topic

Transfer avatar images to another server

0
0

Vaios Kalpias Ilias wrote:

Hello,

We used to store all images on S3 but now we need to store them on our own server. Is it possible to transfer existing images to our server and have URL's reference the new location?

Posts: 3

Participants: 2

Read full topic


Clicking on Logo gives error here on meta

0
0

YOU wrote:

Clicking on Logo gives error here on meta

Uncaught TypeError: Object [object Object] has no method 'refresh'

May be the error says it all? hope it renew the page if there is new/updated posts.

Posts: 4

Participants: 4

Read full topic

Hide sensitive site settings

0
0

Brian Alexander wrote:

It would be nice if sensitive site settings (like s3_secret_access_key) were not visible on the /admin/site_settings page. If this is something that the maintainers of Discourse are interested in, then I can submit a pull-request. Please let me know. Thanks!

Posts: 9

Participants: 5

Read full topic

Rake db:migrate fails with 'relation "post_revisions" already exists' when updating from 0.9.7.4 to 0.9.7.9

0
0

Florian Schmaus wrote:

While upgrading my installation from 0.9.7.4 to 0.9.7.9, I encounter the following error when running rake db:migrate:

== CreatePostRevisions: migrating ============================================
-- create_table(:post_revisions)
rake aborted!
An error has occurred, this and all later migrations canceled:

PG::Error: ERROR:  relation "post_revisions" already exists
: CREATE TABLE "post_revisions" ("id" serial primary key, "user_id" integer, "post_id" integer, "modifications" text, "number" integer, "created_at" timestamp, "updated_at" timestamp) /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:128:in `exec'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:128:in `block in execute'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract_adapter.rb:435:in `block in log'

Full output

Not sure if it's related but, ignoring the error and continuing with rake assets:precompile ends with a segfault when starting discourse.

Posts: 3

Participants: 2

Read full topic

Categories not displaying on Category List page

0
0

Kevin wrote:

I'm having a problem on the category list page. It only shows one category for everyone other than admin. Admin can see all categories. I've checked the settings and searched here but cannot seem to figure out what I have done wrong.

I've updated to the latest version 0.9.7.8 and the issue is still there so I assume I've changed a setting somewhere.

Any help or direction would be appreciated.

Posts: 11

Participants: 3

Read full topic

Hide replies to posts under "Show X posts"

0
0

Eero Heikkinen wrote:

One form of topic on my forum is where people link interesting music on youtube. People comment on these posts, and in the end there's a mix of content and comments discussing the content. It would be nice if these comments to the posts could somehow be visible only under the "show X replies" box, instead of cluttering the topic.

Posts: 9

Participants: 4

Read full topic

How to balance confidentiality with openness in Discourse configuration

0
0

lamp515 wrote:

This is my first post here, though I've been reading for several months.

For 15 years I've run a little forum in a walled garden. Our community of about 400 subscribers is for parents of children with a certain medical diagnosis and run on a listserv email list. I'd like to transition to a Discourse forum, but configuring the forum to guard confidentiality is stymieing me.

We have two primary types of posts;

  1. Facts and science: Medical research, medical education, discussion of medical literature, explanation of the state of medical knowledge to new parents (and oldies). These posts really should be public, and should engage a much wider audience than our little group. IMHO, some of the foremost experts on this particular diagnosis participate on my little list. Identifying the poster is good.

  2. Parental support. Discussion of a child's symptoms, blood test results, behavior, educational difficulties, parental difficulties, familial difficulties, fears, dashed hopes, realized dreams. It is this second type of post that I want to ask you all about.

In my community it is the same people who post the facts and science who provide parental support. It is the same people who ask questions about facts and science who ask for parental support.

I'm looking for a way to provide confidentiality for the families and for these children who are being discussed in the most intimate details, while making the vast store of medical knowledge available to the internet at large.

I've seen this dualism on other listserv/usenet groups. Extensive medical knowledge is being shared by those who have been-there/done-that, but in a walled garden where they are safe to share intimate medical details.

Do I just tell everyone to get two different accounts? One through FB, Yahoo, etc, and another for the personal posts with a new email that gravatar won't recognize? It just seems like a mess.

Has anyone started a discourse forum from a support group where private information had been shared? How did you balance confidentiality with the discourse openness?

Posts: 3

Participants: 2

Read full topic

Forums with incomplete IP Address information can't be imported

0
0

Simmerz wrote:

https://github.com/initforthe/forum2discourse is an import library for bringing vanilla and punBB forums into Discourse. Recently, we noticed that IP screening had been added, which appears to have stopped a huge amount of posts being imported for one particular forum with somewhat incomplete IP data for users.

Is there a sensible mechanism for importing posts without losing the benefit of validation?

Posts: 2

Participants: 2

Read full topic


Categories no longer showing counts - a bug?

0
0

Nicholas Smith wrote:

The "New" category tab isn't showing a count, but when I click on "New" I see there are topics listed. Is this a bug?

Posts: 41

Participants: 7

Read full topic

Database.yml now in repo?

0
0

Thomas Smyth wrote:

Seems this changed in 0.9.7.9. Where do I put my database settings for my dev environment now? Thx.

Posts: 1

Participants: 1

Read full topic

Rails engine as a Discourse plugin

0
0

Thomas Smyth wrote:

The plugin I am working on is a full rails engine with routes, models, etc.

I notice that the only plugin now in the plugins directory of the Discourse repo is not a full engine, and the ./plugin.rb file has replaced the lib/whatever/plugin.rb file. My version of the latter looks like this:

require 'discourse_plugin'

module Diaedu

  class Plugin < DiscoursePlugin

    def setup
      register_js('diaedu')
      register_css('diaedu')
    end

  end
end

Problem is, now the 'discourse_plugin' require is broken. I tried changing to the new plugin.rb style, but the register_asset function expects the assets to be in ./assets, whereas in a Rails engine they live in ./app/assets. Furthermore my assets dir has a more complex structure than the emoji example and so they're not getting included properly.

How should I proceed here? Some questions:

  • Was the full Rails engine scenario considered when the new plugin system was designed?
  • Is it even supported anymore?
  • Is there any good documentation about the new plugin system, including perhaps a migration guide from the old one?

One last note, my plugin still serves up properly and works, but I can't seem to run things like rails generate anymore...

Thanks for any help.

Posts: 4

Participants: 2

Read full topic

Translations disambiguations

0
0

Julien Dumétier wrote:

At the request from @Maomao, as a translator we've got sometimes issues translating some messages, this thread will try to be the missing link between the dev team and the translators to help them provide the best translation possible.
Please @sam, @codinghorror, @zogstrip and the others... help us smile

Posts: 4

Participants: 2

Read full topic

Environment variables

0
0

Pablo Corral wrote:

Hi all,

I understand now that we use a lot of environment variables, is there a place to know the whole list?

Tks!
Pablo

Posts: 11

Participants: 6

Read full topic

Viewing all 60279 articles
Browse latest View live




Latest Images