Nuevo Diseño Fotoblog con Pixelpost

Acabo de actualizar el photoblog a un nuevo administrador que se llama Pixelpost. Esta aplicación esta especialmentre construida para los fotoblogs y aunque existen algunos hacks para WordPress aparentemente ninguna le llega a Pixelpost puesto que no esta diseñado especificamente para usarla en un fotoblog.

La aplicación ya la habia recomendado el buen carnal Mauro (que no se a donde chingados puso su blog ahora, ese wey parece gitano cambiandose de host…jejeje) y después Milo lo instalo para echar a funcionar su propio fotoblog

En fin, dense una vuelta, echenle un ojo… si encuentran algun bug, mal funcionamiento o algo asi, les agradeceria que me informaran….

Fotos de lo Inmediato

New photo blog.

Esto es cosa técnica…

Migrating from WordPress to Pixelpost.

It was an easy task to do this, in five minutes I had my old blog running with Pixelpost.

First: BACK UP ALL YOUR FILES

Second, you have to install Pixelpost (in other directory or folder different than the photo WP installation), for example: if you have your photoblog in wp.photo.com
or www.photo.com/wp/ you could create pixelpost.photo.com or www.photo.com/pixelpost… and if you do this properly you have more than 50% of the job!

And the migration: is not a big deal, you just need to download the add-on from here (Called “Import from WordPress to Pixelpost” if link doesn’t work).. follow instructions and if this works you have done, if not… please continue reading.

You have to make some littles hacks on code because it uses a couples of variables that maybe doesn’t work properly. it’s easy to do this, but you SHOULD know how your photo WP database is structured (i e, names of the tables with their prefix.)

Edit import_from_wordpress.php and go to line 63 (aprox)…

$query =
“select ID,post_title, post_content, post_date, post_date_gmt, post_category from
{$table_prefix}posts
where post_content LIKE ‘%%'”
.$additionalwhere
.”order by post_date asc “;

If you see, the problem is caused by the $table_prefix variable, just change that for something like this:

$query = “SELECT ID, post_title, post_content, post_date, post_date_gmt, post_category
FROM wp_posts“;

Note: After FROM you should put the name of your table post.

and go to line 83 (more , less)… and you will find something like this:

// get comments too TODO: select comment content not *
$cmntquery = “SELECT * FROM {$table_prefix}comments
WHERE comment_post_ID = ‘$post_id’ AND
comment_approved = ‘1’
ORDER BY comment_date”;

and change:

$cmntquery = “SELECT * FROM wp_comments
WHERE comment_post_ID = ‘$post_id’ AND
comment_approved = ‘1’
ORDER BY comment_date”;

And erase the old photoblog and replace name …
and… done!

Thanks to Kanelo

9 Comments Nuevo Diseño Fotoblog con Pixelpost

  1. Milo

    bha!, parece que Kanelo es una eminencia, a ver si su poder puede hacer revivir a mi disco duro que me chingué :D

    yo quiero que le diga a mi disco: levántate y graba!.. :P jaja

    * **Nota: mi disco duro se llama Lázaro… :P

    Reply
  2. KaNeLo

    Hubieras sido mas especifico con el agradecimiento Coca, porque luego los ENVIDIOSOS nomas andan poniendo pendejadas, verdad MILO

    Reply
  3. Milo

    no es una eminencia, no pudo con Lazaro, y no se a quien le llamas envidioso, envidia de que? te falta atencion?

    Reply

Leave a Reply