vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - CES Dynamic [IMG] Resize (Plugin Version) (https://vborg.vbsupport.ru/showthread.php?t=157428)

Charlie98902 09-22-2007 07:22 PM

I would like the prior version too. I think I'll save the older one next time for when these things happen.

xandizitxu 09-22-2007 07:58 PM

Old Version 1.1.0

Charlie98902 09-22-2007 08:20 PM

Quote:

Originally Posted by xandizitxu (Post 1344777)
Old Version 1.1.0

Thank you.

thincom2000 09-23-2007 04:29 PM

Okay I figured out the style-breaking bug in 1.2.0. What happens is that when the post is first parsed (so when you click Update Counters or Post Preview) the post will display correctly, because the bb-code parser will be run. Afterwards, however, if the post was cached, it will not run the bbcode parser and will skip an important regex. This will result in broken tables and a Javascript hang.

The Javascript breaks if the post is cached because the onload triggers aren't set. So the fix would be disabling post caching for posts with images. At this point, the mod would mean slowing things down a little bit... for me it doesn't make a difference because I had to disable post caching for other reasons, but I will upload both 1.2.1 and the old 1.1.0 (thanks to xandizitxu) so users can choose.

xandizitxu 09-23-2007 05:20 PM

As always I will test it ^^

Your mod is great ^^

mrghostno1 09-23-2007 09:02 PM

Still not working for me. A se of images like this:

[URL=http://www.freeimagehost.eu/image/6fb2a31080016][IMG]http://thumbnails.freeimagehost.eu/109/6fb2a31080016.gif[/IMG][/URL] [URL=http://www.freeimagehost.eu/image/1bc5b71080017][IMG]http://thumbnails.freeimagehost.eu/109/1bc5b71080017.gif[/IMG][/URL] [URL=http://www.freeimagehost.eu/image/070cf61080018][IMG]http://thumbnails.freeimagehost.eu/109/070cf61080018.gif[/IMG][/URL] [URL=http://www.freeimagehost.eu/image/b44a591080019][IMG]http://thumbnails.freeimagehost.eu/109/b44a591080019.gif[/IMG][/URL]


Simply doesn't show, they all disappear, even after post rebuild and/or post editing.
As they are smaller then the 80% limit I entered, i though they wouldn't be touch.
If the images are posted alone, without URL linking, they show ok. Even with the "Disable Link to Original Image" box empty.

Also, not sure if it was after i clean the "Disable Link to Original Image" box, but a larger image just got CROPED, insted of resized.

thincom2000 09-24-2007 10:55 AM

Well, first I should mention that your URLs will be conflicted now that you completely emptied the "Disable Link to Original Image" field.

The images disappearing usually happens when there is a bug in the Javascript. The reason it would happen even to unresized images is because the Javascript decides to resize or not, and if the Javascript is broken... Have you tested any images that had to be resized?

I am not having any more issues on my install, matching your settings. Please link me to the page you described.

yoyoyoyo 09-24-2007 11:28 AM

I went to look at pictures that had been resized with the previous hack from TECK and they were not resized. I went in to edit the posts containing the images and instead of the BB code I saw html (I do not allow html in posts).

version 1.2.1 does not work for me but version 1.1.0 does seem to work fine, except when someone goes to edit a post the html is displayed like this:

PHP Code:

 <div id="http://images.buycostumes.com/mgen/merchandiser/19879.jpg"><img src="http://images.buycostumes.com/mgen/merchandiser/19879.jpg" border="0" alt="" class="resizeimage" onload="resize_image(this, 'http://images.buycostumes.com/mgen/merchandiser/19879.jpg', true);" /></div

instead of bb code like this:

PHP Code:

[img]https://vborg.vbsupport.ru/external/2007/09/14.jpg[/img] 

so for now I will go back to the version from TECK and the file edits, since that was working fine.

AndyA 09-24-2007 12:49 PM

This mod doesn't seem to work fully for me, it resizes the images but doesn't display any resize notification and it doesn't open the full size image. I've checked all the settings.

P.S tested in Firefox and IE
vb 3.6.8

thincom2000 09-24-2007 02:39 PM

I am not having ANY issues on my install. If you are having problems, please link me to your test thread or I will be unable to help.

SliceofLife 09-26-2007 07:09 AM

There were two xml files included. Am I supposed to install both of them?

I installed the 121 file, and this isn't working. It's showing previously posted images as URL links. Not what I wanted. :(

SliceofLife 09-26-2007 07:12 AM

I uninstalled old version, and installed other file 110 or whatever it was, and you have to reupload images in order for it to work...

thincom2000 09-26-2007 10:42 AM

Or you could just rebuild the post cache.

AndyA 09-26-2007 02:55 PM

OK I'll need to install it again.

Charlie98902 09-27-2007 11:53 AM

I still am getting the stop script error with the latest version. If needed this post has the pic of the error.

https://vborg.vbsupport.ru/showpost....7&postcount=78

zagman76 09-29-2007 10:30 PM

Quote:

Originally Posted by Charlie98902 (Post 1348158)
I still am getting the stop script error with the latest version. If needed this post has the pic of the error.

https://vborg.vbsupport.ru/showpost....7&postcount=78

The same thing is happening to me...

zagman76 09-30-2007 12:37 AM

it is also causing all of my sigs to align up-and-down, even though they might be formatted for left-to-right...(i'm running v110

Charlie98902 09-30-2007 02:09 AM

I did try rebuild post cache also with the same issues.

thincom2000 09-30-2007 03:14 AM

Quote:

Originally Posted by zagman76 (Post 1349928)
it is also causing all of my sigs to align up-and-down, even though they might be formatted for left-to-right...(i'm running v110

This was fixed in 1.2.1, but no one has linked me to a thread that was having problems. I can't duplicate the issues people have posted here just because my 1.2.1 install has worked flawlessly, so for the THIRD TIME people, if you are having problems with 1.2.1, you need to send me a link.

parad0xx 09-30-2007 08:32 PM

Installing this and updating my post and sig counters caused a MySQL error and now my entire forum is unaccessible and ALL my phrases are gone.

I just had to pay $60 so I could get phone support to resolve this mess. You should learn to test your work before causing people this much grief.

AndyA 09-30-2007 08:45 PM

Quote:

This was fixed in 1.2.1, but no one has linked me to a thread that was having problems.
In my case it's because I don't want to leave a mod running on my forum if it's not working correctly. I've installed this twice but still have the same issues, i.e it resizes but doesn't link to a full size image or show any notiication that the original image has been resized.

Don't get me wrong, I appreciate your hard work and I really would like to see this working on my forums.

thincom2000 09-30-2007 09:45 PM

Today was the first time I encountered a bug using 1.2.1. If an IMG is quoted with this installed, it is likely that you will get the "busy script" error. I'm not exactly sure why this happens, but I implemented a workaround so that IMG turns into URL in this case.

Again the stop script error only occurred for me if the IMG was inside QUOTE. If you had 1.2.1 and you can confirm other situations that cause the stop script, let me know immediately.

Computer Guru 10-04-2007 08:50 PM

Thanks for your plugin.

It is working fine on my vBulletin 3.6.8 after rebuilding post and sig caches... HOWEVER

I'm getting the new line between images problem with the latest version. Reading through this thread, it was supposedly fixed a couple of pages back? IS there a solution for this now w/ the latest version?

Thanks!

thincom2000 10-05-2007 06:45 PM

There are 2 versions of the product file in the ZIP. 1.1.0 is the previous version with the new line issue. Version 1.2.1 is the version with this fix, but several people have had other problems with this version that I haven't been able to reproduce.

Computer Guru 10-09-2007 12:44 PM

I'm running 1.2.1, but have the extra space problem.

wolfe 10-09-2007 01:06 PM

its not resizing the images in my posts.

Computer Guru 10-21-2007 02:48 PM

Is this mod still supported? 1.2.1 does not fix the extra spacing problem.

thincom2000 10-21-2007 03:06 PM

Send me a URL so I can see what is going on. I have a new version but I haven't changed anything except improve performance.

columbusgeek 10-21-2007 07:07 PM

V1.2.1 did some weird offscreen fluid thingy on my install. Thanks for including 1.1.0. It works exactly how I wanted.

jags2ooo 10-22-2007 02:26 PM

THis mod doesnt seem to work, The images that are supposed to be resized are erased instead all you see is a url to the image. dang would have been awesome if it worked

jags2ooo 10-22-2007 02:36 PM

it works now had to rebuild signature cache, you should put that in the readme :rolleyes:

Awesome mod great job!! after all these months my forums can look organized again, so many girls with there Big huge Pink sigs >< was so annoying.


But its cropping the images instead of resizing.

thincom2000 10-22-2007 07:14 PM

If it's cropping then the Javascript isn't working. Check if you have any Javascript errors with the mod enabled. Then check with the mod disabled. Let me know what you find.

Screamin'04 12-07-2007 01:39 PM

Is there any way to make this work only for signatures?

thincom2000 12-07-2007 11:50 PM

Quote:

Originally Posted by Screamin'04 (Post 1396810)
Is there any way to make this work only for signatures?

Edit the plugin called "Dynamic IMG Replace" at bbcode_parse_start.

Find the following line:
PHP Code:

if ($this->registry->options['ces_dynamicpic_enabled']) 

Replace with:
PHP Code:

if ($this->registry->options['ces_dynamicpic_enabled'] AND $forumid == 'signature'


PimvanJ 12-24-2007 06:50 PM

Great hack thanks a lot.
Clicks install :D


And...future request: auto-adding a watermark.

Russ_T 12-24-2007 08:01 PM

Hmmm gives me a bunch of errors on a clean install...

Thread, (image restricted to 900px, but in fact 1280px wide)

http://www.zclub.net/forum/showthread.php?p=98508

I'll start working through the errors best I can and get back with anything I learn.

Cheers


Just to update: I looked for JS errors with it enabled and disabled and apart from the image being cropped there were no differences between the two. No extra errors or anything :(

Russ_T 12-24-2007 08:15 PM

Hi,

In dynamicpic_script

<style>

should be

<style type="text/css">

:) Other than that all the errors I had were inherent in vb. I don't get any JS errors but there is no linking to the image, disclaimer part to image, and the image is cropped in firefox and cropped in IE7 but still forces the window to stretch (as if it weren't cropped).

It does complain that it thinks the -- in the for loop is supposed to be the end of the comments for that JS...

for (k = dyn[i][3].length; k >= 0; k--)

Which I changed to

for (k = dyn[i][3].length; k >= 0; k = k - 1)

To keep it quiet for now. There must be a better way around this?


Any ideas please? This mod looks SOOO good on talkaudio.co.uk I must have it for my forum :)

Russ_T 12-24-2007 08:29 PM

LOL just read back through the past few posts, tried 1.1.0, it just hangs my firefox if I don't cancel the script :)

Onwards with 1.2.1 then :)

Daky 02-04-2008 06:22 PM

Is this script working with 3.7?

luxmail 02-08-2008 11:34 PM

Best mod ever. Great job. Installed !!!


All times are GMT. The time now is 07:56 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01284 seconds
  • Memory Usage 1,825KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete