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

Discourse-templates (WIP)


How to know if a post is reply to the topic in general or to the post right above it?

$
0
0

@Osama wrote:

For reference please see this topic in try:

Not sure if this intended to be like that or just a bug, but I thought I would bring it up either way. As you can see in try, the third and the fourth posts are replies to the second post. The fourth post does have this indicator , but the third one doesn't. I know it says underneath the second post, but this showed up after posting the fourth post.

It happened to me a few times in large topics where I needed to know if the post I'm reading was a reply to the entire topic or to post above it. I think you can imagine that.

Posts: 3

Participants: 2

Read full topic

Activation Emails not being sent, but other emails are

$
0
0

@gavinharriss wrote:

I'm just trying a plan with DiscourseHosting.com and am experiencing an issue with new users registering - they never receive Activation Emails to let them unlock their account. I'm having to manually "Activate Account" from user admin every time. If I use the "Send Activation Email" it tells me the email is sent, but nothing is ever sent (I've created some test account to confirm the behavior my users are experiencing).

The strange thing is that "Email Deliverability Test" emails get sent without issue, and I've also noticed emails coming to my own address when other users respond to my posts. So email in general doesn't seem to be broken, just the essential activation emails.

No error logs are appearing, and I haven't modified any email templates though I couldn't see an obvious one in the list for an Activation Email. Perhaps I'm missing the template and this is why it's broken? Anyone know the template name for me to check?

Discourse version is v1.6.0

Any ideas would be greatly appreciated.

Posts: 6

Participants: 4

Read full topic

How to get a list of all the categories in a handle bar template?

$
0
0

@Webtrend wrote:

I am trying to modify a template and would like to get a list of all the available categories (preferably with the color and url). I am seeing a code like the following in one of the existing template. However, I am not sure how do I loop through the categories.

{{#if category}}
  <a href {{action "expand"}} class="badge-category" style={{badgeStyle}} aria-label={{i18n 'categories.category_list'}} aria-expanded={{expanded}}>
    <span class="badge-category-bg" style={{categoryColor}}></span>
    {{#if category.read_restricted}}
      {{fa-icon "lock"}}
    {{/if}}
    {{category.name}}
  </a>
{{else}}
  {{#if noSubcategories}}
    <a href {{action "expand"}} class='badge-category home' style={{badgeStyle}} aria-label={{i18n 'categories.category_list'}} aria-expanded={{expanded}}>{{i18n 'categories.no_subcategory'}}</a>
  {{else}}
    <a href {{action "expand"}} class='badge-category home' style={{badgeStyle}} aria-label={{i18n 'categories.category_list'}} aria-expanded={{expanded}}>{{allCategoriesLabel}}</a>
  {{/if}}
{{/if}}

Posts: 1

Participants: 1

Read full topic

Separating View from Data, Plugins, Modularity

$
0
0

@phisch wrote:

Hi,
How modular is Discourse internally? Will it easily be possible to develop a plugin which uses a different approach to discussion for a certain category?
Does Discourse use the MVVM principle or something similar, so that a discussion tree (or network) can be displayed in a different manner than it is now?

Basic example: Show Discussion as a tree rather than a list (this is not what I want to do)

If not, is it planned to achieve more modularity?

Posts: 2

Participants: 2

Read full topic

Trying to figure out the order of initializing WP SSO Plugin and bbPress Migration

$
0
0

@Bernstein wrote:

I’m unsure of the order in which I should set up WP SSO and migrate the existing users/topics with the plugin discussed here.

I know the WP SSO plugin shares user credentials between the two platforms, but the existing plugin migrates the credentials in a way that you have to reactivate the account, which I’d rather not do… (and I don't think the SSO plugin requires, correct?)

So here’s what I’d ultimately like to happen:
Initiate SSO between my WP site and the new Discourse forum I’ll create.
Have the user information already there.
THEN migrate the forums, topics, and posts over from bbPress but let the SSO plugin manage the users.
Does that make sense? Is that even possible?
And if so, is that the correct order?

Any advice or help would be greatly appreciated!

Posts: 1

Participants: 1

Read full topic

Creating admin using rake admin:create

$
0
0

@Hammad_Abbasi wrote:

Hi,

I am running discourse multi-site setup, I am wondering how can i create administrator using
rake admin:create

It creates the administrator on first site.

Posts: 2

Participants: 2

Read full topic

Insert in a topic an html

$
0
0

@broz wrote:

Using the standard editor is it possible (also only for the administrator) to insert a:
<div id="discourserocks"></div>
Into the content?
I need to achieve this result in some way, if it is not possible by default, what would be the editings i should do to discourse to achieve it?

Is there an easy way to do that?

Posts: 3

Participants: 2

Read full topic


Images from googleusercontent.com are not auto-crawled

$
0
0

@meglio wrote:

Here is an example:

Source code:

 [img]https://lh3.googleusercontent.com/yp81poko9nGRT_TvY7nEOGcwRL8dsMmS1ik4hctec54rsmVZki9473cKg2F3b6jbmwp4kU8kbKdl79iWHVBYhTkYycPI1KMMCVbZGjSrawFxROTDKG0BnUbwiYGjONQNuPkcOsRBbLOhCAC9lku2Pl4q2r7xNFd4DgGcbFalsN3yjhPOo-QXmfOIyNEQVQCUHS33QAGsC5Z-FNjCa1Q_sWqNN5M_f9d2H-04-GEn8acsc1mXdRs0PHL_OZ9ihet8otVlr4XWBRfmhlCYPsQSQPhNRZaMtRryzylIpu7_iiUykhZhUzDT7UwtG6Xu49Jpa7Wr_Fesb4woSXEtotUUu3wGmu5oodN_lIpasTmE6rWxop8eorgvtQekCFlcqLrT8rHDtLGNBNc4tQrnhM6o_HEB7ZRfyTITc1yROR8SDUFQmLqdy4gumJiO-65CEvg0Hq-fZ7_RwBk-SjGikDedGFlRCGkISokBQ1A2VnVYM039v6v_QYwEG_DVkd0CCnGwbS4DFgjdXrb3rgr1YTg6J1zdZvVrE5InjZzuI-JtWcohGjDpDPw7Wy5umb2BaKhu2uypczLTjweoxYxoriN9fEpVLyTfcKg=w400-h643-no[/img]

This image gets not auto-crawled. Is this a bug?

Posts: 10

Participants: 5

Read full topic

Automatic Login from iOS/Android app

$
0
0

@Ugo_Chirico wrote:

Hi,
I'm writing an android/iOS app that points to my discourse instance.
This is the scenario:
1) When the mobile app starts for the first time I create a user on my discourse instance by calling the API by setting active=true. the user should be already active (without needing to activate again it by email)
2) I store username and password in the mobile app after successfull creation.
3) When the app starts I want to automatically login the user to discourse and show him the home page with the login done.

Is there a way to do that?
How can I do that?

Posts: 4

Participants: 3

Read full topic

Add new link on header beside search icon

$
0
0

@techAPJ wrote:

Want to add a new link right next to search icon on header? Follow below steps:

Paste this Javascript code in Admin -> Customize -> CSS/HTML -> </head> section:

<script type="text/discourse-plugin" version="0.4">
api.decorateWidget('header-icons:before', helper => {
    return helper.h('li', [
        helper.h('a#home-button', {
            href:'https://www.google.com/',
            title: 'Google'
        }, helper.h('i.fa.fa-arrow-circle-up.home-button-icon')),
    ]);
});
</script>

(Props to @Yuun for above code)

Change href, title and icon (fa-arrow-circle-up) as per your requirement. See the complete Font Awesome icon set here.

Paste this CSS code in Admin -> Customize -> CSS/HTML -> CSS section:

i.home-button-icon {
    padding-top: 5px;
    color: #999999;
}

Also paste the above code in mobile CSS section.

Enable the CSS and you should be able to see the new icon linking to Google right next to search icon! :tada:

Desktop:

Mobile:

Posts: 5

Participants: 3

Read full topic

Shift+J, Shift+K, Next/Previous section - what is this about?

$
0
0

@meglio wrote:

Please may someone explain what sections are meant and where Shift+J and Shift+K work?

P.S. Related translation key js.keyboard_shortcuts_help.navigation.next_prev.

Posts: 2

Participants: 2

Read full topic

How do I re-enable email and logging into my account after restoring backup?

$
0
0

@aknudsen wrote:

I just installed a new instance of Discourse and restored a previous backup on it. However, after restoring the backup I am no longer able to log in with my (administrator) account and email is also disabled so that I can't send myself a reset password mail (I get the notification "All outgoing email has been globally disabled by an administrator. No email notifications of any kind will be sent.").

  1. Why is my password no longer accepted?
  2. Why is sending of emails disabled?
  3. How do I fix the above?

Posts: 3

Participants: 2

Read full topic

Some emojis broken after 1.5 -> 1.6.1 update

$
0
0

@ljpp wrote:

Just upgraded my site from 1.5.x to 1.6.1 and noticed that at least one type of emoji appears now broken. Could have broken earlier, I am not sure, but noticed now.

Previously there has been emoji...

:slightly_smiling:

...which has now changed to...

:slight_smile:

...thus all the posts with the original markup now have broken emoji images.

Any suggestions how to fix?

Posts: 12

Participants: 6

Read full topic

Show "updated topics above this line" in the topic list?

$
0
0

@codinghorror wrote:

One thing that Slack does, is highlight the position of where you last read when you re-enter a conversation:

We recently migrated a very large (4 million post) vBulletin site, and some of the users struggle with the way Discourse doesn't arbitrarily emphasize "here's all the topics with updates since you last visited, now you must manually dismiss them" out of the box as vBulletin does.

I wonder, to help these users, could we add an ambient updated topics line in the topic list similar to this, to highlight:

  • above this line: topics that are new or updated since your last visit
  • below this line: topics that were not updated since your last visit

like so (copy would be different, but you get the idea):

I'm pretty sure we know the time of the user's last visit, so this would be (I think) simple client logic based on the last topic bump time, compared to the time of the user's last visit. Perhaps not terribly different logic from the way we show 3 months later in topic discussion gaps?

Posts: 4

Participants: 3

Read full topic


Email only users: Preserve Attachments

$
0
0

@petruschang wrote:

Our users are email-only users:

Is it possible to configure discourse in such a way, that if users post via email-in with attachments that those attachments are preseved as attachments and not converted into download links?

This would be more natural for email only users.

Posts: 1

Participants: 1

Read full topic

Login to site with no domain name

$
0
0

@jamesmarkcook wrote:

I recently migrated a site to a new Discourse instance and domain name, and set the old domain name to redirect.

I can still access my old Discourse using the IP address, but I was using Google OAuth to log me in as the admin.

You can only use top level domains as OAuth redirects with Google, so short of pointing my old domain back to the old IP address, is there any way I can reset my user account with a known password so that I can log in to the old Discourse again?

I'm asking here first in case I do something wrong and lock myself out.

Thanks

Posts: 3

Participants: 2

Read full topic

Groups for groups of users

$
0
0

@adopilot wrote:

Any chance to soon get ability to group users group.
Now there is default 2 section for groups.
Custom / Automatic

Since we are using groups as placeholders for virtual users our forum now have almos 300 gropes.
It get messy when you tray to handle that without api.

Is there any plan to implement grouping of groups ?

Posts: 1

Participants: 1

Read full topic

Unique Email for a post

SMTP Settings on Azure VM

$
0
0

@csteph wrote:

Hi,

I'm very new to both Discourse and to Azure VMs. I have a VM set up and I have Discourse running on it fine. I am currently the only user on the system and I am having trouble finding out where to add any SMTP settings so that Discourse can send emails (thus enabling me to invite a couple of other test users to the board).

The only similar topics I can find seem to suggest editing a particular file and then issuing a command line command to restart the server. I can't get either at the file or at any sort of command line interface in my Azure VM, so I can't follow the recommended solution.

I am fully prepared to believe that this is all totally possible on an Azure VM and that I am jusat missing something as to how it is done.

Any help would be very gratefully received.

Thanks,

Chris

Posts: 5

Participants: 3

Read full topic

Viewing all 60707 articles
Browse latest View live




Latest Images