Welcome to the private homepage of Johannes Jarolim, Salzburg, Austria, Europe. Willkommen auf der privaten Homepage von Johannes Jarolim, Salzburg, Österreich.

YAPB Downloads

Current version

Yet-Another-Photoblog on WP-Plugins.org
for WordPress 2.5 and greater
ZIP-File, hosted on WP-Plugins.org

YAPB => WordPress Attachment Migration

You want to stop using YAPB, but your images don’t appear as attachments so you would have to reupload all of them again?

Don’t search no longer – even if i’m sorry to see you go, i’m also happy to help you to leave YAPB.

Just download the YAPB to WordPress Migration plugin:

After upload and activation, go under “tools/YAPB Migration” and press “start migration”.

Yet-Another-Photoblog-Migrator-1.2.zip
updated 2015-09-14
tested on WordPress 4.3
ZIP-File, 55.8 KB

Older versions

If you’re using an older version of WordPress (please be adviced to update soon) you may download one of the following versions. Please mention that those version are deprecated.

Yet-Another-Photoblog-beta-1.7.4.zip
for WordPress 2.3.2 discontinued
ZIP-File, 714 KB
Yet-Another-Photoblog-beta-1.5.2.zip
for WordPress 2.1.x and 2.2.x discontinued
ZIP-File, 480 KB
Yet-Another-Photoblog-beta-1.3.1.zip
for WordPress 2.0.x discontinued
ZIP-File, 314 KB

Installation

The installation consists of three parts: Upload, setting a directory permission (on unix/linux systems) and activation of the plugin.

Upload the files

  1. Unzip the content of the zip-file into an empty directory
  2. Upload the yapb-directory directly into the wp-content/plugins folder of your wp-installation

Set a directory permission
(only on YAPB version < 1.9.14)

Notice: Deprecated since YAPB 1.9.14 – YAPB tries to create a cache directory under wp-content/uploads. You don’t need this on windows systems (or you have to wrestle with the windows directory permissions).

  1. The used open source thumbnailing engine phpThumb needs one directory access for storing its cache files. Set the permission of the directory wp-content/plugins/yet-another-photoblog/cache/ to 777.

Activate the plugin

  1. Go to admin panel / plugins and activate it
  2. Enjoy!

Contribute

Support YAPB

Do you like YAPB? Do you use it regulary to show your photos or images? Did YAPB save you time? Or you just want to give something back for the time spent to create, maintain and support YAPB? Just Donate a little ammount so i may buy a good book, DVD, etc. or just pay some server traffic. Bigger ammounts (if any) will be invested in my photo equipment of course ;-)

[[donate]]
Thanks alot from Salzburg!

Set a backlink

Yes – This plugin was released under the GPL and you’re nearly free to do all you want to do.

But i’d be pleased very much to see some backlinks to this site.

This plugin needs a lot of my spare time – So it would be a great sign of respect if you use one of these buttons (or just place a normal href) on your site:

</p> <p>#buttons { margin-bottom:10px; } #buttons tr td { margin:0;padding:0 10px 10px 0; } #buttons tr td.border { padding-top:10px;border-top:1px solid silver; }

To set a backlink, just download the button of your desire (Or have a look into the included linkback/yapb-buttons.zip) and include a link something like that in your footer.php (Or wherever you want):

<a href=”http://johannes.jarolim.com/yapb” target=”_blank”><img src=”01a.gif” border=”0″ /></a>

Feedback

Please be so kind to provide positive and/or negative feedback so i can improve this piece of code if necessary.

Since there is definitly some feedback and the pages grow and grow – I suggest you use the yapb-forum to ask questions, maybe help each other, etc.

