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

Reply
 
Thread Tools
Extended Signature Limits Details »»
Extended Signature Limits
Version: 1.0.3, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 09-01-2005 Last Update: 11-09-2005 Installs: 441
DB Changes Uses Plugins
Additional Files Is in Beta Stage  
No support by the author.

Extended Signature Limits

Description
This Hack allows you to control
  • Maximum Number of Lines
  • Maximum Font Size
  • Links to external Websites
  • BBCodes
  • Images (max. Number/Width/Height/Filesize)
used in Signatures.

Details
1 Product XML with 2 Plugins, 1 Setting and 17 Phrases

History
1.0.0
Initial Version

1.0.1
Replaced most Settings with Usergroup Permissions
Added Checks for Images (max. Number/Width/Height/Filesize)

1.0.2
Added information Text about applied Restrictions to "Posting Rules"

1.0.3
Fixed a problem with single/double quotes in [size] Tags that allowed bypassing the fontsize limit.

Important: vBulletin 3.5.1
If you are using vBulletin 3.5.1 and downloaded the ZIP of this Hack before 02.11.2005 21:00 CET, please use the attached bitfield XML file.

Show Your Support

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

Comments
  #362  
Old 01-31-2006, 04:34 PM
tendo's Avatar
tendo tendo is offline
 
Join Date: Jan 2006
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have edited the permissions in every usergroup to 100x100 pixels and it will still let me use a massive pic in my sig.

I don't get it.....
Reply With Quote
  #363  
Old 01-31-2006, 04:39 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then maybe allow_url_fopen is false and thus getimagesize() fails
Reply With Quote
  #364  
Old 01-31-2006, 07:20 PM
tendo's Avatar
tendo tendo is offline
 
Join Date: Jan 2006
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andreas
Then maybe allow_url_fopen is false and thus getimagesize() fails
was that directed at me? *confused look*

i have this awesome script installed properly but it isn't restricting sizes! help pls i changed every single usergroup to 100x100 pixels
Reply With Quote
  #365  
Old 01-31-2006, 07:23 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showpost.php?p=886928&postcount=367" target="_blank">https://vborg.vbsupport.ru/showp...&postcount=367</a>
Reply With Quote
  #366  
Old 02-01-2006, 03:20 PM
tendo's Avatar
tendo tendo is offline
 
Join Date: Jan 2006
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok Andreas Im sure you're busy so I'll keep this brief.

I set Allow Image Size Checking Failure to YES and tried both GD and Imagemajick6, neither worked.

Is there anything else I can try? Promoters on our board have the hugest sigs its gross.
Reply With Quote
  #367  
Old 02-03-2006, 01:52 AM
argash's Avatar
argash argash is offline
 
Join Date: Mar 2005
Location: Austin
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upon further investigation it looks like secondary usergroup permissions are what is breaking this for me. If a users primary group is given permisions to use images but one of their secondary groups is not then they are not allowed. This seems odd. anyone have ideas?
Reply With Quote
  #368  
Old 02-03-2006, 01:57 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is working as designed.
As 0 means unlimited, 0 overrides all other values.
Reply With Quote
  #369  
Old 02-06-2006, 06:50 PM
Mentch Mentch is offline
 
Join Date: Apr 2005
Location: Michigan
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having a problem when I allow 2 images. I want to allow images at a max width and height of 480X175. I understand what it is doing by combining the width's and the height's of each of the images and telling the user they are using 2 images and they are larger than 480x175 but the problem I have with this is I want to be able to use 2 images and not add up the width's of those 2 images just check to make sure that neither 1 of them are larger than 480. And still check the combined height to make sure its not larger than 175.

Any way to modify the code to do this?
Reply With Quote
  #370  
Old 02-06-2006, 11:22 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please read the previous posts where I explained why I did I the way I did it.
Reply With Quote
  #371  
Old 02-07-2006, 05:02 AM
Mentch Mentch is offline
 
Join Date: Apr 2005
Location: Michigan
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andreas
Please read the previous posts where I explained why I did I the way I did it.
I am not asking why you did it the way you did it. I am simply asking a question on how I can modify what you have made to not combine the Width of the images, but to only check that any of the images are not greater than the set Width.
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 09:13 AM.


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.05069 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
  • (2)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
  • (4)pagenav_pagelink
  • (2)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