Commerce Credits: screencast
This screencast will show you the possibilities of commerce credits and how to use this Drupal module I created.
Don’t hesitate to tell me what you think about this module.
Froutana, découvrez de nouvelles saveurs !
Froutana arrive d’un long voyage à travers l’Amérique du Sud et vous apporte de nouvelles saveurs ! Connaissez-vous la cocona ? Savez-vous ce qu’est le corossol ? Le mot “maca” vous dit-il quelque chose ? Et la carambole ? Est-ce une nouvelle danse ?
Découvrez ces nouvelles saveurs, sous la forme de produits alimentaires issus de l’agriculture biologique et du commerce équitable !
Visitez le site de Froutana, accueillie en France par ma femme et moi.
Auto entrepreneur: tour d’horizon des banques Françaises
Introduction
Cela fait maintenant un petit moment que je suis auto entrepreneur. J’utilisais jusque là mon compte personnel pour ma comptabilité, toutefois petit à petit le besoin de passer à un compte séparé, dédié à mon activité, se fait sentir. Voici un petit tour d’horizon de quelques banques françaises que je viens d’appeler pour avoir des renseignements.Les banques sans offre auto entrepreneur
Les banques sans offre auto entrepreneur redirigent les auto entrepreneurs vers des comptes professionnels, qui vont aux alentours de 30 € / mois (31,20 € avec la société générale par exemple). A moins que vous n’ayez des besoins bancaires vraiment importants en tant qu’auto entrepreneur, je doute que ces solutions vous conviennent. Seules deux banques, avec une offre dédiée aux auto entrepreneurs, se distinguent vraiment du lot suite à mes recherches.Les banques avec une offre auto entrepreneur: la banque postale et la caisse d’épargne
La Banque Postale est la moins chère des deux, avec des frais de tenue de compte d’un CCP à 4 € / trimestre, un chéquier et un relevé de compte gratuit. Une carte Visa business est facturée à 38 € / an et une assurance de moyens de paiements Alliatys Pro est facturée à 55 € /mois. Le hic, et pour certaines personnes il peut être gros, c’est que le produit banque en ligne, qui permet d’accéder à ses comptes depuis Internet et de faire des opérations sur Internet, est facturé à 5 € / mois. La Caisse d’Epargne a une offre claire, présentée directement sur son site Internet (ce qui est malheureusement trop rare): http://www.caisse-epargne.fr/forfait-auto-entrepreneur.aspx . En clair, pour 6 € / mois, on obtient un compte courant, la banque en ligne et une assurance des moyens de paiement.Conclusion
La conclusion est simple: si vous avez besoin uniquement d’un CCP et que vous pouvez vous passer d’un service de banque en ligne et de l’assurance des moyens de paiement, vous avez intérêt à choisir la Banque Postale, où la facture se montera à 12 € / an. Si par contre vous avez besoin de la banque en ligne et/ou de l’assurance des moyens de paiement, dans ce cas choisissez la Caisse d’Epargne, où la facture se montera à 72 € / an.ParaglideIt: our paragliding information
ParaglideIt is a new paragliding information website I’m launching today !
Some time ago, when looking for a new wing, I had some trouble finding comments on the Internet concerning the wing I wanted to buy. I was able to find some official certifications (such as LTF or EN) but very few comments from beginners or intermediate paragliders. I therefore decided to create a website to allow any pilot to comment and rate wings…
But the idea goes a bit further than this: in order to build the database of technical data concerning the wings, I built the site under the same philosophy as a wiki. Basically, anyone can add or modify wing information !
Available in three languages (English, French and Spanish), ParaglideIt is meant to help you decide on your future wing, based on information provided by the paragliding community.
As a sidenote, the site was built on Drupal 7.
WordPress SexyBookmarks plugin loads jquery 2 times
I recently found out that WordPress plugin SexyBookmarks loads jquery two times, at least when you selected “Use the BETA version” in the plugin’s settings. I’m providing in this article a quick fix to it, which consists in commenting out the b.appendChild(i); statement which loads the jquery code from googleapis.com.
The patched javascript file can be downloaded here
Using LinkedIn SC with LinkedIn API
Introduction
This article will show you how to use the WordPress plugin I’ve developed, LinkedIn SC, to parse your profile private fields and display them on your WordPress website.
Step 1 : get a LinkedIn API and secret key
- Go to https://www.linkedin.com/secure/developer
- Add a new application
- In the form to add a new application, make sure you set the “Javascript API domain” to the domain of your WordPress installation
- LinkedIn will generate an API key and a secret key for your application
Step 2: configure LinkedIn SC on your WordPress installation
- Copy and paste your API and secret key to the settings page of LinkedIn SC on your WordPress installation:
- Go to your profile page and click on “Sign in with LinkedIn”.
- Authorize the LinkedIn application to access your profile.
- You should now be connected.
- Create your profile page by using the LinkedIn SC shortcodes.
Please note that if you want your WordPress installation to be fully secure, you will need to set the FORCE_SSL_ADMIN parameter to true in your wp-config.php file, as explained in the Codex
As explained here, unfortunately, I don’t have time to answer support questions on this plugin anymore.Drupal 6: complex node synchronization with Pubsubhubbub
Introduction
I started some work on user and node synchronization using Pubsubhubbub when I was working for Beeznest. You can see my first article and screencasts concerning user synchronization here. This article can be considered as part 2. It concerns the synchronization of nodes only, but nodes with complex fields such as taxonomies, node references, and fields with different data structures. It also shows you how to handle node deletions.
Screencasts
Just like in the first article, I used screencasts, much easier to understand than writing lines of text.
Part 1 – Installing the right modules
Part 2 – Synchronizing simple nodes
Part 3 – Synchronizing taxonomies and node references
Part 4 – Synchronizing complex fields with feeds tamper
Part 5 – Handling node deletions
Part 6 – Security and key authentication
Extra – Handling node translations
Conclusion
This synchronization of Drupal nodes using Pubsubhubbub is getting more and more mature. It’s still not using RDF, but it’s now secure and will allow you to synchronize nodes that do not have the exact same structure. With Drupal 7 and its support for RDF, this way of synchronizing Drupal nodes could be extended to entities and become a simple and efficient way of synchronizing various Drupal platforms.
Please note that this work has been sponsored by Beeznest and the CONDESAN
Update: people seem to have problems with the synchronization of content, because content needs to be synchronized twice (for example, a text field is set to “text1″: it will be synchronized first as empty and will need to be synchronized a second time to appear as “text1″). In order to fix that, try increasing the weight of the pubsubhubbub pusher module (setting it to 20 seems to work)
Drupal 7: a few remarks
It’s been a little while now that Drupal 7 is out. I took some time recently to take a look at it, and here are my remarks.
The pros
Interface: a huge work has been done concerning the interface and it can be seen ! Drupal 7′s interface is WAY better than Drupal 6, and it will allow you to gain productivity.
Entities: the concept of Entity is brand new in Drupal 7, and it is awesome ! While in Drupal 6, with CCK, you could only attach fields to nodes, in Drupal 7, everything is an entity (including taxonomy terms, users etc…) and the new field API allows you to attach fields to any entity. What this means is that you can attach fields to nodes, but also to users or even taxonomy terms ! I will let another article explain you more in depth the concept of an entity.
Image: image manipulation is now built into core, which makes it easier to upload images. No more modules to install !
Module installation: in Drupal 6, in order to install a module, you needed to upload it and extract it by yourself in the right directory on your webserver. Drupal 7 tried to make this history. I’m saying tried: yes, module installation is easier than in Drupal 6, as you can now install modules directly from the web interface, using an FTP connection. However, it’s still far from the usability of wordpress, where you simply enter the name of the module in a text box, get the search results and click on Install… Maybe for Drupal 8 ?
The cons
Geolocation stack: let’s be honest, for now, Drupal 7′s geolocation stack is still very immature. Openlayers has a 7.x release that seems quite mature, however, I couldn’t find any good way to create a geolocation field in one of my contents. I looked at Geolocation Field, which has a 7.x release, but it’s still not mature enough for production use. The Geo module looks very promising, but it still doesn’t have a 7.x release, and I’m not sure the work for porting it to 7.x has started yet.
Multigroup: the multigroup feature is missing for now, or at least so far I haven’t been able to create a multigroup with Drupal 7. Field group is interesting, but doesn’t support multigroup…
Conclusion
Drupal 7 is still in an early state, and, for now, will probably not suit your needs if you want to do a very complex website (with geolocation for example). WordPress remains easier to use, but with a lot less functionalities (at least in my opinion). However, I’m pretty sure that, with a few more modules ported to 7.x, Drupal 7 will be a huge success.
Stay tuned, I will add more pros and cons as I go
Installing postgrey on Ubuntu Server 10.10
Postgrey is a very good way to reduce the spam in your inbox without using too much server resources. It is also very simple to install on Ubuntu 10.10. Here is a small how-to.
First, install postgrey:
sudo apt-get install postgrey
Then, make sure it’s started:
sudo service postgrey start
Configure /etc/postfix/main.cf. There is a small trick here: in many tutorials on the Internet, they will tell you to set your postfix config with a port set to 60000, which is supposedly the port on which postgrey is listening by default. However, it seems that, recently, the default port changed to 10023, so here is the line you need to add to the ‘smtpd_recipient_restrictions’ configuration directive:
check_policy_service inet:127.0.0.1:10023
Finally, restart postfix:
sudo service postfix reload
Don’t forget to make sure everything works by sending yourself an email. You will, obviously, need to wait a few minutes before your mail is accepted.
Club des Hommes Oiseaux Thonon Orcier : un nouveau site WordPress
Je viens juste de terminer une nouvelle mouture du site web du Club des Hommes Oiseaux Thonon Orcier. Un site simple, basé sur WordPress, et qui montre bien les avantages d’un tel CMS. Au menu, un nouveau thème graphique agréable, basé sur Graphene, quelques widgets sur la droite et des images défilantes faites en Javascript grâce à Slideshow Gallery Pro.
Parmi les améliorations à venir, la migration du forum de Punbb vers un forum WordPress, tel que Mingle Forum (cette migration fera l’objet d’un article particulier) et l’intégration d’un widget météo.
Le site est disponible à l’adresse http://www.choto.tk

