May 09
2008May 03
2008May 03
2008Archivos para descargar
Filed Under (descargas) by lab on 03-05-2008
Tagged Under : Archivos, descargar, download
* [drain hole 2 hits] - Displays the total number of hits from the specified hole ID
* [drain hole 2 show] - Show a list of all files in the specified hole (change display code by copying view/drain-hole/show_hole.php from the Drain Hole plugin directory to the same directory path in your theme’s directory and editing the file)
* [drain file 2 show template] - Displays the download template for the specified file ID. ‘template’ is optional and can be ignored (the default template will be used)
* [drain file 2 version] - Displays the version of the specified file
* [drain file 2 versions limit] - Displays the specified number of versions from the file’s history
* [drain file 2 hits] - Displays the total downloads for the specified file
* [drain file 2 url] - Displays a URL allowing the specified file to be downloaded. ‘name’ is optional and is the text that will appear inside the download link (if not specified then the filename is used)
* [drain file 2 updated] - Displays the update time of the specified file
* [drain file 2 size] - Displays the size of the specified file
* [drain file 2 icon] - Displays the download icon for the specified file
* [drain file 2 href] - Displays the URL of the file
Abr 28
2008SmartRSS es un Plugin para WordPress que te permite insertar automáticamente entradas en tu blog transforma tu blog mediante la sindicación a multiples feed RSS
Opciones:
- Herramienta para la administración de los rss feeds
- Cada feed puede asignarse a una categoría.
- Una vez importado el feed se puede relacionar con otros feed añadiendo un poco de código
- Necesita el uso de los trabajos cron para importar los feed de forma periódica y automática (si no se tiene acceso a programar el cron en vuestro servidor podeis suscribiros a esta web: http://www.webcron.org/ que hara el mismo trabajo ![]()
El paquete contiene:
- smart_rss.php file - Propiamente el plugin
- wp_smartrss.php - El archivo cron que se encarga de importar los feed
Instalacion:
- Subir los archivos smart_rss.php a la carpeta wp-content/plugins de tu instalación de wordpress
- Accede a la pantalla Plugins del panel del administrador y actívalo
- En la pestaña Opciones ->SmartRss podras añadir los feed que desees importar.
- Sube el archivo wp_smartrss.php al directorio raiz de tu wordpress. Por razones de seguridad es conveniente renombrar el archivo.
- Para iniciar el proceso de importación visita la pagina http://tudominio/wp_smartrss.php. Si quieres que este proceso sea automático deberas configurar un proceso cron que ejecute este php.
- Para configurar un trabajo cron puedes usar escribir una orden parecidad a esta:
“nice –adjustment=19 /usr/bin/php /$full-path-to-the-file/wp_smartrss.php”
or
“nice –adjustment=19 /usr/bin/php /$full-path-to-the-file/your_file_name.php”
- Si prefieres subir el cron en otro servidor edita las siguiente línea del archivo wp_smartrss.php:
require_once(’wp-config.php’);
y sustituyela por algo asi como:
require_once(’/$full-path-to-wordpress/wp-config.php’);
donde $full-path-to-wordpress es el path completo a tu instalación de wordpress
Visualizar Artículos Relacionados:
- Añade este código al archivo single.php del diseñó de plantilla que estes usando:
< ?php smartrss_related_posts(5, 10, ‘<li><b style=”font-size:14px;”>’, ‘</b>’, ”, ”, false, false); ?>
Parámetros de la Función: smartrss_related_posts(limit, len, before_title, after_title , before_post, after_post , show_pass_post, show_limit)
- limit = Número de entradas relacionadas a visualizar
- len = Número de palabras a incluir, si show_limit esta activado
- before_title = Código html code a añadir antes del título
-after_title = Código html code a añadir después del título
-before_post = Código html code a añadir antes de la entrada
-after_post =Código html code a añadir después de la entrada
-show_past_post = Incluir las entradas protegidas por contraseña
-show_limit = Indica si se limita el número de palabras (ver -len)
Abr 28
2008SmartRSS Plugin para WordPress
Filed Under (WordPress, rss) by Pere MAJORAL on 28-04-2008
Tagged Under : Archivos, cron, download, peremajoral, rss, WordPress
SmartRSS es un Plugin para WordPress que te permite insertar automáticamente entradas en tu blog transforma tu blog mediante la sindicación a multiples feed RSS
Opciones:
- Herramienta para la administración de los rss feeds
- Cada feed puede asignarse a una categoría.
- Una vez importado el feed se puede relacionar con otros feed añadiendo un poco de código
- Necesita el uso de los trabajos cron para importar los feed de forma periódica y automática (si no se tiene acceso a programar el cron en vuestro servidor podeis suscribiros a esta web: http://www.webcron.org/ que hara el mismo trabajo
El paquete contiene:
- smart_rss.php file - Propiamente el plugin
- wp_smartrss.php - El archivo cron que se encarga de importar los feed
Instalacion:
- Subir los archivos smart_rss.php a la carpeta wp-content/plugins de tu instalación de wordpress
- Accede a la pantalla Plugins del panel del administrador y actívalo
- En la pestaña Opciones ->SmartRss podras añadir los feed que desees importar.
- Sube el archivo wp_smartrss.php al directorio raiz de tu wordpress. Por razones de seguridad es conveniente renombrar el archivo.
- Para iniciar el proceso de importación visita la pagina http://tudominio/wp_smartrss.php. Si quieres que este proceso sea automático deberas configurar un proceso cron que ejecute este php.
- Para configurar un trabajo cron puedes usar escribir una orden parecidad a esta:
“nice –adjustment=19 /usr/bin/php /$full-path-to-the-file/wp_smartrss.php”
or
“nice –adjustment=19 /usr/bin/php /$full-path-to-the-file/your_file_name.php”
- Si prefieres subir el cron en otro servidor edita las siguiente línea del archivo wp_smartrss.php:
require_once(’wp-config.php’);
y sustituyela por algo asi como:
require_once(’/$full-path-to-wordpress/wp-config.php’);
donde $full-path-to-wordpress es el path completo a tu instalación de wordpress
Visualizar Artículos Relacionados:
- Añade este código al archivo single.php del diseñó de plantilla que estes usando:
< ?php smartrss_related_posts(5, 10, ‘<li><b style=”font-size:14px;”>’, ‘</b>’, ”, ”, false, false); ?>
Parámetros de la Función: smartrss_related_posts(limit, len, before_title, after_title , before_post, after_post , show_pass_post, show_limit)
- limit = Número de entradas relacionadas a visualizar
- len = Número de palabras a incluir, si show_limit esta activado
- before_title = Código html code a añadir antes del título
-after_title = Código html code a añadir después del título
-before_post = Código html code a añadir antes de la entrada
-after_post =Código html code a añadir después de la entrada
-show_past_post = Incluir las entradas protegidas por contraseña
-show_limit = Indica si se limita el número de palabras (ver -len)
Abr 27
2008Actualización de Wordpress 2.5.1
Filed Under (WordPress) by tumatic on 27-04-2008
Tagged Under : Archivos, download, peremajoral, WordPress
Pequeño aviso, si teneis Wordpress 2.5 te recomiendo actualizar a la 2.5.1; pero si teneis un blog con Wordpress 2.5 y la gente puede registrarse.. debeis actualizar ya.
Al margen de esto; hay un buen truco para que, si sólo querés tapar el agujero de seguridad subas 3 archivos y listo.
Fuente: uberbin.net
Abr 26
2008Actualización de Wordpress 2.5.1
Filed Under (Rants, WordPress, actualizaciones, seguridad) by mariano on 26-04-2008
Tagged Under : Archivos, download, WordPress
Pequeño aviso, si tenés Wordpress 2.5 te recomiendo actualizar a la 2.5.1; pero si tenés un blog con Wordpress 2.5 y la gente puede registrarse.. debés actualizar ya.
Al margen de esto; hay un buen truco para que, si sólo querés tapar el agujero de seguridad subas 3 archivos y listo.
Abr 24
2008New Release of ElasticFox
Filed Under (Amazon EC2) by AWS Editor on 24-04-2008
Tagged Under : amazon, download, firefox, s3
Many people have told me that they have used the ElasticFox extension for Firefox to get started with Amazon EC2. ElasticFox makes it easy to see the list of available AMIs (Amazon Machine Images), to launch any number of instances of those AMIs, and to monitor and manage the running instances:
We just released version 1.4 of this powerful tool. In addition to wiping out some bugs related to security groups and key management, ElasticFox now supports all of the features of the newest version of the EC2 API - Availability Zones, Elastic IPs, and user-selectable kernels. There are new tabs for kernels and ramdisks, Elastic IPs, and Availability Zones:
An IP address can be allocated and then attached to a running EC2 instance with a couple of clicks:

New instances can be launched in any availability zone, with full control of the kernel (AKI) and ramdisk (ARI):

Finally, you can now filter the AMI list using the box at the top right:

I added this feature myself because I had been spending too much time scrolling through the ever-expanding list of available AMIs during my conference and user group demos.
And that brings me to my last point: ElasticFox is an open source project hosted on SourceForge. It was easy to download the code to my desktop machine (I used TortoiseSVN), install FireBug, figure out how the code worked, and to make and test my changes.
We’ve got ideas for even more features, but there’s no reason to wait for us. If you have some ideas of your own, grab the code, do your thing, and send us your code for review and checkin.
– Jeff;
PS - We are planning to release a version of this extension which is compatible with version 3 of Firefox. This version is well under way, but we didn’t want to hold up release of these great new features in anticipation of the production release of Firefox 3.
Update: If you are brave and somewhat fault-tolerant, you can download and try out the Firefox 3 version here. This version is reportedly faster, and also more responsive — the UI doesn’t freeze when the extension makes background calls to EC2. Please file bugs as you find them (you will need a SourceForge account in order to do so).
Abr 12
2008Off-loading wpmu theme files to Amazon-S3
Filed Under (Amazon S3, Wordpress MU, plugin) by Elad on 12-04-2008
Tagged Under : amazon, css, download, firefox, s3
I saw a few people looking for solutions to off-load wpmu files to Amazon-S3 service. This is something we wanted to try on our installation (just a few thousand blogs) so I wrote a plugin that will serve themes css and image files from S3.
The plugin uses the ‘stylesheet_directory_uri‘ filter to set the stylesheet uri (css file). In turn, the stylesheet uses the ‘url‘ method to call the image files of the theme so they get the same base url as the stylesheet. Most themes uses the ‘stylesheet_directory‘ call correctly so you will not run into trouble but if a theme uses it to call a php file you should change the call to use ‘template_directory‘.
Download: themes-s3.zip
Usage:
- Signup for an Amazon-S3 account.
- Create a bucket for your files. Since you have to select a globally unique name for your buckets I call it s3.domain.com were domain.com is my wpmu installation.
- To point s3 to your bucket setup a CNAME record: s3 -> s3.domain.com.s3.amazonaws.com. (don’t forget that extra dot at the end).
- Load your themes css and image files to your bucket keeping the exact directory structure for each theme (/wp-contents/themes/… ). You can use the excellent S3 FireFox Organizer to mange your files.
- Edit the plugin to include your bucket name.
- Place the plugin in the mu-plugins directory.
- Test, test and test all your themes!
Whats next? The next step I’m planning is to off-load the Java Scripts in the wp-includes folder. Also planned is an option to serve the users files from S3. If you are interested in helping in any way please leave a comment and we can take it from there.


ABOUT