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

Javascript Errors - looks like files are truncated

$
0
0

@Dorthu wrote:

Hello! I have a discourse instance running at http://forums.nerdvananj.com configured as described here to run alongside another site on the same box. Yesterday I was told that the site wasn't loading, and was baffled to find that it indeed produces javascript errors when visited:

(The full file lives here and is indeed truncated)

Examining the files that it complains about, it looks like they're truncated:

I have tried:

  • Rebuilding
  • clobbering and precompiling assets
  • revisiting nginx configs/restarting nginx
  • Looking at the files in assets/public/ - they don't appear truncated here.
  • Examining log files - production_errors.log is empty, production.log seems to be fine, unicorn logs appear okay as well.

My branch is up to date with origin/tests-passed. My instance is self-hosted on a Linode following the instructions here. I don't have any plugins installed (except docker manager, which came with the package).

I'm at a loss of what the next steps to debug this are - any ideas?

Posts: 5

Participants: 3

Read full topic


Colour Text Plugin?

$
0
0

@Nathaniel_Mattocks wrote:

In the gearbox forums, there is a plugin that allows colour text using html: [color=red] yourtext [/color] but i do not know if they made it or it was from here. Thanks.

Posts: 4

Participants: 3

Read full topic

Admin routes in a plugin

$
0
0

@gdpelican wrote:

Hey Discourse!

Would anyone be willing to point me towards a plugin which adds additional functionality to the admin dashboard? I'm currently trying to add an additional menu, like so:

But in order to have those routes show up, I've needed to append to the map() method in admin-route-map.js.es6. Maybe I'm missing some es6-fu or something here, but I'd love to be able to keep that code separated in the plugin, rather than having to overwrite the entire admin-route-map file, which would -- with almost 100% certainty -- break horribly at some point down the road.

Posts: 1

Participants: 1

Read full topic

Register an asset for external site consumption?

$
0
0

@kcoop wrote:

I'm creating a plugin that requires a remote site to fetch a javascript file from my Discourse site at a well known URL. Is there a way to register an asset so that it maintains a constant externally accessible name, rather than going through the munging process of asset compilation?

Posts: 1

Participants: 1

Read full topic

Can you make a category that resets daily?

PAID: gamification plugin

$
0
0

@rowanjamesmiller wrote:

I'm looking for someone passionate about developing for discourse to help with the following project.

I'm very interested in gamification. Especially using gamification in education.

This site - purposegames.com - has exactly the type of functionality i would like to recreate in our site. Specifically, their game called image quiz dots is exactly what i'm looking for. However, a major downside of their site is that it won't let you embed their games on any other websites.

I'm looking for a developer interested in creating a similar game. I would require that users are able to make their own game by uploading their own images and placing point of interest on those images. Then users would have to be able select the correct dot according to a question playing against a timer that stops when they have corretly identified all the options. Finally the game would have to keep track of your score and show you how you rank against other people.

Email me @ rowanjamesmiller@gmail.com

Please provide, your experience in programing. Especially ember.js and ruby on rails.
Any similar projects.
Your approximation of the costs and duration of the project.

Cheers,
Rowan

Posts: 1

Participants: 1

Read full topic

Onebox Customisation

$
0
0

@aoredo wrote:

We have a blog on our website that was built by ourselves on Rails and we use Shortcode - https://github.com/kernow/shortcode - to parse the text on our blog images to be displayed. For example, if Shortcode finds the tag in the text, it uses 4096 as the image ID, then creates a panel using the image, the author of the image and the number of views for the image. A sample blog post can be found at http://goo.gl/hfZWSS

Our current problem is that when authors (mostly non technical) create a post, they do miss various parts of the tags this then throws an error. As we currently use discourse for our forum, the editors as suggested that they love discourse’s text editor and they will love something like that.

So, we will love to pay and work with a lot of experience with Onebox and Discourse to help us migrate from Shortcode to Onebox for displaying the images on the blog section of our website. We really love the text editor that is used for discourse and we are hoping that we can use it for the blog section of our website. At a high level, we will love the following functionalities

  • Auto detect URLs in the text area of the blog while the author is generating the text. If the URL is from our website, the image will be generated as it is currently being done on our website (or even better). Please see how the images are generated in http://goo.gl/hfZWSS
  • This functionality will be extended to Discourse, so that when users add the link from our website to our discourse forum, the images will be displayed just like on our blog
  • At times we do embed external links on our blog and we will like the Image or video is from the external sites to be embed on our website using OpenGraph or Oembed if they support it.
  • Just like YouTube, we will like to create an embed button for our images so that users can copy the code to embed our images in our format to the website

Please let me know if you need any more details.

Thanks

Posts: 1

Participants: 1

Read full topic

Can't find pinned banner

$
0
0

@sparkzilla wrote:

Hi, I'm a new user. Site is http://totalbikers.com I have two problems

  1. I can't get pin the welcome message to the top of the site. It appears in the uncategorized category.
  2. I don't seem to be able to make a banner pin at the top of the category. Has this functionality been replaced by the Category Logo Image in the categories settings?

Thanks for your help!

Posts: 2

Participants: 2

Read full topic


Linking topics without quoting and link points to ip address instead of hostname

$
0
0

@Immigrationloop wrote:

Hello,

Pl pardon my ignorance as am still getting up to speed on discourse, and we absolutely love discourse for our forum. I manage the community over at www.immigrationloop.com.

I wanted to get help on two questions/ issues:

  1. Is it possible to link related topics to each other without having to quote one topic in the other? I tried reply as linked topic, but don't want to quote the related topic/post in the new post.

I also tried doing, but this leaves a blank grey horizontal bar

[quote=", post:1, topic:243, full:true"] [/quote]

like the one below:

How do I link multiple topics to a topic (after they've been created)?. Any help is appreciated.

  1. When I reply as a linked topic and quote the initial topic, I see the linked topic. However, clicking on it opens the related topic with the IP address of my host (http://xxx.xxx.xx.xxx/) instead of the domain name (www.immigrationloop.com). I confirmed that app.yml has the domain name as immigrationloop.com? how do I fix this?

Thanks again!!

Admin @ immigrationloop.com

Posts: 1

Participants: 1

Read full topic

To me new theme share

Image downsizing failing randomly

$
0
0

@rlauriston wrote:

I have a user whose image uploads are unpredictably failing with "max size is 3072KB" messages. Sometimes larger images are resized, sometimes not, no clear pattern. Can you troubleshoot?

Posts: 4

Participants: 2

Read full topic

How to install new plugin?

$
0
0

@arulbaskar wrote:

I have create manually new plugin create
my step
create folder -tsys
plugins/tsys
tsys inside create plugin.rb file
sample code:
name: skyline
about: A super simple plugin to demonstrate how plugins work
version: 0.0.1
authors: test Developer
PLUGIN_NAME ||= "discourse_tsys".freeze
after_initialize do

Email::Styles.register_plugin_style do |fragment|

end

plugins/tsys/plugin.rb
create new folder app and config

plugins/tsys/app
plugins/tsys/config

app inside create folder controllers
plugins/tsys/app/controllers
controllers inside create tsys_controller.rb file
example code

class TsysController < ApplicationController

def index
puts " print log file"
end
end

routes file create location file name routes.rb
plugins/tsys/config

Rails.application.routes.draw do
get 'tsys/index' => 'tsys#index'
end

now error occurred
No route matches [GET] "/tsys/index"

please help me how to solve this issue. any sample code or steps

Posts: 2

Participants: 2

Read full topic

Header Menu not showing in sequence

$
0
0

@Siraj_M wrote:

@Simon_Cossar !! Recently we setup header one menu nearly with logo but now I'm trying to add another one menu ahead previous one but it is showing this second menu under the header. So that is why I'm sharing both images for better understanding.

We using are using this coding behind this menu so please check it out and let me know.

Thank you.

Posts: 13

Participants: 5

Read full topic

Focus does not move to profile menu whjen opened from keyboard

$
0
0

@TechnoBear wrote:

Continuing the discussion from Various keyboard shortcuts no longer working:

The original report topic has been closed because the other issues have been resolved, but the problem with the Profile menu remains.

Posts: 2

Participants: 2

Read full topic

Weird Numbers for Viewed Topics and Read Posts

$
0
0

@cogdog wrote:

I'm summarizing activity from specific users in our discourse project, and the numbers I am seeing in the Admin (and on each profile) have things that do not look like numbers (?) - I see "fifteen" "3. 4" "2 .3" "4. 5" ??

We are a few notches behind in updates (running v1.4.0.beta10 +6)

Screen shot:

Posts: 3

Participants: 2

Read full topic


Optimal dimensions for Logo / Logo-Small

$
0
0

@Erik_Manger wrote:

Hi,

I asked this before a while back but I'd like to make a topic for future reference in case anyone else has this question.

What SPECIFIC size / dimension do you recommend for logo / logo small on Discourse?

My 80x80 and 160x160 still seem grainy on some browsers / resolutions.

Posts: 3

Participants: 3

Read full topic

What permissions can admins give moderators?

Can break "Flag" buttons on topics and posts

$
0
0

@roarkely wrote:

In Chrome, I am able to break the "Flag" buttons on topics and posts.

To reproduce the error:
1. Press the "Flag" button for a topic.
2. Close the popup by either clicking the "X" or clicking on the overlay.
3. Now, press the "Flag" button on any post. It no longer works.
4. After you have clicked the "Flag" button on a post, you also can no longer flag a topic.

Step 3 will log the following error in the Javascript Console:
Uncaught TypeError: Cannot read property 'get' of undefined

Posts: 3

Participants: 2

Read full topic

Bug? IE 10 users who try to access a restricted group are told their browser is too old

$
0
0

@clay wrote:

@martinduparc (FYI)

We have users on IE 10 who need to join a restricted group in order to view a category specific to their department. Discourse works fine for them, in IE 10. However, some of them are not members of the group they need to be part of to see the relevant category. When they try to visit the category page, instead of being shown a message that they do not have the proper permissions to view that content, they are shown a message that says that their browser is too old to work with Discourse and that they need to use a more modern browser. The click-through FAQ says that they need to use IE 10 or better. This is causing all manner of confusion.

Is this an old browser warning message that wasn't properly removed? Everything else seems to work fine in IE 10.

Posts: 7

Participants: 3

Read full topic

Posts/Topics Deleted via Approval Queue should be logged

$
0
0

@cpradio wrote:

This has happened twice today already for me, but it seems Needs Approved Posts/Topics are not logged in the Staff Actions.

Here is what happens (the best I can tell)

  1. User signs up and creates a post (that is spam)
  2. Post Approval Queue picks up the post/topic
  3. Post Approval Queue deletes the topic/post so it isn't visible
  4. Moderator seems notification, looks at queue, chooses Delete option
  5. User is deleted is placed in Staff Logs
  6. Post/Topic is removed with zero trace of it being found, it seems like it is permanently deleted, no log entry in staff actions, it isn't visible using ?status=deleted on latest either.

Why do I find this information useful? Because I've had 3 deja vu moments today with 3 posts/topics. They all featured the term "Google Sniper", and so I wanted to figure out which users posted this to try and see if there is an IP or email address pattern that would be meaningful or worth blocking to prevent these for a short period of time.

However, since the topic/post isn't logged, I can't tie it to a user that was deleted via the Approval Queue, and therefore I can't force a rollup on IP to stop them.

Posts: 1

Participants: 1

Read full topic

Viewing all 60707 articles
Browse latest View live




Latest Images