Hi,
I just wrote a little plugin to print a link wich, when clicked, display a thickbox containing code to display the current image in a forum supporting bbcode.
For an example of what I mean, check here (personal gallery) :
http://gallery.pcitron.fr/2009.05.16.Zillertal/IMG_3455HDR.jpgAt the bottom of the image, there is a little "show BBCode" link. When clicked, it displays a piece of code that can be pasted into any phpBB like forums. It will display a preview of 800px (larger side) and link to the full image.
The plugin is here :
http://blog.pcitron.fr/wp-content/uploads/2009/07/share.phpAfter activating, just use the "print_bbcode($link_text);" function in your template to display a link activating the thickbox.
Nothing really fancy, but I thought maybe someone else might find it useful

(I tried to find an existing plugin doing this, but didn't find any ...)
Comments
The direct link does not work. You might want to zip the file for download. Safari for example is not able to download it (gets an empty text file). Also an english readme would be nice (if not in the file comment) ..:-)
After I was able to take a quick look I will gladly add it to the plugins page.
http://blog.pcitron.fr/wp-content/uploads/2009/07/share.0.1.zip
I might add a proper page when I have some time, and update the plugin.
The page (added it in the plugin) : http://blog.pcitron.fr/zenphoto-to-bbcode/
Plugin v0.2 : http://blog.pcitron.fr/wp-content/uploads/2009/07/share.0.2.zip
Edit: when looking how to add an admin panel, I noticed that the documentation is a little outdated.
In the page http://www.zenphoto.org/2008/04/zenphoto-plugin-architecture/
in the section about the getOptionsSupported() function, for options of type 5 (selects) it's written that 'selector' is the value used to specify the select items, whereas in fact, it's 'selections'
Thanks for the doc note, I have corrected it.
Quick changes from preview version :
* Added: second textarea containing the same sharing code, but with exif data under the preview image.
* Added: option in the admin panel to show or not the sharing code with exifs.
* Added: option in the admin panel to generate BBCode or standard HTML.
* Fixed: I hard-coded link to my gallery. Replaced with correct path to current gallery.
Complete history and download can be found here : http://blog.pcitron.fr/zenphoto-to-bbcode/
I am running Zenphoto version 1.2.8 [4881] (Official Build).
http://www.gordon-valentine.com/images/zenphoto.jpg to see what it does.
1. There's an unclosed PHP tag in your code or
2. More likely, there's an error in the script, in which case there should be an error in your error log.
To check the error log, you can either log into the admin back-end and check from there (under the `Logs` tab) or use FTP (the log file is in the `zp-data` directory).
It's a bit hard to tell what the problem is if we can't see the page or the underlying code. A link or an excerpt of the offending code could help us see what the problem is. Or an error if you do happen to find one.
gsvalentine : if you still have the problem and see this message, feel free to contact me via my blog : http://blog.pcitron.fr (the contact page on the blog)
And I also should note that the plugin is now version 0.8, with many bugs fixed, and functionalities slightly modified (and also compatible with ZP 1.2.9 and colorBox)
All infos can be found here : http://blog.pcitron.fr/zenphoto-to-bbcode/
However I put the markup into a textbox instead of a popup, and have a few more config options.
http://code.google.com/p/wongm-zenphoto-plugins/
You can disable thickbox in the admin panel with my plugin (I should rename that in "popup" and it will use a simple text box instead. (hidden, and it shows itself when clicking the "share" link)