ZenLife


Español |||| English

Introducción

ZenLife es un plugin para WordPress que muestra fácilmente los últimos movimientos de nuestra galería de fotos gestionada con zenphoto.

ZenLife muestra cuál es la última imagen y el último álbum que se han subido a la galería, así como un extracto de los últimos comentarios que se han producido (el número de comentarios y la longitud de cada uno son parámetros que controla el usuario).

Puedes ver el plugin en acción aquí: http://sisifodichoso.org/galeria/.

Instalación

  1. Descarga el archivo zenlife.php.zip y descomprímelo.
  2. Abre el archivo zenlife.php con tu editor de texto favorito y pon la información correcta en estas líneas:
    require_once("/home/youruser/public_html/zp/zen/config.php");// your zenphoto config file path
    define('zp_PATH','/zp'); //webpath of zenphoto
    La información de la primera línea es la mostrada por cualquier programa FTP. La segunda línea es la ruta a tu galería de zenphoto.
  3. Sube el archivo zenlife.php al directorio /wp-content/plugins de tu blog.
  4. Incluye el siguiente código en la barra lateral:
    <?php if (function_exists('zenlife')) {zenlife(arg1, arg2, arg3, arg4); } ?>Donde:
    • arg1 (binario): 0 ó 1. Si es 1, ZenLife muestra información acerca del último álbum que has subido a tu galería.
    • arg2 (binario): 0 ó 1. Si es 1, ZenLife muestra información acerca de la última imagen que has subido a tu galería.
    • arg3 (número): El número de comentarios que quieres que se muestren en forma de lista (0 = no se muestran comentarios).
    • arg4 (número): La longitud del extracto del comentario que se mostrará.
  5. Activa el plugin desde el panel de administración.


Introduction

ZenLife is a WordPress plugin that easily shows the last movements from our zenphoto gallery.

ZenLife shows information about the last album and the last image you have uploaded to your gallery as well as an excerpt of the last comments (the number of comments and the length on each one are user options).

You can see this plugin in action here: http://sisifodichoso.org/galeria/

Installation

  1. Download the zenlife.php.zip file and unzip it
  2. Open the zenlife.php file with your favourite text editor and put the correct information in these lines:
    require_once("/home/youruser/public_html/zp/zen/config.php");// your zenphoto config file path
    define('zp_PATH','/zp'); //webpath of zenphoto
    You can find the first line information in your FTP program. The second line is the path to your zenphoto gallery
  3. Place the zenlife.php file in your /wp-content/plugins/ directory.
  4. Place this code in your sidebar:
    <?php if (function_exists('zenlife')) {zenlife(arg1, arg2, arg3, arg4); } ?> Arguments explanation:
    • arg1 (binary): If 1 ZenLife shows information about the last album you have uploaded.
    • arg2 (binary): If 1 ZenLife shows information about the last image you have uploaded.
    • arg3 (numeric): The comments you want to show in an unordered list. (0 = no comments);
    • arg4 (numeric): The comment excerpt length.
  5. Activate the plugin through the administration panel.
Comparte este artículo:
  • Meneame
  • del.icio.us
  • Digg
  • Facebook
  • TwitThis
  • Google
  • Live
  • E-mail this story to a friend!
  • Print this article!

10 comentarios en “ZenLife”


  1. Ana dice:

    :gracias:

    Me vuelvo a WordPress de cabeza. Y me voy a poner a instalar todos los plugins que te has currado, no sólo porque sean tuyos, sino porque son buenos.

    Espero que te lo hayas pasado bien “por ahí”. Tenemos pendientes unas cañas.


  2. sisifodichoso dice:

    ¿Te vas a cambiar a WP? :lol: ¿sabes lo que estás diciendo? te va a tocar probar todas mis paridas Ana … piensalo bien :jiji: ;-)


  3. adidas スニーカー サイズ dice:

    “Very jolly place for this sort of thing,” Lord Lambeth said. “It must do beautifully to sit.”
    adidas スニーカー サイズ http://cgi.genikomysoft.com/diarypro/data/adidas1.php?product_id=204


  4. pdextrading.com>> dice:

    Hi there, yup this piece of writing is in fact nice and I have learned lot of things from it about blogging.

    thanks.


  5. bbtek888 dice:

    First of all I would like to say excellent blog! I had a quick question which I’d like to ask if you don’t mind.

    I was curious to know how you center yourself and clear
    your thoughts before writing. I’ve had a hard time clearing my
    thoughts in getting my thoughts out there. I do enjoy writing however it just seems
    like the first 10 to 15 minutes tend to be lost just trying to figure out how to begin. Any ideas or tips?

    Thanks!


  6. http://bbok888.mhs.narotama.ac.id dice:

    Your style is unique in comparison to other folks I have read stuff
    from. Thank you for posting when you’ve got the opportunity, Guess I’ll just book mark this web
    site.


  7. http://bbokcfd.launchrock.com dice:

    It’s going to be ending of mine day, however before finish I am reading this impressive piece of writing to increase my experience.


  8. qq888ok dice:

    No matter if some one searches for his required thing,
    thus he/she needs to be available that in detail,
    therefore that thing is maintained over here.


  9. alexekqtrump dice:

    I’m amazed, I must say. Seldom do I encounter a blog that’s both educative and entertaining, and let me tell you, you’ve hit the nail on the head.
    The problem is something which not enough men and women are speaking intelligently about.
    I am very happy that I stumbled across this during my hunt
    for something concerning this.


  10. NOA88OK dice:

    Unquestionably believe that which you stated. Your favorite justification appeared to be on the internet the easiest thing to be aware of.
    I say to you, I certainly get irked while people consider worries that they plainly don’t know about.
    You managed to hit the nail upon the top as well as defined out the whole thing without
    having side effect , people could take a signal.
    Will probably be back to get more. Thanks

Deja un comentario

:wink: :-| :-x :twisted: :) 8-O :( :roll: :-P :oops: :-o :mrgreen: :lol: :idea: :-D :evil: :cry: 8) :arrow: :-? :?: :!: