Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Signature Image Size Limiter Details »
Signature Image Size Limiter
Mod Version: 1.0.2, by Chris M (Member) Chris M is offline
Developer Last Online: Feb 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.0 Rating: (1 vote - 5.00 average) Installs: 316
Released: 15 Jun 2005 Last Update: 22 Oct 2005 Downloads: 164
Not Supported Uses Plugins  

Installation Instructions

Step 1: Upload the .xml file to the Product Manager
Step 2: Alter the plugin code variables to reflect your signature image limits in height and width
Step 2: Click INSTALL

Credits
Zero Tolerance - For helping with the regex and troubleshooting my annoying problems

Updates
1.0.1 - Nothing major, just removed some code that is not needed

To remove this without re-uploading the plugin, find in your plugin code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and remove it - I put this in there for testing purposes and forgot to remove it

1.0.2 - This is just a bug fix update

Find in the plugin code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

As always, no need to upload the new plugin if you apply the fix directly to your plugin code

Chris

Download Now

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

Supporters / CoAuthors

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
Miscellaneous Hacks HS - External Signature Image Size Limiter StrifeX vBulletin 3.6 Add-ons 105 24 Aug 2013 22:03
Quick Sig Image Size Limiter phlogiston vBulletin 3.0 Beta Releases 70 06 Jun 2005 13:24

Comments
  #2  
Old 15 Jun 2005, 16:39
M1th's Avatar
M1th M1th is offline
 
Join Date: Jul 2002
Oh w00t. Me likey!
__________________
Chamber of Secrets - The Ultimate Harry Potter Community!
Reply With Quote
  #3  
Old 15 Jun 2005, 17:43
C.Birch C.Birch is offline
 
Join Date: Apr 2002
Error: See image.
Attached Images
File Type: jpg error.jpg (44.9 KB, 1894 views)
Reply With Quote
  #4  
Old 15 Jun 2005, 17:45
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Real name: Daniel
I like this one Chris, good job!
/me clickies install
__________________
Former vBulletin.org Staff Member

Guildhead | Torhead | Wowhead
Please do not Private Message, Email or Instant Message me for Support with vBulletin or help with any Modifications to vBulletin.
Reply With Quote
  #5  
Old 16 Jun 2005, 02:10
xxskullxx xxskullxx is offline
 
Join Date: Jun 2002
Nice one! I'll definately be using this.
Reply With Quote
  #6  
Old 16 Jun 2005, 05:51
ThePimp's Avatar
ThePimp ThePimp is offline
 
Join Date: Feb 2005
Doesn't seem to work for me.
Uploaded Plugin -> Added Error Phrase -> Set Size Limits -> Visited the board and the sigs that are large are still visible, with no error.
Reply With Quote
  #7  
Old 16 Jun 2005, 06:17
Trickyphillips Trickyphillips is offline
 
Join Date: Apr 2005
Originally Posted by ThePimp
Doesn't seem to work for me.
Uploaded Plugin -> Added Error Phrase -> Set Size Limits -> Visited the board and the sigs that are large are still visible, with no error.
I believe it will only display the error, when a user is setting their signature. You'll have to use an SQL query to reset everyone's signature, and tell them that they need to change it back themselves. While they're setting it, the restrictions will apply.
Reply With Quote
  #8  
Old 16 Jun 2005, 06:24
Jagged Tooth Jagged Tooth is offline
 
Join Date: Apr 2005
Another Error

Fatal error: Using $this when not in object context in C:\apachefriends\xampp\htdocs\forum\profile.php(1170) : eval()'d code on line 23
I get that when i try to insert an image (even one small enough)
Reply With Quote
  #9  
Old 16 Jun 2005, 08:59
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Real name: Chris Murphy, BSc
Originally Posted by Trickyphillips
I believe it will only display the error, when a user is setting their signature. You'll have to use an SQL query to reset everyone's signature, and tell them that they need to change it back themselves. While they're setting it, the restrictions will apply.
Indeed - You will need to clear the signature field and ask everyone to re-write their signatures

Satan
Reply With Quote
  #10  
Old 16 Jun 2005, 08:59
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Real name: Chris Murphy, BSc
Originally Posted by C.Birch
Error: See image.
Do you have Dynamic Image Urls enabled?

Satan
Reply With Quote
  #11  
Old 16 Jun 2005, 09:01
Robert Basil's Avatar
Robert Basil Robert Basil is offline
 
Join Date: Oct 2001
Real name: Robert Basil
Does this plugin limit the images in sigs using the [img] code or something else?
Reply With Quote
  #12  
Old 16 Jun 2005, 09:04
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Real name: Chris Murphy, BSc
Originally Posted by Sportbikeworld
Does this plugin limit the images in sigs using the [img] code or something else?
This plugin searches for every instance of an [img] tag and then extracts the url in between the tags...

It then checks the size of the image the user is trying to use, and if the size is bigger than allowed, displays an error message...

Satan
Reply With Quote
  #13  
Old 16 Jun 2005, 09:16
Trickyphillips Trickyphillips is offline
 
Join Date: Apr 2005
Originally Posted by hellsatan
This plugin searches for every instance of an [img] tag and then extracts the url in between the tags...

It then checks the size of the image the user is trying to use, and if the size is bigger than allowed, displays an error message...

Satan
Suggestion: Check for multiple images, and calculate the total height and width of the images combined. This would prevent users from using two images next to eachother as a single signature.
Reply With Quote
  #14  
Old 16 Jun 2005, 09:26
Zero Tolerance's Avatar
Zero Tolerance Zero Tolerance is offline
 
Join Date: Feb 2004
Real name: Scot
Notice:

Please note that the image checker code is fully functional, and the code is correct, however bugs within the vBulletin Plugin/Hooks System is causing these errors, as it is removing slashes without adding them first, causing stuff like \ to disappear within our code.

However this bug is not consistant on all forums, so please be aware if you are getting errors, then it is the vB system itself, and not our code.

Thank you for reading,

- Zero Tolerance
Reply With Quote
  #15  
Old 16 Jun 2005, 09:32
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Real name: Chris Murphy, BSc
Update
1.0.2 bug fix released

Replace (in the plugin code):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Or you can upload the new plugin attached to the first post

Satan
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

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


New To Site? Need Help?

All times are GMT. The time now is 19:52.

Layout Options | Width: Wide Color: