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

Mandrill tracking (scam)

0
0

Slind wrote:

Hey,

I don't know if discourse it self does use mandrill as email delivery provider or not. However I think here are some that use mandrill.
I have one small issue which I can't figure out. Mandrill does add tracking urls which leads to scam warning in mail clients like thunderbird. With other forum softwares I did edit the mail template and give all links a non link title which solves the problem. But I can't figure out where to do this for discourse, so I tried to disable from the mandrill interface. The only option I could find is Settings->SendingDefaults-TrackOpens, unfortunately did disabling this feature not solve the issue.

How did you solve this small issue?

Thanks in advance Slind

Posts: 8

Participants: 3

Read full topic


Rafflecopter embed help

0
0

Molly Cushing wrote:

Hey there, my site does giveaways every month and rafflecopter is a really great tool to help run theme easier. I'd love to use it in our Discourse forum but when I embed it all I get is:

a Rafflecopter giveaway

The embed code is:

<a id="rc-42b095d24" class="rafl" href="http://www.rafflecopter.com/rafl/display/42b095d24/" rel="nofollow">a Rafflecopter giveaway</a>

Is it possible to make this work? If not, that's fine. I ask out of general lack of knowledge and understanding.

Posts: 2

Participants: 2

Read full topic

Would Discourse/Docker work on Nginx without a plethora of work?

0
0

that guy wrote:

I think it would work. but it would probably require a ton of work. Does anyone have a simple way? Or should I just give up on hosting it myself? I would love to, as I have made my old laptop into a web server. It runs Lubuntu with Nginx installed. Does anyone have experience with this at all? Thanks!

Posts: 2

Participants: 2

Read full topic

Bug / Feature - Pinning and Unpinning

0
0

Briancguy wrote:

For the first time today I unpinned something (when I realized I wanted to see what "global pinning" did - and then repinned it globally. I ended up with a string of postings in the topic - which really isn't what I wanted - so I had to go in and delete the old message.

What I would like here instead is that when something is unpinned - that the original Pinning message goes away. I don't want messages like this to clutter up my topic.

Also - I would like "global pinning" to do what it says it is doing - which is pin in all the different categories. That - to me - is "global pinning"

Posts: 6

Participants: 3

Read full topic

Showing a preview of a topic for unregistered users

0
0

Ionuț Staicu wrote:

Hi guys. I'm thinking to do a section of my discourse instance that will only show a part of the first post in a topic for unregistered users and level 0 users.

There is a plugin for this or a hidden feature? Thanks!

Posts: 1

Participants: 1

Read full topic

A Good Advertising Plugin for Discourse - Join in Now!

0
0

Briancguy wrote:

So - I would love to have a good advertising plugin for Discourse - one that does what I've outlined in the specifications below.

I'm willing to put in $300 into it. I'd like to find another 20 or 30 people who would be interested in funding the development of this plugin - and we'll post it on https://www.bountysource.com/
to get bids

Anyone else like to get a good Advertising plugin for your Discourse web site?

Continuing the discussion from Bounty / Crowdfund features:

Posts: 4

Participants: 2

Read full topic

New API for document titles

0
0

Robin Ward wrote:

Ember is not completely congruous with the concept of a "page." Its router allows you to nest outlets with their own data models and templates. This made it tricky for us to have a common API for setting the title of a document.

This became a problem when we wanted to submit the current "page title" to google analytics (or any other analytics package, really); after our router transitioned to another route, we knew it was time to tell google analytics about the change, but we didn't always have the title at that time.

Today I came up with a solution that makes it a lot easier to set page titles, and they will be passed directly through to the PageTracker api for analytics.

In any route class you can create a titleToken method. If it returns a token, it will be used in the title. If no token is supplied or null is returned, it will just go up the chain of routes to the parent and try that one, and so on.

A token is a segment of the title. Just return a string (or an array of tokens) and it will be joined together once the router finishes transitioning.

So for example in the Topic route class:

titleToken: function() {
  var model = this.modelFor('topic');
  if (model) {
    return model.get('title');
  }
},

If there is a current topic model (really just a safeguard) we return its topic title.

The application is smart enough to collect the tokens in the order we display them, so first the Topic route will be called, then its parent and so on until the application route is called.

The application route always has the default of your Discourse install's title, so that will always be included. So when viewing a title it will look like "My cool title - Discourse Meta"

P.S. Thanks to machty for the inspiration.

Posts: 1

Participants: 1

Read full topic

Unread and notification menu posts

0
0

TechnoBear wrote:

I'm confused by what shows up where and would be grateful for some clarification.

I've been away on holiday and came back to a large number of notifications, unread posts and new topics. I read all the "unread" posts - but then discovered I still had a large number of unread posts on my "notifications". So I concluded that unread posts must show up on one or other, depending on tracking/watching status, but not both.

However, I came back later and found two "unread" and two "notifications" and yes - they're for the same posts. So now I'm thoroughly bewildered.

Any enlightenment would be most welcome.

Posts: 6

Participants: 3

Read full topic


Show category in email notification body

0
0

Michael Downey wrote:

As a user, I want to see the category (if applicable) HTML "badge" in the email notification body, so as I read the notification I can easily see what category the discussion belongs to.

Yes, I realize this is also possible with the subject line or email headers, but IMHO it is still worthwhile to show this in the body, just like in the digest email. (An admin may not have category enabled in the subject line.)

In mailing list world, this is probably the equivalent of the automatic footer with list information that is added to so many lists' messages.

Posts: 1

Participants: 1

Read full topic

"New" header is cramped for non-standard font faces

0
0

Michael Downey wrote:

Continuing the discussion from Should category go below the topic title on the topic page?:

When using Open Sans for display in our header, descenders are getting cut off:

We didn't change the size, only the face and the weight. Here are the relevant custom CSS modifications:

.d-header{font-family:'Open Sans', sans-serif;background-color:#222!important;}
.d-header #site-logo{max-width:250px!important;}
div.title-wrapper .badge-wrapper .badge-category{color:#ccc!important;}
a.topic-link{color:#ccc!important;font-weight:400;}
html,.nav-pills,#list-area a.badge-category,div.extra-info-wrapper a.badge-category,div#topic-title a.badge-category,div#suggested-topics a.badge-category{font-weight:400;}

Posts: 1

Participants: 1

Read full topic

Some site settings require Discourse to restart

0
0

Dean Taylor wrote:

Continuing the discussion from Word censor - butt vs button:

I found that I restarting via completing Docker update resolved this.

Posts: 5

Participants: 3

Read full topic

What are the options for share links?

0
0

Tobias Eigen wrote:

On the "share links" settings...

... twitter, facebook, google+ and email are the options by default. Are there other options available? Suggest adding which are available directly here in the helper text. e.g:

Determine which items appear on the share dialog, and in what order. (possible options: twitter, facebook, google+, email)

Posts: 2

Participants: 2

Read full topic

Creator of esoTalk announces Kickstarter for new project

0
0

Erlend Sogge Heggen wrote:

Flarum is an exciting new contender in the forums market. Have a look:

Don't get me wrong, I'm comfortably settled with Discourse, and judging by the feature list of this two-man army they still have a long way to go. However there's plenty to be excited about:

  • We get essentially an updated version of esoTalk, which was packed with many inspirational design decisions, some well worth "borrowing" wholesale.
  • I'm excited that another serious forum project has chosen to use Ember.js for their frontend. For a positive thinker, this equals more innovation and greater legitimacy for Ember.
  • Finally, I actually like the fact that they're basing it on PHP/Laravel. It's like taking Jeff's "Ruby isn't cool any more - [so it's mature]" to the extreme. Perhaps PHP is indeed going through the renaissance some have predicted.

Posts: 13

Participants: 9

Read full topic

SSO example python 2.7 - webapp2, google app engine with simpleauth

0
0

Paul Ceccato wrote:

This is based on the django example. I have modified it to work with webapp2 on google app engine, using the simpleauth library for login management.

This decorator is used on get methods which require login. Once the user is logged in these fields will be set with the users details, which will be passed back to discourse

self.current_email,
self.current_id,
self.current_first_name

def simpleauth_login_required(handler_method):
	"""A decorator to require that a user be logged in to access a handler.

	To use it, decorate your get() method like this:


		@simpleauth_login_required
		def get(self):
			user = self.current_user
			self.response.out.write('Hello, ' + user.name())
	"""
	def check_login(self, *args, **kwargs):
		if self.request.method != 'GET':
			self.abort(400, detail='The login_required decorator can only be used for GET requests.')

		if self.logged_in:
			handler_method(self, *args, **kwargs)
		else:
			self.session['original_url'] = self.request.url
			self.render('login.html')

	return check_login

Here is the discourse SSO handler

    import base64
import hmac
import hashlib
import urllib

class DiscourseSSOHandler(BaseRequestHandler):

	@simpleauth_login_required
	def get(self):

		payload = self.request.get('sso')
		signature = self.request.get('sig')

		if None in [payload, signature]:
			self.abort(400, detail='No SSO payload or signature.')
		## Validate the payload

		try:
			payload = urllib.unquote(payload)
			assert 'nonce' in base64.decodestring(payload)
			assert len(payload) > 0
		except AssertionError:
			self.abort(400, detail='Invalid payload..')

		key = secrets.DISCOURSE_SSO_SECRET
		h = hmac.new(key, payload, digestmod=hashlib.sha256)
		this_signature = h.hexdigest()

		if this_signature != signature:
			self.abort(400, detail='Payload does not match signature.')

		## Build the return payload

		params = {
			'nonce': base64.decodestring(payload).split('=')[1],
			'email': self.current_email,
			'external_id': self.current_id,
			'username': self.current_first_name
		}

		return_payload = base64.encodestring(urllib.urlencode(params))
		h = hmac.new(key, return_payload, digestmod=hashlib.sha256)
		query_string = urllib.urlencode({'sso': return_payload, 'sig': h.hexdigest()})

		## Redirect back to Discourse

		url = '{0}/session/sso_login'.format(secrets.DISCOURSE_BASE_URL)
		self.redirect('{0}?{1}'.format(url, query_string))

Posts: 1

Participants: 1

Read full topic

Is there any way to set the site URL that appears in notification emails via the UI?

0
0

Paul Ceccato wrote:

I just noticed my notification emails have the IP address of my discourse server rather than the URL.

Can this be setup via the UI? or do I need to ssh into my serve to edit a config file (which i can't do from work right now)

Thanks

Posts: 4

Participants: 3

Read full topic


[admin] clicking X (revert) in dropdown list doesn't work

0
0

Zsolt Ero wrote:

If the admin item has a dropdown type, like the default trust level variable in
/admin/site_settings/category/trust page, once you select a non-default value and click X to revert, it doesn't work.

Posts: 1

Participants: 1

Read full topic

Gmail mute not working

0
0

Miststlkr wrote:

The Vancouver Hack Space is rolling out Discourse as a replacement for a mailiong list and many users have it set to email every message and still use it like they did the old mailing list. I've noticed that when I mute a conversation in gmail's web client, the conversation doesn't get muted; you have to follow the link to the discourse interface and mute the thread from there. I don't have the background or time to track this down, but thought someone may want to look into it if it is not a "feature".

@funvill

Posts: 7

Participants: 6

Read full topic

Cannot start, "no docker.io" and cannot resolve github.com

0
0

ไก่จิกดตฎฏบปอ wrote:

[root@iLekLoveAnswers docker]# /var/docker/launcher bootstrap app
which: no docker.io in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
Calculated ENV: -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=3 -e UNICORN_SIDEKIQS=1 -e RUBY_GC_MALLOC_LIMIT=40000000 -e RUBY_HEAP_MIN_SLOTS=800000 -e DISCOURSE_DB_SOCKET=/var/run/postgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e HOME=/root -e DISCOURSE_DEVELOPER_EMAILS=me@example.com -e DISCOURSE_HOSTNAME=discourse.example.com -e DISCOURSE_SMTP_ADDRESS=smtp.example.com
cd /pups && git pull && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/SamSaffron/pups.git/': Could not resolve host: github.com
0b40c83cfcd4bde7b880485c2153e240ac38d0466f819262599a72f680b4b2b2
FAILED TO BOOTSTRAP

What should I do?

Posts: 5

Participants: 4

Read full topic

Badges view on mobile

0
0

Sol wrote:

The text under the badges have no word wrap and are expanding the screen size... This is on Note 3 with Chrome under 4.4.2

Posts: 2

Participants: 2

Read full topic

Disabling smileys/emoji?

0
0

Franz wrote:

I tried to disable emoji for the Discourse instance I'm administrating (Settings -> Plugins -> unchecked "Enable the emoji plugin"). However emoji remain. Editing and saving an existing post does not remove the emoji.

Do I need to rebake the posts to make them disappear?

Would it make sense to let users choose whether they want to see traditional smileys or emoji?

Posts: 6

Participants: 3

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images