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

Static page problem

$
0
0

@Mittineague wrote:

Granted, reproducing the issue requires a lot of “ifs” but I suspect it might not be all that rare. Because I am not using an ad blocker, I can’t test static pages, so I am only reporting what someone experienced with the SitePoint FAQ page.

  • if a forum has a top banner ad as implemented by SitePoint and
  • if a visitor has an ad blocker and
  • if the visitor decides to block the ad and
  • if the ad blocker offers “.container:nth-of-type(1)” as a filter and
  • if the visitor selects that filter

then
the ad is blocked as desired on most forum pages
but
when going to the FAQ page, the page content is not displayed.

My thinking is that having an empty element with a container class would be the easiest fix, but maybe not?

Posts: 1

Participants: 1

Read full topic


I had issues with docker dev in the past

$
0
0

@pfaffman wrote:

There are a couple snags with docker_dev last I tried. The biggest is that I couldn’t connect to the database without entering the container and editing the postgres config file.

I was also unable to get reset_db to work. I was able to create a new database like this:

cd ~/src/discourse
docker stop discourse_dev # stop the development instance
sudo rm -rf data/postgres/ # delete the database
docker start discourse_dev # re-start the development instance
sleep 5
bin/docker/rake db:migrate # set up an empty database

What I’d really like to be able to do with it is to use it to run one import while I’m running (or debugging) another with my dev instance, but they share the same uploads directory.

Posts: 2

Participants: 2

Read full topic

Tracking button scrolls page on Android tablets

24 user max in topic statistics

Hiding posts whit specific category from lists

$
0
0

@adopilot wrote:

Back in 2014 when we start using discoruce there was feature to hide topics whit specific category from top menu .
We did setup that by adding ,-category_name on name of top menu

Now it is not working any more.
Is this feature dispatched ?
Is there way now to hide posts whit specific category ?

Posts: 3

Participants: 2

Read full topic

Migration from UseResponse to Discourse in subfolder

$
0
0

@Ivan_Rapekas wrote:

Hello,
I am glad to share files with a guide how to migrate from UseResponse forum engine to Discourse.

My case looks very custom, in two words:

Old schema:

  1. Drupal host www.example.com stores users in local mysql database.
  2. Via SSO authorized users go to UseResponse forum www.example.com/support. It has its own local mysql database with matched users. That database stores topics, posts, forum settings, attachments etc.

New schema:

  1. Drupal host www.example.com is still working.
  2. Via SSO Discourse plugin users go to new forum www.example.com/discuss

Welcome to try it :wink:

Known issues:

  1. Some internal URLs in old forums posts cannot be converted exactly to new forum format
  2. Users who registered using social logins may loose their topics and posts because of Drupal behaviour (it creates duplicate accounts). Discourse does not allow duplicate registration emails, so such topics and posts will be owned by Discobot at all. It can be fixed manually or using rake scripts (not provided).
  3. Russian users should install English Discourse first before they perform a migration because of migration scripts cannot handle localized exceptions (only english).
  4. Before migration the admin should double match Discourse topic/username/email/naming/length etc rules with UseResponse source. I tried to describe all restrictions in readme, but you may face other problems.

I am an author of migration scripts. It you have any questions on migration, I will try to assist.

Good luck!

-Ivan

Posts: 1

Participants: 1

Read full topic

Dynamic replace string to another

$
0
0

@jean-michel wrote:

Hello

I just installed Discourse, and now it’s time to migrate from anciant forum.

Previous forum had feature I have to add to Discourse.
Is it possible ? :

When a pattern of string is found into a message, string is dynamicly replaced with a link.
I.e:
“You can see on page x” will be replaced by "You can see on <A href="page.php?id=x">page x</a>"
A regex will do that. But where to place it ?

An idea ?
Replace in tables with a batch is not a solution. It must be automaticly when displayed.

Sorry for my poor english…

Many thanks for help

Posts: 1

Participants: 1

