Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Resize IMG tag with Highslide! Details »»
Resize IMG tag with Highslide!
Version: 2.1.1, by ry215 ry215 is offline
Developer Last Online: May 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.7.x Rating:
Released: 03-03-2008 Last Update: 12-18-2008 Installs: 477
Uses Plugins Auto-Templates
Additional Files  
No support by the author.

This is small hack and easy to resize large Images in [IMG] tag with using Highslide.

vBulletin Version: 3.6.x, 3.7.x and 3.8.x
File Edits: 0
New Files: Yes
Template Edits: 0
New Templates: 2
New Phrases: 11
Uses Hooks: 7
Setting: 5
Uses Plugins: Yes
Time to install: 1 minute max

New Install:

1) Upload folder highslide in your root folder.

2) Import file XMl via Manage Products ACP >> Plugins & Products >> Manage Products >> [Add/Import Product]


Upgrade from v 2.x.x:


1) Upload folder highslide in your root folder.

2) Import XML file via Manage Products
ACP >> Plugins & Products >> Manage Products >> [Add/Import Product]

Choose YES for Allow Overwrite


Upgrade from v 1.3:

1) Upload folder highslide in your root folder.

2) Reupload file includes/class_bbcode.php.

3) Import XML file via Manage Products
ACP >> Plugins & Products >> Manage Products >> [Add/Import Product]
Choose YES for Allow Overwrite

4) Revert template postbit_attachmentthumbnail.


Options:
ACP >> vBulletin Options >> HS IMG Tag Resize Options


History:
v 1.0 (04-03-2008) - First Released.
v 2.0 (30.08.2008) - Update mod
  • Don?t edit file includes/class_bbcode.php
  • Options for maxwidth and maxheight to resize
v 2.0.1 (05.09.2008) -
Update mod
  • Resize in Signature
v 2.0.2 (04.10.2008) - Update mod
  • Add Resize IMG TAG in Blog Entry
v 2.0.3 (28.10.2008) - Update mod
  • Add option for Signature (Enable/Disable)
v 2.0.4 (05.11.2008) - Fixed
  • Don't Resize on Quick Edit
v 2.0.5 (13.12.2008) - Fixed
  • Option for Signature don't work
v 2.1.0 (17.12.2008) - update
  • Update with new Highslide ver 4.0.1
  • Work fine with vBulletin 3.8.x (tested)
v 2.1.0 (20.12.2008) - fixed
  • Just fixed some bugs with IE!


Thank you for using this mod!

That?s all
Have fun!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #452  
Old 09-25-2009, 10:05 PM
theybannedme theybannedme is offline
 
Join Date: May 2008
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by peleh View Post
Hi, it worked fine here on 3.8.2

But, is it possible to resize images inside post review? When i click Reply a topic that have big pictures, and roll down the page, those pictures doesn't get resized.


Edit: Solved, there was a conflict with some BB code image resizer that i was using.

But theres another bug, Max Width and Max Height get in conflict with each other, if a set the height too high, beyond the width value, the image obey the highest value.
Same here. I basically had to give up resizing height for this reason once my members learned they could defeat it with a really tall wide image and still bust the margins of my forum. So now they spam super tall skinny images, oh well at least margins aren't busted!

I just wish there was a mod out there to prevent hotlinking gigantic (size, not dimension) images. Hate it when someone hotlinks five 30 MB images just to slow down the site.
Reply With Quote
  #453  
Old 09-26-2009, 01:03 PM
theybannedme theybannedme is offline
 
Join Date: May 2008
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found a fix to my problem above; basically I added a scrollbar to posts over 1,000 pixels tall.

https://vborg.vbsupport.ru/showthrea...17#post1890817

Demo: http://www.theybannedme.com/forums/s...8&postcount=27

Good luck everyone. Great hack!
Reply With Quote
  #454  
Old 10-01-2009, 06:05 AM
need2fart need2fart is offline
 
Join Date: Aug 2009
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to integrate this with a new BBcode tag, custom BB code tag named, [media]

I like how it replaces the [img] tag but my users complain that it messes up the guides; and well I agree it does mess up guides because you have to click on every little image.

So I want to create this a different image tag where it's a [media] tag.

Can someone help me with this?

Thank you very much for the assistance.
Reply With Quote
  #455  
Old 10-07-2009, 07:49 AM
Marek58's Avatar
Marek58 Marek58 is offline
 
Join Date: Oct 2005
Location: Poland
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Polish version


Reply With Quote
  #456  
Old 10-10-2009, 02:52 AM
need2fart need2fart is offline
 
Join Date: Aug 2009
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Guys please help how can I set the attributed for this add on to work for [media] tags instead of the default, [img] =\
Reply With Quote
  #457  
Old 10-12-2009, 10:57 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Biker_GA View Post
We've run into an issue with this, and I'm at a loss as to what's causing it.

Images uploaded to the site work just fine with the add-on. However, if you link directly to the image on another site using IMG tags, the resized image shows up in the thread, but when you click on it, nothing happens. A check of the error logs shows the following:



Yet, if you right mouse click on the image and select "Open in new tab" the image displays as it should.

Scratching my head with this one. Not sure what's causing this to act like this, and I'll be dipped if I have a solution.
I found the cause of the issue. In VBSEO, if Redirect ALL External URLs Posted in Private Forums is selected to "YES", it breaks the modification. You can right mouse click on the image and open in another window or tab, but clicking on the image doesn't work.

I'd like to see a fix for this.
Reply With Quote
  #458  
Old 10-13-2009, 01:11 AM
delfost delfost is offline
 
Join Date: Aug 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working in Vbulletin 3.8.4 Patch Level 1

Thanks
Reply With Quote
  #459  
Old 10-25-2009, 07:20 PM
jankoalek jankoalek is offline
 
Join Date: Mar 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mazinger View Post
Thanks for the hack!

How do remove the warning.gif image? I don't want extra images.
Im not a coder...but i manage to remove extra picture..


Just put this in highslide folder..
Reply With Quote
  #460  
Old 11-25-2009, 08:45 PM
mhackl mhackl is offline
 
Join Date: Aug 2006
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone tinkered with this mod and VB4.0?
Out of the box it doesn't work, but that's understandable. Anyone up to porting it for me? $$
Reply With Quote
  #461  
Old 12-09-2009, 03:06 AM
Nintendo-Daily's Avatar
Nintendo-Daily Nintendo-Daily is offline
 
Join Date: Nov 2008
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I installed this mod and it's pretty cool but maybe I'm missing something. Aren't I supposed to be able to resize the images in the post if I want to? For example, if I insert an image that is 700x400, aren't I supposed to be able to resize the image by dragging the handles and saving my post? I mean...I can drag the handles on the image while editing the post to what ever I want. Once I click save, the image returns back to it's originally posted size.

Anyone have any advice?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:29 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06924 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete