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

Generating a mixed content warning with a oneboxed link

$
0
0

@chrisc wrote:

I realise this has been discussed several times before but there still doesn’t appear to be a solution other than having a admin manually edit posts that have HTTP URLs on single lines?

Would it be possible to have an admin option something like “Disable Oneboxed HTTP URLs”?

The post that caused me to come looking for answers to this can be found here.

UPDATE: Initially I misunderstood how this problem was caused see the third post in this thread for an updated explanation.

Posts: 5

Participants: 2

Read full topic


Which image file does the Discourse application use?

$
0
0

@hellorich wrote:

Hi,

Just trying to get to the bottom of why our communities icon doesn’t appear when it’s added to the Discourse application. Is there a definitive guide to which of the icons / logo files added in settings ( /admin/site_settings/category/required ) appears where? We have images added to all of these and it still won’t show up so I suspect it’s a file format issue, or perhaps theres some cache thing going on.

Thanks

R

Posts: 7

Participants: 2

Read full topic

How to fetch all new topics and users replies within 24 hours by cron?

$
0
0

@Muzammil_Ahmed wrote:

I’m new to discourse and want to create a cron which fetch all the topics with users replies from last 24 hours and integrate that cron into discourse docker container.

Posts: 5

Participants: 3

Read full topic

Dev environments scripts

$
0
0

@LeoMcA wrote:

I’ve been using the docker scripts bundled with discourse for a while, but I’ve found they don’t work particularly well with my want to often switch between different dev instances (for instance, one running tests-passed, one running a branch where I’m developing an awesome new feature, one running a plugin I’m developing, and so on).

So, I rolled my own, heavily inspired by the originals:

I’ve been using them for about a week now and they haven’t set anything on :fire:, so I humbly offer them up to anyone else who may find them useful.

Basic usage is explained in the README, but to give a taste:

  • Setup a foo environment:
    source discourse-dev-scripts/setup foo
  • Create the discourse_dev_foo docker image with the bar plugin mounted as a volume:
    create -p bar
  • Run rails:
    rails s

There are some known limitations documented, and probably others I haven’t thought of, which you’re more than welcome to submit a PR to fix, or just complain about in the posts below!

Posts: 1

Participants: 1

Read full topic

Emoji parsing regression

$
0
0

@tgxworld wrote:

Looks like we’re allowing spaces and invalid characters in the Regexp?

:email, class_name: 'UserEmail' => :email, class_name: ‘UserEmail’

Posts: 1

Participants: 1

Read full topic

How can you change Discourse's default homepage view to a static html landing page?

$
0
0

@norandom wrote:

Hi,

is there a way to set a custom html landing page for the home view?

Like http://mydiscourse/ -> start.html

I would like to generate my own start page for my Discourse instance.

Best,
Marius

Posts: 1

Participants: 1

Read full topic

Trouble with Top Traffic Sources Data

$
0
0

@RyanK wrote:

I have Google Analytics setup via Admin > Settings > Basic Setup. When I visit GA there is an alert that says my tracking code is missing. This appears to be an old message, so it may not longer be relevant.

When I visit my ADMIN area in Discourse I see that Github is often a top referrer. It’s my understanding that while not accessible via Discourse, that referral data should be easy to get from GA. I’m checking traffic Channels, Source/Medium, Referrals, but nothing shows any reference to GitHub anywhere. Am I looking in the wrong place or does this mean my GA setup within Discourse is not right?

Posts: 4

Participants: 2

Read full topic

Importing old vb(s) into Discourse

$
0
0

@Sara_Noel wrote:

I’m currently working on importing a handful of my smaller topic-related vbulletin forums into a single Discourse. Things are going swimmingly. Seriously. Very happy.

The only remaining problem I have is that some of these vb communities have photo galleries (vb paid add-on). I am looking to see what Discourse folks think is the best way to manage/still use these photos. If these were just memes or goofy photos, I’d flush them. They aren’t. There isn’t a Discourse separate yet integrated photo gallery option like what I had with vb. Not complaining.

My objective isn’t necessarily a community photo gallery add-on. But I’d like to try to move these vb gallery images and have them still tied to their authors. Then of course, moving forward being able to maintain a system for people to share photos that matches the way I managed the first set of imported vb gallery photos.

What is the best current solution? Just want the best option today on what to do with these photos that are currently in a vb photo gallery. What would you do?

Posts: 6

Participants: 4

Read full topic


SSO User getting denied - "could not be registered"

Vanilla Importer (vanilla.rb) - Import timeout error

$
0
0

@harinayar wrote:

Hello,

I am trying to migrate from vanilla into discourse. I am trying the import steps outlined here.

The import job errors out always while importing users (see screenshot attached). When I rerun the script the error repeats for a different user leading me to believe that the issue is not specific to a specific user record but instead a problem with the the db schema or a timeout of some sort (as evidenced by the line in the error dump - “Javascript was terminated either by timeout or explicitly”)

I tried combing thru vanilla.rb to check for timeout values that I can maybe increase but I couldn’t find any such references. Thoughts?

Posts: 1

Participants: 1

Read full topic

Tags, information on notification

Disable serve static files

$
0
0

@leo.proctor wrote:

Somehow i want to disable public access to assets. In development by config.serve_static_files = false, it serves the purpose. It routes requests to upload controller, where i can authenticate or deny access. While in production it doesn’t seem to be working. In my app.yml file

DISCOURSE_SERVE_STATIC_ASSETS: false

Posts: 4

Participants: 3

Read full topic

Way to find "hot" topics?

$
0
0

@jsha wrote:

At https://community.letsencrypt.org/ we have a lot of “support” posts that are quickly asked and answered in a straightforward way. We also have a few longer-form discussion threads that can sometime get heated. When I have limited time to read, I usually want to see if there are any hot threads with lots of recent posts. Is there an easy way to get this view? If I click “Top,” I get a list of all-time most popular posts. If I sort by “Activity,” I get the threads with the most recent posts, regardless of number of posts.

Thanks,
Jacob

Posts: 3

Participants: 2

Read full topic

Category description on mobile

$
0
0

@ThePassenger wrote:

Hi everyone! i am trying to set up my community and i found a problem:

This is a screenshot of my phone with the categories page:

and this is the chrome inspector of the same page:

as you can see, in the “responsive” version the category description will show, but in the real mobile version it won’t.

I’m kind of lost on why this happens, so any help will be great! thanks!

Posts: 1

Participants: 1

Read full topic

Invitations via facebook?

$
0
0

@RSnie wrote:

Hi all,

Is it possible to invite users via facebook if you don’t have their e-mail address?

Rosanne

Posts: 1

Participants: 1

Read full topic


Safari default zoom makes links to parts of pages be off

$
0
0

@DaniSpringer wrote:

Safari High Sierra has a feature that lets you choose a default zoom level per site.
I made a discourse website default to 115% percent.
When selecting a question from Discourse reader, it used to bring me to the place of that question on a page.
Now it’s off, by a lot - enough to have to scroll up and down to find the right post.

Is it a bug, and can it be fixed, or am I doing something wrong?

Posts: 5

Participants: 2

Read full topic

Putting username in header link

$
0
0

@Kiejr wrote:

I’m trying to add the username into a header link like so:

   <li class='last'><a id="pprefs" href='http://webchat.ghostsirc.net/?channels=kiejr' target="_blank" title="Kiejr Chat" class="nav-link"><span>Chat</span></a></li>
             <script type="text/javascript">
               var currentusername = Discourse.User.currentProp('username');
               document.getElementById("pprefs").href = "http://webchat.ghostsirc.net/?channels=kiejr&nick=" + currentusername;
          </script>

But the username is coming back undefined, and making the link
"http://webchat.ghostsirc.net/?channels=kiejr&nick=undefined"

It’s probably something minor that I’m not quite getting here.
Help would be much appreciated!

Posts: 1

Participants: 1

Read full topic

Empty response on discourse login API call

$
0
0

@hnaseri wrote:

I have about 6k login api calls per day. However about 5% of them do not have any response from discourse. The interesting thing is that there is no sign of these 5% failed api calls in the production.log file too.

Our login api is this:

public static function Login($user_name, $user_pwd){
        $data = array(  'login'=>$user_name,
                        'password'=>$user_pwd,
                        'show_email'=>true,
                        'api_key'=>self::$api_key,
                        'api_username'=>self::$api_user,);

        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, self::$discourse_url."session");
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($ch, CURLOPT_POST, 1);
        curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
        $ip = $_SERVER['REMOTE_ADDR'];
        curl_setopt($ch, CURLOPT_HTTPHEADER, array("X-FORWARDED-FOR: $ip"));
        $response = curl_exec($ch);
        curl_close($ch);
        return $response;
    }

What could be wrong? and where should I look for more information about this matter?

Posts: 2

Participants: 2

Read full topic

Ability to force subscription to a category

$
0
0

@hudrob wrote:

Hi all,

Is it possible to force all registered users to be subscribed (for email) to a particular category?

When we ran mailman, we could enforce subscription to a particular list (our organisational announcement list). We’d like to be able to do the same in Discourse.

Is this possible now, or is this a feature that could be built?

Cheers!

Robert

Posts: 4

Participants: 3

Read full topic

How to find my replies that didn't get a reply?

$
0
0

@Sujan wrote:

Is there a way to get my replies (answers to posts) that didn’t get a reply after that?

As moderator in a dev (support) forum, I am sometimes more a triage bot that asks people for clarification, missing data, etc. Now some people seem to think it is ok to just ignore these and I want to see how many there are.

Is there a way to find my replies that I wrote in topics and that didn’t get a reply?
Maybe even with an additional filter of “2 posts in topic” to get those where only the initial topic post and mine exist?

Posts: 6

Participants: 3

Read full topic

Viewing all 60690 articles
Browse latest View live




Latest Images