![]() |
For those that would prefer the full sized image to show up in the article display (ie: post display) instead of the thumbnail when using the ATTACH bbcode do the following:
In file: includes/class_bbcode.php Around line: 1867 Find: Code:
if ($attachment['thumbnail_filesize'] == $attachment['filesize'] AND ($this->registry->options['viewattachedimages'] OR $this->registry->options['attachthumbs'])) Code:
//if ($attachment['thumbnail_filesize'] == $attachment['filesize'] AND ($this->registry->options['viewattachedimages'] OR $this->registry->options['attachthumbs'])) Not really sure how to integrate this or make a plugin out of it, feel free to enhance it. |
Quote:
|
Quote:
|
Quote:
On showthread.php I tested Table BB Code and it worked fine. |
Quote:
Thanks! Looks like I'll be upgrading after all. ;) |
Quote:
I got another problem. On the article.php page, for some reason when the thumbnail is displayed it also shows the attachment id next to it. This ONLY happens if I use the paper clip to add an attachment inline. If I add just normal attachments it grabs the first one and displays the thumbnail fine. Does that make sense? For the life of me I can't figure out why it's doing it. |
Hey I got an enhancement for you Banana... Would it be possible to move the similar articles listing so it's underneath the Author bio? Maybe this can already be done and I just missed it...
|
Quote:
|
I've reverted those templates, reupped the articles.php file and VB files, it's still doing it. When I look at the contents of the $thread array $thread[preview] looks like this:
Code:
[preview] => [ ATTACH ]840[ /ATTACH ] Body of the text is here |
I love this mod! Little issue with IE8, but a gem!
|
All times are GMT. The time now is 12:19 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|