vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Signature Limit Control (Lines & Images) (https://vborg.vbsupport.ru/showthread.php?t=32242)

Castel 11-07-2001 10:00 PM

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:D

Castel 11-07-2001 11:54 PM

Screenshot of the settings in the admin control panel

DarkReaper 11-08-2001 01:14 AM

Is there any way to do a size-check on the images they have in their signature, and limit the size?

Frank-kun 11-08-2001 02:14 PM

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 ^_^

Castel 11-09-2001 09:19 PM

Maybe you made a typo in the name of the template when you created it?

Kumaro 11-09-2001 11:32 PM

This hack installed and worked perfectly! Great Hack! Thanx

White Chocobo 11-11-2001 01:23 AM

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?

Kathy 11-11-2001 01:32 AM

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!

Castel 11-11-2001 10:39 AM

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

Brian Cruz 11-17-2001 06:59 PM

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.


All times are GMT. The time now is 12:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01167 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete