![]() |
A small addition to prevent members to post long messages wich have no new information, but just long quotes and "Cool!" at the end.
Database Changes: Code:
INSERT INTO setting (settingid,settinggroupid,title,varname,value,description,optioncode,displayorder) VALUES (NULL,'8','Maximum Characters per quote','quotemaxchars','250','The maximum number of characters that you want to allow per quote. Set this to 0 to disable it','','8') Find Code:
$pagetext=htmlspecialchars($postinfo[pagetext]); Code:
$pagetext=$postinfo[pagetext]; |
nice one
thatl come in handy thanks GenSec |
This will just stop from posting long messages, not quotes.
|
Quote:
It limits not message but size of quotes in it |
Limiting posts length is already standard with vBulletin.
Your hack does the exact same thing. |
Sorry, it doesn't
Limiting posts length is already standard with vBulletin. Right. If it's limit is 1000 for example and someone post long message with 1000 simbols. Then next replies can look like " Quote:
It's only repeat previous one! I hate it and limited in addition the size of quote to 10% of the max post size. |
You are right.
|
Ok...now I'm confused :confused:
|
He's right, I didn't understand it. :)
Sorry GenSec. |
All times are GMT. The time now is 10:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|