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)

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 12:44 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
  • Page Generation 0.01413 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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