Grégocentrique

Un mec en slip c'est toujours marrant.

Grégocentrique est un site avec des grosses écritures orange, des BD, des photomontages absolument géniaux et un blog sans intérêt mêlant maladroitement introspection contemplative et volonté d’affirmation de ma personalité numérique.

local-technique

Un effet de flou avec CSS3

Beaucoup de gens m’interpellent dans la rue pour me demander comment j’ai fait cet effet de flou sur la police de caractère dans le panneau Flous RSS de mon footer. L’autre matin une petite vieille m’a même lancé devant l‘étal des fruits et légumes que ce n‘était qu’un simple image-replacement et qu’elle en faisait déjà des comme ça en 2006.

Je lui ai rétorqué laisse-moi rire Mamie, mais non, ce n’est pas un image-replacement, et je lui ai expliqué toute l’histoire.

Gabarit de maquette de site web

Comme j’en avais marre de toujours commencer mes maquettes web à partir de zéro, j’ai eu envie de me faire un gabarit réutilisable. Parti dans mon élan, j’ai ajouté plein de captures de navigateurs pour faire des tests grandeur nature et aussi pour faire pro même si en fait ça servira jamais. J’ai abandonné quand j’ai capté que j’avais oublié les scrollbars verticales sur la droite.

Du bon gabarit comme on en fait plus

Et comme je suis amour et partage, je vous offre le tout. Si, si, ça me fait plaisir.

glg_subscribe_comments

I’m looking for translated version of glg_subscribe_comments to regroup them here. If you’re using one, please let me know in a comment below, I will contact you next by email.

glg_subscribe_comments is a textpattern plugin that allow your visitors to subscribe the discussion of an article.

It add a checkbox below the comment form. If the visitor check it when he comments, he will receive a notification every time a new comment is posted.

Forum thread

http://forum.textpattern.com/viewtopic.php?id=32922

Download

Language plugins

I developed too a plugin that translate glg_subscribe_comments in French. This plugin is not standalone and glg_subscribe_comments has to be installed.

Install

Copy and paste the content of the file above in the plugin area.

Features

Once installed, The plugin works by itself. Activate it and you will see a new checkbox below your comment’s message inputs.

Your visitors can then subscribe to your articles comments. They will be notified y email when a new comment is posted (except by theirself). The notification will contain a link to unsubscribe.

The plugin works well if you have the moderate_comments preference activated.

Preferences

You can set the following preferences :

  • Automatically add the checkbox (Yes by default) : You can choose to hide the checkbox and configure your own display on the comment_form form. Use the plugins tags presented in the “Tags” section.
  • Check by default (No by default) : Switch to Yes if you prefer the checkbox to be checked by default the first time a visitor post a comment. The following times, the plugin will remember user’s choice, except if he choose
    to forget the informations.
  • From name : The identity of the mailer in the sent mails. Leave it blank to use default value (site name).
  • From name : The mail of the mailer in the sent mails. Leave it blank to use default value (smtp_from parameter in php.ini).
  • Mail subject pattern : You can write your own subject, using the following parameter :
    • {site} : Site name.
    • {author} : Author of the comment’s name.
    • {title} : Title of the article. Leave it blank to use the default value (equal to the original one).

Tags

If you choose to not automatically add the checkbox to your comment forms, you may use the following tags for display.

<txp:glg_subscription_checkbox />

Display the subscribe option checkbox. The checkbox get the id glg_subscribe_checkbox. Hidden when a visitor unsubscribe.

  • default 0 or 1 Specify if the checkbox is checked by default. Bypass the preference.
  • id string Specify an id for the checkbox (defaut glg_subscription_checkbox).
  • class string Specify a class name for the checkbox.
<txp:glg_subscribe_checkbox_label />

Display the label for the checkbox. This label change if the visitor has already subscribed to the article’s comments. Works with a cookie.

  • wraptag string The wrapping HTML tag. The message is wrapped in a label. Specify a wraptag if you wish to add an extra tag inside the label. Keep compliant with XHTML.
  • for string Value for the for attribute of the label tag (default : glg_subscription_checkbox).
<txp:glg_subscription_message />

Display a confirmation message when a visitor unsubscribe.

  • wraptag string The wrapping HTML tag. Default : p.
<txp:glg_if_subscribed />

Conditional tag that offers the possibility to display content or not depending on the fact that the visitor has already subscribed.

Notification mail tags

You can also customize the content of the notification mail. The plugin use the form glg_comment_notification to generate the content of the mail. In this form, you can use textpattern main tags used to get article or comment properties. The followings tags are available too.

<txp:glg_comment_link />

Display the link to the comment.

  • html 0 or 1 If 0, generate the url of the comment. If 1, generate an HTML anchor. Default 0.
<txp:glg_unsubscribe_link />

Display the link to the notifications unsubscription.

  • html 0 or 1 If 0, generate the unsubscription url. If 1, generate an HTML anchor. Default 0.