Jump to content


  • Content count

  • Joined

  • Last visited

About mantis

  • Rank
    Web Guru

Users Experience

  • Experience
  • Area of Expertise

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
    Oooh la la land
  1. Node Meeting 2: minutes and homework

    Bravo Teodora!!! I'm also going through the ones on Code School. It seems I'm getting struck with work once again which is eating into my studying time
  2. Node Meeting 2: minutes and homework

    It was probably when you went to get more cider
  3. First, you can force SSL in wp_config.php using define( 'FORCE_SSL_ADMIN', true ); If you continue to get errors they are most like likely coming from media attachments where images were included via the editor pre SSL. I wrote about it here: http://www.kirstencassidy.com/force-ssl-for-wordpress-media-attachments/
  4. Custom Tokens in Translatable Text

    I would do something like this <?php $fruits= array('Apples', 'Bananas', 'Coconuts'); printf( __( 'I love %1$s, and %2$s.', 'my-text-domain' ), $fruits[0], $fruits[1] ); ?> If you need to change the position of the elements then do so in the array rather than in the output.
  5. RSS Feed Manipulation

    You can customise the WordPress feed by copying the appropriate feed template in wp-includes and using the load_template() function to include the modified version in a plugin (preferably) or in a theme. There is some more information about customising feeds here https://codex.wordpress.org/Customizing_Feeds You could also probably use one of these hooks https://codex.wordpress.org/Plugin_API/Action_Reference#Feed_Actions to modify the feed.
  6. So for those who didn't make the meeting last night we discussed a great many things including curry, poo, contracts, and mountain climbing. We also mentioned JavaScript once or twice. @@citypaul gave us some homework which can be found on the slack channel. You will need the link there to do it and it involves watching videos. Some of us were were making our own forEach functions to better understand callbacks. https://gist.github.com/mantismamita/1b092e5427a1d8e66abc
  7. Scheduling meetings

    I might have to try that. I like that they have php
  8. Scheduling meetings

    I've only done through question 6. I'm a bit caught up with work but hopefully I'll get a chance to do a few more before Thursday. This http://www.codewars.com/?language=javascript is pretty entertaining for anyone who wants to freshen up on their JavaScript.
  9. Node.js resources

    More videos : http://nodecasts.net/
  10. Image Size Issue

    WordPress generates several images sizes by default and more if you specify so you need to go into your template file and see what code is being output. It is probably something like: <?php the_post_thumbnail('medium'); ?> You could try changing the 'medium' to another image size in this case.
  11. Wonder whether to use a separate database (WP)

    Hmm, well if you're just collecting it then perhaps another database would make sense but I would think just keeping the information in separate tables should be sufficient in the event that someday you change your mind and do need the data as part of your installation. Security wise, is it because it is especially sensitive information or just as a precaution? Its worth using an SSL protocol if you are collecting anything sensitive. Also make sure properly escaped and use nonces (number used once) https://codex.wordpress.org/WordPress_Nonces to add a security token.
  12. Node meeting 1::Node homework

    I've never tried it. I guess now isn't the time to start On Question 6 and published my answers here https://github.com/mantismamita/learnyounode-sols/tree/master I'm not worrying about refactoring for now. Hopefully I'll get through another couple questions before Thursday but I won't have much time.
  13. App ideas?

    Hey there @@citypaul Not so bad to have a break from internet access every now and then I actually stopped short of doing the mockups and continuing the feature list as I wasn't sure to what degree everyone had agreed on the idea and thought it might be a better use of time if we collectively agree on some things before going any further. Notably whether this is the kind of app we want to build. I'm not entirely opposed to a facebook belly app if that's the direction we want to go in. Perhaps we could do a poll or something to see if we agree on this idea to begin with? Enjoy your hols!
  14. Node meeting 1::Node homework

    I had the opposite happen with Q3 and Q4. They returned the wrong number of lines but passed. Or maybe I just can't count.
  15. Node.js resources

    Thanks @@rbrtsmith I'm sure I'll be PM ing you here at some point. Another resource for anyone who likes videos: http://devfreecasts.org/nodejs/