![]() | Join Date: Jul 2007 | Location: North Texas | iTrader: (0) | Powerful clip-board macros with AutoHotKey & TextPipe Pro |
Tip: custom tag
Perhaps this is not as novel as what I think but I mention about it anyway.
I've at number of occasions wondered how to add non-collapsible space in front of text in vBulletin. It ended up being rather simple. I just set up couple of custom vbcode tags:
[ 1sp ] ... [ /1sp ]
replaces with: {param}
prepends: 1 x
[ 2sp ] ... [ /2sp ]
replaces with: {param}
prepends: 2 x
[ 5sp ] ... [ /5sp ]
replaces with: {param}
prepends: 5 x
[ 10sp ] ... [ /10sp ]
replaces with: &n bsp; {param}
prepends: 10 x
To use these user simply wraps the first word (or letter) inside the "space" tags and the respective number of 's are added in the front of the text. They can be used in the beginning of a line, or in the middle of the text (for example, to have two spaces between sentences.)
Users can nest tags so that if, for example [ 10sp ] and [ 5sp ] tags are used together it results in 15 spaces in front of the wrapped text.
I've at number of occasions wondered how to add non-collapsible space in front of text in vBulletin. It ended up being rather simple. I just set up couple of custom vbcode tags:
[ 1sp ] ... [ /1sp ]
replaces with: {param}
prepends: 1 x
[ 2sp ] ... [ /2sp ]
replaces with: {param}
prepends: 2 x
[ 5sp ] ... [ /5sp ]
replaces with: {param}
prepends: 5 x
[ 10sp ] ... [ /10sp ]
replaces with: &n bsp; {param}
prepends: 10 x
To use these user simply wraps the first word (or letter) inside the "space" tags and the respective number of 's are added in the front of the text. They can be used in the beginning of a line, or in the middle of the text (for example, to have two spaces between sentences.)
Users can nest tags so that if, for example [ 10sp ] and [ 5sp ] tags are used together it results in 15 spaces in front of the wrapped text.
Last edited by Ville; 01-19-2008 at 11:25 AM..












Linear Mode

