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

Tab-completion should automatically add a space after a username

$
0
0

@jancborchardt wrote:

Currently I always find my self needing to manually insert a space after I mention a name and tab-complete it. Other platforms with @mentioning like Github and Twitter simply insert a space automatically which is very convenient.

Posts: 3

Participants: 3

Read full topic


First posts of a thread missing

$
0
0

@nstemp wrote:

Well I have this thread in my forum where about first 30 messages are broken, no one can see them, but from there on you can see all the replies.

The thread is this:

I hope someone can help me :slight_smile:
Thanks!

Posts: 2

Participants: 2

Read full topic

Cannot call get with undefined key / Post.get is not a function

$
0
0

@ivanrlio wrote:

On my local machine I am using the latest version of Discourse. When I attempt to add a reply within a topic, I get the following error message:

The post.get error occurs in this bit of code:

I did a console.log(post) to see what it contained and the result was an object that has a post number of (...) . EDIT: Clicking on (...) yielded 1.

Additionally, when I try to add a new Topic, I get the error:

Would anyone know how to rectify this? Thanks!

Posts: 1

Participants: 1

Read full topic

Sucuri reports a malware infection?

$
0
0

@ampburner wrote:

It appears that my discourse installation is blacklisted as infected/malware.

I'm sure that I am up to date in terms of installation. Running on a pretty standard digital ocean droplet.

I'm kind of at a loss... how could this have happened, how could I fix it? and how do I prevent such stuff in the future?

https://sitecheck.sucuri.net/results/www.hitmanforum.com

known javascript malware. Details: http://labs.sucuri.net/db/malware/malware-entry-mwanomalysp7?v40