One Hundred Fourty Nine Replies

  1. 20. March 2007, 17:16
    Comment by IhateDesign
    hi, iam a illustrator, always i want a photoblog, but is difficult to make a good design, ill try your plugin, thanks!!
  2. 3. April 2007, 13:44
    Comment by MauroDestro

    It seems that I have some problem with image size because for every image I sent the thumbnail can't be generated.

    For a small image it's ok but some restriction in apache (hosting not of my property) keep image far from visualization.


    I resolve with Flickr so I post from Flickr directly in my blog

    http://www.impelsystems.com/mauro/blog/


    In my eyes, using flickr negates the meaning behind a personally hosted photoblog. Beside of that: I'm sorry, but without the proper resources on your webhost (especial RAM) you won't be able to resize images with PHP and gdlib. But as far as i expirienced, most hosters agree to install imagemagik if asked.

  3. 28. May 2007, 14:07
    Comment by Leanne
    Upgrade instructions from previous versions would be most helpful, as well. :)
    • 29. May 2007, 07:50
      Comment by Johannes
      Hi Leanne -

      Nothing easier than that:
      If you want to upgrade to a newer version, just make sure you have the right WordPress Version and replace/overwrite the existing YAPB-files on your server. Finally deactivate and activate the plugin - Done. If you upgraded from RC1 and below, make sure you set the new cache dir to 777 - As in the installation instruction.

      Greets from Salzburg,

      Johannes
  4. 30. May 2007, 22:16
    Comment by Leanne
    Thanks, Johannes!

    Wanted you to know I just finished up another custom design using YAPB - Love love love your code!
  5. 26. June 2007, 10:21
    Comment by bigfoot
    Hi there,

    your plugin looked like the exact tool I needed, so I gave it a try.

    I unpacked the file, and copied the whole contents (files and subfolders) of the yet-another-photoblog folder into /mydomain/wwwroot/wordpress/wp-content/plugins directory. Since I'm using a windows based system, I took no further action.

    Then I activated the plugin via the siteadmin, and then... my blog is no longer accissible and only gives the following error:

    Fatal error: require_once() [function.require]: Failed opening required '' (include_path='.;D:\PHP\PHP5\pear') in D:\home\g-online.info\wwwroot\wordpress\wp-content\plugins\includes\YapbConstants.script.php on line 8

    Any ideas on how to reanimate my blog AND get your plugin to work?

    Kind regards,
    bigfoot
    • 26. June 2007, 10:36
      Comment by Johannes
      Hi bigfoot -

      First of all: I didn't test YAPB on PHP5. All my installations run on PHP 4.x - Secondly: To reanimate your blog just delete all YAPB-files on your webhost. Then go to the YAPB-forum (http://johannes.jarolim.com/yapb-forum) and tell me more about your installation: WordPress Version, YAPB Version, URL to the blog so i can see the error by myself.

      Greets from Salzburg,

      Johannes
  6. 1. July 2007, 11:58
    Comment by Linda Dufresne
    Hi,
    I was excited when I read the description of YAPB and was hoping this one would finally work. Alas, same problem as every other photo plug-in I've tried...

    "Plugin could not be activated because it triggered a fatal error."

    I followed instructions above (including CHMOD of cache directory) before trying to activate.

    Any ideas? That's such a generic error...tried Wordpress support and it seems quite a few are experiencing same problem.

    I'm using version 2.2.1

    Thanks!
  7. 26. July 2007, 18:04
    Comment by AndrewF
    Hi,

    I’m trying to install the YAPB pluging, and have been hitting a problem whereby the YapbThumbnailer.php is only spitting out the text "no log messages" (rather than an image). (Of course, it took me a while with broken images before realising what was what was happening!)

    It seems that the YAPB plugin is storing the wrong URL for my images in the database ( table 'wp_yapbimage'). My Wordpress uploads directory is "../images". My Wordpress installation is in at "WEB-ROOT/wordpress", therefore the images are being uploaded to "WEB-ROOT/images". The images are uploaded correctly, but they are not being correctly retrieved.

    I think the '..' is confusing YAPB!

    I’ll try to track down the fault and post a fix, but you’ll probably be able to do this quicker than I can.

    Best regards,

    –Andrew F
  8. 28. July 2007, 14:27
    Comment by GJ
    Hello,

    I have installed this plugin like described in the readme.
    I also have made a posting, and I wanted to add a picture in it, so I used YAPB to post the picture in the writing of the post.

    I tried this a couple of times, but a picture doesn't show up, and even the counters on the options page of YAPB also says that I haven't posted any pictures... What could be wrong? :(
  9. 28. July 2007, 14:36
    Comment by GJ
    I also gave the cache folder a chmod of 777, so that could also not be the problem... ;)
  10. 5. September 2007, 19:51
    Comment by sbro
    Fatal error: Call to undefined function wp_enqueue_script() in /home/hijackma/public_html/WordPress/wp-content/plugins/yet-another-photoblog/Yapb.class.php on line 663
  11. 7. September 2007, 10:29
    Comment by Tomislav
    Hi JJ,
    great work with this plugin, but I'd like to suggest you one small change. My website crashed already two times after installing YAPB. Finally, the cause was the "lib" folder inside the plugin folder tree. Web administrators often set "lib" folders as security threat and Apache block the site after several attempts to reach the user created "lib" folder.

    Check this server message:
    mod_security-message: Access denied with code 406. Pattern match "/lib/" at REQUEST_URI

    So, rename "lib" to "util" and you'll get more happy Yapb users :)
    Best,

    Tomislav
  12. 28. September 2007, 15:52
    Comment by endless
    On the 2.3 version your plugin gives an DB error:

    WordPress database error: [Table 'weblog.wp_categories' doesn't exist]
    SELECT * FROM wp_categories ORDER BY cat_name
  13. 29. September 2007, 13:18
    Comment by Chris
    Just a heads up... YAPB 1.5.2 is incompatible with Wordpress 2.3, I had to disable it to allow WP to load without throwing PHP errors.
    • 3. October 2007, 11:06
      Comment by Johannes
      1.6 (released yesterday) is compatible.
  14. 29. September 2007, 17:54
    Comment by Jens Christian
    I was looking forward to see the blog on my website, but get this error. I have been looking for the construct, but i too much of a newbee to know what to do. I have also looked through your forum, and still no sollutions.

    Fatal error: Yapb::require_once() [function.require]: Failed opening required '' (include_path='.;C:\php5\pear') in D:\home\jcfnetdk\www\wordpress\wp-content\plugins\yet-another-photoblog\Yapb.class.php on line 230
    • 3. October 2007, 11:08
      Comment by Johannes
      Sorry, YAPB is tested on PHP4. Maybe you're PHP5 installation doesn't allow the use of the function "realpath" ? YAPB depends heavily on the use of that function.

      Greets from Salzburg!
    • 7. November 2007, 21:55
      Comment by Jeff
      I had the same error and just figure it out. I uploaded YAPB with converting filenames to lower case. Make sure you have on your site file named Yapb.class.php, not yapb.class.php.
  15. 5. October 2007, 18:52
    Comment by Drew
    Thanks for the upgrade to 2.3. It's much appreciated.
    • 6. October 2007, 08:34
      Comment by Johannes
      And thanks for your donation - It's much appreciated!
  16. 9. November 2007, 00:21
    Comment by Ria
    When I try to activate the plugin, I get the following error message:
    Fatal error: Call to undefined function: get_categories() in /home/XXXX/XXXX/wp-content/plugins/yet-another-photoblog/Yapb.class.php on line 915
  17. 9. November 2007, 08:02
    Comment by Ria
    Hi,

    I sent a comment yesterday with the error code but I don't see the comment this morning. After I posted the comment, I checked my blog again and found that I got the same error message for every access to my site! I couldn't even get to the WP admin pages to check the YAPB status. In consequence, I deleted YAPB from my site, and my blog came back safe and sound.

    I'm running WP version 2.0.2.

    Thanks for any help; I am very interested in using your plugin.

    Ria
    • 9. November 2007, 08:08
      Comment by Johannes
      Hi Ria -

      To run the newest version of YAPB you have to use WordPress 2.3.

      Greets from Salzburg,

      Johannes
  18. 10. November 2007, 11:29
    Comment by Ria
    OK, thanks for that clarification. I've upgraded WP and YAPB seems to be installed correctly. I look forward to seeing what it can do.
  19. 15. November 2007, 17:47
    Comment by RattodiSabina
    Hi, just a simple question. Can i specify a different folder where to set the write/read/execute ?
    My hosting cant permit to specify a folder different than the PUBLIC.
    Thanks in advance and have a good work.

    RattodiSabina
    • 15. November 2007, 20:02
      Comment by Johannes
      Right now, it's not possible to do that over the options panel - But you may have a look into the file includes/YapbConstants.script.php (line 24)

      Hope that helps!
  20. 18. November 2007, 22:13
    Comment by Terry
    re: WordPress database error: [Table 'mydbname.wp_yapbimage' doesn't exist]
    SELECT * FROM wp_yapbimage WHERE post_id = 9.
    Hosting on servage.net (apache and mysql are located on diferent servers, I used your diag php which ran clean - however on checking the DB via phpmyadmin, I discover "wp_yapbimage" table is missing. Please can you email me it's setup as I can create Table manually, or if you need futher diag info. please email me directly. Rgds Terry. Note YAPB=1.6.1 beta WP=v2.3.0.
    • 20. November 2007, 23:37
      Comment by Michael Commins
      I'm also getting the "wp_yapbimage" table error message. Please, if you can, email help for creating the table manually.
  21. 19. November 2007, 17:31
    Comment by Jimbo
    I've been running YAPB on WordPress 2.1 for sometime with great success!!! But now want to upgrade to WordPress 2.3 and your latest YAPB update. My first attempt was a disaster. I upgraded to WordPress 2.3, but that deleted the YAPB tables from the database - how do I upgrade to WP 2.3 and the latest YAPB without blowing away my existing YAPB data?
    • 20. November 2007, 08:17
      Comment by Johannes
      Hi Jimbo -

      First of all - YAPB doesn't delete it's table. never. If you want to upgrade from WP 2.1 to 2.3.1, please follow the steps mentioned here:

      http://codex.wordpress.org/Upgrading_WordPress

      Hope that helps!
      • 20. November 2007, 17:30
        Comment by Jimbo
        Johannes:

        Thanks so much for your reply. Let me explain in more detail the problems I am experiencing in upgrading to WP 2.3 and your latest version of YAPB 1.6.2.
        These are the steps I followed:
        1) Created backup of database and WP files.
        2) Turned off the YAPB plugin.
        3) Installed the new WP 2.3.1 files.
        4) Visited /wp-admin/upgrade.php, which updated the database, but in the process deleted the wp_categories, wp_link2cat, wp_post2cat and wp_yapbimage tables.
        5) I reimported these tables into the database from my database backup.
        6) Installed the new YAPB 1.6.2 plugin files in the WP plugins directory.
        7) Get a FATAL ERROR when I try to activate the YAPB plugin.

        Any idea as to what is going on?
  22. 20. November 2007, 20:19
    Comment by irene
    Hi, I have a problem when I try to upload a picture. I got a error message saying
    Warning: mkdir() [function.mkdir]: Permission denied in /home...

    Warning: Cannot modify header information - headers already sent by (output started at /home/...

    I wonder what seems to be the issue here.
    thanks a lot

You're welcome to leave a message here

CAPTCHA Image
Reload Image