Used to overlay images on the current page. Lightbox JS v2.2 by Lokesh Dhakar. This plugin is based on "Lightbox 2" plugin for WordPress. Example: http://www.sablinov.ru/forums/topic/1
bbPress plugin browser »
bb-Lightbox2 (0.2)
Average Rating





Your Rating
Author: A1ex
-
Does this not work with Allow Images or bbCode? All [img] links become broken when using this plugin.
Posted: 3 months ago # -
From my side this plugin works with Allow Images, and it hadn't be tested yet with bbCode.
Posted: 3 months ago # -
In order for this to work, a couple changes need to be made to the plugin's .php file.
Find the following two lines:
$lightbox_style = (bb_get_option('uri')."my-plugins/bb-lightbox2/Themes/".$lightbox_2_theme."/");
$lightbox_path = bb_get_option('uri')."my-plugins/bb-lightbox2/bb-lightbox2/";
Change the "my-plugins" directory to match your system (probably bb-plugins).
You now need to create a directory off your system root called "/tumbs". Make sure it is writeable.
If your thumbnails are not showing up, find this line of code:
$tumbs_url = $_GET[SERVER_URI].'/tumbs/';
And replace it with a hard link to the location of your "tumbs" directory.
ie:
$tumbs_url = 'http://www.mysite.com/tumbs/';
That should do it! Works well with AllowImages.
Posted: 3 months ago # -
When I use this code:
[img]http://img142.imageshack.us/img142/7050/yugoad2la5.jpg[/img]It changes it to this:
[imghttp://img142.imageshack.us/im.....5.jpg[/imgPosted: 3 months ago # -
If your thumbnails are not showing up, find this line of code:
$tumbs_url = $_GET[SERVER_URI].'/tumbs/';---------------------
This line of code isn't in the plugin I just downloaded. However, this is:
if(!$tumbs_path) { $tumbs_path = BBPATH.'tumbs/'; } if(!$tumbs_url) { $tumbs_url = bb_get_option('uri').'tumbs/';Posted: 3 months ago # -
Citizenkeith: It seems the plugin has been updated, so the second bit of code I referenced no longer exists.
Is the plug-in working for you now? I haven't updated to this new version, but the method for finding the URL for your BBPress install is better now (so adding a hard link to your /tumbs dir shouldn't be necessary).
Anyway, try using HTML rather than BBcode. Looks like it's truncating the BBcode. Probably not parsing the brackets correctly.
Also A1ex -- nice work. Would be great to add something to the BBPress admin interface so you can specify the thumbnail size without having to edit the .php file.
Posted: 3 months ago # -
Thanks for your interest to the plugin. I will necessarily add support bbCode.
Posted: 3 months ago # -
Support bbCode is added :)
Posted: 3 months ago # -
Thanks!
Posted: 3 months ago # -
Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in /usr/export/www/vhosts/funnetwork/hosting/ksth/my-plugins/bb-lightbox2/bb-lightbox2.php on line 66
Warning: getimagesize(http://test.com/ghjghjghj.JPG) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in /usr/export/www/vhosts/funnetwork/hosting/ksth/my-plugins/bb-lightbox2/bb-lightbox2.php on line 66
Posted: 2 months ago # -
...URL file-access is disabled in the server configuration...
You must configure allow_url_fopen=on / allow_url_include=on in your php.ini to make that work.
Posted: 2 months ago # -
damn, its a freehost...
Posted: 2 months ago # -
Hi
i'm very happy with this plug but i've got one problem.
When it creates the tumbs, there is a black background ! How can i make it transparent ?
ThanksPosted: 18 hours ago #
Add a Comment
You must log in to post.