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

Is there a way to install discourse without using "discourse-setup"?

$
0
0

@exhuma wrote:

I'm planning to give discourse a whirl to replace an ancient phpBB site. The site has around 30 accounts, of which roughly 5 a really active. So the resource needs for this site is extremely low.

I saw that the discourse-setup script runs a bunch of optimisations on the host system. I don't want to make system-level modifications on the host just yet (if ever...). I'd really love to just run docker-containers without that. Are there some guidelines on how to do this? Maybe via docker-compose?

Posts: 2

Participants: 2

Read full topic


How to make the call to action window become an overlay

Per-user theme chooser

$
0
0

@vmavra wrote:

Hi,

Is there any progress towards a solution of integrating a theme chooser in Discourse? Are there any technical difficulties that made the Discourse team choose not to implement such a feature?

I know there's also a plugin system, could a custom plugin be created to provide such a feature?

Posts: 3

Participants: 2

Read full topic

HOWTO Set up a development environment using vagrant (Ubuntu guide)

$
0
0

@tarek wrote:

After having setup several systems with a discourse development environment using Vagrant, I thought I would write a quick guide here, which I really should submit as a README. This setup was tested on a virgin installation of 16.04, and uses Eclipse with Aptana Studio 3.

  1. Install requirements
    sudo apt install vagrant virtualbox virtualbox-dkms

  2. Get Discourse source
    mkdir ~/workspace
    cd ~/workspace
    git clone git@github.com:discourse/discourse.git
    # git clone https://github.com/discourse/discourse.git # If you prefer HTTPS

  3. Start machine
    cd discourse
    vagrant up

  4. Enter VM
    vagrant ssh

  5. Go to Relevant directory
    cd /vagrant

  6. Finish setup of environment

    bundle install
    bundle exec rake db:create db:migrate db:test:prepare
  7. Create an admin account

    cd /vagrant
    rake admin:create
  8. Start Server. NOTE: You will need to execute all three of these commands every time!
    cd ~/
    mailcatcher --ip 0.0.0.0
    cd /vagrant
    bundle exec rails s -b 0.0.0.0
    bundle exec sidekiq -l log/sidekiq.log -q critical -q default -q low

    • Note: If you make changes in your code, please Ctrl-C both the rails server and sidekiq.
    • Note: You'll need two consoles to run both sidekiq and the rails server.
  9. Point your browser to:
    http://127.0.0.1:4000 - Discourse instance
    http://127.0.0.1:4000/sidekiq - Sidekiq queues
    http://127.0.0.1:4080 - mailcatcher

  10. Optional Install Eclipse, egit and Aptana

Posts: 11

Participants: 3

Read full topic

Forum Announcements?

User Reputation Badge Plugin

$
0
0

@P16 wrote:

We are finally ready with the User Reputation Badge plugin, as discussed here. What this badge will do is allow your users to have a small custom badge/text next to their name (Junior Member, Senior Member, etc). Something like this:
--

--

As you can see above, the user test1 with trust level 4, has a badge/title next to their name. This can be styled as you wish.

Here is how to set it up:

Install the plugin from here:
https://github.com/BeastNet/trust-level-groups

After rebuilding, Add five groups - for example New, Basic, Member, Regular, Leader. You can do this however you like - New Member, Junior Member, etc or whatever fits your community style.

Check the field 'Automatically set as primary group'.

Under the field that says 'Users who register with an email domain that exactly matches one in this list will be automatically added to this group:' write the trust level of the users you want to put in the group as follows:
Trust Level 0 - Write 'trustlevel0.com' (without the quotes)
Trust Level 1 - Write 'trustlevel1.com' (without the quotes)
Trust Level 2 - Write 'trustlevel2.com' (without the quotes)
Trust Level 3 - Write 'trustlevel3.com' (without the quotes)
Trust Level 4 - Write 'trustlevel4.com' (without the quotes)

Click save. The job will automatically keep running every minute (we will adjust the time based on how it performs and scales). You can trigger it manually via Sidekiq to check if the plugin is running properly.

Once you have confirmed that users are getting added to the right groups, you can style them with css. For example, the example above was styled with this code:

.topic-meta-data .username.Leader::after {
    content: "Leader";
    margin-left: 1.6em;
    background-color: #5bc0de;
    border-radius: 0.40em;
    padding: .2em .6em .3em;
    color: white;
}

Change .username.Leader to your group name, for example, .username.GroupName

Thank you to the people who made this possible - @ambisoft, the dev and also @stevenpslade and @OnceWas for their time and help.

Posts: 4

Participants: 2

Read full topic

View Forum as User X

$
0
0

@Daonanda wrote:

Just wondering if it possible to have an option where the forum can be viewed as a non-staff member without having to create a separate non-staff account? I feel it would be useful to see the forum through the eyes of members, not to spy on them but to see where the forum needs shoring up.