Read full topic

Improve Google Login with Multiple Accounts

$
0
0

@Geoffrey_Challen wrote:

First and foremost I love Discourse: thanks for all of your hard work on this project.

I’m using Discourse as a private course forum. I create accounts for active students using a script, set course staff as moderators, and disable accounts if students drop the class. All of that works swimmingly.

The one hitch is integrating with Google’s authentication. The accounts I create for students use their university email address, for obvious reasons, and we do have Google authentication enabled for our domain. (Although students have to opt-in.)

The problem is that last time I checked the default Discourse Google OAuth flow doesn’t handle multiple accounts very well. A very typical case is that a student will already be signed in to Google using their non-university account. When they try to log in to the forum, rather than providing an option to switch accounts, the Discourse forum login just fails and says that they are not authorized. It also doesn’t say which account wasn’t authorized, or provide a switch accounts dialog, furthering the confusion. Then I get dozens of repetitive emails about this, which is the entire problem that the forum is supposed to be helping me solve :slight_smile:. The workaround, which seems clunky, is to have students visit another Google page (like Google.com) and go through the add account dialog there.

Originally I thought that this was just a Google problem, but recently I built something using Meteor. It’s Google authentication plugin allows you to force the use of a specific Google Apps domain, meaning that even if I am logged in to other Google accounts, or haven’t configured any, it forces me through my university provider. Which is exactly what I want. The flow isn’t perfect: first I get sent to my university login page (good), but then I get sent back to a dialog where I can choose which Google account to use… except that there is only one option. So that’s fine, but unnecessary. Overall it’s an improvement though, which leads me to believe that Discourse can do a bit better here.

Steps to reproduce this problem:

  1. Visit my closed forum in a incognito window.
  2. Try to log in, but use the wrong Google account.
  3. “Sorry, access to this forum is by invitation only.”
  4. Click the “Login with Google” button, no add account dialog, just the same message again.
  5. Now I’m stuck.

Anyway, it seems like there are a few options here, in order from best to worst:

  • Have the Google OAuth flow return the user to a switch or add accounts dialog when a login attempt fails. This is probably the most general-purpose fix.
  • Implement Google’s domain restriction so that I have to log in using my domain-specific provider
  • Add some explanation to the login failed page telling users how to fix the problem. (I can do this, but it’s a hack.)

Happy to help with this if someone can point me in the right direction, and to test any attempted fixes.

Posts: 1

Participants: 1

Read full topic


New Thread button shows as enabled when you add a tag

$
0
0

@Lilly_S wrote:

Hi team,

A user mistakenly posted in the wrong category in our forums as he had read-only access to the category he wanted to post in, but he swore that when he navigated to the category and subcategory, the New Thread button displayed as if he was allowed to post there. He was not, but the New Thread button still displayed that way.

I created an alternate account and gave it the same trust level as him, and confirmed that the issue occurs when you add a tag. The screenshots below can probably explain better:

Notice that when I add the “exploit” tag, it appears as though I can post create a new thread.

Thanks,
Lilly

Posts: 1

Participants: 1

Read full topic

Is there a good information about Discourse configuration?

$
0
0

@adriatic wrote:

I managed to deploy Discourse/Mailgun on DigitalOcean, using the DO’s prebuilt docker image with linux/discourse droplet. At the moment, I am at this state:

Which is the first step in finalizing the Discourse configuration. Note that the account admin@mg.didomg.com is one of the authorized recipients defined in the Mailgun service configuration.

My question is somewhat difficult to state in a simple fashion, so let me start this way: what is the standard way to receive this activation email and confirm the reception, so that the process of Discourse configuration advances from this current point.

The answer likely requires knowledge of Mailgun - I can rephrase the above question, if someone with Mailgun experience choses to respon to this :slight_smile:

Posts: 3

Participants: 3

Read full topic

Composer fails to close when using escape with no content

$
0
0

@jomaxro wrote:

