WordPress.org

Ready to get started?Download WordPress

Forums

Plugin: Pixelpost's Latest Thumbnail in WP (31 posts)

  1. raminia
    Member
    Posted 9 years ago #

    Hi folks,

    I made a plugin for wordpress 1.2+ users who want to show their latest photo in their Pixelpost photoblog on their wordpress weblog. It's very simple to use and you can find the Plugin and the instructions at
    http://weblog.raminia.com/wp-hacks

    Pixelpost is the best photoblogging tool!
    Good luck

  2. jeremycherfas
    Member
    Posted 9 years ago #

    I tried this and made exactly the changes required and I got a completely blank pae from my WP index.php

    Double checked all the edits and they are fine.

    Ther's this error message:

    Database error: [Table 'jcherfas_photos.wp_users' doesn't exist]
    SELECT * FROM wp_users WHERE user_login = 'admin'

    I really want this tool, but right now I cannot use it.

    In faqct it is worse than that. I do not seem to be able to login to deactivate the plugin. Help!

  3. jeremycherfas
    Member
    Posted 9 years ago #

    OK, panic over. With Raminia's help I just deleted the plug-in via FTP. But I'm still not sure what went wrong. And I wonder whether anyone else has this plug-in working yet?

  4. raminia
    Member
    Posted 9 years ago #

    I know it was a problem with not closing the db connection but I wondering about the rest of the code and not mine. Shouldn't every query checks for the right DB connection before executing?....
    I'm the bug is fixed in the plugin. (hope so;) )

  5. NorthernPassages
    Member
    Posted 9 years ago #

    Very cool - but the download url yields a 404

  6. NorthernPassages
    Member
    Posted 9 years ago #

    fixed now, cheers

  7. NorthernPassages
    Member
    Posted 9 years ago #

    Now it says the zip is corrupt.

  8. madmblue
    Member
    Posted 9 years ago #

    Yup, bad zip here, too

  9. raminia
    Member
    Posted 9 years ago #

    OK I fixed it.
    Try it please and tell me if it has problem.

  10. jeremycherfas
    Member
    Posted 9 years ago #

    I just tried it again and I still have problems. Now, the index.php page is completely blank when I include the statement to show the latest pixelpost thumbnail.

  11. raminia
    Member
    Posted 9 years ago #

    I'm confused! is there anybody else who have tested this?
    HelllO?

  12. jeremycherfas
    Member
    Posted 9 years ago #

    I just tried it again this morning and it works. I don't know whether you made any changes, but everything is now fine.

    Thank you for a great plug-in.

  13. raminia
    Member
    Posted 9 years ago #

    OK it seems the problem is solved:)
    No change for today! All changes was for the last night. I'd changed the db connection procedure. It opens a new DB conection and closes all connections and then reconnect to wp. This strange connection method is used to keep compatiblity with PHP versions lower than 4.2. I could do it better but as it works for now I'm stop develping for a while.

  14. raminia
    Member
    Posted 9 years ago #

    Some strange manipulation of the Spell Checker pluging with path revealed some bugs with my plugin. I change the plugin version to 0.2 after correcting these bugs. Now on, the plugin should not prompt error if the path is not ok and it will simply be sielent!

    you can dload it from the same location at http://weblog.raminia.com/wp-hacks

  15. jeremycherfas
    Member
    Posted 9 years ago #

    I upgraded to WP 1.5, still on PixelPost 1.3. So I downloaded the plug-in again and reinstalled, but now it does not show up in the Plug-in page in my WordPress admin.

    Any suggestions?

    Thanks

    Jeremy

  16. raminia
    Member
    Posted 9 years ago #

    do you use plugin for v1.3?
    did you activated it in wordpress 1.5?

  17. raminia
    Member
    Posted 9 years ago #

    did you add the function to call latest thumb in the sidebar.php or index.php?

  18. jeremycherfas
    Member
    Posted 9 years ago #

    In index.php. I don't use sidebar, hving developed my own theme.

  19. raminia
    Member
    Posted 9 years ago #

    add the function call to one of the default template in the sidebar and use that default template. if it shows the latest thumb there is something wrong with your template design. if it does not show there must be a mistake in path definition.

  20. jeremycherfas
    Member
    Posted 9 years ago #

    I cannot seem to activate the plug in in 1.5. As I said, it does not show up in the plug in admin page in WordPress.

    This is the version detail from the plug in:
    /*
    Plugin Name: Pixelpost Latest Photo
    Plugin URI: http://www.raminia.com/weblog/wp-hacks
    Description: Using <?php show_latest_pixelpost_thumbnail() ?> in WordPress (inside index.php of wordpress1.2 and e.g. inside sidebar.php of wordpress1.5), shows the latest image from your Pixelpost photoblog in the wordpress blog. Compatible with Pixelpost version 1.3 or higher.
    Author: Ramin Mehran
    Version: 0.2
    Author URI: http://weblog.raminia.com
    */

  21. raminia
    Member
    Posted 9 years ago #

    sorry I didn't get the point before. I downloaded the file now and copied it into the plugin folder of my local wordpress 1.5 and nothing was wrong.
    make sure you use a proper editor for editing the plugin file. ANSI not Unicode plus check if there is any redundant code before and after <?php ?> tags. I have no other clue about what's happening.
    If you want to know that the problem is with you editor or not, copy the orginal plugin file from the *.zip file into the plugin folder and check the admin panel for the plugin. if it is there, then the problem is with your edited version of the plugin.

  22. jeremycherfas
    Member
    Posted 9 years ago #

    I did exactly as you said. Downloaded the zip again from your site, unzipped it and uploaded it to wp-content/plugins without touching it.

    It does not show up in plugin management.

    Very odd, I know.

  23. blazzinmatt
    Member
    Posted 8 years ago #

    Sorry for bumping an old post, but I can't get the images to show up. It just doesn't show any images. Any clue? I did everything exactly and I am running WP 1.5 and PP 1.4

  24. blazzinmatt
    Member
    Posted 8 years ago #


  25. 54m
    Member
    Posted 8 years ago #

    I have exact the same problem. The plugin does not show any images...

  26. Could it be that this plugin was written for 1.2?

  27. blazzinmatt
    Member
    Posted 8 years ago #

    Probably was. Does anyone have a PixelPost plugin for WordPress 1.5?

  28. submo6
    Member
    Posted 8 years ago #

    Does anyone know how to get this plug-in working? I am currently running WordPress 1.5. The link to the plug-in is no longer working... :( ... I recently found pixelpost and really enjoy it, and would love to be able to view the recent photo added.

    I did'nt mean to bump such an old topic. I did'nt notice the date until after I had pressed Post.

  29. chanzero
    Member
    Posted 8 years ago #

    i'd also like to know the status of this plugin? does anyone have pixelpost working with wp?

  30. raminia
    Member
    Posted 8 years ago #

    Version 1.1 released!
    - Funny! It worked for everybody else but not me?
    Sorry! it was my fault:
    + It worked for people who didn't changed the default date format of Pixelpost. 'cause in my code instead of using a fixed date format it was refering the the configured date format. It was trying to compare 01 to Jan and it doesn't underestand! Actually it only underestands something like 01 < 02 not 01 < Feb!

    Latest Bug Report:
    # Version 1.0: more descriptive reports on errors. a bit clean up.
    # Version 1.0: more UTF-8 compatible!
    # Version 1.1: A big bug with date format that was making the plugin to not function is fixed. If you tried this plugin and it didn't work for you before you may try it again and it should work!

    Dload Link:
    http://weblog.raminia.com/wp-hacks

    btw,
    It's compatible with WP 1.5, 2.0,
    It's compatible with Pixelpost 1.4.x , 1.5

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.