return Discourse.Utilities.validateUploadedFile(r,a,t)},validateUploadedFile:function(e,t,r){if(!Discourse.Utilities.authorizesAllExtensions()&&!Discourse.Utilities.isAuthorizedUpload(e)){var a=Discourse.Utilities.authorizedExtensions();return bootbox.alert(I18n.t("post.errors.upload_not_authorized",{authorized_extensions:a})),!1}return r||Discourse.User.current().isAllowedToUploadAFile(t)?!0:(bootbox.alert(I18n.t("post.errors."+t+"_upload_not_allowed_for_new_user")),!1)},uploadTypeFromFileName:function(e){return Discourse.Utilities.isAnImage(e)?"image":"attachment"},authorizesAllExtensions:function(){return Discourse.SiteSettings.authorized_extensions.indexOf("*")>=0},isAuthorizedUpload:function(e){if(e&&e.name){var t=_.chain(Discourse.SiteSettings.authorized_extensions.split("|")).reject(function(e){return e.indexOf("*")>=0}).map(function(e){return(0===e.indexOf(".")?e.substring(1):e).replace(".","\\.")}).value();return new RegExp("\\.("+t.join("|")+")$","i").test(e.name)}return!1},authorizedExtensions:function(){return _.chain(Discourse.SiteSettings.authorized_extensions.split("|")).reject(function(e){return e.indexOf("*")>=0}).map(function(e){return e.toLowerCase()}).value().join(", ")},getUploadMarkdown:function(e){return Discourse.Utilities.isAnImage(e.original_filename)?'<img src="'+e.url+'" width="'+e.width+'" height="'+e.height+'">':!Discourse.SiteSettings.prevent_anons_from_downloading_files&&/\.(mov|mp4|webm|ogv|mp3|ogg|wav)$/i.test(e.original_filename)?Discourse.CDN?Discourse.CDN.startsWith("//")?"http:"+Discourse.getURLWithCDN(e.url):Discourse.getURLWithCDN(e.url):"http://"+Discourse.BaseUrl+e.url:'<a class="attachment" href="'+e.url+'">'+e.original_filename+"</a> ("+I18n.toHumanSize(e.filesize)+")"},isAnImage:function(e){return/\.(png|jpe?g|gif|bmp|tiff?|svg|webp|ico)$/i.test(e)},allowsImages:function(){return Discourse.Utilities.authorizesAllExtensions()||/(png|jpe?g|gif|bmp|tiff?|svg|webp|ico)/i.test(Discourse.Utilities.authorizedExtensions())},allowsAttachments:function(){return Discourse.Utilities.authorizesAllExtensions()||!/((png|jpe?g|gif|bmp|tiff?|svg|web|ico)(,\s)?)+$/i.test(Discourse.Utilities.authorizedExtensions())},displayErrorForUpload:function(e){if(e.jqXHR)switch(e.jqXHR.status){case 0:return;case 413:var t=Discourse.Utilities.uploadTypeFromFileName(e.files[0].name),r=Discourse.SiteSettings["max_"+t+"_size_kb"];return void bootbox.alert(I18n.t("post.errors.file_too_large",{max_size_kb:r}));case 422:return void(e.jqXHR.responseJSON.message?bootbox.alert(e.jqXHR.responseJSON.message):bootbox.alert(e.jqXHR.responseJSON.join("\n")))}else if(e.errors&&e.errors.length>0)return void bootbox.alert(e.errors.join("\n"));bootbox.alert(I18n.t("post.errors.upload"))},defaultHomepage:function(){return Discourse.SiteSettings.top_menu.split("|")[0].split(",")[0]}}}(this),function(){function e(){p.buildBlockOrder(g.block);var e=g.block.__order__.indexOf("code");e>-1&&(g.block.__order__.splice(e,1),g.block.__order__.unshift("code")),p.buildInlinePatterns(g.inline),v=!0}function t(e,t,r){if(!(e.length<2)){if("__RAW"===e[0]){var a=Discourse.Dialect.guid();return h[a]=e[1],void(e[1]=a)}for(var n=1;n<e.length;n++){var i=e[n];if("string"==typeof i){var o=r(i,t);o?o instanceof Array?e.splice.apply(e,[n,1].concat(o)):e[n]=o:e[n]=i}}}}function r(e,a,n){if(e instanceof Array){var i={node:e,path:a,dialect:g,insideCounts:n||{}};Discourse.Dialect.trigger("parseNode",i);for(var o=0;o<f.length;o++)t(e,i,f[o]);a=a||[],n=n||{},a.push(e);for(var s=1;s<e.length;s++){var c=e[s],d=c[0];n[d]=(n[d]||0)+1,c&&2===c.length&&"p"===c[0]&&/^<!--([\s\S]*)-->$/.exec(c[1])?e[s]=c[1]:r(c,a,n),n[d]=n[d]-1}if(2===e.length&&"p"===e[0]&&e[1]instanceof Array&&"__RAW"===e[1][0]){var l=e[1][1];e[0]="__RAW",e[1]=l}a.pop()}return e}function a(e,t){if(!(e.wordBoundary||e.spaceBoundary||e.spaceOrTagBoundary))return!1;var r=t[t.length-1];return"string"!=typeof r?!1:e.wordBoundary&&!r.match(/\W$/)?!0:e.spaceBoundary&&!r.match(/\s$/)?!0:e.spaceOrTagBoundary&&!r.match(/(\s|\>)$/)?!0:void 0}function n(e){for(var t=-1,r=0;-1!==(t=e.indexOf("\n",t+1));)r++;return r}function i(e,t,r){var a=new RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"g");if(e.match(a)){var n=Discourse.Dialect.guid();e=e.replace(a,n),h[n]=r}return e}function o(e){return e.replace(/^([ ]{4}|\t)/gm,"")}function s(e){return e.replace(/^\n+/,"").replace(/\s+$/,"")}function c(e){return e.replace(/\\\\/g,"\\").replace(/\\`/g,"\`")}function d(e){return e.replace(/\u1E8001/g,"\\`").replace(/\u1E800/g,"\\\\")}function l(e){return e=c(e),e=e.replace(/(^\n*|\n)```([a-z0-9\-]*)\n([\s\S]*?)\n```/g,function(e,t,r,a){var n=Discourse.Dialect.guid();return h[n]=C(d(s(a))),t+"```"+r+"\n"+n+"\n```"}),e=e.replace(/(^\n*|\n\n)((?:(?:[ ]{4}|\t).*\n*)+)/g,function(t,r,a,n){var i=e.slice(0,n).trim().match(/.*$/);if(i&&i[0].length&&(i=i[0].trim(),/^(?:\*|\+|-|\d+\.)\s+/.test(i)))return t;var c=Discourse.Dialect.guid();return h[c]=C(o(d(s(a)))),r+"    "+c+"\n"}),e=e.replace(/(\s|^)<pre>([\s\S]*?)<\/pre>/gi,function(e,t,r){var a=Discourse.Dialect.guid();return h[a]=C(d(s(r))),t+"<pre>"+a+"</pre>"}),["``","`"].forEach(function(t){var r=new RegExp("(^|[^`])"+t+"([^`\\n]+?)"+t+"([^`]|$)","g");e=e.replace(r,function(e,r,a,n){var i=Discourse.Dialect.guid();return h[i]=C(d(a.trim())),r+t+i+t+n})}),d(e)}var h,u=(window.jQuery,window.BetterMarkdown),p=u.Markdown,m=u.DialectHelpers,g=p.dialects.Discourse=m.subclassDialect(p.dialects.Gruber),v=!1,f=[],b=[],C=Discourse.Utilities.escapeExpression;Discourse.Dialect={guid:function(){var e=(new Date).getTime();window.performance&&"function"==typeof window.performance.now&&(e+=performance.now());var t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var r=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?r:3&r|8).toString(16)});return t},cook:function(t,a){v||e(),g.options=a,h={},t=l(t),b.forEach(function(e){t=e(t,i)});var n=u.toHTMLTree(t,"Discourse"),o=u.renderJsonML(r(n));a.sanitize?o=Discourse.Markdown.sanitize(o):a.sanitizerFunction&&(o=a.sanitizerFunction(o));var s=Object.keys(h);if(s.length)for(var c=!0,d=function(e){o=o.replace(new RegExp(e,"g"),function(){return c=!0,h[e]})};c;)c=!1,s.forEach(d);return o.trim()},addPreProcessor:function(e){b.push(e)},registerInline:function(e,t){g.inline[e]=t},inlineReplace:function(e,t){this.registerInline(e,function(r,a,n){return[e.length,t.call(this,e,a,n)]})},inlineRegexp:function(e){this.registerInline(e.start,function(t,r,n){if(!a(e,n)){e.matcher.lastIndex=0;var i=e.matcher.exec(t);if(i){var o=e.emitter.call(this,i);if(o)return[i[0].length,o]}}})},inlineBetween:function(e){var t=e.start||e.between,r=e.stop||e.between,n=t.length,i=this;this.registerInline(t,function(o,s,c){if(!a(e,c)){var d=i.findEndPos(o,t,r,e,n);if(-1!==d){var l=o.slice(n,d);e.rawContents||(l=this.processInline(l));var h=e.emitter.call(this,l);return h?[d+r.length,h]:void 0}}})},findEndPos:function(e,t,r,a,n){var i,o;do{if(i=e.indexOf(r,n),-1===i)return-1;o=e.indexOf(t,n),n=i+r.length}while(-1!==o&&i>o);return i},registerBlock:function(e,t){g.block[e]=t},replaceBlock:function(e){var t=function(t,r){var a=g.options.traditional_markdown_linebreaks||Discourse.SiteSettings.traditional_markdown_linebreaks;if(!a||!e.skipIfTradtionalLinebreaks){e.start.lastIndex=0;var i=[],o=e.start.exec(t);if(o){var s=function(){return!r.some(function(t){return t.match(e.stop)})},c=e.start.lastIndex-o[0].length,d=t.slice(0,c),l=o[2]?o[2].replace(/^\n*/,""):"";if((!e.withoutLeading||!e.withoutLeading.test(d))&&(e.stop.lastIndex=t.length-l.length,e.stop.exec(t)||!s())){if(d.length>0){var h=this.processBlock(p.mk_block(d),[]);h&&h[0]&&i.push(h[0])}l.length>0&&r.unshift(p.mk_block(l,t.trailing,t.lineNumber+n(d)+(o[2]?o[2].length:0)-l.length));var u,m=[],v=0,f=-1;e:for(;u=r.shift();){e.start.lastIndex=0;for(var b,C=[];b=e.start.exec(u);)C.push(e.start.lastIndex-b[0].length),e.start.lastIndex=e.start.lastIndex-(b[2]?b[2].length:0);e.stop.lastIndex=0;for(var y=[];b=e.stop.exec(u);)y.push(e.stop.lastIndex-b[0].length);for(var x=0,T=0;x<y.length;)if(T<C.length&&C[T]<y[x])T++,v++;else{if(!(v>0)){f=y[x];break e}x++,v--}if(s()){f=y[y.length-1];break}v+=C.length-T,m.push(u)}var _=u.match(e.stop)[0].length,F=u.slice(0,f).replace(/\n*$/,""),k=u.slice(f+_).replace(/^\n*/,"");F.length>0&&m.push(p.mk_block(F,"",u.lineNumber)),k.length>0&&r.unshift(p.mk_block(k,u.trailing,u.lineNumber+n(F)));var N=e.emitter.call(this,m,o,g.options);return N&&i.push(N),i}}}};e.priority&&(t.priority=e.priority),this.registerBlock(e.start.toString(),t)},postProcessText:function(e){f.push(e)},postProcessTag:function(e,t){Discourse.Dialect.on("parseNode",function(r){var a=r.node;a[0]===e&&(a[a.length-1]=t(a[a.length-1]))})}},RSVP.EventTarget.mixin(Discourse.Dialect)}(this),function(){function e(e){e=e.toLowerCase();var t=urlFor(e);if(t){var e=":"+e+":";return["img",{href:t,title:e,"class":"emoji",alt:e}]}}function t(e){if(e&&e.length){var t=e[e.length-1];if(t&&t.charAt){var r=t.charAt(t.length-1);if(!/\W/.test(r))return!1}}return!0}function r(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/gi,"\\$&")}window.jQuery;Discourse.Emoji={},Discourse.Emoji.ImageVersion="2";var a=["100","1234","8ball","a","ab","abc","abcd","accept","aerial_tramway","airplane","airplane_arriving","airplane_departure","airplane_small","alarm_clock","alembic","alien","ambulance","amphora","anchor","angel","anger","anger_right","angry","anguished","ant","apple","aquarius","aries","arrow_backward","arrow_double_down","arrow_double_up","arrow_down","arrow_down_small","arrow_forward","arrow_heading_down","arrow_heading_up","arrow_left","arrow_lower_left","arrow_lower_right","arrow_right","arrow_right_hook","arrow_up","arrow_up_down","arrow_up_small","arrow_upper_left","arrow_upper_right","arrows_clockwise","arrows_counterclockwise","art","articulated_lorry","astonished","athletic_shoe","atm","atom","b","baby","baby_bottle","baby_chick","baby_symbol","back","badminton","baggage_claim","balloon","ballot_box","ballot_box_with_check","bamboo","banana","bangbang","bank","bar_chart","barber","baseball","basketball","basketball_player","bath","bathtub","battery","beach","beach_umbrella","bear","bed","bee","beer","beers","beetle","beginner","bell","bellhop","bento","bicyclist","bike","bikini","biohazard","bird","birthday","black_circle","black_joker","black_large_square","black_medium_small_square","black_medium_square","black_nib","black_small_square","black_square_button","blossom","blowfish","blue_book","blue_car","blue_heart","blush","boar","bomb","book","bookmark","bookmark_tabs","books","boom","boot","bouquet","bow","bow_and_arrow","bowling","boy","bread","bride_with_veil","bridge_at_night","briefcase","broken_heart","bug","bulb","bullettrain_front","bullettrain_side","burrito","bus","busstop","bust_in_silhouette","busts_in_silhouette","cactus","cake","calendar","calendar_spiral","calling","camel","camera","camera_with_flash","camping","cancer","candle","candy","capital_abcd","capricorn","card_box","card_index","carousel_horse","cat","cat2","cd","chains","champagne","chart","chart_with_downwards_trend","chart_with_upwards_trend","checkered_flag","cheese","cherries","cherry_blossom","chestnut","chicken","children_crossing","chipmunk","chocolate_bar","christmas_tree","church","cinema","circus_tent","city_dusk","city_sunset","cityscape","cl","clap","clapper","classical_building","clipboard","clock","clock1","clock10","clock1030","clock11","clock1130","clock12","clock1230","clock130","clock2","clock230","clock3","clock330","clock4","clock430","clock5","clock530","clock6","clock630","clock7","clock730","clock8","clock830","clock9","clock930","closed_book","closed_lock_with_key","closed_umbrella","cloud","cloud_lightning","cloud_rain","cloud_snow","cloud_tornado","clubs","cocktail","coffee","coffin","cold_sweat","comet","compression","computer","confetti_ball","confounded","confused","congratulations","construction","construction_site","construction_worker","control_knobs","convenience_store","cookie","cool","cop","copyright","corn","couch","couple","couple_with_heart","couplekiss","cow","cow2","crab","crayon","credit_card","crescent_moon","cricket","crocodile","cross","crossed_flags","crossed_swords","crown","cruise_ship","cry","crying_cat_face","crystal_ball","cupid","curly_loop","currency_exchange","curry","custard","customs","cyclone","dagger","dancer","dancers","dango","dark_sunglasses","dart","dash","date","deciduous_tree","department_store","desert","desktop","diamond_shape_with_a_dot_inside","diamonds","disappointed","disappointed_relieved","dividers","dizzy","dizzy_face","do_not_litter","dog","dog2","dollar","dolls","dolphin","door","doughnut","dove","dragon","dragon_face","dress","dromedary_camel","droplet","dvd","e-mail","ear","ear_of_rice","earth_africa","earth_americas","earth_asia","egg","eggplant","eight","eight_pointed_black_star","eight_spoked_asterisk","electric_plug","elephant","end","envelope","envelope_with_arrow","euro","european_castle","european_post_office","evergreen_tree","exclamation","expressionless","eye","eyeglasses","eyes","factory","fallen_leaf","family","fast_forward","fax","fearful","feet","ferris_wheel","ferry","field_hockey","file_cabinet","file_folder","film_frames","fire","fire_engine","fireworks","first_quarter_moon","first_quarter_moon_with_face","fish","fish_cake","fishing_pole_and_fish","fist","five","flag_black","flag_cn","flag_de","flag_es","flag_fr","flag_gb","flag_it","flag_jp","flag_kr","flag_ru","flag_us","flag_white","flags","flashlight","fleur-de-lis","floppy_disk","flower_playing_cards","flushed","fog","foggy","football","footprints","fork_and_knife","fork_knife_plate","fountain","four","four_leaf_clover","frame_photo","free","fried_shrimp","fries","frog","frowning","frowning2","fuelpump","full_moon","full_moon_with_face","game_die","gear","gem","gemini","ghost","gift","gift_heart","girl","globe_with_meridians","goat","golf","golfer","grapes","green_apple","green_book","green_heart","grey_exclamation","grey_question","grimacing","grin","grinning","guardsman","guitar","gun","haircut","hamburger","hammer","hammer_pick","hamster","hand_splayed","handbag","hash","hatched_chick","hatching_chick","head_bandage","headphones","hear_no_evil","heart","heart_decoration","heart_exclamation","heart_eyes","heart_eyes_cat","heartbeat","heartpulse","hearts","heavy_check_mark","heavy_division_sign","heavy_dollar_sign","heavy_minus_sign","heavy_multiplication_x","heavy_plus_sign","helicopter","helmet_with_cross","herb","hibiscus","high_brightness","high_heel","hockey","hole","homes","honey_pot","horse","horse_racing","hospital","hot_pepper","hotdog","hotel","hotsprings","hourglass","hourglass_flowing_sand","house","house_abandoned","house_with_garden","hugging","hushed","ice_cream","ice_skate","icecream","id","ideograph_advantage","imp","inbox_tray","incoming_envelope","information_desk_person","information_source","innocent","interrobang","iphone","island","izakaya_lantern","jack_o_lantern","japan","japanese_castle","japanese_goblin","japanese_ogre","jeans","joy","joy_cat","joystick","kaaba","key","key2","keyboard","kimono","kiss","kissing","kissing_cat","kissing_closed_eyes","kissing_heart","kissing_smiling_eyes","knife","koala","koko","label","large_blue_circle","large_blue_diamond","large_orange_diamond","last_quarter_moon","last_quarter_moon_with_face","laughing","leaves","ledger","left_luggage","left_right_arrow","leftwards_arrow_with_hook","lemon","leo","leopard","level_slider","levitate","libra","lifter","light_rail","link","lion_face","lips","lipstick","lock","lock_with_ink_pen","lollipop","loop","loud_sound","loudspeaker","love_hotel","love_letter","low_brightness","m","mag","mag_right","mahjong","mailbox","mailbox_closed","mailbox_with_mail","mailbox_with_no_mail","man","man_with_gua_pi_mao","man_with_turban","mans_shoe","map","maple_leaf","mask","massage","meat_on_bone","medal","mega","melon","menorah","mens","metal","metro","microphone","microphone2","microscope","middle_finger","military_medal","milky_way","minibus","minidisc","mobile_phone_off","money_mouth","money_with_wings","moneybag","monkey","monkey_face","monorail","mortar_board","mosque","motorboat","motorcycle","motorway","mount_fuji","mountain","mountain_bicyclist","mountain_cableway","mountain_railway","mountain_snow","mouse","mouse2","mouse_three_button","movie_camera","moyai","muscle","mushroom","musical_keyboard","musical_note","musical_score","mute","nail_care","name_badge","necktie","negative_squared_cross_mark","nerd","neutral_face","new","new_moon","new_moon_with_face","newspaper","newspaper2","ng","night_with_stars","nine","no_bell","no_bicycles","no_entry","no_entry_sign","no_good","no_mobile_phones","no_mouth","no_pedestrians","no_smoking","non-potable_water","nose","notebook","notebook_with_decorative_cover","notepad_spiral","notes","nut_and_bolt","o","o2","ocean","octopus","oden","office","oil","ok","ok_hand","ok_woman","older_man","older_woman","om_symbol","on","oncoming_automobile","oncoming_bus","oncoming_police_car","oncoming_taxi","one","open_file_folder","open_hands","open_mouth","ophiuchus","orange_book","orthodox_cross","outbox_tray","ox","package","page_facing_up","page_with_curl","pager","paintbrush","palm_tree","panda_face","paperclip","paperclips","park","parking","part_alternation_mark","partly_sunny","passport_control","pause_button","peace","peach","pear","pen_ballpoint","pen_fountain","pencil","pencil2","penguin","pensive","performing_arts","persevere","person_frowning","person_with_blond_hair","person_with_pouting_face","pick","pig","pig2","pig_nose","pill","pineapple","ping_pong","pisces","pizza","place_of_worship","play_pause","point_down","point_left","point_right","point_up","point_up_2","police_car","poodle","poop","popcorn","post_office","postal_horn","postbox","potable_water","pouch","poultry_leg","pound","pouting_cat","pray","prayer_beads","princess","printer","projector","punch","purple_heart","purse","pushpin","put_litter_in_its_place","question","rabbit","rabbit2","race_car","racehorse","radio","radio_button","

