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

Are digest emails sent to people who have no last seen date?

$
0
0

@watchmanmonitor wrote:

Continuing my malaise over valid users who aren't activated.. it seems that if a user has no last-seen date, then they don't get digest emails. Ostensibly because there is not date-seen to compare to.

Is this expected behavior?

Posts: 8

Participants: 3

Read full topic


Namesake sub-categories background image bug

$
0
0

@angus wrote:

Background images for sub-categories with different parents and the same name become mixed up.

The category "Law" of the parent "World" should have this picture of the case of the International Criminal Court. But it displays the background of the category "Law" of the parent "Australia" (a picture of the Wild Rivers National Park in Tasmania)

World : Law

World : Law

Australia : Law

I am using discourse with docker on a t2.micro AWS instance

Posts: 1

Participants: 1

Read full topic

CSS Customization Needed

$
0
0

@godmoneytrust wrote:

Need developer for Project Startup

We've just launched the Conversations @ Christian Simplicity.

The instance is a hosted instance, but we need some CSS people who understand Discourse and can help us integrate make some modifications to the setup. It's a small project. Ping me if you're interested.

Posts: 1

Participants: 1

Read full topic

Example badges?

$
0
0

@Crackmacs wrote:

Hi

I'm not a coder by trade, but I'm pretty good at learning by example and tinkering. Wondering if there are any example badges anywhere? Other than what's included with core Discourse.For example like a badge for being a member for 1 year etc.

Many thanks ! smile

Posts: 3

Participants: 2

Read full topic

Add `Cache-Control "no-transform"` HTTP header

$
0
0

@DeanMarkTaylor wrote:

Continuing the discussion from JavaScript Uncaught ReferenceError: bmi_load is not defined:

Accessing a Discourse site via UK 3G/GPRS providers causes HTML content to be modified and JavaScript errors to be introduced.

Adding Cache-Control "no-transform" header for HTML results would resolve this.

However this might have other ramifications in terms of intermediate caching servers, but as long as this isn't included on the image files it shouldn't have that much of an effect other than preventing JavaScript errors.

If a site is behind Google PageSpeed - this header would cause the page not to be rewritten, perhaps impacting CloudFlare sites too... personally I would prefer knowing the site is loaded without errors.

Personally I have experienced this before non-discourse sites where Google Maps wouldn't load because the HTML was modified (corrupting valid HTML) and the JavaScript for Google Maps then being unable to read the "key" required in the .js file URL.

