Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #42  
Old 09-04-2005, 06:26 AM
GoNz00 GoNz00 is offline
 
Join Date: Jan 2005
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

all working now, mabey an idiots guide included in the zip would help ?
Reply With Quote
  #43  
Old 09-04-2005, 07:46 AM
GoNz00 GoNz00 is offline
 
Join Date: Jan 2005
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so anyway, i have just restricted the admin permissions to allow no more than 5 lines of text, tested it by adding 10 lines of text, saved, checked and im displaying all 10 lines of text..

do i have to start editing the plugin code dude ?

or does it just not work..

i must say with such an undetailed readme, its hard to figure out if your not a tech wizard and just a humble lorry driver....
Reply With Quote
  #44  
Old 09-04-2005, 08:52 AM
Zain Jaffer Zain Jaffer is offline
 
Join Date: Sep 2004
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great i will use this when i move to 3.5
If you need to look for some more ideas you can check out https://vborg.vbsupport.ru/showthread.php?t=79566
Reply With Quote
  #45  
Old 09-04-2005, 09:32 AM
Mith Mith is offline
 
Join Date: Jul 2004
Location: Newcastle, UK
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The limits on my board seems to be working fine.

But I now always get an error flash up then i save a usergroup. (see attachment)

I have only just noticed this, so I am assuming it must be to do with the sig-limit plugin

EDIT: Just tested: If i remove the bitfield_siglimits.xml file.. that error goes away
Reply With Quote
  #46  
Old 09-04-2005, 11:15 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@GoNzOO
Hmm, which instructions do you need?
I thought I mentioned everything that is necessary in the Readme ...
Also, if the limit is set to 5 lines you should not be able to enter 10 lines.
Does your Account have any additional Usergroups?
Did you edit the Signature in ACP or through profile.php?
If you edit it in ACP/MCP there will be no checks.

@Mith
For some reason the Bitfield cache did not get rebauild, see Post #32 (https://vborg.vbsupport.ru/showpost....&postcount=32).
Call that URL and it should work afterwards.
Reply With Quote
  #47  
Old 09-04-2005, 11:47 AM
GoNz00 GoNz00 is offline
 
Join Date: Jan 2005
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks i got it working ok now,
you just need to explain in total n00b when i come along... :ermm:
Reply With Quote
  #48  
Old 09-04-2005, 12:04 PM
nexialys
Guest
 
Posts: n/a
Default

when everything is in place, here are the things you can see - in the attachments,

img 1: the admincp Edit Usergroups
img 2: the userCP Edit Signature

btw, there is nothing to show in the usercp if that user have nothing entered in the permissions...
Reply With Quote
  #49  
Old 09-04-2005, 12:19 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, the Text is just shown when there are Restrictions - don't think it is necessary to show when there are none.
But the Images Text should not shown up when [img] is disabled anyway
Reply With Quote
  #50  
Old 09-04-2005, 01:03 PM
nexialys
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by KirbyDE
But the Images Text should not shown up when [img] is disabled anyway
easy, in the "profile_editsignature_start" hook:
Code:
	if ($permissions['maxsigimages'])
	{
replaced by
Code:
	if ($permissions['maxsigimages'] AND $vbulletin->options['allowbbimagecode'])
	{
Reply With Quote
  #51  
Old 09-04-2005, 01:10 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I know - that was more a mental note to myself
Reply With Quote
Reply


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 05:10 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.06433 seconds
  • Memory Usage 2,305KB
  • 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_code
  • (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
  • (4)pagenav_pagelink
  • (1)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
  • (9)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