Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 17 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 17:13
    @mstellaluna banned @cmal
  • Jan 08 22:05
    @mstellaluna banned @dertiuss323
  • Nov 07 2018 04:42
    User @texas2010 unbanned @ows-ali
  • Nov 02 2018 16:25
    @texas2010 banned @ows-ali
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:12
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:57
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:13
    User @bjorno43 unbanned @jkyereh
  • Jul 29 2018 01:00
    @bjorno43 banned @jkyereh
  • Jul 10 2018 22:09
    @bjorno43 banned @manafn
  • Jul 06 2018 15:20
    @texas2010 banned @imlegend19
  • Jul 03 2018 12:28
    @bjorno43 banned @vbvmatta
  • Jun 29 2018 13:54
    @bjorno43 banned @OGTechnoBoy
Adel
@AdelMahjoub
@123xylem ctrl+f and search for those img tags
Chris Cullen
@123xylem
img not found
its very bland Php
Adel
@AdelMahjoub
@123xylem not the plugin file
@123xylem search in the templates
@123xylem the templates are rendered, so you look for the one you want, and search img tags
Chris Cullen
@123xylem
@AdelMahjoub ok
checking
@AdelMahjoub I dont think its that simple.. Ive looked for the file and cant find it... the images are part of the plugin and encased in loads of classes etc
Adel
@AdelMahjoub
@123xylem nothing could stop an inline script unless some csrf setups, if you knwo where the images will be rendered it should work
Adel
@AdelMahjoub
@123xylem add the script in the footer
@123xylem open your page, inspect the images you are targeting, and meanwhile write a script in the page footer
@123xylem I think the footer is easily identified
@123xylem or you can try write the script and url encode it in the posts editor, it worked for some version of marked, maybe it works in wordpress posts editor
@123xylem or, find another plugin for centering text in images ? a desperate solution
Adel
@AdelMahjoub
@123xylem those are barbarians solutions, in reality you can edit your wordpress themes, so unless you want to hack your way through, check that wordpress codex on how to customize and write plugins
Chris Cullen
@123xylem
@AdelMahjoub thanks man
CamperBot
@camperbot
123xylem sends brownie points to @adelmahjoub :sparkles: :thumbsup: :sparkles:
:cookie: 642 | @adelmahjoub |http://www.freecodecamp.org/adelmahjoub
Tychro van den Broeke
@tychro
can anyone help me, i need to calculate with decimals in JS and i don't know how to do it????
Markus Kiili
@Masd925
@tychro There is only one Number type in JS that are 64bit floats. You can round them or format into corresponding string representations.
var num = 1.23456;
Number(num.toFixed(2)); // 1.23
@tychro If you are doing the Exact change challenge, the robust way is to use penny amounts on comparisons that are safe integers.
Only small enough integers are guaranteed to have an exact representation as a float. Usually numbers are a bit off and rounding errors happen.
Tychro van den Broeke
@tychro
thx
see if it works for me
Bartek Lewandowski
@Jabarlew

hello guys i have to create pixel art app and i got problem with event if anyone could help me

https://codepen.io/Jabarlew/pen/LeVbXe?editors=0010

main problem is that if i unclick not on the canvas it wont stop drawing :) also sometimes instead of drawing i just drag table instead of drawing is it possible to block it somehow ?

ok i fixed problem with event but still need help with that draging table :D
primuscovenant
@primuscovenant
@heroiczero thx
CamperBot
@camperbot
primuscovenant sends brownie points to @heroiczero :sparkles: :thumbsup: :sparkles:
:star2: 2106 | @heroiczero |http://www.freecodecamp.org/heroiczero
Hills
@Hillsie
Hello, I’m trying to get a share button working for Facebook on a codepen random quote machine. Issue is I am getting a CodePen - No (or blocked ) Referrer. I also can’t figure out how to get the FB share to take the quote that’s generated. Anyone have any suggestions?
https://codepen.io/hillsie/full/zpGxQx/
Hills
@Hillsie
Sorted.
Except I am still trying to figure out who to get a screen shot of the site.
into facebook.
Got it. … Helps just to say I have a problem sometimes :smile:
Bartek Lewandowski
@Jabarlew
i solved draging too
thanks :D
Hills
@Hillsie
:thumbsup:
Sweet Coding :)
@SweetCodingInc
Let's celebrate the global say I have a problem to solve the problem day
Bartek Lewandowski
@Jabarlew
:D
its like we rush to much to get answers from others
and what we really need
is some time
:D
Hills
@Hillsie
:shipit: Sort of, I was scratching my head for about 2 hours and googling. As I posted the question, I tried a few things.
then tada... found a way
DecisiveIndecisive
@DecisiveIndecisive
Morning everyone
Markus Kiili
@Masd925
@DecisiveIndecisive Morning.
creator0323
@Amasian
@DecisiveIndecisive Morning!