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

Mysterious entries in topic_users table

$
0
0

@fefrei wrote:

I'm running a Data Explorer query to see which users read a specific post:

-- [params]
-- integer :topic = 0

SELECT *, total_msecs_viewed / (1000 * 60) as mins_read
FROM topic_users
WHERE topic_id = :topic
ORDER BY total_msecs_viewed DESC

The results look plausible, except for a mysterious nonexisting user:

This is the result for topic 200. The user id 200 is not used in my installation (I have fewer users).
The same thing is happening for all other topics, there is always an entry for a "user" whose id matches the topic id.

Am I overlooking a very obvious bug in my SQL code? Is this entry really there? Should it be?

Posts: 12

Participants: 2

Read full topic


Bug: raw links generate error and require reloading

$
0
0

@pfaffman wrote:

This is an edge case, and maybe one no one cares about, but I was writing a howto about using raw links to be able to see markdown of a post, or copy a post from one place to another. I noticed that if you link to a raw link on the site, the first time you click it, you get the "Oops! That page doesn’t exist or is private." message.

To reproduce:

https://meta.discourse.org/raw/44084

I check it on try.discourse.org.

Posts: 4

Participants: 3

Read full topic

API posts don't onebox

$
0
0

@balthatrix wrote:

I'm trying to make a post via the API which contains an "a" tag, pointing to a .oembed endpoint. Discourse doesn't seem to replace the link with the right content though, until I click the little pencil button, and I see the content preview.

Is there any way to make it happen via the api?

Posts: 3

Participants: 2

Read full topic

What are user cards?

$
0
0

@Yuun wrote:

A user card is what pops up when you click on a user's avatar or username inside of a topic, on a topic page such as Latest, or on a user mention (an @username).