Considering .js files are highly optimised by Disourse I would also recommend adding the "no-transform"` HTTP header JavaScript files too, there is no need for them to be modified ("transformed").

Posts: 1

Participants: 1

Read full topic

Moving from standalone to multisite

$
0
0

@ggarron wrote:

Hi,

I have discourse standalone on Digital Ocean up and running, it is configured as a spanish forum (language set to spanish)

Now I need to run another forum, this time in English, here is what I plan to do.

  • Create a new container and setup Discourse as multisite
  • Export the database of the standalone forum
  • Import the database from the above point in site 1.
  • Set the language of the second forum to English and the first one to Spanish
  • Destroy the docker container of the standalone forum (please guide me on how to achieve this point)

Are those steps right? Is there a better or other way to do it?

By the way my actual forum is new and small (backup database 4 megs)

Thanks.

Guillermo.

Posts: 1

Participants: 1

Read full topic

Edit a user setting for all Discourse users

$
0
0

@techAPJ wrote:

So you want to set the last seen date for users who have never logged in (never seen)? Great, let's get started!

From console, run this command:

./launcher enter app

Access Rails console:

rails c

From Rails console, run this query:

User.where("last_seen_at IS NULL").update_all(last_seen_at: 1.week.ago)

That's it, you have set the last seen date for never logged in users!

Posts: 1

Participants: 1

Read full topic

Pin categories like topics

$
0
0

@Maestra_Powers wrote:

I like that categories sorts by recent activity so far, but It would be nicer if I also could pin some of categories on top like you can do with topics. There's gonna be a lot of categories on my forum, 50 at least (didn't moved from phpBB yet). Some of them are dead now but we need them anyway so guests could see our early activity. And some of them are very active now and they gonna be on top. But people complaining that with Discourse their category gonna jump from 1st place to 3 or 2 all the time. I agree that it's a bit inconvenient, so I would like to have ability to pin most active categories so they don't jump and always stay in alphabetic or custom order.

Posts: 6

Participants: 2

Read full topic


Category name getting cut, why?

Files not uploading and Getting Errors

$
0
0

@Mohammad wrote:

I am not able to upload images and I am getting this popup error everytime I try to upload an image:

Sorry, there was an error uploading that file. Please try again.

I checked the File settings and the max upload limit of an image is 3072 KB. I even changed it to 7000KB but no use. I am not able to upload an image of size 30KB? One of the problem I observed is that I am able to uplaod short width images with width < 400px but not for wider images. Don't know what is wrong at http://ask.mybloggertricks.com

I did delete browser image cache but no use. Would really appreciate a help here

UPDATE: The problem was due to a recent version of discourse that caused some bugs due to memory leak as discussed here which thanks to @sam is all setup now!

Posts: 5

Participants: 3

Read full topic

Where can I edit my footer?

$
0
0

@downey wrote:

OK, I feel like I'm losing my mind, so please accept my apologies if I'm missing something obvious.

I was trying to edit the footer used on my site today. I could swear that there used to be settings for this under Admin -> Customize -> Text Content -> and then something like "Bottom of the page". These days, the closest thing I can find is under CSS/HTML -> (My Customization) -> then "Top" or "Footer".

Unfortunately both "Top" and "Footer" are blank when I look at their settings. sadpanda

EDIT: Even if I add something in "Footer" it doesn't affect the Footer content already there.

Does anyone know where my footer is and how can I edit it? smile

Posts: 5

Participants: 3

Read full topic

Do we need the number at the end of the URL?

Failed to bootstrap 512mb droplet

$
0
0

@armando wrote:

Hello to everybody,
my informatic knowledge are very basic... I'm trying to installa a discourse's instance, following the basic guide
I think that I've done some mistakes in editing Discourse configuration through Nano (because it's the only thing where i have to write something more than past and copy... sweat_smile)
When I do

./launcher bootstrap app

I get this:

    FAILED
--------------------
RuntimeError: cd /var/www/discourse && su discourse -c 'bundle install --deployment --verbose --without test --without development' failed with return #<Process::Status: pid 313 exit 137>
Location of failure: /pups/lib/pups/exec_command.rb:105:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
66031167cd940e060dc9a48e784be2e3f5de930f777066299250e7d8bbd40581
FAILED TO BOOTSTRAP
root@dondurito:/var/discourse#

And when I've edited Nano, before launching bootstrapp, I've done everything the guide said... I've deleted "#" where the image of the guide showed... I've also set this

 #db_shared_buffers: "128MB"

(maybe do I have to delete any other "#"?)

Sorry, maybe I'm missing something really stupid (but I've never used a cloud and I can't use a terminal!)

Thank you very much

Posts: 8

Participants: 5

Read full topic

Webhooks plugin

$
0
0

@rcfox wrote:

I made a super-simple webhooks plugin, which sends HTTP requests for chosen DiscourseEvents that are triggered. Right now, there aren't many events that are triggered, and only topic_created and post_created seem like they'd be useful for this. Hopefully, more events will be sprinkled around the main code in the future.

https://github.com/rcfox/Discourse-Webhooks

Posts: 1

Participants: 1

Read full topic

Uninitialized constant User::View

$
0
0

@rcfox wrote:

NameError (uninitialized constant User::View)

This error came up when trying to call as_json on User models for my webhooks plugin. I don't really know much about Rails to give any insight into why this is happening.

I kinda just hacked around the issue by creating a UserSerializer and returning a serializable_hash from that. I'm guessing there's a better way to do it though...

Here's the backtrace from where I call into it:

/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/inheritance.rb:133:in `compute_type'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/reflection.rb:221:in `klass'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/associations/association.rb:118:in `klass'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/associations/collection_association.rb:36:in `reader'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/associations/builder/association.rb:110:in `views'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activemodel-4.1.8/lib/active_model/serialization.rb:108:in `block in serializable_hash'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activemodel-4.1.8/lib/active_model/serialization.rb:108:in `each'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activemodel-4.1.8/lib/active_model/serialization.rb:108:in `serializable_hash'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/serialization.rb:17:in `serializable_hash'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activemodel-4.1.8/lib/active_model/serializers/json.rb:99:in `as_json'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/core_ext/object/json.rb:159:in `block in as_json'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/core_ext/object/json.rb:159:in `each'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/core_ext/object/json.rb:159:in `map'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.8/lib/active_support/core_ext/object/json.rb:159:in `as_json'
/var/www/discourse/plugins/Discourse-Webhooks/plugin.rb:30:in `block (3 levels) in activate!'

Posts: 3

Participants: 2

Read full topic


vBulletin to Discourse Migration Quotes Requested!

$
0
0

@OnyxZ32 wrote:

Hi everyone, I'm looking for quotes on migrating our vBulletin forums to Discourse. However it's a bit more complicated than your average form migration due to a bit of code we're running that merges multiple forums. I'm not sure if Discourse can accommodate this. If it can, we'd much rather leave the migration to a professional familiar with Discourse.

Some details: We have several vB4 forums (7 in total, all with individual licenses) that share the same database. Each forum appears to the end user as a stand alone part, however there are areas of overlap with the broader network. For example there are classifieds sections that can be viewed and replied to no matter what forum you're on.

Total forum stats: Threads: 275,993 Posts: 4,534,550 Members: 29,369

Please respond here with suggestions, recommendations or send me a private message! Thanks in advance!

PS: I'm going to go ahead and tag @codinghorror here because he seems to have a lot of technical answers smile

Posts: 5

Participants: 4

Read full topic

503 Service Unavailable error

$
0
0

@AprilW wrote:

Hello,

Seems to be experiencing issues with a 503 Service Unavailable - "No server is available to handle this request", throughout the day. Any words on what is up?

Thanks!

Posts: 3

Participants: 2

Read full topic

How to anonymize your links in Discourse?

$
0
0

@Huey_Le wrote:

Hi guys, can anyone suggest some sort way or java script or plugins for discourse that will allow me to anonymize the url links?

Posts: 4

Participants: 3

Read full topic

1.2 beta users -- please upgrade to beta 8 immediately due to critical memory leak

$
0
0

@codinghorror wrote:

As of a month or so ago, we upgraded the pg gem that is used to connect to the Postgres database.

  • We did this because of a rare but extremely annoying encoding bug where posts will simply stop rendering.

  • Unfortunately, the new pg gem has an even bigger problem: a memory leak.

As of beta 8, we have reverted to the earlier version of the Postgres gem for now while we work with them to figure out why memory is leaking so badly.

This means anyone who was on an earlier 1.2 beta (anything from beta 4 onward) should upgrade to beta 8 immediately. If you do not, expect to run into out of memory errors regularly until you do.

Posts: 5

Participants: 3

Read full topic

Columns of uncategorized, pinned topics shift when the topic gets unpinned

Viewing all 60642 articles
Browse latest View live




Latest Images