Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by Castel Castel is offline
Developer Last Online: Jul 2011 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-07-2001 Last Update: Never Installs: 93
 
No support by the author.

Yes, another signature limit hack. But with a little twist . After installing PPN's excellent Sig Editor hack, I felt the "suspended" signature option needed to have an enforcer of some sort. I know from experience that when I edited signatures in the past (mostly for being rediculously long) the user just turns around and puts the old sig back up.

I search the board and one of the old signature limits hacks has been removed by the author and others were outdated, so here we go.

This hack will limit the line breaks in the signature but also splits the image limit setting in 2, so you can have different image limits for posts and signatures. So the smilie limit in posts doesn't have to suffer if you are trying to curb signature image abuse , and I believe it has been requested here as well in the past.

Both settings can be configured in the Admin Control Panel. Don't forget to back up all the goods before installing

Show Your Support

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

Comments
  #2  
Old 11-07-2001, 11:54 PM
Castel Castel is offline
 
Join Date: Oct 2001
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot of the settings in the admin control panel
Reply With Quote
  #3  
Old 11-08-2001, 01:14 AM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to do a size-check on the images they have in their signature, and limit the size?
Reply With Quote
  #4  
Old 11-08-2001, 02:14 PM
Frank-kun Frank-kun is offline
 
Join Date: Nov 2001
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm...a bit odd...I installed the hack and it seemed to work all right, but when I tried to edit my profile and push the sig limit, it gave me a blank template - i.e. there was no fetching of the template text to put in. I've attached a screenshot (I cropped it just to show the kind of screen I'm getting).

Any idea on what I might have done wrong? As far as I know I think I did everything correctly.

EDIT: Well, I fixed the problem temporarily by making the function to fetch the template point to the "toomanyimages" template, which I know works. This makes me think I did something wrong when making my templates, but I can't figure out what. I'm all working now, but if someone could give me insight on what I may have done wrong with creating these new templates, that would be great.

BTW, great hack ^_^
Reply With Quote
  #5  
Old 11-09-2001, 09:19 PM
Castel Castel is offline
 
Join Date: Oct 2001
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe you made a typo in the name of the template when you created it?
Reply With Quote
  #6  
Old 11-09-2001, 11:32 PM
Kumaro's Avatar
Kumaro Kumaro is offline
 
Join Date: Oct 2001
Location: T.O
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack installed and worked perfectly! Great Hack! Thanx
Reply With Quote
  #7  
Old 11-11-2001, 01:23 AM
White Chocobo White Chocobo is offline
 
Join Date: Oct 2001
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I accidently installed this twice. So now there's 2 extra rows for the settings. Is there a way to fix this? Like uninstall or something?
Reply With Quote
  #8  
Old 11-11-2001, 01:32 AM
Kathy's Avatar
Kathy Kathy is offline
 
Join Date: Nov 2001
Location: Texas, ya'll
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This worked great! I installed this and managed to get the templates created and everything working. Thanks!

I've needed a way to limit the signatures and images. I appreciate this hack alot!
Reply With Quote
  #9  
Old 11-11-2001, 10:39 AM
Castel Castel is offline
 
Join Date: Oct 2001
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by White Chocobo
I accidently installed this twice. So now there's 2 extra rows for the settings. Is there a way to fix this? Like uninstall or something?
Easiest way woudl probably to remove the duplicates from the setting table using phpMyAdmin
Reply With Quote
  #10  
Old 11-17-2001, 06:59 PM
Brian Cruz's Avatar
Brian Cruz Brian Cruz is offline
 
Join Date: Nov 2001
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack! I got it working perfectly on my forums.

I have a question though... is there a way to put a character limit on each line in the signature? I'm afraid that people will try to get around the line limit by having hundreds of characters on each line.
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 01:14 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.05869 seconds
  • Memory Usage 2,286KB
  • Queries Executed 23 (?)
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
  • (1)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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