Kinda a #bug, but the composer can be closed other ways so putting this in #ux

Repro steps:

  1. Open the composer, via :heavy_plus_sign: New Topic or via c on the keyboard.
  2. Don’t type anything or select a category.
  3. Move the cursor to the body, either by tabbing 3 times, or clicking on the body.
  4. Hit Esc.

Expected Results:

Composer closes as there’s no content in title or body.

Actual Results:

Composer minimizes.

Posts: 1

Participants: 1

Read full topic

How to change login settings without being logged in?

$
0
0

@Juan wrote:

I have my discourse installation set with SSO, the problem is that the SSO system got replaced by a newer version and they shut down the old one, so I’m unable to login using the old system.

Totally my fault as I ignored the team that was nagging me to upgrade before.

As I’m unable to change the past, is there a way to reset the login configuration or update it via ssh to the docker instance or something like that? (ie without actually logging in via web)

I’d appreciate any help, and as for dummies as I can get it :wink:

Posts: 3

Participants: 2

Read full topic

New users having restricted access after upgrade to v1.9.0

$
0
0

@trudat wrote:

I recently upgraded Discourse to version 1.9.0.
I had some new users who were unable to post replies to topics, or their posts needed to be approved. I don’t want my users to have any restrictions on posting.
Is this related to the upgrade?
Is there anything I can do to ensure that all current and new users will be able to post?

Posts: 5

Participants: 3

Read full topic

Uploading errors not alerted

$
0
0

@youwiki wrote:

Hello!

We calling displayErrorForUpload with data.jqXHR.responseJSON parameter, but should provide whole data object, as required in /lib/utilities.js.es6

Posts: 1

Participants: 1

Read full topic

Searching for URLs doesn't work

$
0
0

@Sujan wrote:

This post includes the URL http://example.org/path#anchor

(The Google search result work as a valid fallback, but it would be still better if Discourse could return these posts)

Posts: 1

Participants: 1

Read full topic


Some lists are not rendered as expected

$
0
0

@Sujan wrote:

  • 1

  • 2

  • 3

vs.

  • a
  • b

foo

  • c

123 is rendered as 3 individual lists, abc as 2 lists.

(Although this might also be a Markdown “feature”, please close if this is the case)

Posts: 5

Participants: 2

Read full topic

Global navigation or links

$
0
0

@typeoneerror wrote:

Is there no way to add custom links to the navigation or next to the logo without self-hosted Discourse? If not, where would you recommend we put external links that need to be super obvious for new users?

I’d love to see the Theme editor use Liquid or another templating system so we can do more with hosted Discourse. Many of our clients we’re building forums for would love this.

Posts: 3

Participants: 2

Read full topic

Drupal import script for beginner QQ

$
0
0

@Tumi wrote:

Hello guys first of all pls tell me how to use this script (from total noob knowledge about profesional programming - know just css, html or little js. How to “use it”…

For exampe i got a drupal site (build 4 years ago not by me - drupal 7) . I just wanna try to import users (but its not important ) and every post with image on this site.

So what should i do in this case in steps ?

Posts: 2

Participants: 2

Read full topic

Why are posts withdrawn instead of being deleted immediately?

$
0
0

@David_Kwan wrote:

Why are posts that users try to delete considered as “withdrawn” for a period of time as opposed to being immediately deleted. I know that you can change this period of time to zero but was just wondering about the reasoning here. I see that it says “unless flagged” so I am guessing that has something to do with it, but don’t fully understand.

Posts: 2

Participants: 2

Read full topic

Canned Replies search field missing

$
0
0

@Sujan wrote:

I can’t test it here as I don’t have access to the feature, but on hosted forums the search field for Canned Replies seems to be gone:

image

Previously there was a field you could type to filter the scrollable list of replies in the area I marked yellow.

(Screenshot from https://forum.ionicframework.com/)

Posts: 3

Participants: 2

Read full topic

Viewing all 60613 articles
Browse latest View live


Latest Images