Iframe in posts
How To Mark a Topic As Resolved?
@Tyson wrote:
How do you mark a reply as being the “best answer” and mark the topic as being “resolved”?
Posts: 7
Participants: 3
Logged In Via SSH; No Directories?
@Tyson wrote:
I haven’t logged into my server for a couple of months but now I’m trying to change some settings, I log in via SSH but there are no sub-directories listed under my home directory. Maybe I’m forgetting something but shouldn’t the /var/discourse directory be listed here?
Posts: 2
Participants: 2
Suggested topics category formatting
@Alexander_Wright wrote:
Hi, I have some longer category names, and would like them to wrap in the “Suggested Topics” box at the bottom of each topic. This is what I have at the moment:
Is there some CSS I can add? I tried this css table word wrap, but could not get it to work.
Posts: 3
Participants: 2
Analytics - Add user type metrics
@Alexander_Wright wrote:
Could custom user metrics please be added to the Google Analytics?
Segments I’d be interested in are user trust levels and admins / moderators.
It would also solve this problem.
Posts: 1
Participants: 1
Moderators cannot remove polls from posts
@Lilly_S wrote:
Hi all,
I searched and saw some discussion on this, but it seems no solution exists (and the topic was more about edited polls rather than removing them).
On our forum, we’ve come across an interesting scenario in which a user no longer wants a poll in their post. This is because they are changing the format of the post from a feature request into a support inquiry. They’re not able to delete the poll in their post, so they flagged it asking for moderators to do so… and then I discovered that moderators cannot either. I get a message saying “You cannot add, remove or rename polls after the first 5 minutes” instead.
Is there a permission to allow moderators to remove polls from posts? If not, can this be implemented/enabled?
Thanks
Lilly
Posts: 1
Participants: 1
User preferences change when... (I dont know)
@Julian_Somoza wrote:
Hi! I have a user who wants to receive email notifications in specific categories… The config is:
and…
But, in some moment, one of the categories followed disappear and the “enable mailing list” is unchecked.
I cannot find out who or what is modifying these settings…
Thanks in advance for your suggestions.
Posts: 1
Participants: 1
Remove unsubscribe link from email footer
@skodali wrote:
I have mailing list enabled for all the users. I would like to know if it is possible to remove this text “To unsubscribe from these emails, click here.” from the footer of the emails. I have this setting disabled unsubscribe via email footer but still I get the unsubscribe link in the footer.
Is there any other setting I have to disable to achieve this?
Posts: 1
Participants: 1
A django app for easy sso simulation
@Sudaraka wrote:
Hi all,
I created a simple django app which simulates sso for discourse using the scripts mentioned here.
The parameters of sso payload has to be hard coded. But you will be able to get this thing woking within several seconds. I will provide a readme soon. Please give feed-back about any issue.
Posts: 1
Participants: 1
Replies with specified fields
@JacobLett wrote:
Is it possible to create a topic in a community that then requires all replies to have a certain type of formatted response?
If they hit reply it would ask them for
Text label {text input}
Image [file chooser]
Description {text input}
{submit}Thank you for your help.
Posts: 1
Participants: 1
Bitmoji Integration
@fellowshipforums wrote:
Hello,
I think it would be neat to have bitmoji integration with discourse. That is, an easy way for people to use their bitmojis as their avatar.
What are your thoughts on this?
Posts: 1
Participants: 1
Group_permissions using api in python
@David_fs wrote:
Trying to figure out how to make a put request ot update the group_permissions/permissions not sure which one.
Essentially trying to make a category read only. So user can only just see and reply to posts already created.
Looking at the source it seems the category controller only allows the
permissions
value as apposed to thegroup_permissions
.I have tired the following - I’m even getting an error it’s just spitting out the category as it was.
data = json.dumps([{'group_name':'admin','permission_type':1},{'group_name':'everyone','permission_type':2}]) params_for_update_cat = { 'api_key': API_KEY, 'api_username':"MarketDiscuss", "name": name_and_ticker, "color": bg_colour, "text_color": text_color, "permission": json.dumps({'group_name':'everyone','permission_type':2}) #tried } #tried this too "permission[]": [{'group_name':'admin','permission_type':1},{'group_name':'everyone','permission_type':2}] #also tried this: "permission": [{'group_name':'admin','permission_type':1},{'group_name':'everyone','permission_type':2}]
update_cat_url = f'{BASE_URL}/categories/{cat_id}' ra = rq.put(url=update_cat_url, params=params_for_update_cat)
print(ra.url)
print(ra.content)
b’{“success”:“OK”,“category”:{“id”:49,“name”:“Royal Bank of Scotland - (RBS)”,“color”:“8B1D7B”,“text_color”:“FFFFFF”,“slug”:“rbs”,“topic_count”:0,“post_count”:0,“position”:9,“description”:null,“description_text”:null,“topic_url”:"/t/about-the-royal-bank-of-scotland-rbs-category/65",“read_restricted”:false,“permission”:null,“parent_category_id”:9,“notification_level”:null,“can_edit”:true,“topic_template”:null,“has_children”:null,“sort_order”:null,“sort_ascending”:null,“show_subcategory_list”:false,“num_featured_topics”:3,“default_view”:null,“subcategory_list_style”:“rows_with_featured_topics”,“default_top_period”:“all”,“available_groups”:[“admins”,“everyone”,“moderators”,“staff”,“trust_level_0”,“trust_level_1”,“trust_level_2”,“trust_level_3”,“trust_level_4”],“auto_close_hours”:null,“auto_close_based_on_last_post”:false,“group_permissions”:[{“permission_type”:1,“group_name”:“everyone”}],“email_in”:null,“email_in_allow_strangers”:false,“mailinglist_mirror”:false,“suppress_from_latest”:false,“all_topics_wiki”:false,“can_delete”:true,“cannot_delete_reason”:null,“allow_badges”:true,“custom_fields”:{},“allowed_tags”:[],“allowed_tag_groups”:[],“topic_featured_link_allowed”:true,“uploaded_logo”:null,“uploaded_background”:null}}’
I also tried updating:
"read_restricted": True # in the request params
and it just stays
false
, is there any de-facto list of values I can or can’t update for the api requests? I don’t see anything in the docs.Any help would be awesome thanks
Posts: 1
Participants: 1
Option to allow badges for a particular category
@McBlu wrote:
If I do not allow badges to be awarded in a particular category if a member does their first link on a topic in that category will they still get a badge for doing their first link?
If I allow badges to be awarded in a particular category if a member has already done their first link in a different category do they still get an award for their first link in the particular category I permitted badges to be awarded in?
[I ask this because I have been creating links all over the website and after permitting badges in a category got a first link badge again.]
I created a badge for getting into the lounge and achieving a level 3 trust status as we have extra rewards that occur at that stage and it’s a target accomplishment in the forum. Do I need to allow badges to be awarded in that category for the custom badge to be awarded?
Is the optimal handling of this setting in each category to permit badges to be awarded in all categories?
Why would you choose to not permit badges in a category?
Thanks in advance.
Posts: 1
Participants: 1
When rate limiting is hit return return a Retry-After header
@jdevost wrote:
Hi,
Shouldn’t the delay to wait be in the Response as a Retry-After header?
Posts: 2
Participants: 2
Add theme dependencies in specification
@downey wrote:
As a Discourse theme author, I want to be able to specify child/component themes that are required for my theme to work correctly, so the user (Discourse site admin) doesn’t have to manually go out and add/configure it.
We are working on a downstream theme to work alongside the Mozilla theme (thanks @LeoMcA!) but it’d be nice if we didn’t have to manually specify import their theme and manually link them. Could such a relationship be added to the about.json file?
Posts: 7
Participants: 4
Category selector is too tall when using "box" style
@downey wrote:
Reproduce:
- From a default installation with no CSS or other customizations, ensure your site is using “box” for the category style site setting.
- Ensure you have several categories available from which to choose.
- Go to your site’s category listing at https://discourse.example.org/categories and in the first dropdown box, change from “all categories” to a category like “Site Feedback” (or any, really).
Expected results:
- The height of the colored box for that category should be consistent with the “tags” selection drop-down box, and the navigation buttons/links to the right.
Actual results:
- The height of the colored box for that category gets taller/larger, compared with the “tags” selection drop-down box, and the navigation buttons/links to the right.
NOTE: This only seems to happen for “box” style category style site setting (which changes the color of the drop-down). Using “bullet” keeps the height consistent.
Posts: 4
Participants: 2
Disabling auto-generated Meta Description of Topics
@erikmolenaarnl wrote:
Hi,
I noticed Discourse uses the opening sentence of a topic as the Meta Desciption.
As most of my topics start with the same (automated) opening sentence, I would like to have the Meta Desciption disabled not to confuse spiders such as Googlebot. Better to have no Meta Description at all, than low quality duplicates. Don’t you agree?
I hope my suggestion is of any use to improve Discourse! Thanks.
Posts: 5
Participants: 3
Improving removal of email signatures using Watched Words
@omarfilip wrote:
Continuing the discussion from 'Your post contains words that aren't allowed' … but which ones?:
Could the “substitute” action for watched words be expanded to remove email signatures that an admin can manually add to Watched Words?
Posts: 8
Participants: 3
The tracking timeline on the right is missing -- where is the setting for this?
@McBlu wrote:
This tracking timeline is missing on my forum. Is there a setting for this that I should turn on? Thanks in advance.
P.S. By “tracking toggle” I mean this:
Posts: 16
Participants: 4
Dashboard doesn't want to come up after upgrade to 2.0.0beta3
@axfelix wrote:
At least I think that’s the version I just updated to, but I’m having trouble checking…
Chrome debugger is giving me this breakpoint:
"SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>) at ie.parseJSON (https://selectbutton.net/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3:8322) at W (https://selectbutton.net/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:1:11782) at r (https://selectbutton.net/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3:9673) at XMLHttpRequest.<anonymous> (https://selectbutton.net/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3:15842)"
Everything else seems hunky dory though
Posts: 2
Participants: 1