I think that after converting from phpbb in posts at your forum there are links to nonexistent images (icon_lol.gif, icon_e_smile.gif, ...).
Though certainly the plugin should consider such case.





I think that after converting from phpbb in posts at your forum there are links to nonexistent images (icon_lol.gif, icon_e_smile.gif, ...).
Though certainly the plugin should consider such case.
Thanks for the quick reply...
- doh - they existed - in the old forum, but not in the bbpress. I copied the old smilies (easier than replacing all the links!) and viola! it works!...
Now, it does create thumbs, but on click lightbox is not functioning - it links to full size image:
you can see for yourself in the dev invironment:
http://wattagetraining.com/bbpress/topic.php?id=3
Thanks.
g
Insert to header.php file of your theme the line <?php bb_head(); ?> before line </head>.
thanks again - right now I am using themepress to integrate the bb theme with wp theme.
the themepress header.php has that php call in it. the wp does not. if I stick the bb call in the wp theme header, it breaks the site.
maybe I could just add the lightbox js load in the wp header?
g
how to exclude emoticons?
Greg, I noticed that you still don't have it working, but as it turned out A1ex named his plugin directory as my-plugins instead of the default bb-plugins. This is what you need to do in order to fix it and have it working. I just got it working on my site flawlessly. With a few line changes, you can get your forum working like mine with the images. demo: http://pinktofupony.com/forum
open bb-lightbox2.php and mod the following
$lightbox_2_theme_path = (dirname(__FILE__)."/Themes");
$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/";
to reflect
$lightbox_2_theme_path = (dirname(__FILE__)."/Themes");
$lightbox_style = (bb_get_option('uri')."bb-plugins/bb-lightbox2/Themes/".$lightbox_2_theme."/");
$lightbox_path = bb_get_option('uri')."bb-plugins/bb-lightbox2/bb-lightbox2/";
That's it!
doesn't work well with bb-emoticons
I'm having problems with the thumbnails.
http://gamersroute.com/forum/topic.php?id=4
Looks like thumbnails are decreasing in size.
What's happening here?
Thanks for any input.
Hi A1ex and thank you so much for your plugin.
Would it be possible to recode it so that it doesn't touch images that are below the set thumbnail size, i.e. thumbs size set to 100x100, then smilies stay as they are (no lighbox pop-up and no thumb). This would solve the problem with smilies and small images.
Thank you for your effort and time
Would it be possible to recode it so that it doesn't touch images that are below the set thumbnail size, i.e. thumbs size set to 100x100, then smilies stay as they are (no lighbox pop-up and no thumb).
That will be very nice!
I have a weird problem
when there's a lot of images in a post, they keep getting smaller and smaller
http://www.4colorrebellion.com/bbpress/topic.php?id=2#post-3
I think i've solved the problem. Find that codes between line 106-113 in "bb-lightbox2.php" file;
else
{
$ratio = $image_width/$image_height;
if ($tumb_width/$tumb_height > $ratio) {
$tumb_width = $tumb_height*$ratio;
} else {
$tumb_height = $tumb_width/$ratio;
}
and replace with this;
else
{
$ratio = $image_width/$image_height;
if ('1'> $ratio) {
$tumb_height = $tumb_width/$ratio;
}else {
if ('1'< $ratio){
$tumb_height = $tumb_width/$ratio;
}else{
$tumb_height = $tumb_width;
}
}
That's it! ;)
Of course before trying, delete all files in tumbs folder.
You must log in to post.