Posts: 11

Participants: 6

Read full topic

How to merge two messages?

$
0
0

@dachary wrote:

Hi,

I've installed 1.6.0.beta7 and I can't figure out how to merge two messages together, with a user that is either moderator or admin. Where can I find documentation about that ?

Thanks in advance !

Posts: 3

Participants: 2

Read full topic


Timeline reverts to old nav box on topic reply

$
0
0

@Lee_Ars wrote:

Just did a launcher rebuild app a few minutes ago, so I should be current to whatever container and discourse revisions are available as of right now. Admin dashboard shows v1.6.0.beta7 +159.

The new Timeline scrollbar has shown up, which is great, but when I reply to an existing topic, the Timeline reverts to the old-style navigation box.

Image 1:

Image 2:

However, when composing a new topic and clicking through to existing topics, the new timeline stays in place and does not revert.

Image:

Posts: 4

Participants: 3

Read full topic

Can´t login using Facebook credentials

$
0
0

@converge wrote:

Hi everyone,

I´m trying to login into http://forum.fazedores.com but I always get this message:

url: http://forum.fazedores.com/auth/failure?message=csrf_detected&strategy=facebook#_=_
Sorry, had an error authorizing your account. Maybe you didnt allowed/approved the authorization ?

Already tried to login using another computer and I still can´t login. Already tried to talk with the administrator of the forum, but didn´t got a return.

Is there something I can do ?

Posts: 2

Participants: 2

Read full topic

Localized categories plugin

$
0
0

@Simon_Cossar wrote:

A plugin to set a category's locale based off it's slug.

https://github.com/scossar/localized-categories

This plugin allows you to set the locale for individual categories by basing the category slug off the locale's language code. For example, for Persian set the category's slug to fa-ir. The locale will be applied to the category and to its subcategories.

When the locale changes, the new locale is automatically reloaded. For non-locale categories, the locale is reset to either the site's default locale, or the user's preferred locale.

Todo: get the locale off the http headers for non-logged in users.

The plugin works, but is still under development. If you are interested in using it on a 'serious' website, get in touch with me.

The categories page is displayed in either the site's default locale or the user's preferred locale:

The category page for localized categories uses the category's locale:

This is shown when the locale is being updated. The text should probably be replaced with some kind of graphic:

Posts: 1

Participants: 1

Read full topic

Position widget only shows total # of posts on mobile

$
0
0

@steko wrote:

As seen here on Meta with Firefox Android:

(having some issues with uploading a screenshot at the moment)

Posts: 4

Participants: 2

Read full topic

Developer for Hire to help setup topic tiles?

$
0
0

@keith1 wrote:

I'm looking for someone that can help setup something similar to the topic tiles described here:

I'd take a crack at it myself, but I'm slammed for time, so I'd love to be able to delegate this to someone for $$$

Posts: 1

Participants: 1

Read full topic

"reason for invite"

SVG Upload not working

$
0
0

@mindworker wrote:

I was informed by one of my colleagues that svg upload doesn't work. However, linking to an external svg file works. I tested it on my production system after upgrading to the latest version as well as here.

I found a bugreport dated 1 1/2 years ago, pretty much the same except the error message is different now.

Steps to reproduce:

Error message:

Sorry, but we couldn't determine the size of the image. Maybe your image is corrupted?

Posts: 3

Participants: 2

Read full topic


Meaning of some of the glyphs

$
0
0

@Pad_Pors wrote:

i don't understand some of the icons, and i don't know how it can be better.

for example the arrow icon in the notification area, which means "linked topic", is really hard to be understood.

you click on the notification, and you go to the topic page and see nothing you can help with.

or the follow symbol, in a topic or category page; you won't understand it unless you click to open it and read the explanations.

Posts: 1

Participants: 1

Read full topic

Having issues downloading avatars from localhost

$
0
0

@sam wrote:

I have local Discouse intallation (http://localhost) on Ubuntu 14.04 in Docker container. I use avatar_url in payload. When I provide a picture on 80 port it works, but when I use port 6060 (which I use in development) Discouse doesn't change an image. Is it some limit in Discouse?

Posts: 9

Participants: 3

Read full topic

Search Function change

$
0
0

@Slowhand wrote:

I'm a Moderator for the Anime Network forums, and I have a question.

I've spent the last hour looking through several threads and haven't found what I'm looking for. Also, I'm not very tech-savvy and may have found something and didn't realize it.

There was a Discourse update on May 3 and the Search function seems to have changed.

Before then, if you typed into the Search, those words would stay in the search box the next time you opened it.

Now, after doing a search, the next time I open the search box, it’s empty.

This is annoying to me because when I’m trying to make a new thread, I go through the forums and collect everything on that particular anime and merge it all together. Now I have to keep typing the name into the search box every single time. (This also happens when I'm searching posts in an individual thread.

There are many posts that I’m looking for, as many as twenty+, and every time I click on a post to look at it, I must enter the name in the search box again to look for the next post.

Is there a way to turn this back "on" in some way?

I have no coding experience at all so cannot experiment like some of your other users.

Any help you can give me would be appreciated.

Thank you,
Slowhand

Posts: 1

Participants: 1

Read full topic

After upgrade, error on google_oauth2

$
0
0

@Trash wrote:

After the last upgrade we have authentication errors on google oauth2

Log:

Message
(8 copies reported)
(google_oauth2) Authentication failure! csrf_detected: OmniAuth::Strategies::OAuth2::CallbackError, csrf_detected | CSRF detected
Backtrace
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/logster-1.2.3/lib/logster/logger.rb:74:in `add_with_opts'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/logster-1.2.3/lib/logster/logger.rb:35:in `add'
/usr/local/lib/ruby/2.3.0/logger.rb:507:in `error'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:158:in `log'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:474:in `fail!'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-oauth2-1.3.1/lib/omniauth/strategies/oauth2.rb:75:in `callback_phase'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:227:in `callback_call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:184:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/omniauth-1.3.1/lib/omniauth/builder.rb:63:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
/var/www/discourse/lib/middleware/anonymous_cache.rb:127:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/flash.rb:260:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/cookies.rb:560:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/query_cache.rb:36:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/logster-1.2.3/lib/logster/middleware/reporter.rb:31:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/rack/logger.rb:38:in `call_app'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/rack/logger.rb:22:in `call'
/var/www/discourse/config/initializers/100-quiet_logger.rb:13:in `call_with_quiet_assets'
/var/www/discourse/config/initializers/100-silence_logger.rb:26:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-mini-profiler-0.10.1/lib/mini_profiler/profiler.rb:171:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/message_bus-2.0.0.beta.11/lib/message_bus/rack/middleware.rb:62:in `call'
/var/www/discourse/lib/middleware/request_tracker.rb:73:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/engine.rb:518:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/application.rb:165:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/railtie.rb:194:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/railtie.rb:194:in `method_missing'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:562:in `process_client'
/var/www/discourse/lib/scheduler/defer.rb:85:in `process_client'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:658:in `worker_loop'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:508:in `spawn_missing_workers'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:132:in `start'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/unicorn-5.1.0/bin/unicorn:126:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.3.0/bin/unicorn:23:in `load'
/var/www/discourse/vendor/bundle/ruby/2.3.0/bin/unicorn:23:in `<main>'
Env
hostnameadu-discourse-adu-discourse
process_id[137, 158, 175, 147, 216]
application_version[1caaf5208f95d41a5bd30f589b7bdeec9707c8b5, 9ac8974dd19b1d85a3357be0ebf6ab3b6e3f78a7]
HTTP_HOST[forum.XXX.net, www.XXX.net]
REQUEST_URI/auth/google_oauth2/callback
REQUEST_METHODGET
HTTP_USER_AGENT[Mozilla/4.0 (compatible; MSIE 8.0;
Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648;
 .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729;
InfoPath.2), Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1)
AppleWebKit/600.1.25 (KHTML, like Gecko) Version/8.0 Safari/600.1.25,
Mozilla/5.0 (compatible; MJ12bot/v1.4.5;
http://www.majestic12.co.uk/bot.php?+), Mozilla/5.0 (Windows NT 6.1;
rv:46.0) Gecko/20100101 Firefox/46.0, Mozilla/5.0 (compatible;
Discordbot/1.0; +https://discordapp.com), Mozilla/5.0 (compatible;
MegaIndex.ru/2.0; +http://megaindex.com/crawler)]
HTTP_ACCEPT[*/*,
text/html,text/plain,text/xml,text/*,application/xml,application/xhtml+xml,application/rss+xml,application/atom+xml,application/rdf+xml,application/php,application/x-php,application/x-httpd-php,
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
HTTP_REFERERhttp://forum.XXX.net/auth/google_oauth2/callback
HTTP_X_FORWARDED_FOR[62.24.181.135, 52.71.155.178, 144.76.29.162, 87.8.141.47, 104.196.6.118, 80.91.162.98, 5.9.83.211, 199.58.86.206]
HTTP_X_REAL_IP[62.24.181.135, 52.71.155.178, 144.76.29.162, 87.8.141.47, 104.196.6.118, 80.91.162.98, 5.9.83.211, 199.58.86.206]

Version 1.6.0.beta7 +134

We try to .launcher rebuild app but errors still remains.

Posts: 1

Participants: 1

Read full topic

Kudos from Users on the "Timeline" feature

$
0
0

@BCHK wrote:

From my users:

"
Anxiety_Orange
June 6
I don't know when this was added, but the "message timeline" on the right side of posts is really cool. Great job"

Posts: 3

Participants: 3

Read full topic

Viewing all 60613 articles
Browse latest View live


Latest Images