I AM LISTENING TO
|
WHAT I LIKE
  • English
  • German


BLOG FILTER



  1. Setup a virtual soccer team that competes during the WorldCup 2014 in Brazil
  2. Custom plugin integration
  3. Pre-registration
  4. Team setup before the tournament
  5. Players with real images / virtual squad positions and selection
  6. Multi-language setup (13 languages), teams compete in their country section
  7. Facebook API connection for registration and updates
  8. Setup your virtual team, choose players (only one player per country)
  9. 3 players can be exchanged during the tournament
  10. Live football result integration / schedules using an external sports API (Infostrada)
  11. Specialized point calculation for different tournament incidents & rounds
  12. Score when real teams / players score
  13. Virtual country ranking
  14. Play with friends
  15. Top scorer can win a prize after each round
  16. Extensive usage statistics
  17. Legacy browser support
  18. Responsive design

readmore

Over the past months I have been building a virtual competition, for one of my clients, for the tournament 2014 in Brazil.

  1. Full integration and signup to the game through Facebook
  2. Multi-language setup
  3. Choose your own team of players from the 32 competing countries, with countries only represented once in your team.
  4. Update your team until the start of the tournament
  5. During the tournament your team scores according to real data coming in from a sport result data provider. Team scores are calculated by a fixed rule set.
  6. You have 3 substitutes that you can deploy during the tournament to optimize your team or replace players that have been eliminated
  7. You play for a specific country or you can join or create a group to compete against each other with friends.
  8. Team ranking is provided on country and group level.
  9. Social sharing, invites and posting to Facebook

The project had its challenges and I plan to dive into some of those areas in the future, as soon as the tournament is over ;)

Cheers
Alex

readmore

cdnjs

“Everyone loves the Google CDN right? Even Microsoft runs their own CDN. The problem is, they only host the most popular libraries. We host it all – JavaScript, CSS, SWF, images, etc!”

cdnjs

readmore

jquery_terminal

Still looking for a nice way to integrate this Terminal plugin it into some of my current websites :)

jQueryTerminal

readmore
12. June 2014

Bluetech Engineering

  1. Custom WordPress Plugin – PeopleXS API integration for application submission and display of vacancies
    (Peoplexs is a trusted SAAS provider of innovative recruitment, education and talent management software.)
  2. CSS Tweaks

readmore
23. May 2014

Kint – PHP debugger

kint

Debugging can be such a pain sometimes. Kint has saved my bacon more than once ;)

Kint

readmore
11. May 2014

Talent & Pro

Find talent for the banking sector.

 

  1. WordPress theme
  2. Custom plugin
  3. PeopleXS API integration for application submission and display of vacancies
    (Peoplexs is a trusted SAAS provider of innovative recruitment, education and talent management software.)
  4. Maintenance

readmore

The Contact Form 7 for WordPress is a nice simple plugin to build contact forms fast. But when it comes to making it completely multilingual it lacks a bit.

I am currently creating a website with 13 different languages, that would mean to create the same contact form 13 times, not really practical :)

I am translating the form labels on the fly with some javascript magic, but for the messages I had to go a bit deeper.

  1. Open wp-content/plugins/contact-form-7/classes.php
  2. Go to line 800 function message
  3. Change this

    to this

    See how I wrapped the gettext function for the return, that does all the magic.
  4. Next we have to make sure that the messages are being found by localization helpers like Codestyling Localization
  5. In your theme functions.php add a translation for each of the Contact 7 Form messages
  6. The first message in the Contact 7 Form admin says: Your message was sent successfully. Thanks.

     
  7. Do not change these messages in the Contact 7 Form admin anymore or the setup will break. These updates will have to be repeated with each plugin update, unless the author does something similar.
  8. Happy translating.

Cheers
Alex

readmore

wpml-ready
WPML for WordPress is a powerful plugin to build a multi-language setup. But it still comes short in some areas, especially when it comes to a custom integration into plugins or when using custom post-types.

Normally this function should return the id of the linked translated content, but has not worked for me in some cases (especially when AJAX is involved).

A simple SELECT helps to get that id yourself :)

readmore

word_cloud_language
The GitHub repository from Saša Stamenković provides a nice list of all countries with names and ISO 3166-1 codes.

Available formats are:

  • Text
  • JSON
  • YAML
  • XML
  • HTML
    • Select
    • Flags
  • CSV
  • SQL
    • MySQL
    • PostgreSQL
    • SQLite
    • SQL Server
  • PHP

Github

readmore