PDA

View Full Version : Exclude Usergroups from Char Limit


akanevsky
10-28-2005, 10:00 PM
I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*=============================================*\
|| Exclude Usergroups from Char Limit
||
|| Author : Anton Kanevsky
|| Works on : vBulletin 3.5.x - 3.8.x
|| Released : Jun 07, 2009
||
|| Time required to install: ~30 seconds
|| Difficulty: easy
\*=============================================*/

DESCRIPTION

Removes character limits from all messages made by selected usergroups.

STATISTICS

File Uploads: 1
Products to Install: 1


FEATURES

Removes character limits from the following areas:

Forum postings.
Private messages.
Visitor messages (vBulletin 3.7.x and above).
Social group messages (vBulletin 3.7.x and above).
Social group descriptions (vBulletin 3.7.x and above).

VERSION HISTORY

1.3.0
[+] The hack is now compatible with vBulletin 3.5.x - 3.8.x.
[+] Added support for new message types in vBulletin 3.8.x.
[+] Significantly improved internal logic.

1.2.0
[+] Added support for private message character limitations.

1.1.0
[F] Corrected a Typo

1.0.0
Initial Release

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=215597)

Sinistra
10-29-2005, 09:04 AM
Very nice hack. *installed* it will give the staff the power to sloxe a topic in 2 words then about 16 XD thanks

Snake
10-29-2005, 11:54 AM
Installed and thanks.

lonely
11-08-2005, 05:45 AM
i'm still being forced to enter at least 1 character in new posts after installing

akanevsky
11-08-2005, 11:19 AM
Of course you need at least one character. You don't just send empty posts. That is why I made it check for one character. Duh :P

lonely
11-09-2005, 11:04 AM
Of course you need at least one character. You don't just send empty posts. That is why I made it check for one character. Duh :P
yeah but i want people to be able to upload empty posts :D
the reason for this is so that people can make posts that consist only of the attachment they've uploaded and nothing else.
is there something i can change in your xml that would allow for an empty post?
the hack works great for me otherwise :p

Wired1
01-06-2006, 05:53 PM
yeah but i want people to be able to upload empty posts :D
the reason for this is so that people can make posts that consist only of the attachment they've uploaded and nothing else.
is there something i can change in your xml that would allow for an empty post?
the hack works great for me otherwise :p
Yep:
In the product, find the plugin global_start.
Replace 1 with 0 in the following line:

$vbulletin->options['postminchars'] = 1;


I'm gonna install this hack when I get home, could really use it!

akanevsky
01-06-2006, 05:56 PM
In the product, find the plugin global_start.
Replace 1 with 0 in the following line:

$vbulletin->options['postminchars'] = 1;
I am not sure that'll work. vBulletin developers are not idiots to allow insertion of empty posts. Duh...

Boofo
06-16-2006, 08:58 AM
Anthony, can this be made to work for PMs, too?

akanevsky
06-16-2006, 02:59 PM
I don't believe character limit applies to private messages... Does it?

Boofo
06-16-2006, 06:59 PM
I don't believe character limit applies to private messages... Does it?

Yes, sir, there is the pmmaxchars under Private Messaging Options. I don't know about the minimum characters though.

akanevsky
06-16-2006, 07:12 PM
Oh. In that case, yeah - it can be done for private messages too.

Boofo
06-16-2006, 07:24 PM
Great! Looking forward to it, sir. ;)

Boofo
06-17-2006, 11:21 PM
Any word on this yet?

akanevsky
06-17-2006, 11:29 PM
Please do not expect an update within the next couple of days, because I currently have other priorities - such as, for instance, final exams. Once there is a word, you'll now 'cause I'll post an update :)

Boofo
06-17-2006, 11:42 PM
No problem. That's all I needed to hear. I'll make my own. Thanks anyway. ;)

akanevsky
06-22-2006, 12:27 PM
Hack updated.

Boofo
06-22-2006, 06:12 PM
Shouldn't this:

$vbulletin->options['postmaxchars'] = 1000000;
$vbulletin->options['pmmaxchars'] = 1000000;

actually be this?

$vbulletin->options['postmaxchars'] = 0;
$vbulletin->options['pmmaxchars'] = 0;

beings as 0 disables it?

And yes, we had already added that, but good job. ;)

akanevsky
06-22-2006, 06:19 PM
Maybe, but I don't believe one would ever make a post of 1,000,000+ characters :)

Boofo
06-22-2006, 06:29 PM
Whatever. Just thought I would post the correct way to do it. ;)

akanevsky
06-08-2009, 12:34 AM
Updated to include all feature requests and support for 3.8.x.