Posts: 2

Participants: 2

Read full topic

Automatically assigning users to a group

$
0
0

@jvvlee wrote:

Hi,

I have a discourse-hosted instance of a forum that I integrated with a website. On our website, we have users with different membership levels that have access to different content. We would like to be able to pass along some type of information on login that tells discourse to add the user to a group. I saw some options about setting a default level or doing something based on provided email, but I don't think those will work. Given the limited amount of information we're allowed to pass to discourse via the SSO, I'm not entirely sure this is possible but any tips would be appreciated.

If this isn't possible, can anyone recommend any apps that might do this?

Thanks

Posts: 1

Participants: 1

Read full topic

Clicking on Username?

$
0
0

@thefodafarm wrote:

Is there anyway to deactivate user cards, and have it click straight to /users/username? I am going to add some custom user fields and building out the profile page.

Posts: 1

Participants: 1

Read full topic

lazyYT not working or something youtube videos are invisible?

$
0
0

@thefodafarm wrote:

My youtube embeds are there for a second then fade out?
I am seeing the video info when Inspect element

<div class="lazyYT" data-youtube-id="oorK4RPgZ8Q" data-youtube-title="Russ - What They Want (Official Video)" data-width="480" data-height="270" data-parameters="feature=oembed&amp;wmode=opaque"></div>