The user card gives a quick view of some of the profile information for that user, and allows everyone a little more room for personalization through their user card background. These backgrounds can even be animated, if allowed on your site (check out @codinghorror's).

What shows up on your user card?

From your profile page, your:

  • Avatar
  • Username, name, and title
  • Last post and join date
  • Your trust level badge and two of your top badges

And if you've set them, your:

  • 'About me' description (or three lines of it, if yours is rather lengthy)
  • Location
  • Website
  • User card background
  • User card badge (shows up in the bottom right corner)

Does the user card do anything else?

Yes!

If you click on the avatar or username on someone's user card, it takes you straight to their profile, where you can see more further information about that user like their recent activity, list of badges, and summary page.

There's also a 'Message' button on every user card, as a quick shortcut to sending a PM. And if you're looking at a user card in a topic for someone who has posted more than once, there's a nice filter button with a post count:

Which, when clicked, gives you a view of the topic with only that user's posts.

A user card will also show if a user has been suspended, should that unfortunately be the case.

Can I add anything else to user cards?

Also yes.

Aside from the normal fiddling you can do with custom CSS, a fairly recent feature addition allows you to add custom fields to the user card, configurable at the admin/customize/user_fields page with the Show on user card? checkbox.

Posts: 1

Participants: 1

Read full topic

Topic list rendering is wrong with third-party plugin and latest version?

$
0
0

@thorbenegberts wrote:

With the latest release (v1.6.0.beta4) there seems to be a problem with the topic list?

Here my local installation with v1.6.0.beta4:

However, the problem does not occur on the latest master commit (currently 628773258e244f924823662c141c2381f8b0b79d):

You can also reproduce it on our hosted instance "forum.plentymarkets.com" which has the v1.6.0.beta4 deployed.

I am also using the Topic List Preview Plug-in which seems also to be broken on v1.6.0.beta4.

Posts: 4

Participants: 4

Read full topic

Change right gutter to vertical timeline + topic controls

$
0
0

@codinghorror wrote:

One of our targets for 1.6 is to radically revamp the right gutter, per previous discussions.

More specifically, it will be a vertical scrollbar that better visually represents the "timeline" of discussion, from inception to the current latest post. We can do some clever stuff here representing long pauses in the discussions or periods of intense activity, but I agree with @erlend_sh we should defer that until a future release. For now simply showing

  • first post date – relative time, but include full year
  • current visible post date / slider – allows "go/jump" to any post number or date as well
  • most recent post date
  • deepest / lowest read position – note the little blue dot, lets you go back to "where you were" if you jump around in the earlier timeline.

… should suffice.

Also, we're adding some topic level controls to the right sidebar as well:

  • current topic tracking state (short form, glyph only)
  • reply to topic button

This does mean that what's currently in the right gutter, the incoming and outgoing links must be moved under each post. Let's go back to a mildly edited version of @erlend_sh's iterated mockup:

(the text is not quite right; I suggest 14 linked posts since that's clear that we aren't tracking links across the entire web here, just intra-site links)

We can also bring back distinguishing incoming and outgoing links by showing the directional arrows when expanded:

One caveat: mobile will continue to use the existing progress bar style, so that code should definitely not be removed.

This is a big UI change, but it's the only big UI change we have slated for 1.6. I have personally grown to greatly dislike the way we use the right gutter now, and I feel the entirety of the current right gutter area is vastly underutilized.

We will start working on this in earnest in the next few days.

Posts: 4

Participants: 4

Read full topic

Any latency for Windows users posting a lot?

$
0
0

@charleswalter wrote:

i know our community has got some heavy optional features like signatures and auto-play video, but a number of our core users are complaining about latency that seems to get worse after having been logged on for a while in a seesion.

They tell me when they first load the site on their Windows machines, that the site loads fast. But then as they start browsing, liking and posting, the site gets increasingly slower.

Could there be any logical explanation to this? The complaints seem to have started the past month, which cohld have correlated to the latest release, the video plugin or even the additional advertising.

Any suggestions on troubleshooting? I am going to try to find some PCs to check from, but was curious if anyone heard any similar complaints or had thoughts on possible reasons for performance to degrade over time.

Posts: 6

Participants: 4

Read full topic

How can I see all text contents?

$
0
0

@saori wrote:

Please tell me how to see all text contents.

I can see all E-mail templates in one page, but I cannot see all text contents in one page...

If anyone know the way to see them, please help me :cry:

Thank you!

Posts: 3

Participants: 2

Read full topic


Hack to enable invitations for Trust level 1 users

$
0
0

@envieme wrote:

My community is based on invitations and I would really like to turn on the feature of inviting friends for my trust level 1 members. I have a lot of members in trust level 1 and its going to take some time before they can get to level 2 to be able to invite their friends. But since no new members are joining these days, less topics are being posted and there's less engagement overall. So my trust level 1 members have also slowly stopping to visit. Am afraid the community will die like this unless I enable my trust level 1 members to invite their friends to their topics. And it a request that's coming in from many users for them to have the ability to invite.

Posts: 5

Participants: 3

Read full topic

Params[:file] attributes lost within Scheduler::Defer

$
0
0

@williamherry wrote:

I deployed a instance manually on a centos host, image upload does not work, after several hours of debug, I find file in Scheduler::Defer block lost some attribites, see debug code below

def create
    type = params.require(:type)
    file = params[:file] || params[:files].try(:first)
    url = params[:url]
    client_id = params[:client_id]
    synchronous = is_api? && params[:synchronous]

    if type == "avatar"
      if SiteSetting.sso_overrides_avatar || !SiteSetting.allow_uploaded_avatars
        return render json: failed_json, status: 422
      end
    end

    Rails.logger.error(file.tempfile.path)    # =>url

    if true #synchronous
      data = create_upload(type, file, url)
      render json: data.as_json
    else
      Scheduler::Defer.later("Create Upload") do
        Rails.logger.error(file.tempfile.path)  # => nil
        data = create_upload(type, file, url)
        MessageBus.publish("/uploads/#{type}", data.as_json, client_ids: [client_id])
      end
      render json: success_json
    end
  end

any one know what's going on here?

Posts: 4

Participants: 2

Read full topic

Page scrolling bug on mobile devices within iframe

$
0
0

@heaven007 wrote:

Hi,

We're trying to use Discourse platform from our mobile application by loading it in an iframe.

The users started complaining that the page randomly scrolls to the top, they can't compose messages and so on. I personally saw this issue in 1.3 as well as in the most recent version (just upgraded from git).

Another issue is that on mobile (I am testing on the iphone 5s) when you click the Reply button in always scrolls to the top of the page, but the box for the message appears at the bottom. When you click "Close" link to close that box it also scrolls to the top. So it's hell for users.

The users are very frustrated because of this issue.

Thank you,
Alex

Posts: 4

Participants: 3

Read full topic

Anti spam suggestions

$
0
0

@AstonJ wrote:

  • Make location field required
  • Do not show URLs in profile publicly for TL0 members

Comparing specified location and IP location is a great tool in fighting spam (often the location as specified as west, yet IP is east)

Often spammers signup, put a URL in profile, then make one post to make it look real. Hiding profile links of TL0 users is a nice strategy. However I think this may need to be an admin option for TL1 too (since it is fairly easy to get to that).

Posts: 1

Participants: 1

Read full topic

Emphasis links do not work

$
0
0

@SidV wrote:

Hello guys, there is some problem with italic links when the URL has "(" and ")", example: https://en.wikipedia.org/wiki/Discourse_(software)

Steps for replay:

  1. Put the link https://en.wikipedia.org/wiki/Discourse_(software)
    to "Wikipedia Discourse"
  2. Select the "Wikipedia Discouse" link, and clic on "Emphasis" (or Crtl + i)
  3. Check the result.


Final result:
[Wikipedia Discourse](https://en.wikipedia.org/wiki/Discourse(software))_

Trying with other link (other case)
Discouse Emphasis

So, I think the problem was the "( )" symbols.
Could you check?

Posts: 1

Participants: 1

Read full topic

Redirecting vbulletin urls to discourse

$
0
0

@anandm09 wrote:

I have moved to discourse (hosted on DigitalOcean) from vbulletin forum long back, however Google Search Console shows thousands of broken links of the following formats.

member.php?xxxx-xxxx
showthread.php?xxxx-xxxx/xxxx

I want to redirect all queries having member.php and showthread.php to discourse home page.

How can I do so?

Posts: 1

Participants: 1

Read full topic

Removing the extra hr and centering "x days later"


Cannot add tags via the API

$
0
0

@fefrei wrote:

I'm trying to add tags via the API, but I'm doing something wrong.

Here's a good request made from the website:

PUT https://example.com/t/ueber-die-kategorie-organisation/74 HTTP/1.1
Host: example.com
Connection: keep-alive
Content-Length: 53
Accept: */*
Origin: https://example.com
X-CSRF-Token: ■■■■■■■■■■■■■■■■■■■■■■
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
DNT: 1
Referer: https://example.com/t/ueber-die-kategorie-organisation/74
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8,de;q=0.6
Cookie: ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■

tags%5B%5D=archiv-organisation&tags%5B%5D=archiv-2015

Here's what I am trying to do:

PUT https://example.com/t/74?api_key=■■■■■■■■■■■■■■■■■■■■&api_username=system HTTP/1.1
host: example.com
content-type: application/x-www-form-urlencoded
content-length: 22
Connection: close

tags%5B%5D=archiv-2015

The server responds with 403 Forbidden.

Does anyone see what I'm doing wrong?

Posts: 2

Participants: 1

Read full topic

Initial Email Setup Problems - DigitalOcean host, Namecheap private email & domain

$
0
0

@peercafe wrote:

Ok. I can't get email to work with my Discourse install. I've got it setup on a DigitalOcean 2gb Droplet and the domain name is on Namecheap. I was able to do the workaround discribed in this post https://meta.discourse.org/t/activation-email-not-being-sent-not-sure-whats-gone-wrong/32968/10 to gain access to finish setup and prep the site, but I still can't figure out the email controls.

Below I've tried to provide as much info as possible for my setup. I'm hoping someone can find the issue so I can move on. Thanks in advance.

Here is my "app.yml" setup:

I run sudo ./launcher rebuild app whenever I change "app.yml"

Here is my Namecheap DNS record:

Here is my DigitalOcean DNS record:

Here is my log file from error when sending test email out of admin panel:

I'm using Namecheap private email for SMTP settings.

I can receive emails to hello(at)peer(dot)cafe so I think the Namecheap records are correct. I can run telnet mail.privateemail.com 465 on my DO droplet and am connected. So I'm thinking the problem is either in my "app.yml" file or the DO records. Any thoughts?

Posts: 2

Participants: 2

Read full topic

Not receiving admin user verification email

$
0
0

@Primarypete wrote:

Sorry if this is a newbie question but I have everything up and running (via the $99 DO 1 time install package).

But when I went to my discourse instance and signed up with the admin email it said, I haven't received an email through to click and verify.

I didn't know if I should do something else before it comes through? DO support pointed me to you guys.

I have a Gmail address and also I've set up MX records with standard Google ones so I didn't think I needed to wait any longer for MX records. Is there anything else in the setup / console type stuff that I needed to do after the 1 click DO install?

Posts: 6

Participants: 2

Read full topic

Bounce Score Setting Description

$
0
0

@lrossouw wrote:

Just read the code on bounce score as I was not sure what happens with it.

The description in Settings says:

The maximum user bounce score before the they are deactivated. A soft bounce adds 1, a hard bounce adds 2.

Based on what I read in the code the following would be clearer.

The maximum user bounce score before we will stop emailing them. A soft bounce adds 1, a hard bounce adds 2. The bounce score get's reset to zero 30 days after the last bounced email.

At the very least the typo "the they" should be corrected :smiley:

Posts: 1

Participants: 1

Read full topic

Upgrade everything at once

$
0
0

@joebuhlig wrote:

Something I would love to be able to do is upgrade the core and all plugins at one time with a single click from the Upgrade screen. Unless I'm missing something, I currently need to go through each one individually and that can take a significant amount of time. I like being able to do them individually if I need, but mostly I want to update everything when I do this.

I would propose a simple (in UI, not implementation :wink:) "Upgrade All" button on the Upgrade screen.

Posts: 1

Participants: 1

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images