![]() |
Clicking uninstall... This thing works to a degree, but too many bugs and it really slows down the thread loading for some reason.
Thanks anyway. |
works great for me thanks
however the drop down box seem to appear over the image after its been expanded - weird ? |
Yeah, bit too buggy. I'm clicking uninstall. But it's a great idea...
|
Another way to check if the file linked exists ins another function (i think you can use it in other linking, too)
Code:
//this function checks a link at 404 error Code:
// this is only called by handle_bbcode_img I will attach the GERMAN images at this post. Just put the to you /forum/images/misc/ folder (or whatever place you specified) |
Kinda a lame hack IMO. It should check the users resolution before deciding to shrink the image or not. Basically this hack doesnt make sense for anybody that has a liquid layout and the width of your forum depends solely on the users resolution. :(
|
Hi,
I just installed it, but vB 3.5.4 looks a little bit different. I had to change the code in includes/class_bbcode.php. The exact code that has to be replaced it there, but when trying to add a new thread I'm forwarded to an empty page. Any idea about it'll work with vB 3.5.4? Sven |
Dimitrix, I am using this hack and even though it works as it should (I have modified it to suite my needs), I am still occasionally running in the need for a delay. It happens only when there are too many missing pictures in a post.
Could you please let me know on how you implemented the delay you mentioned here: https://vborg.vbsupport.ru/showpost....1&postcount=27 |
A friend of mine sent me this code that invision users can use to resize images inline (images hosted elsewhere obviously).
Is there ANY way we can get this to work as a custom bb code for vbulletin? I don't understand the code, but I'm sure someone with more coding skills can figure it out. Here's the code: Code:
<!--=== *** START RESIZED IMG *** ===--> |
I am running vB 3.0.14, so I know this works in that version, I am not sure how 3.5 or 3.6 differ from the older versions, but here is a simpler method to handle this issue.
In your functions_bbcodeparse.php file, find this: Code:
function handle_bbcode_img_match($link) Code:
function handle_bbcode_img_match($link) You need to create two small images, as shown here: https://vborg.vbsupport.ru/external/2006/11/2.gif and https://vborg.vbsupport.ru/external/2006/11/3.gif Put these images in your images/misc directory and you are done. |
Well after we run the above for a while, the delay it imposes on a page full of images make it undesirable.
I came up with a hack to check the images size during the posting of a message. If one image is larger than the specified file, then the message is not posted and an error is shown. If someone is interested, I can post it as a new hack, but since this is for vB 3.0.xx I am not sure if there is any interest. |
All times are GMT. The time now is 04:17 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:
|