Posts: 2

Participants: 1

Read full topic

Pasting hyperlinked text in editor

$
0
0

@charleswalter wrote:

I thought this used to be the case with the old editor... If I copy text from the web that has hyperlinks, didn't it used to preserve those links when I pasted them into the editor?

Posts: 4

Participants: 3

Read full topic


Blue Highlight doesn't Cover Whole Post

vCash (not vcache) plugin

$
0
0

@ron_jeremy wrote:

Over at hfboards (hockey forums) there's a cool feature that allows forum members to bet virtual cash (vCash) on hockey games. I'd love to see a vCash plugin for Discourse, and think it would be a great way to enhance member participation.

Posts: 1

Participants: 1

Read full topic

Add tags with capital letters

$
0
0

@Jiaqi wrote:

Hi there,

I want to know it that possible to add tags with capital letters?

I notice that although I type the tags with capital letters for example "CEO messages" but it automatically becomes lowercase letters "ceo messages". However, for these proper nouns such as CEO, CFO, COO etc., I have to use capital letter.

Could anyone kindly tell me what to do?

Thanks a lot :grinning:

Posts: 3

Participants: 3

Read full topic

Accidentally deleted the "Quick start guide" topic

$
0
0

@legalatom wrote:

Dear All

Have by mistake deleted the "read me first - admin quick start guide". Please Help.

Thanks

Posts: 3

Participants: 2

Read full topic

Negative number of posts created (-1)

$
0
0

@dandv wrote:

A clever spam user had 2 posts over the last 9 months, yet their admin page showed zero posts. (I should've taken a screenshot of this). One of the posts (an image-only post - clever way of bypassing the spam filter) got flagged as spam. I deleted that post, then flagged and took action on it.

Now the user's admin page shows -1 posts:

After deleting the second spam post, we now have -2 posts, but they can be deleted:

Posts: 2

Participants: 2

Read full topic

How to add custom ref to external link/ blacklist spam domains

$
0
0

@ttt wrote:

Hi, is it easy to add a custom ref to some domains, and add some spamm domains to blacklist, don't redirect to these domains.

"Enabling Track External Right Clicks rewrites URL"

I know nothing about ruby, so which file should I modify to add some logic to "/clicks/track" ?

Thanks a lot!

Posts: 2

Participants: 1

Read full topic

Embedding forum on custom site

$
0
0

@rossi256 wrote:

Hi there i tried to find this information but not sure if i understand embedding right.

Basically what i am looking for is a forum that can be integrated in my existing site. the site has a category structure and i would basically need a commenting feature for every topic which is also viewable as a forum
So basically i have pages that are like ROOT>CAT1>SUBCAT1>TOPIC and i would like TOPIC to be a subcategory in the Discourse forum. that way ROOT>CAT1>SUBCAT1>TOPIC would make a subcategory ROOT>CAT1>SUBCAT1>TOPIC in the forum and have X amount of discussions in it.
I would like to view only those comments/discussions when on the topic page on the website, also probably all the discussions and categories for each SUBCAT for example. And at the same time also the normal discourse forum view.

Talking about a rails site - thought to connect using the API - we have our own UI but i would not mind having the nice discourse UI also for the comments on the pages...

Is that possible somehow?? can some experienced user give me a heads up or not possible?
many thanks in advance!

Posts: 4

Participants: 2

Read full topic


Bad gateway when trying to use SSL

$
0
0

@Grex315 wrote:

Problem:

I have a DO server setup with a Wordpress site and Discourse. I have rencently made the move to SSL.

I went through and followed the guide here:

And the DO guide here

https://www.digitalocean.com/community/tutorials/how-to-install-discourse-behind-nginx-on-ubuntu-14-04

Either guide is giving me a bad gateway error when I try to go to SSL for the Discourse site.

My Setup:

Curently running NGINX 1.10.0 which is hosting my wordpress site (grimreapergamers.com) and proxy to my Discourse site (forums.grimreapergamers.com). I created two seperate certs through Let's Encrypt. One for grimreapergamers.com and one for forums.grimreapergamers.com. My wordpress site is up and running with the cert today. When I try to change the NGINX config for the discourse site to use the cert I get a bad gateway error. Discourse is listening on port 85.

Here is my NGINX config for the discourse site. The commented out sever block is what is live today and working. The two blocks below are what I am trying to go to. Appreciate any guidance thanks.

I should point out that I have the http2 module loaded in NGINX which is why I am using that instead of SPDY.

Posts: 2

Participants: 1

Read full topic

Possible Bug - Replying Mid-thread Marks Rest of Thread Read

$
0
0

@sharaleo wrote:

Hi All,

New user here testing Discourse out for a potential vBulletin migration! Like what I am seeing so far! Infinite scrolling may take some getting used to for some users that are very used to pagination. While testing, one such user may have identified what may be a bug, so I'd like feedback if possible.

If a user has "Don't jump to my post after I reply" selected in preferences, when browsing a long thread, replying marks the remainder of the thread read, such that closing and returning to the thread opens at the users' reply, rather than the point they were up to when closing the page.

To replicate try the following:
Step 1: Turn on the "Don't jump to my post after I reply" setting in user preferences
Step 2: Go to a thread you haven't read yet. Make it a nice long thread.
Step 3: Reply to a post somewhere in the thread other than towards the end.
Step 4: Close the thread at the point you replied (ie not scrolling further down).
Step 5: Re-open the thread from the categories page. You will be taken to your reply, rather than the spot you left the thread at when you closed it.

Is this working as intended? This may not be ideal for users catching up on long or very active threads and replying as they go. Closing the thread (to come back to later), loses where they are up to. Book-marking a reply may be seen as workaround/solution, intended or otherwise.

Note, if the "Don't jump to my post after I reply" is un-checked, the behaviour is the same, though that may deemed OK, given the thread will relocate you to your post at the end of the thread, marking it read in the process...

Thanks in advance!

Posts: 2

Participants: 2

Read full topic

Discourse Email Has Localhost Links

$
0
0

@Er00 wrote:

Unsure quite where to put this, not sure whether someone broke the site settings or whether it's a bug in Discourse itself, but....

I just got a Digest email from Discourse Meta and all the links in it are localhost:3000.

Posts: 3

Participants: 3

Read full topic

Slug is required in topic URL?

Problem with Email Digest - URL

Viewing all 60739 articles
Browse latest View live




Latest Images