Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Maximum Embedded Image (File) Size Restriction by BOP5 Details »»
Maximum Embedded Image (File) Size Restriction by BOP5
Mod Version: 1.5, by BirdOPrey5 (Moderator) BirdOPrey5 is offline
Developer Last Online: Oct 2014 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (6 votes - 4.83 average) Installs: 17
Released: 15 Apr 2012 Last Update: 03 May 2012 Downloads: 48
Supported Uses Plugins Translations External Content  

Brought to you by BirdOPrey5
www.Qapla.com


Version 1,5 - Fixed new bugs - Added yes/no option for edits
Version 1.4 - Simplified code - should fix any remaining issues
Version 1.3 - Fixes big with WYSIWYG Editor on New Threads in VB 4.1.4 and lower (Including 3.x)
Version 1.2 - Fixes "Cannot Re-declare function" error with some mods
Version 1.1 - Better support for CKEDITOR in VB4
Version 1.0 - Initial Release

Live Demo:Max Image Size Restrictions Demo at Qapla.com

The purpose of this mod is to make forum pages load faster. Too often users don't care how big (in bytes) the images they link to are. If you have an image resizer all they care about is that it fits on the page but not how long it may take to download. If you have a post with several or even dozens of these images you can quickly create a slow loading page. Search Engines give priority to faster loading pages so it could even be damaging SEO.

This mod will automatically check every image being embedded via [IMG] BBCode. If the file size is over a value you specify the mod will automatically change the [IMG] code to a [url] link instead. You can choose to include the file size (in kB) next to the link and you can specify the text of link as well- or simply use the URL as the link text. Go to the mod settings after installation to set these options.

Note- Changes are made at the time the post is submitted or edited so it will not change existing posts.

Should be compatible with all VB 3.6.x +

Please Mark as Installed if you use this.
Donations Always Appreciated.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	max_img_size_post_vb3.jpg
Views:	222
Size:	140.8 KB
ID:	137800Click image for larger version

Name:	max_img_size_post_vb4.jpg
Views:	196
Size:	85.2 KB
ID:	137801Click image for larger version

Name:	max_img_size_settings.jpg
Views:	139
Size:	185.5 KB
ID:	137802

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Maximum Embedded Image (File) Size Restriction by BOP5 BirdOPrey5 vBulletin 4.x Add-ons 11 22 Jul 2013 15:04

Comments
  #2  
Old 15 Apr 2012, 23:31
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Reserved.
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #3  
Old 16 Apr 2012, 12:35
v123shine v123shine is offline
 
Join Date: Sep 2008
save bandwidth...thank you BOP5
__________________
Games
Reply With Quote
  #4  
Old 16 Apr 2012, 18:00
Sayid Sayid is offline
 
Join Date: Jan 2009
Very brilliant and simple mod,
Reply With Quote
  #5  
Old 19 Apr 2012, 06:35
home9000 home9000 is offline
 
Join Date: Aug 2005
Thanks BirdOPrey5 for your effort


I just try it but I get this error :


Fatal error: Cannot redeclare getsizefilebop() (previously declared in /home/dor/public_html/BB/includes/class_dm_threadpost.php(744) : eval()'d code:38) in /home/dor/public_html/BB/includes/class_dm_threadpost.php(744) : eval()'d code on line 4

Last edited by home9000 : 19 Apr 2012 at 08:26.
Reply With Quote
  #6  
Old 19 Apr 2012, 11:37
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by home9000 View Post
Thanks BirdOPrey5 for your effort


I just try it but I get this error :


Fatal error: Cannot redeclare getsizefilebop() (previously declared in /home/dor/public_html/BB/includes/class_dm_threadpost.php(744) : eval()'d code:38) in /home/dor/public_html/BB/includes/class_dm_threadpost.php(744) : eval()'d code on line 4
There must be another mod reusing the same hook twice.

I added new code to prevent this error- please try version 1.2, just released.
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #7  
Old 19 Apr 2012, 16:28
ricardoNJ's Avatar
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
It does not work vB3.8.4
Reply With Quote
  #8  
Old 19 Apr 2012, 16:36
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by ricardoNJ View Post
It does not work vB3.8.4
Can I get a link to your forum? If the mod is enabled let me know what your size setting is as well.

Thanks.

I assume by "doesn't work" you mean the image just posts as normal? Or do you get an error message?
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #9  
Old 19 Apr 2012, 16:48
ricardoNJ's Avatar
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
Originally Posted by BirdOPrey5 View Post
Can I get a link to your forum? If the mod is enabled let me know what your size setting is as well.

Thanks.

I assume by "doesn't work" you mean the image just posts as normal? Or do you get an error message?

http://www.arteforos.com/showthread.php?p=106#post106


it is enabled.

Update info:

Settings is similar to yours in the link

Last edited by ricardoNJ : 19 Apr 2012 at 17:03.
Reply With Quote
  #10  
Old 19 Apr 2012, 16:55
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Sorry about that- try this new version, 1.3.
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #11  
Old 19 Apr 2012, 17:12
ricardoNJ's Avatar
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
Originally Posted by BirdOPrey5 View Post
Sorry about that- try this new version, 1.3.
I did it too, but nothing happened.
Reply With Quote
  #12  
Old 19 Apr 2012, 17:18
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
It's not going to fix old posts- did you make a new one?

I can't register at your forum to try because I don't know the answer to your verification question. I tried agua and cepillar but neither worked. I'm stumped.
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.

Last edited by BirdOPrey5 : 19 Apr 2012 at 17:25.
Reply With Quote
  #13  
Old 19 Apr 2012, 17:41
ricardoNJ's Avatar
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
Originally Posted by BirdOPrey5 View Post
It's not going to fix old posts- did you make a new one?

I can't register at your forum to try because I don't know the answer to your verification question. I tried agua and cepillar but neither worked. I'm stumped.
I sent you a PM
Reply With Quote
  #14  
Old 19 Apr 2012, 18:35
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
What is you max file size set to, exactly?
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #15  
Old 19 Apr 2012, 18:38
ricardoNJ's Avatar
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
Originally Posted by BirdOPrey5 View Post
What is you max file size set to, exactly?
I'm not sure where can I see it. Do you know where?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 23:37.

Layout Options | Width: Wide Color: