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

Is it possible to mount a playable video game into a discourse forum?

$
0
0

@jkuehlin wrote:

Hello. Brand new user here.

I was wondering if it would be possible to mount a playable video game (with simple graphics of course) on a discourse forum and have the game access statistics and user character attributes?

Could someone tell me if this even remotely possible?

Posts: 2

Participants: 2

Read full topic


Command line restore for web only container can't load thor

$
0
0

@pfaffman wrote:

I just tried to do a restore on a web_only container and it whines that it can’t load thor when it tries to load_rails. (If you don’t actually try to restore, it doesn’t fail --and OMG, how awesome is it that it suggests filenames and you can then copy and paste from a list!!! :+1: I don’t know how long that’s been there, but I was psyched to find it.)

root@web-only:/var/www/discourse# script/discourse restore ning-import-2017-08-22-172513-v20170803123704.tar.gz
/usr/local/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- thor (LoadError)
        from /usr/local/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from script/discourse:3:in `<main>'

Posts: 4

Participants: 2

Read full topic

Communities at the research-practice interface ("breaking the ivory tower")

$
0
0

@tophee wrote:

I am planning a project to explore the use of (discourse) forums as a way of enhancing communication between researchers (academics) and anyone who might be interested in their field of research. The purpose of this topic is to gather ideas and previous experience potentially relevant for such an endeavour.

To put the idea into perspective: while tech transfer offices are basically a must-have for universities these days, knowledge from the social sciences and humanities (SocHum) is not being “pushed” into society with as much energy. One reason for that is obviously that a lot more money can be made with tech knowledge than with SocHum knowledge (which is why those tech transfer offices often have “commercialization” or something in their name).

But this obviously doesn’t mean that SocHum knowledge is useless or even that it sits idly in the ivory tower. What happens at the research-practice interface in SocHum often depends on the initiative of the individual researcher and their contacts outside academia. So this is where online communities might come in handy as a way of engaging with a broader audience…

Ideally, such communities would manage to level out status hierarchies based on academic vs lay person and acknowledge the expertise from “citizen science” and the experiential/professional knowledge of practitioners.

What do you think?

Posts: 5

Participants: 3

Read full topic

Varnish config for discourse

Email issue -- Unknown To: Address - Private Message

$
0
0

@Gareth_Williams wrote:

Hey All,

I am seeing a really odd issue, our community manager is getting this email:

Adore Beauty Community via amazonses.com
9:13 AM (4 hours ago)

to me
We’re sorry, but your email message to [“****** REMOVED *****”] (titled Re: Asap super b complex serum) didn’t work.

None of the destination email addresses are recognized. Please make sure that you are sending to the correct email address provided by staff.

When we try to contact a user by email im told, I believe this is from the community manager contacting via a PM in the start.

We have reply by email setup and its working:

For threads however, im struggling with this private email - is there something I need to prd / find out to debug this?

Posts: 2

Participants: 2

Read full topic

Could use one query to achieve create

$
0
0

@junwen_yang wrote:

app/models/group.rb
def add_owner(user)
    if group_user = self.group_users.find_by(user: user)
      group_user.update_attributes!(owner: true) if !group_user.owner
    else
      GroupUser.create!(user: user, group: self, owner: true)
    end
  end

could be combine to one single query as

GroupUser.find_or_create_by(user: user, group: self).update_attributes!(owner: true)

Posts: 2

Participants: 1

Read full topic

Count > 0 could be exists?

$
0
0

@junwen_yang wrote:

discourse/app/jobs/onceoff/migrate_censored_words.rb:5: if row.count > 0
discourse/app/serializers/post_serializer.rb:246: active_flags[id].count > 0
discourse/app/serializers/user_serializer.rb:367: object.badges.where(allow_title: true).count > 0
discourse/app/models/post_analyzer.rb:35: (Post.white_listed_image_classes & dom_class.split).count > 0
discourse/app/models/post_analyzer.rb-37- end.count
discourse/app/controllers/directory_items_controller.rb:29: if current_user && result.dup.where(user_id: user_ids).count > 0
discourse/app/controllers/admin/themes_controller.rb:18: if upload.errors.count > 0
discourse/app/views/about/index.html.erb:35: <% if @about.moderators.count > 0 %>
discourse/app/models/post_action.rb:297: if post_action && post_action.errors.count == 0

Posts: 2

Participants: 1

Read full topic

.count could be .size when it's loaded, then it will faster

$
0
0

@junwen_yang wrote:

discourse/app/models/post_action.rb:515: return if flags.count < SiteSetting.num_flaggers_to_close_topic
discourse/app/models/group.rb:422: if self.categories.count < PUBLISH_CATEGORIES_LIMIT
discourse/app/models/user.rb:641: (since_reply.count >= SiteSetting.newuser_max_replies_per_topic)
discourse/app/controllers/about_controller.rb:25: stats = { public_topic_count: public_topics.count }
discourse/app/controllers/list_controller.rb:386: return period if top_topics.count == SiteSetti g.topics_per_period_in_top_page
discourse/app/controllers/groups_controller.rb:302: all_loaded: group_histories.count < page_size

Posts: 2

Participants: 1

Read full topic


.map(&xx) could be .pluck(:xx)

$
0
0

@junwen_yang wrote:

discourse/app/controllers/topics_controller.rb:492: group_ids = groups.map(&:id)
discourse/app/models/category_list.rb:53: @all_topics = Topic.where(id: category_featured_topics.map(&:topic_id))
discourse/app/models/topic_user.rb:90: topic_ids = topics.map(&:id)
discourse/app/controllers/invites_controller.rb:71: group_ids = groups.map(&:id)
discourse/app/controllers/invites_controller.rb:99: group_ids = groups.map(&:id)
discourse/app/jobs/onceoff/migrate_tagging_plugin.rb:6: all_tags = TopicCustomField.where(name: “tags”).select(‘DISTINCT value’).all.map(&:value)
since pluck will only access the certain filed, but map need to load the whole object.

Posts: 4

Participants: 2

Read full topic

New upload version, image canot show. is blank

$
0
0

@appcomq wrote:

I have update to new version, now

all images upload, post only show /images/transparent.png

not is uploaded img.

Posts: 1

Participants: 1

Read full topic

Changing categories

$
0
0

@sianwhite wrote:

Hi,

Our community is about 9 months old now, and I’d like to change the categories we are using as they don’t seem to be doing the job.

Is there a way to change the categories and add existing threads to them in bulk without notifying every user who started a thread?

Thanks as ever!

Posts: 1

Participants: 1

Read full topic

Members problem on importing Mybb to Discourse loo

$
0
0

@bekircem wrote:

Hi,

I’ve installed development enviroment on my Ubuntu local machine. I did it importing steps, it’s work but there are some problems.

My Mybb forum has 9k user and 300k post. Posts are seems successfully imported. But many users not imported (Specially who using space character in the username like ‘User Name’) When i go Users section on Discourse panel, i’ve seen only 300 - 400 users. (No one has space character)

1- On the Discourse admin panel seems 9.8k users but on the users tab when i search don’t seem users who has space character in the username. These members topics are seems but like created by my account.

2- Banned users seems like normal users.

So what is your suggestions about this problem? Should i re-install my development enviroment and repeat importing steps? Or should i some edit on mybb.rb?

@pfaffman :slight_smile:

Posts: 1

Participants: 1

Read full topic

Discourse version upgrade from 1.6.3 to 1.8.0

$
0
0

@junaid_pk14 wrote:

Hello Guys,

We want to upgrade version of Discourse to latest one. Assume we are using docker installations. Could you please guide us the right article from following list? We have done some customization in code and we can handle them while updating the code of Discourse. Thanks

Regards,
Junaid

Posts: 3

Participants: 3

Read full topic

Translate discobot tutorial certificate?

$
0
0

@gxjansen wrote:

Is there a way to translate the text on the discobot tutorial certificate? Or a way to upload our own background that’s used for the certificate (so we can just edit the text on the image)?

Posts: 1

Participants: 1

Read full topic

404 for badge overview page

$
0
0

@gxjansen wrote:

When receiving certification, a user receives this message including a link to other people that should be certified:

.

Unfortunately, that link goes to /badges/100/gecertificeerd-forumlid which leads to a 404.

This happens to all similar links to badge overview pages like /badges/15/eerste-quote, /badges/42/eerste-uitklaplink.

How to fix this? Does this have anything to to with the badge names being translated?

Posts: 3

Participants: 2

Read full topic


Webhook and SSO user mapping

$
0
0

@Vaishak_Kallore wrote:

Hi there,

I have successfully setup my first Discourse forum having force SSO login.

I would like to have this forum integrated in mobile app as well, for better impressions and was looking for Cloud Messaging options around. As Discourse has only push notifications, I have figured out the webhook way, which will send notifications to my external server, which will handle GCM/FCM calls.

It was successful with the integration, but I would like to prevent sending notifications to the same user who had posted/replied. I can identify the user if email address or SSO external ID is passing along with webhook requests (username trim from @!).

Can someone provide a solution to get posted user’s email/SSO external ID in webhook?

Thanks in advance.

Posts: 1

Participants: 1

Read full topic

Cant setting SLL (Let's Encrypt) for Discourse

$
0
0

@Hoang_Nam wrote:

Cant setting SLL (Let’s Encrypt) for Discourse setting SSL on Setting up Let’s Encrypt

But It error:

FAILED
--------------------
    Pups::ExecError: cd /root/acme.sh && LE_WORKING_DIR="${LETSENCRYPT_DIR}" ./acme.sh --upgrade --auto-upgrade failed with return #<Process::Status: pid 3354 exit 1>
    Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
    exec failed with the params {"cmd"=>["cd /root && git clone https://github.com/Neilpang/acme.sh.git && cd /root/acme.sh && git reset --hard e5244cf3c04a5cad274d5a0be31ce80c336be388", "touch /var/spool/cron/crontabs/root", "install -d -m 0755 -g root -o root $LETSENCRYPT_DIR", "cd /root/acme.sh && LE_WORKING_DIR=\"${LETSENCRYPT_DIR}\" ./acme.sh --install --log \"${LETSENCRYPT_DIR}/acme.sh.log\"", "cd /root/acme.sh && LE_WORKING_DIR=\"${LETSENCRYPT_DIR}\" ./acme.sh --upgrade --auto-upgrade"]}
    ffd7032014ec2a1936b71deb1971516af9bf8a3951935548df05a13158eb2369

Please help me.

Posts: 5

Participants: 3

Read full topic

Failed to bootstrap fresh install: gzip: stdin: not in gzip format; but looks like a curl problem

$
0
0

@meglio wrote:

Installing a new Discourse instance as by the official manual.

I, [2017-08-23T13:58:13.056130 #13]  INFO -- : > cd /root/acme.sh && LE_WORKING_DIR="${LETSENCRYPT_DIR}" ./acme.sh --upgrade --auto-upgrade

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
./acme.sh: 5140: ./acme.sh: gtar: not found
[Wed Aug 23 13:58:22 UTC 2017] Extraction error.
[Wed Aug 23 13:58:22 UTC 2017] Upgrade failed!
I, [2017-08-23T13:58:22.152029 #13]  INFO -- : [Wed Aug 23 13:58:13 UTC 2017] Installing from online archive.
[Wed Aug 23 13:58:13 UTC 2017] Downloading https://github.com/Neilpang/acme.sh/archive/master.tar.gz
[Wed Aug 23 13:58:22 UTC 2017] Extracting master.tar.gz

I, [2017-08-23T13:58:22.161313 #13]  INFO -- : Terminating async processes
I, [2017-08-23T13:58:22.163011 #13]  INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.5/bin/postmaster -D /etc/postgresql/9.5/main pid: 42
2017-08-23 13:58:22.163 UTC [42] LOG:  received fast shutdown request
2017-08-23 13:58:22.164 UTC [42] LOG:  aborting any active transactions
I, [2017-08-23T13:58:22.164133 #13]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 155
2017-08-23 13:58:22.165 UTC [49] LOG:  autovacuum launcher shutting down
155:signal-handler (1503496702) Received SIGTERM scheduling shutdown...
2017-08-23 13:58:22.172 UTC [46] LOG:  shutting down
2017-08-23 13:58:22.189 UTC [46] LOG:  database system is shut down
155:M 23 Aug 13:58:22.191 # User requested shutdown...
155:M 23 Aug 13:58:22.191 * Saving the final RDB snapshot before exiting.
155:M 23 Aug 13:58:22.207 * DB saved on disk
155:M 23 Aug 13:58:22.207 # Redis is now ready to exit, bye bye...

and the final FAILURE below:

FAILED
--------------------
Pups::ExecError: cd /root/acme.sh && LE_WORKING_DIR="${LETSENCRYPT_DIR}" ./acme.sh --upgrade --auto-upgrade failed with return #<Process::Status: pid 3324 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
exec failed with the params {"cmd"=>["cd /root && git clone https://github.com/Neilpang/acme.sh.git && cd /root/acme.sh && git reset --hard e5244cf3c04a5cad274d5a0be31ce80c336be388", "touch /var/spool/cron/crontabs/root", "install -d -m 0755 -g root -o root $LETSENCRYPT_DIR", "cd /root/acme.sh && LE_WORKING_DIR=\"${LETSENCRYPT_DIR}\" ./acme.sh --install --log \"${LETSENCRYPT_DIR}/acme.sh.log\"", "cd /root/acme.sh && LE_WORKING_DIR=\"${LETSENCRYPT_DIR}\" ./acme.sh --upgrade --auto-upgrade"]}
f959d37ca7383b66ceb18c37eb593b2fb872963e126447667ba0e2e7d87e5302
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

Please advise

Using a DigitalOcean $10 droplet.

Posts: 3

Participants: 2

Read full topic

Azure AD oAuth2

$
0
0

@Ryan_Nix wrote:

Hello,

I’m wondering if it’s still necessary to use the Azure AD plugin found here: GitHub - discourse/discourse-azure-ad so that our instance of discourse can authenticate against Azure. I can’t get the plug-in to compile with our instance. I did post my question on the Github issues page as well in the Discourse discussion thread, however, I haven’t heard anything back yet.

Thanks!

Ryan

Posts: 1

Participants: 1

Read full topic

Create a great structure

$
0
0

@Lesley_Salazar wrote:

Hiya!

I want to create a new forum but I would like to know if I can put a tabloid - chart with a questionnaire at the bottom of the main page.

is there a rating feature?

Posts: 2

Participants: 2

Read full topic

Viewing all 60613 articles
Browse latest View live




Latest Images