The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]()
Great help on that request. You guys should add that to the Mod Database!
|
#12
|
|||
|
|||
![]()
Hahaha. Who is Dark Visor?
![]() ![]() Anyway.. my question. Is there any way to limit it so that it only starts limiting after so many characters? I think turning ?? into ? is a little too strict. Perhaps something that turns ?????? into ??? I just realized this thread was started 2 years ago.. but someone bumped it so I might as well ask. ![]() |
#13
|
|||
|
|||
![]()
Sorry, that was me that bumped
![]() I, too, would like for it to limit only after a certain amount, like MilkCarton suggested. Could this work with periods too? I know that ... and .... are gramatically appropriate, but I'd like to shorted ................. to ... . |
#14
|
||||
|
||||
![]()
Off the top of my head, create a new plugin at 'parse_bbcode' or 'bbcode_parse' (forgot which one it is
![]() PHP Code:
|
#15
|
|||
|
|||
![]()
Thanks Dismounted.. but what about changing '????????' to '???' Is this something that would be too difficult to code?
![]() Edit: I couldn't get what you said to work. Although, there were only "bbcode_parse_start" and "bbcode_parse_complete" Unless I didn't see just plain old bbcode_parse |
#16
|
|||
|
|||
![]()
Thanks very much! I'd like to give this a try - but I admit I'm pretty dumb and new with vB. Which file should I edit to add in the code above?
|
#17
|
||||
|
||||
![]() Quote:
PHP Code:
PHP Code:
Note 'plugin'. AdminCP > Plugins & Products > Add New Plugin > Pretty self-explanitory from there. |
#18
|
|||
|
|||
![]()
Well, I would figure that much, but the code you told me to put into the plugin doesn't work.. at all.
![]() I've tried every combo of !!! and ??? and nothing ever changes. |
#19
|
||||
|
||||
![]()
The variables have probably changed. I'll have a look.
|
#20
|
|||
|
|||
![]()
Also, with
Code:
$replacearray = array("!!!", "???", "~~~"); Maybe I'm just misunderstanding the PHP involved.. ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|